@clarkb:matrix.org | Works for me | 00:23 |
---|---|---|
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 883318: Report early failure from Ansible task failures https://review.opendev.org/c/zuul/zuul/+/883318 | 00:47 | |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 883319: Refresh builds even less https://review.opendev.org/c/zuul/zuul/+/883319 | 01:07 | |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 874047: Move statemachine node init into TPE https://review.opendev.org/c/zuul/nodepool/+/874047 | 03:43 | |
@jjbeckman:matrix.org | > <@fungicide:matrix.org> good point, https://zuul-ci.org/docs/zuul/latest/drivers/github.html#configure-github is missing an explanation for why you might choose one option over the other. since i don't really manage any projects on github i wouldn't be confident in my explanation of the effective differences/limitations for those options, so best if someone else who does use github comes up with a paragraph we can add there | 04:50 |
Thank you for your comment. Yeah, I think some folks will find that information in the official documentation useful. | ||
@jjbeckman:matrix.org | > <@jim:acmegating.com> jjbeckman: there are additional features available with the app method, such as support for the github checks api, and it can support higher traffic since it has increased rate limits. i have a configurator at https://acmegating.com/acme-enterprise-zuul/#start you can use to get my recommended configuration (everything there is also in the zuul docs, but is less opinionated). | 04:55 |
Thank you for the information. I will read up on how Zuul uses the GitHub Checks API and try to understand what additional features it provides. | ||
@rancher:matrix.org | > <@clarkb:matrix.org> I don't use Zuul with gitlab so don't know off the top of my head. But it would probably be helpful if you can share how it is failing under 15.11. | 05:36 |
It loads the configuration from the config project just fine (no errors in the logs), but there's no pipeline on the Zuul web interface. When opening the config project AND the default zuul/zuul-jobs project from opendev.org, the following error shows up: https://privatebin.net/?020eaac57c8b86be#2mUGMWmvTa6xUGnh2rogcSQMwZ6yJrU8swtfra7eSmtM | ||
Another untrusted project that I have on the same GitLab server works (the basic config from the "Test Zuul Pipelines" section of the Quickstart Guide). | ||
-@gerrit:opendev.org- Tobias Henkel proposed: [zuul/nodepool] 883329: Add timing information to "Node is ready" message https://review.opendev.org/c/zuul/nodepool/+/883329 | 06:39 | |
-@gerrit:opendev.org- Benedikt Löffler proposed: [zuul/nodepool] 883335: Log time how long the import-snapshot takes https://review.opendev.org/c/zuul/nodepool/+/883335 | 08:14 | |
@tony.breeds:matrix.org | > <@iwienand:matrix.org> basically update https://opendev.org/zuul/zuul-website/src/branch/master/www/.htaccess for zuul-jobs, and make all the zuul-jobs links be zuul-jobs/latest/ | 11:24 |
Wow, Element only just chose to show me this now, | ||
@tony.breeds:matrix.org | @ianw: Looks like it's already been fixed. | 11:26 |
@rancher:matrix.org | > <@rancher:matrix.org> It loads the configuration from the config project just fine (no errors in the logs), but there's no pipeline on the Zuul web interface. When opening the config project AND the default zuul/zuul-jobs project from opendev.org, the following error shows up: https://privatebin.net/?020eaac57c8b86be#2mUGMWmvTa6xUGnh2rogcSQMwZ6yJrU8swtfra7eSmtM | 12:32 |
> | ||
> Another untrusted project that I have on the same GitLab server works (the basic config from the "Test Zuul Pipelines" section of the Quickstart Guide). | ||
I tried the same config files on gitlab.com (v16.0), and the same error appears when I open the same projects. | ||
@clarkb:matrix.org | > <@rancher:matrix.org> I tried the same config files on gitlab.com (v16.0), and the same error appears when I open the same projects. | 15:27 |
the error with getProjectMetadata() implies the project has no config. I'm not sure this is a gitlab issue. It may just be an improper/incomplete configuration. I think you need to look in your logs for where that project is getting loaded to see the initial error | ||
@jim:acmegating.com | i pushed the zuul tag | 15:50 |
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul] 883419: Use bwrap --disable-userns if possible https://review.opendev.org/c/zuul/zuul/+/883419 | 17:08 | |
@fungicide:matrix.org | sorry for not weighing in on the release, the element browser client apparently just stopped updating with new messages around 24 hours ago and gave no indication it had done so. i thought it seemed eerily quiet in here so i reloaded that browser tab and yep, it was apparently my connection | 17:46 |
@jim:acmegating.com | been a little choppy in matrix land. but everything's eventually consistent i guess. :) | 17:48 |
@fungicide:matrix.org | can anybody clue me in to what it is i'm doing wrong in https://review.opendev.org/883431 ? trying to update a trigger configuration for the recent require-approval deprecation | 18:21 |
-@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [zuul/zuul] 883419: Use bwrap --disable-userns if possible https://review.opendev.org/c/zuul/zuul/+/883419 | 18:43 | |
@jim:acmegating.com | fungi: try: | 18:54 |
``` | ||
require: | ||
approval: | ||
- Verified: [-1, -2] | ||
username: zuul | ||
approval: | ||
- Workflow: 1 | ||
``` | ||
@jim:acmegating.com | also, i'd probably re-order it so it makes more sense if you read it in english: | 18:55 |
``` | ||
- event: comment-added | ||
approval: | ||
- Workflow: 1 | ||
require: | ||
approval: | ||
- Verified: [-1, -2] | ||
username: zuul | ||
``` | ||
@fungicide:matrix.org | aha, okay thanks. reading the docs i wasn't quite sure what "same syntax as requirements configuration" meant, and the old syntax looked superficially the same as requirements configuration | 19:03 |
@jim:acmegating.com | maybe we should put in an example. but please not that one, no one should use clean-check unless at the utmost end of need. | 19:06 |
@fungicide:matrix.org | yes, i was hesitant to suggest an example since that's the only (anti)pattern i'm familiar with relying on it | 19:11 |
@jim:acmegating.com | could probably do something "innocuous" like "Policy-Compliant: 1" :) | 19:13 |
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed: [zuul/zuul] 883441: Include examples for trigger require and reject https://review.opendev.org/c/zuul/zuul/+/883441 | 19:25 | |
@fungicide:matrix.org | corvus: like that ^ ? | 19:25 |
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul] 883443: Only check bwrap execution under the executor https://review.opendev.org/c/zuul/zuul/+/883443 | 20:20 | |
@clarkb:matrix.org | corvus: ^ that is a bit hacky. The commit message suggests a less hacky workaround. I'm totally happy if you would prefer to go that route, but I expect it to take more time and i need to eat lunch. I don't mind if ou push it instead I can abandon my change | 20:20 |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Clark Boylan: [zuul/zuul] 883443: Only check bwrap execution under the executor https://review.opendev.org/c/zuul/zuul/+/883443 | 20:24 | |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Tristan Cacqueray: [zuul/zuul] 687135: Replace docker by podman for quick-start https://review.opendev.org/c/zuul/zuul/+/687135 | 20:39 | |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 883445: DNM: break scheduler to test quickstart https://review.opendev.org/c/zuul/zuul/+/883445 | 20:40 | |
@clarkb:matrix.org | corvus: do the nox-client and nox remote jobs also need similar treatment? | 20:42 |
@jim:acmegating.com | https://f44bf35a9c7254f845ed-21b9d8b77413feaeb233a2c7e38edf25.ssl.cf2.rackcdn.com/883443/2/gate/zuul-nox-remote/fd4fa85/testr_results.html | 20:42 |
@clarkb:matrix.org | I guess as an alternative we can drop the check entirely. It was a nice to have but then add it back in once things are more stable? | 20:42 |
@jim:acmegating.com | Clark: my first suspicion is that's just missing a change to the initializer | 20:42 |
@clarkb:matrix.org | oh I see. Let me try to fix that | 20:43 |
@jim:acmegating.com | grep says 2: | 20:43 |
``` | ||
tests/base.py: self.registerDriver(BubblewrapDriver()) | ||
zuul/driver/bubblewrap/__init__.py: driver = BubblewrapDriver() | ||
``` | ||
@jim:acmegating.com | i'm sure the second isn't used but should probably add for completeness | 20:44 |
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul] 883443: Only check bwrap execution under the executor https://review.opendev.org/c/zuul/zuul/+/883443 | 20:45 | |
@clarkb:matrix.org | like that maybe (gerritbot should catch up momentarily) | 20:45 |
@jim:acmegating.com | we should have it in all our test contexts.. i think. | 20:46 |
@clarkb:matrix.org | re zuul and speculative container testing ++ to just swapping out to podman. I think its far more contained in zuul CI than opendev production so we can just swap it and if tests pass merge it | 20:47 |
@clarkb:matrix.org | on the image building side of things I think buildx does speculative lookups properly so an easy "fix" there is to just enable buildx. But buildah wouldn't be bad either | 20:47 |
@jim:acmegating.com | yeah -- does buildah do the multi arch stuff we use in nodepool? | 20:48 |
@jim:acmegating.com | if not, maybe let's just do buildx everywhere for consistency | 20:48 |
@clarkb:matrix.org | it can, but the roles don't support it yet I don't think | 20:48 |
@clarkb:matrix.org | since the steps you take are different for buildah than buildx | 20:49 |
@jim:acmegating.com | ok. then buildx first, then buildah when someone gets around to it :) | 20:49 |
@clarkb:matrix.org | ++ | 20:49 |
@jim:acmegating.com | huh apparently the way we chose is by having an arch defined | 20:51 |
@jim:acmegating.com | there's no "use_buildx" flag | 20:51 |
@clarkb:matrix.org | corvus: for multiarch. For non multiarch in the container (not docker) roles you set an env var | 20:52 |
@clarkb:matrix.org | I have an example of that somewhere one sec | 20:52 |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 883446: Use buildx to build images https://review.opendev.org/c/zuul/zuul/+/883446 | 20:53 | |
@jim:acmegating.com | oh? okay | 20:53 |
@clarkb:matrix.org | corvus: https://review.opendev.org/c/opendev/system-config/+/882898/1/zuul.d/docker-images/gitea.yaml#46 | 20:54 |
@clarkb:matrix.org | buildkit is buildx's backend and should do all of the image pulling so I think that works | 20:54 |
@clarkb:matrix.org | (but we should double check) | 20:54 |
@jim:acmegating.com | okay cool i'll switch to that. i just assumed that running the buildx.yaml task list was required, but no, this does make sense. | 20:54 |
@jim:acmegating.com | (that file could probably use a better name) | 20:55 |
@clarkb:matrix.org | ++ | 20:55 |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 883446: Use buildx to build images https://review.opendev.org/c/zuul/zuul/+/883446 | 20:56 | |
@clarkb:matrix.org | if that doesn't work we'll want to make a more generic buildx path and possibly have multiarch run portions of that | 20:57 |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 883445: DNM: break scheduler to test quickstart https://review.opendev.org/c/zuul/zuul/+/883445 | 20:57 | |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Tristan Cacqueray: [zuul/zuul] 687135: Replace docker by podman for quick-start https://review.opendev.org/c/zuul/zuul/+/687135 | 20:57 | |
@clarkb:matrix.org | but I think it will work because docker client tools are pretty dumb and the backends do all the work | 20:57 |
@jim:acmegating.com | yeah this matches my understanding | 20:57 |
@clarkb:matrix.org | Looks like we are about an hour away from the fix change merging. I'm going to take a break | 21:02 |
@clarkb:matrix.org | the jobs that were angry did pass though | 21:02 |
@fungicide:matrix.org | yeah, i'm starting to cook dinner but will be around again after | 21:03 |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 883445: DNM: break scheduler to test quickstart https://review.opendev.org/c/zuul/zuul/+/883445 | 22:02 | |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Tristan Cacqueray: [zuul/zuul] 687135: Replace docker by podman for quick-start https://review.opendev.org/c/zuul/zuul/+/687135 | 22:02 | |
-@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [zuul/zuul] 883443: Only check bwrap execution under the executor https://review.opendev.org/c/zuul/zuul/+/883443 | 22:04 | |
@clarkb:matrix.org | corvus: ^ once that promotes you should be good to restart services ya? | 22:05 |
@clarkb:matrix.org | the promote jobs report success | 22:08 |
@fungicide:matrix.org | ``Build succeeded (promote pipeline).`` | 22:08 |
@jim:acmegating.com | w00t | 22:08 |
@fungicide:matrix.org | do we want another change to reinstate the quickstart job now, or wait for the buildx/podman stuff to land? | 22:10 |
@clarkb:matrix.org | I don't mind focusing on getting the buildx/podman stuff going | 22:10 |
@jim:acmegating.com | yeah i think it's pointless to re-enable it in gate until it's truly fixed | 22:12 |
@fungicide:matrix.org | that's what i suspected | 22:12 |
@jim:acmegating.com | (it just tells you that the previous change that landed broke) | 22:12 |
@jim:acmegating.com | (and it's running in check, so that's good enough for that purpose :) | 22:12 |
@fungicide:matrix.org | delayed reaction gating ;) | 22:12 |
@jim:acmegating.com | we're going to CI like it's 1999 | 22:13 |
@jim:acmegating.com | Clark: https://zuul.opendev.org/t/zuul/build/bbd5099cd38a42cc8066177a2125d7b3/console | 22:35 |
@jim:acmegating.com | i'm trying to figure out what's wrong there | 22:35 |
@jim:acmegating.com | oh is it just that one of those pods isn't running and that stops the playbook? | 22:36 |
@jim:acmegating.com | (including before it gets to the copy-back step?) | 22:36 |
@clarkb:matrix.org | it looks like it is reporting a 404 though | 22:37 |
@clarkb:matrix.org | which implies something is running? | 22:37 |
@jim:acmegating.com | right, i'd like to know what's not running and why, which is why i'd like the logs | 22:38 |
@jim:acmegating.com | so i think that some pod (other than gerrit) is not running and that's causing the podman logs command to exit and the playbook to terminate | 22:38 |
@jim:acmegating.com | so maybe just a "set -e" at the start there? | 22:38 |
@clarkb:matrix.org | there is the collect-container-logs role (I think that is the name) which might be useful too | 22:38 |
@clarkb:matrix.org | ya set -ex would help it fail early | 22:39 |
@clarkb:matrix.org | and point more clearly to hwat is broken | 22:39 |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Tristan Cacqueray: [zuul/zuul] 687135: Replace docker by podman for quick-start https://review.opendev.org/c/zuul/zuul/+/687135 | 22:39 | |
@jim:acmegating.com | er i don't want it to fail | 22:39 |
@jim:acmegating.com | i need the exit code of that to always be 0 | 22:39 |
@jim:acmegating.com | maybe i should just add ignore_errors | 22:39 |
@clarkb:matrix.org | well I mean if there is an error it will stop early? so you'd modify it to not exit non zero ya that | 22:40 |
@jim:acmegating.com | well | 22:40 |
@clarkb:matrix.org | baically you can start with set -e to see where things break as soon as they do then clean it up? | 22:40 |
@jim:acmegating.com | i mean, i want it to run every one of those commands | 22:40 |
@jim:acmegating.com | i want to get the logs of every container that is running | 22:40 |
@clarkb:matrix.org | oh I see | 22:41 |
@jim:acmegating.com | ok i want +e | 22:41 |
@jim:acmegating.com | and then ignore_errors | 22:41 |
@jim:acmegating.com | (or end it with exit 0) | 22:41 |
@clarkb:matrix.org | ya +e will allow it to proceed and then the collect-container-logs role can be helpful for organizing them at the end if the containers are still running at the end of the job | 22:41 |
@jim:acmegating.com | sure, i'd be happy to switch to that but i don't want to do it now | 22:42 |
@jim:acmegating.com | if i can fix this with one line instead of opening a second can of worms, that's progress | 22:42 |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Tristan Cacqueray: [zuul/zuul] 687135: Replace docker by podman for quick-start https://review.opendev.org/c/zuul/zuul/+/687135 | 22:42 | |
@jim:acmegating.com | awesome, no containers with those names | 23:05 |
@jim:acmegating.com | i ran it locally and double checked the container names looked right | 23:05 |
@jim:acmegating.com | ha | 23:06 |
@jim:acmegating.com | it runs as root | 23:06 |
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Tristan Cacqueray: [zuul/zuul] 687135: Replace docker by podman for quick-start https://review.opendev.org/c/zuul/zuul/+/687135 | 23:06 | |
@jim:acmegating.com | Clark: ^ :) | 23:07 |
@jim:acmegating.com | requires a shift in thinking | 23:07 |
@clarkb:matrix.org | I worried about that a bit in opendev stuff too but so far it has all been root there so its consistent | 23:10 |
@clarkb:matrix.org | the inverse of your problem :) | 23:10 |
@fungicide:matrix.org | are we ready for https://storyboard.openstack.org/#!/story/2010753 to be switched to public now that the patch from it (and subsequent fix) has merged? | 23:14 |
@jim:acmegating.com | https://zuul.opendev.org/t/zuul/build/f302506542404b3b9089674fff83617e/log/container_logs/gerritconfig.log looks like the next breadcrumb | 23:30 |
@jim:acmegating.com | Clark: that's doing an ansible `wait_for` with a host and port, so i wonder if the networking is different enough for that not to work (eg dns?) | 23:36 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!