Wednesday, 2025-11-05

@joao15130:matrix.orgHello. Having some issues with our Zuul env. Can someone explain why do I get nothing when clicking on tasks, logs and console for a particular job? I can see the logs directly on the log server but I got **This build does not provide any logs** when trying to access it from the console09:27
@mhuin:matrix.orgHi, the first thing I would check is the zuul db, do you have access to it?09:28
@joao15130:matrix.orgzuul env is under my control, how can I access it?09:28
@mhuin:matrix.orgcheck how the db is configured in zuul.conf, and use the credentials to connect to the db09:29
@mhuin:matrix.orgI would also check the db logs if there are any, see if there are issues with inserting data in the db09:30
@mhuin:matrix.orgset the zuul scheduler logs in DEBUG level and see if you catch any error, traceback from the sql reporter module09:31
@joao15130:matrix.orgok will try09:31
@joao15130:matrix.orgfor mysql not sure how to get in:09:31
`dburi=mysql+pymysql://zuul:%(ZUUL_MYSQL_PASSWORD)s@mysql/zuul`
@mhuin:matrix.orgdoes this happen with every job result or just on specific jobs?09:32
@joao15130:matrix.orgevery job09:32
@mhuin:matrix.orghow is your db running? is this a container, a pod.. ?09:32
@joao15130:matrix.orgit's a container, not seeing any errors or warnings in the scheduler logs09:33
@mhuin:matrix.orgsee if there are any obvious errors in the db container logs09:34
@joao15130:matrix.orgnothing 09:34
@joao15130:matrix.orgis there anything else I can check?09:36
@joao15130:matrix.orgfrom the console logs, I can see that the logs have been uploaded to the logserver correctly09:36
@joao15130:matrix.orgbut got nothing when clicking on the links09:36
@mhuin:matrix.orgyeah, that's not the issue. I bet it's a problem with the sql reporter that doesn't insert the job entries in the db09:37
@joao15130:matrix.orgIn fact I think I understand09:37
@mhuin:matrix.orgdo an exec on the db container to open a shell, and try to connect to the db from within the container with the credentials09:38
@joao15130:matrix.orgwe have an external log server which redirects every request like a reverse proxy09:38
@joao15130:matrix.orgto that zuul logserver09:38
@joao15130:matrix.organd I can see from the zuul buils page that the link provided to zuul is the path of that external log server09:38
@joao15130:matrix.orgnot sure if I'm clear09:39
@mhuin:matrix.orgA quick look at the code base shows when that error message is displayed:09:39
@mhuin:matrix.org"Do not render the Manifest component if we don't have a log_url " (web/src/pages/Build.jsx)09:40
@mhuin:matrix.orgSo again, my next move would be to connect to the sql db, check the last entries, and see if log_url is set for them09:40
@joao15130:matrix.orgbut I don't know how to access this DB09:42
@mhuin:matrix.orgnote that the db's log_url column is defined as a String of max length of 255 chars. If it ends up being longer than that the entry will be dropped (other fields are impacted too)09:43
@joao15130:matrix.orgzuul_log_url is set to that external log server 09:43
@mhuin:matrix.orgdo you know how to connect to a terminal within a container09:43
@joao15130:matrix.orgyes I do09:44
@mhuin:matrix.orgso do it for your mysql container09:44
@mhuin:matrix.orgwhen you have the shell, do 09:45
@mhuin:matrix.orgmysql --host=localhost --user=zuul --password=your_zuul_password" zuul09:46
@joao15130:matrix.orgproblem is I need to find the password09:46
@mhuin:matrix.orgyeah well I can't help  you with that09:46
@mhuin:matrix.orglet's try the logs approach instead then09:47
@mhuin:matrix.orgcan you grep for sqlalchemy in your zuul logs are the time of the end of one of the faulty jobs?09:47
@joao15130:matrix.orgwill trigger a new job and get back to you09:47
@joao15130:matrix.orgthank you09:47
@mhuin:matrix.orggood luck! But again, if the jobs complete and the logs are uploaded but the web UI doesn't report a log url, it's very likely a DB-related issue09:49
@joao15130:matrix.orgyeah but as I said, I think the zuul_log_url is set to an unappropriate value09:50
@joao15130:matrix.organyway, thanks for all09:50
@sozhan308:matrix.orgIs there a plan to introduce zuul mcp server? 10:17
@sozhan308:matrix.org* Hello Everyone, 10:17
Is there a plan to introduce zuul mcp server?
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 966155: Retain slot attribute when updating subnodes https://review.opendev.org/c/zuul/zuul/+/96615510:34
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 966161: Allow disabling ZKObject loading error logs https://review.opendev.org/c/zuul/zuul/+/96616112:07
-@gerrit:opendev.org- Zuul merged on behalf of Simon Westphahl: [zuul/zuul] 965367: Force provider subnode class registration https://review.opendev.org/c/zuul/zuul/+/96536712:32
@joao15130:matrix.orgproblem solved thanks mhu 12:58
@mhuin:matrix.orgso what was it?12:58
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 966173: Wake up launcher main event loop every 60s https://review.opendev.org/c/zuul/zuul/+/96617313:16
-@gerrit:opendev.org- Michal Nasiadka proposed wip: [zuul/zuul-jobs] 966187: Use mirror_info in configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/96618714:55
-@gerrit:opendev.org- Zuul merged on behalf of Benjamin Schanzel: [zuul/zuul] 966033: Don't log request token in log streamer https://review.opendev.org/c/zuul/zuul/+/96603314:59
-@gerrit:opendev.org- Zuul merged on behalf of Dong Zhang: [zuul/zuul-client] 959185: encrypt command does not work when warning messages in openssl output https://review.opendev.org/c/zuul/zuul-client/+/95918514:59
@fungicide:matrix.orgSozhan natarajan: what would a "zuul mcp server" do that some existing mcp server can't? zuul is a project gating and ci/cd service, not an llm service15:05
@fajfer:reszka.orgit's just very trendy to write MCP servers but not to use them15:36
@fungicide:matrix.orgyeah, i'm a proponent of the unix philosophy of "do one thing well" and ai/ml/llm is neither zuul's intended scope nor a core competency of most of our maintainers15:42
@fajfer:reszka.orgWe've been joking around with friends about the trend to apply MCP servers to Zuul but we discussed it seriously, in our opinion this would be very hard to justify using/having MCP server that would beat raw token usage via, idk commands or pulling something from logs15:43
@fajfer:reszka.orgI've been trying to use GitHub MCP server and most of the time simple git commands were using less tokens than MCP server15:44
@fajfer:reszka.orgI can think of hundreds of other things that would be better to fix/implement rather than tweaking this. Especially since if done badly this will be worse than not doing anything15:45
-@gerrit:opendev.org- Michal Nasiadka proposed wip: [zuul/zuul-jobs] 966187: Use mirror_info in configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/96618715:46
-@gerrit:opendev.org- Michal Nasiadka proposed wip: [zuul/zuul-jobs] 966187: Use mirror_info in configure-mirrors role https://review.opendev.org/c/zuul/zuul-jobs/+/96618715:55

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!