I noted that the same version of puppetdb in questing is also in
resolute, so in an effort to push this forward I tried building the
questing debdiff against resolute (just changing the release in
d/changelog). Unfortunately it seems some changes in resolute cause this
to FTBFS (the following was from an sbuild attempt under a resolute
chroot):
[...]
ruby test-resources/regen_certs.rb
Regenerating PKI for puppetlabs.puppetdb.cli.services-test ...
Regenerating PKI for puppetlabs.puppetdb.testutils.services ...
export pg_ver=$(/usr/share/postgresql-common/supported-versions --installed); \
export PATH=$PATH:/build/reproducible-path/puppetdb-8.8.1/debian/bin && \
./ext/bin/with-pdbbox \
--box $(mktemp -d "core-test-XXXXXX")/box \
--pgbin /usr/lib/postgresql/$pg_ver/bin \
--pgport 5432 \
-- lein test
/bin/sh: 1: /usr/share/postgresql-common/supported-versions: not found
++ printf 'rm -rf %q' core-test-2WpRxX/box
+ trap 'rm -rf core-test-2WpRxX/box' EXIT
+ export PDBBOX=core-test-2WpRxX/box
+ PDBBOX=core-test-2WpRxX/box
+ /build/reproducible-path/puppetdb-8.8.1/ext/bin/pdbbox-init --sandbox
core-test-2WpRxX/box --pgbin /usr/lib/postgresql//bin --pgport 5432 --bind-addr
ip6-localhost --bind-addr localhost
Traceback (most recent call last):
File "/build/reproducible-path/puppetdb-8.8.1/debian/bin/pgbox", line 309, in
<module>
args.action(args)
~~~~~~~~~~~^^^^^^
File "/build/reproducible-path/puppetdb-8.8.1/debian/bin/pgbox", line 144, in
cmd_init
pgver = initdb_ver(pgbin + '/initdb')
File "/build/reproducible-path/puppetdb-8.8.1/debian/bin/pgbox", line 96, in
initdb_ver
res = exo((path, '--version'), check=False)
File "/build/reproducible-path/puppetdb-8.8.1/debian/bin/pgbox", line 85, in
exo
return ex(cmd, **kwargs)
File "/build/reproducible-path/puppetdb-8.8.1/debian/bin/pgbox", line 72, in
ex
result = run(cmd, **kwargs)
File "/build/reproducible-path/puppetdb-8.8.1/debian/bin/pgbox", line 51, in
run
p = Popen(cmd, **kwargs)
File "/usr/lib/python3.13/subprocess.py", line 1039, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1876, in _execute_child
self._posix_spawn(args, executable, env, restore_signals, close_fds,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
p2cread, p2cwrite,
^^^^^^^^^^^^^^^^^^
c2pread, c2pwrite,
^^^^^^^^^^^^^^^^^^
errread, errwrite)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1820, in _posix_spawn
self.pid = os.posix_spawn(executable, args, env, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/lib/postgresql/bin/initdb'
+ rm -rf core-test-2WpRxX/box
make[1]: *** [debian/rules:29: override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/reproducible-path/puppetdb-8.8.1'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
For reference, I also attempted a build of the questing patch against
questing and that worked successfully, hence I suspect changes in
resolute (in postgres?) are the cause of the failure above.
Unsubscribing sponsors until a resolute patch can be developed; please
re-subscribe once this is updated.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072516
Title:
puppetdb dep8 tests fail for multiple reasons
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppetdb/+bug/2072516/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs