Package: src:puppetdb
Version: 8.4.1-4
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

[ please read notes at the end ]

--------------------------------------------------------------------------------
[...]
lein test puppetlabs.puppetdb.threadpool-test
Reporting unexpected error from thread testpool-1 to stderr and log
#error {
 :cause Broken!
 :via
 [{:type java.lang.RuntimeException
   :message Broken!
   :at 
[puppetlabs.puppetdb.threadpool_test$fn__119796$fn__119823$fn__119824$fn__119827$fn__119833
 invoke threadpool_test.clj 198]}]
 :trace
 
[[puppetlabs.puppetdb.threadpool_test$fn__119796$fn__119823$fn__119824$fn__119827$fn__119833
 invoke threadpool_test.clj 198]
  [puppetlabs.puppetdb.threadpool$gated_execute$fn__39005 invoke threadpool.clj 
68]
  [clojure.lang.AFn run AFn.java 22]
  [java.util.concurrent.ThreadPoolExecutor runWorker ThreadPoolExecutor.java 
1144]
  [java.util.concurrent.ThreadPoolExecutor$Worker run ThreadPoolExecutor.java 
642]
  [java.lang.Thread run Thread.java 1583]]}
380273 [testpool-1] ERROR puppetlabs.puppetdb.threadpool - Reporting unexpected 
error from thread testpool-1 to stderr and log
java.lang.RuntimeException: Broken!
        at 
puppetlabs.puppetdb.threadpool_test$fn__119796$fn__119823$fn__119824$fn__119827$fn__119833.invoke(threadpool_test.clj:198)
        at 
puppetlabs.puppetdb.threadpool$gated_execute$fn__39005.invoke(threadpool.clj:68)
        at clojure.lang.AFn.run(AFn.java:22)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
>From error log: /tmp/tk-suppressed1752730049250-1875046695.log

lein test puppetlabs.puppetdb.time-test

lein test puppetlabs.puppetdb.utils-test

lein test puppetlabs.puppetdb.utils.metrics-test

lein test puppetlabs.puppetdb.utils.string_formatter-test
{:result true, :num-tests 50, :seed 1752730049268, :time-elapsed-ms 225, 
:test-var "test-dash-conversions"}
{:result true, :num-tests 50, :seed 1752730049494, :time-elapsed-ms 234, 
:test-var "test-underscore-conversions"}

lein test puppetlabs.puppetdb.zip-test
{:result true, :num-tests 50, :seed 1752730049740, :time-elapsed-ms 542, 
:test-var "post-order-collect"}
{:result true, :num-tests 50, :seed 1752730050283, :time-elapsed-ms 1225, 
:test-var "no-op-zipper"}
{:result true, :num-tests 50, :seed 1752730051509, :time-elapsed-ms 1231, 
:test-var "flip-sign-zipper"}

Ran 674 tests containing 13550 assertions.
3 failures, 0 errors.
2025-07-17 05:27:32.761 UTC [142659] LOG:  checkpoint starting: immediate force 
wait
2025-07-17 05:27:32.780 UTC [142659] LOG:  checkpoint complete: wrote 4 buffers 
(0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.004 s, sync=0.003 
s, total=0.019 s; sync files=3, longest=0.002 s, average=0.001 s; distance=22 
kB, estimate=8929 kB; lsn=1/823D330, redo lsn=1/823D2D8
Tests failed.
++ /<<PKGBUILDDIR>>/ext/bin/pdbbox-env pg_ctl stop
waiting for server to shut down....2025-07-17 05:27:32.886 UTC [142658] LOG:  
received fast shutdown request
2025-07-17 05:27:32.890 UTC [142658] LOG:  aborting any active transactions
2025-07-17 05:27:32.892 UTC [142658] LOG:  background worker "logical 
replication launcher" (PID 142664) exited with exit code 1
2025-07-17 05:27:32.894 UTC [142659] LOG:  shutting down
2025-07-17 05:27:32.897 UTC [142659] LOG:  checkpoint starting: shutdown 
immediate
2025-07-17 05:27:32.911 UTC [142659] LOG:  checkpoint complete: wrote 1 buffers 
(0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.002 
s, total=0.017 s; sync files=1, longest=0.001 s, average=0.001 s; distance=0 
kB, estimate=8036 kB; lsn=1/823D448, redo lsn=1/823D448
2025-07-17 05:27:32.928 UTC [142658] LOG:  database system is shut down
 done
server stopped
+ rm -rf core-test-5oYQCi/box
make[1]: *** [debian/rules:29: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202507/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:puppetdb, so that this is still
visible in the BTS web page for this package.

Notes:

- I think this started to happen after I switched my autobuilders
to trixie, i.e. if you try to reproduce it, please try using the
kernel of trixie. If you can't reproduce it, the VM offer above
always hold.

- Similar failures may be found in the reproducible-builds site:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/puppetdb.html

Thanks.

Reply via email to