Describe the bug
The Debian package fails to build due to test failures.
In the Salsa CI (GitLab) environment perfdata_connection/stuck_reading_response fails often:
251/254 Test #246: perfdata_connection/stuck_reading_response .................................***Failed 10.07 sec
Running 1 test case...
./test/perfdata-perfdatatargetfixture.hpp(83): fatal error: in "perfdata_connection/stuck_reading_response": Exception in shutdown(): shutdown: stream truncated [asio.ssl.stream:1]
terminate called after throwing an instance of 'boost::execution_aborted'
unknown location(0): fatal error: in "perfdata_connection/stuck_reading_response": signal: SIGABRT (application abort requested)
./test/perfdata-perfdatatargetfixture.hpp(83): last checkpoint
*** 2 failures are detected in the test module "icinga2"
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456641
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456640
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456642
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456643
This test seems to be flaky as it doesn't always fail:
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456643 (first run: failed)
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456639 (second run: succeeded)
On the build daemons more tests fail on certain architectures:
armhf
The following tests FAILED:
231 - perfdata_elasticsearchwriter/connect (Failed) network perfdata
248 - perfdata_connection/http_send_retry (Failed) network perfdata
Errors while running CTest
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=armhf&ver=2.16.0-1&stamp=1776886720&raw=0
The failures are not the same for the prior build:
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=armhf&ver=2.16.0-1&stamp=1776874475&raw=0
ppc64el
The following tests FAILED:
231 - perfdata_elasticsearchwriter/connect (Failed) network perfdata
232 - perfdata_elasticsearchwriter/pause_with_pending_work (SEGFAULT) network perfdata
233 - perfdata_gelfwriter/connect (Failed) network perfdata
234 - perfdata_gelfwriter/pause_with_pending_work (Failed) network perfdata
235 - perfdata_graphitewriter/connect (Failed) network perfdata
236 - perfdata_graphitewriter/pause_with_pending_work (SEGFAULT) network perfdata
237 - perfdata_influxdbwriter/connect (Failed) network perfdata
238 - perfdata_influxdbwriter/pause_with_pending_work (Timeout) network perfdata
239 - perfdata_opentsdbwriter/connect (Failed) network perfdata
240 - perfdata_opentsdbwriter/pause_with_pending_work (Subprocess aborted) network perfdata
241 - perfdata_connection/connection_refused (Failed) network perfdata
242 - perfdata_connection/ensure_connected (Failed) network perfdata
243 - perfdata_connection/finish_during_timeout (Failed) network perfdata
244 - perfdata_connection/stuck_in_handshake (Failed) network perfdata
246 - perfdata_connection/stuck_reading_response (Failed) network perfdata
247 - perfdata_connection/reconnect_failed (Failed) network perfdata
248 - perfdata_connection/http_send_retry (Failed) network perfdata
Errors while running CTest
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=ppc64el&ver=2.16.0-1&stamp=1776888375&raw=0
The failures are not the same for the prior build:
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=ppc64el&ver=2.16.0-1&stamp=1776875844&raw=0
s390x
The following tests FAILED:
231 - perfdata_elasticsearchwriter/connect (SEGFAULT) network perfdata
Errors while running CTest
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=s390x&ver=2.16.0-1&stamp=1776886785&raw=0
The failures are not the same for the prior build:
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=s390x&ver=2.16.0-1&stamp=1776875153&raw=0
I've added a patch to disable these tests: perfdata-tests.patch
To Reproduce
- Build the Debian package
Expected behavior
No test failures
Screenshots
N/A
Your Environment
- Version used (
icinga2 --version): 2.16.0
- Operating System and version: Debian unstable
Describe the bug
The Debian package fails to build due to test failures.
In the Salsa CI (GitLab) environment
perfdata_connection/stuck_reading_responsefails often:https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456641
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456640
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456642
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456643
This test seems to be flaky as it doesn't always fail:
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456643 (first run: failed)
https://salsa.debian.org/nagios-team/icinga2/-/jobs/9456639 (second run: succeeded)
On the build daemons more tests fail on certain architectures:
armhf
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=armhf&ver=2.16.0-1&stamp=1776886720&raw=0
The failures are not the same for the prior build:
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=armhf&ver=2.16.0-1&stamp=1776874475&raw=0
ppc64el
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=ppc64el&ver=2.16.0-1&stamp=1776888375&raw=0
The failures are not the same for the prior build:
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=ppc64el&ver=2.16.0-1&stamp=1776875844&raw=0
s390x
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=s390x&ver=2.16.0-1&stamp=1776886785&raw=0
The failures are not the same for the prior build:
https://buildd.debian.org/status/fetch.php?pkg=icinga2&arch=s390x&ver=2.16.0-1&stamp=1776875153&raw=0
I've added a patch to disable these tests: perfdata-tests.patch
To Reproduce
Expected behavior
No test failures
Screenshots
N/A
Your Environment
icinga2 --version): 2.16.0