[POC]: Use DIRAC new CI to use legacy adaptor#589
Conversation
853e9d2 to
72ec448
Compare
|
Note that, in the CI, we can see which services were adapted:
This data is taken from the CS at |
|
Is the legacy adaptor tested for WMS? See: |
|
I think it's expected, only the |
If that's so, I can remove the monitoring from this PR so that it works. |
|
Another error not caught from DIRAC CI: https://github.com/DIRACGrid/diracx/actions/runs/16187805198/job/45696702356?pr=589#step:11:378 With TQDB |
6d6e830 to
017ef10
Compare
|
To be fixed before merge* |
017ef10 to
d844e65
Compare
| if [ -f pilot-tests-failed ]; then has_error=1; echo "Pilot tests failed"; fi | ||
| if [ ${has_error} = 1 ]; then exit 1; fi | ||
| - name: diracx logs | ||
| if: ${{ failure() }} |
There was a problem hiding this comment.
Woudn't be nice to has logs to prove that diracx has been used? (docker logs, and filter to remove .well-known requests)
There was a problem hiding this comment.
it's not a bad idea. You could just grep the logs and count the number of calls per router
There was a problem hiding this comment.
Few propositions:
- We also show errors (internal errors logs, with the full stack)
1.1 Separate in two steps: one for the endpoint summary, one for the errors
1.2 Summary then errors in the same step - We only show the summary
Both ways, I have this result. Is it how you've imagined it? :
1 DELETE /api/pilots/?pilot_stamps=anotherPilot&delete_only_aborted=false 403
1 DELETE /api/pilots/?pilot_stamps=aPilot&delete_only_aborted=false 403
1 GET /api/auth/legacy-exchange?preferred_username=ciuser&scope=vo%3AJenkins+group%3Ajenkins_fcadmin+property%3ANormalUser+property%3AFileCatalogManagement&expires_minutes=1440&s
ource=ProxyManager 200
1 GET /api/auth/legacy-exchange?preferred_username=pilot&scope=vo%3Avo+group%3Apilot+property%3ALimitedDelegation+property%3AGenericPilot&expires_minutes=1440&source=ProxyManager
200
1 PATCH /api/jobs/heartbeat 200
1 PATCH /api/jobs/status?force=true 200
1 POST /api/auth/token 200
1 POST /api/pilots/ 403
2 DELETE /api/pilots/?pilot_stamps=anotherPilot&delete_only_aborted=false 400
2 DELETE /api/pilots/?pilot_stamps=aPilot&delete_only_aborted=false 400
...
3 PATCH /api/jobs/metadata 204
4 GET /api/auth/legacy-exchange?preferred_username=ciuser&scope=vo%3Avo+group%3Aprod+property%3ANormalUser+property%3AFileCatalogManagement+property%3ACSAdministrator+property%3A
ProductionManagement+property%3AFullDelegation+property%3AJobAdministrator+property%3ASiteManager+property%3AServiceAdministrator+property%3AProxyManagement+property%3AOperator&expi
res_minutes=1440&source=ProxyManager 200
5 PATCH /api/jobs/status?force=false 200
8 POST /api/pilots/ 500
(Filtered by endpoint, method, and code)

Linked to DIRACGrid/DIRAC#8248