Package: src:trapperkeeper-metrics-clojure
Version: 1.3.1-2
Severity: serious
Control: close -1 1.5.0-5
Tags: ftbfs bullseye

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with javahelper --with maven_repo_helper
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd debian && ln -sf /usr/share/maven-repo .
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   jh_linkjars
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
lein pom debian/pom.xml
Wrote /<<PKGBUILDDIR>>/debian/pom.xml
lein jar
Warning: specified :main without including it in :aot.
Implicit AOT of :main will be removed in Leiningen 3.0.0.
If you only need AOT for your uberjar, consider adding :aot :all into your
:uberjar profile instead.
Compiling 2 source files to /<<PKGBUILDDIR>>/target/classes
Warning: The Main-Class specified does not exist within the jar. It may not be 
executable as expected. A gen-class directive may be missing in the namespace 
which contains the main method, or the namespace has not been AOT-compiled.
Created /<<PKGBUILDDIR>>/target/trapperkeeper-metrics-1.3.1.jar
Warning: The Main-Class specified does not exist within the jar. It may not be 
executable as expected. A gen-class directive may be missing in the namespace 
which contains the main method, or the namespace has not been AOT-compiled.
Created /<<PKGBUILDDIR>>/target/test/trapperkeeper-metrics-1.3.1-test.jar
# symlink so we don't need a version in debian/*.poms
cd target && ln -sf trapperkeeper-metrics-1.3.1.jar trapperkeeper-metrics.jar
cd target/test && ln -sf trapperkeeper-metrics-1.3.1-test.jar 
trapperkeeper-metrics-test.jar
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
lein test

lein test puppetlabs.metrics-test

lein test puppetlabs.trapperkeeper.services.metrics.metrics-core-test

lein test puppetlabs.trapperkeeper.services.metrics.metrics-service-test
2024-05-11 18:04:47,783 WARN  [p.t.s.m.metrics-service] The v1 metrics endpoint 
is deprecated and will be removed in a future release. Use the v2 endpoint 
instead.
2024-05-11 18:04:48,332 WARN  [p.t.s.m.metrics-service] The v1 metrics endpoint 
is deprecated and will be removed in a future release. Use the v2 endpoint 
instead.

lein test :only 
puppetlabs.trapperkeeper.services.metrics.metrics-service-test/metrics-service-with-tk-auth

ERROR in (metrics-service-with-tk-auth) (Alert.java:131)
Uncaught exception, not in assertion.
expected: nil
  actual: javax.net.ssl.SSLHandshakeException: PKIX path validation failed: 
java.security.cert.CertPathValidatorException: validity check failed
 at sun.security.ssl.Alert.createSSLException (Alert.java:131)
    sun.security.ssl.TransportContext.fatal (TransportContext.java:360)
    sun.security.ssl.TransportContext.fatal (TransportContext.java:303)
    sun.security.ssl.TransportContext.fatal (TransportContext.java:298)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts 
(CertificateMessage.java:654)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate 
(CertificateMessage.java:473)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume 
(CertificateMessage.java:369)
    sun.security.ssl.SSLHandshake.consume (SSLHandshake.java:392)
    sun.security.ssl.HandshakeContext.dispatch (HandshakeContext.java:443)
    sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run 
(SSLEngineImpl.java:1076)
    sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run 
(SSLEngineImpl.java:1063)
    java.security.AccessController.doPrivileged (AccessController.java:-2)
    sun.security.ssl.SSLEngineImpl$DelegatedTask.run (SSLEngineImpl.java:1010)
    org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask 
(SSLIOSession.java:288)
    org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake 
(SSLIOSession.java:356)
    org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady 
(SSLIOSession.java:541)
    org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady 
(AbstractIODispatch.java:120)
    org.apache.http.impl.nio.reactor.BaseIOReactor.readable 
(BaseIOReactor.java:162)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent 
(AbstractIOReactor.java:337)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents 
(AbstractIOReactor.java:315)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.execute 
(AbstractIOReactor.java:276)
    org.apache.http.impl.nio.reactor.BaseIOReactor.execute 
