galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.39k stars 999 forks source link

Galaxy got very verbose in planemo tests #11166

Open bernt-matthias opened 3 years ago

bernt-matthias commented 3 years ago

In a planemo test I see 1000s of messages like

INFO:     127.0.0.1:36182 - "GET /api/jobs/5729865256bc2525 HTTP/1.1" 200 OK
2021-01-18 11:32:46,700 DEBUG [urllib3.connectionpool] http://127.0.0.1:8693 "GET /api/jobs/5729865256bc2525 HTTP/1.1" 200 None
2021-01-18 11:32:46,957 DEBUG [urllib3.connectionpool] Starting new HTTP connection (1): 127.0.0.1:8693

They are obfuscating the important output of planemo test (e.g. the created command line, which test is currently running, ...).

Also the formatting of the info message seem incomplete.

mtekman commented 3 years ago

Question from an outsider's perspective:

is it really necessary to scan all open ports on the local machine? Aren't there predefined ports which galaxy should be operating through?

mvdbeek commented 3 years ago

@mtekman galaxy doesn't scan ports, i think you're misreading something there. Maybe the coroutine or thread id?

mtekman commented 3 years ago

To me each INFO line looks like a port with a GET request:

https://user-images.githubusercontent.com/20641402/114763329-f6542e80-9d62-11eb-825a-f25c53c6d1ec.mp4

these are process IDs?

mvdbeek commented 3 years ago

Your requests are all going to port 9926. The logging needs to be set up on the planemo side. Galaxy's logs are less verbose.