Tuesday, 2025-01-28

-@gerrit:opendev.org- Benjamin Schanzel proposed: [zuul/zuul] 939969: web: Add an option to sort pipelines https://review.opendev.org/c/zuul/zuul/+/93996909:51
@prime149:matrix.orgHi team, I think we can merge this https://review.opendev.org/c/zuul/zuul-jobs/+/881524 The announcement was sent 14 days ago.12:55
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 940303: wip: Fix bulk repo state restore https://review.opendev.org/c/zuul/zuul/+/94030313:38
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 940303: wip: Fix bulk repo state restore https://review.opendev.org/c/zuul/zuul/+/94030313:49
@joao15130:matrix.orgHello, I was redeploying zuul on another machine and I notice this error when launching the executor:13:53
``bwrap execution validation failed. You can use `zuul-bwrap /tmp id` to investigate manually``
Any idea?
@joao15130:matrix.org* Hello, I was redeploying zuul on another machine and I notice this error when launching the executor:13:54
```
2025-01-28T13:51:36+00:00 Wait for certs to be present
2025-01-28 13:51:38,380 ERROR zuul.BubblewrapDriver: Non zero return code executing: setpriv --ambient-caps -all choom -n 200 -- bwrap --dir /tmp --tmpfs /tmp --dir /var --dir /var/tmp --dir /run/user/0 --ro-bind /usr /usr --ro-bind /lib /lib --ro-bind /bin /bin --ro-bind /sbin /sbin --ro-bind /etc/ld.so.cache /etc/ld.so.cache --ro-bind /etc/resolv.conf /etc/resolv.conf --ro-bind /etc/hosts /etc/hosts --ro-bind /etc/localtime /etc/localtime --ro-bind /dev/null /dev/null --bind /tmp /tmp --tmpfs /tmp/tmp --proc /proc --dev /dev --chdir /tmp --unshare-all --share-net --die-with-parent --uid 0 --gid 0 --file 3 /etc/passwd --file 4 /etc/group --unshare-user --disable-userns --ro-bind /lib64 /lib64 --ro-bind /etc/nsswitch.conf /etc/nsswitch.conf --ro-bind /etc/alternatives /etc/alternatives --ro-bind /etc/ssl/certs /etc/ssl/certs --ro-bind /etc/subuid /etc/subuid --ro-bind /etc/containers /etc/containers id
Traceback (most recent call last):
File "/usr/local/bin/zuul-executor", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/zuul/cmd/executor.py", line 133, in main
Executor().main()
File "/usr/local/lib/python3.11/site-packages/zuul/cmd/__init__.py", line 267, in main
self.run()
File "/usr/local/lib/python3.11/site-packages/zuul/cmd/executor.py", line 88, in run
self.configure_connections(sources=True, check_bwrap=True)
File "/usr/local/lib/python3.11/site-packages/zuul/cmd/__init__.py", line 217, in configure_connections
self.connections = zuul.lib.connections.ConnectionRegistry(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zuul/lib/connections.py", line 66, in __init__
zuul.driver.bubblewrap.BubblewrapDriver(check_bwrap))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zuul/driver/bubblewrap/__init__.py", line 224, in __init__
raise Exception('bwrap execution validation failed. You can '
Exception: bwrap execution validation failed. You can use `zuul-bwrap /tmp id` to investigate manually.
```
Any idea?
@joao15130:matrix.orgI figure out it was happening after I altered the file /root/.config/containers/containers.conf like described in keycloak tutorial13:56
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 940303: Fix bulk repo state restore https://review.opendev.org/c/zuul/zuul/+/94030313:59
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 940303: Fix bulk repo state restore https://review.opendev.org/c/zuul/zuul/+/94030314:00
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 940303: Fix bulk repo state restore https://review.opendev.org/c/zuul/zuul/+/94030314:08
-@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [zuul/zuul-jobs] 881524: Use consistent registry type var name across roles https://review.opendev.org/c/zuul/zuul-jobs/+/88152414:42
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed wip: [zuul/zuul-jobs] 940314: ensure-pyproject-build: Use the pip module https://review.opendev.org/c/zuul/zuul-jobs/+/94031416:01
@fungicide:matrix.orgclarkb: ^ trying out your suggestion16:02
@fungicide:matrix.orgif that works and we have some consensus it's a good idea, i can expand it to other roles doing similar stuff16:03
@clarkb:matrix.orgsounds good16:48
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 937475: Add ability to mark individual job attributes as final https://review.opendev.org/c/zuul/zuul/+/93747518:04
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 937475: Add ability to mark individual job attributes as final https://review.opendev.org/c/zuul/zuul/+/93747518:05
@fungicide:matrix.orgclarkb: looks like ansible's pip module expects the virtualenv tool to be preinstalled: https://zuul.opendev.org/t/zuul/build/799ab7d2d94e48e5b57c8f70fcf7aec318:05
@clarkb:matrix.orgfungi: the pip module accepts a virtualenv_command argument too. But looking at the docs for that i'm not sure it will accept `python3 -m venv` or similar which is what we seem to set `ensure_pip_virtualenv_command` to in ensure-pip18:08
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Simon Westphahl: [zuul/zuul] 940303: Fix bulk repo state restore https://review.opendev.org/c/zuul/zuul/+/94030319:58
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Simon Westphahl: [zuul/zuul] 940303: Fix bulk repo state restore https://review.opendev.org/c/zuul/zuul/+/94030319:59

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