(BaseIOReactor.java:104)
    org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run 
(AbstractMultiworkerIOReactor.java:591)
    java.lang.Thread.run (Thread.java:829)
Caused by: sun.security.validator.ValidatorException: PKIX path validation 
failed: java.security.cert.CertPathValidatorException: validity check failed
 at sun.security.validator.PKIXValidator.doValidate (PKIXValidator.java:369)
    sun.security.validator.PKIXValidator.engineValidate (PKIXValidator.java:275)
    sun.security.validator.Validator.validate (Validator.java:264)
    sun.security.ssl.X509TrustManagerImpl.validate 
(X509TrustManagerImpl.java:313)
    sun.security.ssl.X509TrustManagerImpl.checkTrusted 
(X509TrustManagerImpl.java:276)
    sun.security.ssl.X509TrustManagerImpl.checkServerTrusted 
(X509TrustManagerImpl.java:141)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts 
(CertificateMessage.java:632)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate 
(CertificateMessage.java:473)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume 
(CertificateMessage.java:369)
    sun.security.ssl.SSLHandshake.consume (SSLHandshake.java:392)
    sun.security.ssl.HandshakeContext.dispatch (HandshakeContext.java:443)
    sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run 
(SSLEngineImpl.java:1076)
    sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run 
(SSLEngineImpl.java:1063)
    java.security.AccessController.doPrivileged (AccessController.java:-2)
    sun.security.ssl.SSLEngineImpl$DelegatedTask.run (SSLEngineImpl.java:1010)
    org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask 
(SSLIOSession.java:288)
    org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake 
(SSLIOSession.java:356)
    org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady 
(SSLIOSession.java:541)
    org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady 
(AbstractIODispatch.java:120)
    org.apache.http.impl.nio.reactor.BaseIOReactor.readable 
(BaseIOReactor.java:162)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent 
(AbstractIOReactor.java:337)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents 
(AbstractIOReactor.java:315)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.execute 
(AbstractIOReactor.java:276)
    org.apache.http.impl.nio.reactor.BaseIOReactor.execute 
(BaseIOReactor.java:104)
    org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run 
(AbstractMultiworkerIOReactor.java:591)
    java.lang.Thread.run (Thread.java:829)
Caused by: java.security.cert.CertPathValidatorException: validity check failed
 at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate 
(PKIXMasterCertPathValidator.java:135)
    sun.security.provider.certpath.PKIXCertPathValidator.validate 
(PKIXCertPathValidator.java:224)
    sun.security.provider.certpath.PKIXCertPathValidator.validate 
(PKIXCertPathValidator.java:144)
    sun.security.provider.certpath.PKIXCertPathValidator.engineValidate 
(PKIXCertPathValidator.java:83)
    java.security.cert.CertPathValidator.validate (CertPathValidator.java:309)
    sun.security.validator.PKIXValidator.doValidate (PKIXValidator.java:364)
    sun.security.validator.PKIXValidator.engineValidate (PKIXValidator.java:275)
    sun.security.validator.Validator.validate (Validator.java:264)
    sun.security.ssl.X509TrustManagerImpl.validate 
(X509TrustManagerImpl.java:313)
    sun.security.ssl.X509TrustManagerImpl.checkTrusted 
(X509TrustManagerImpl.java:276)
    sun.security.ssl.X509TrustManagerImpl.checkServerTrusted 
(X509TrustManagerImpl.java:141)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts 
(CertificateMessage.java:632)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate 
(CertificateMessage.java:473)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume 
(CertificateMessage.java:369)
    sun.security.ssl.SSLHandshake.consume (SSLHandshake.java:392)
    sun.security.ssl.HandshakeContext.dispatch (HandshakeContext.java:443)
    sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run 
(SSLEngineImpl.java:1076)
    sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run 
(SSLEngineImpl.java:1063)
    java.security.AccessController.doPrivileged (AccessController.java:-2)
    sun.security.ssl.SSLEngineImpl$DelegatedTask.run (SSLEngineImpl.java:1010)
    org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask 
(SSLIOSession.java:288)
    org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake 
(SSLIOSession.java:356)
    org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady 
(SSLIOSession.java:541)
    org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady 
(AbstractIODispatch.java:120)
    org.apache.http.impl.nio.reactor.BaseIOReactor.readable 
(BaseIOReactor.java:162)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent 
(AbstractIOReactor.java:337)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents 
(AbstractIOReactor.java:315)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.execute 
(AbstractIOReactor.java:276)
    org.apache.http.impl.nio.reactor.BaseIOReactor.execute 
(BaseIOReactor.java:104)
    org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run 
(AbstractMultiworkerIOReactor.java:591)
    java.lang.Thread.run (Thread.java:829)
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Sun Jan 01 
21:11:45 UTC 2023
 at sun.security.x509.CertificateValidity.valid (CertificateValidity.java:277)
    sun.security.x509.X509CertImpl.checkValidity (X509CertImpl.java:669)
    sun.security.provider.certpath.BasicChecker.verifyValidity 
(BasicChecker.java:190)
    sun.security.provider.certpath.BasicChecker.check (BasicChecker.java:144)
    sun.security.provider.certpath.PKIXMasterCertPathValidator.validate 
(PKIXMasterCertPathValidator.java:125)
    sun.security.provider.certpath.PKIXCertPathValidator.validate 
(PKIXCertPathValidator.java:224)
    sun.security.provider.certpath.PKIXCertPathValidator.validate 
(PKIXCertPathValidator.java:144)
    sun.security.provider.certpath.PKIXCertPathValidator.engineValidate 
(PKIXCertPathValidator.java:83)
    java.security.cert.CertPathValidator.validate (CertPathValidator.java:309)
    sun.security.validator.PKIXValidator.doValidate (PKIXValidator.java:364)
    sun.security.validator.PKIXValidator.engineValidate (PKIXValidator.java:275)
    sun.security.validator.Validator.validate (Validator.java:264)
    sun.security.ssl.X509TrustManagerImpl.validate 
(X509TrustManagerImpl.java:313)
    sun.security.ssl.X509TrustManagerImpl.checkTrusted 
(X509TrustManagerImpl.java:276)
    sun.security.ssl.X509TrustManagerImpl.checkServerTrusted 
(X509TrustManagerImpl.java:141)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts 
(CertificateMessage.java:632)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate 
(CertificateMessage.java:473)
    sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume 
(CertificateMessage.java:369)
    sun.security.ssl.SSLHandshake.consume (SSLHandshake.java:392)
    sun.security.ssl.HandshakeContext.dispatch (HandshakeContext.java:443)
    sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run 
(SSLEngineImpl.java:1076)
    sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run 
(SSLEngineImpl.java:1063)
    java.security.AccessController.doPrivileged (AccessController.java:-2)
    sun.security.ssl.SSLEngineImpl$DelegatedTask.run (SSLEngineImpl.java:1010)
    org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask 
(SSLIOSession.java:288)
    org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake 
(SSLIOSession.java:356)
    org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady 
(SSLIOSession.java:541)
    org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady 
(AbstractIODispatch.java:120)
    org.apache.http.impl.nio.reactor.BaseIOReactor.readable 
(BaseIOReactor.java:162)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent 
(AbstractIOReactor.java:337)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents 
(AbstractIOReactor.java:315)
    org.apache.http.impl.nio.reactor.AbstractIOReactor.execute 
(AbstractIOReactor.java:276)
    org.apache.http.impl.nio.reactor.BaseIOReactor.execute 
(BaseIOReactor.java:104)
    org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run 
(AbstractMultiworkerIOReactor.java:591)
    java.lang.Thread.run (Thread.java:829)

lein test puppetlabs.trapperkeeper.services.metrics.metrics-testutils

Ran 31 tests containing 218 assertions.
0 failures, 1 errors.
Tests failed.
make[1]: *** [debian/rules:28: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: 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/bullseye/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to