Source: nghttp2
Version: 1.42.0-1
Severity: serious
Tags: ftbfs
An arch-only build (but not a full build) of nghttp2 seems to reliably
fail at test util_localtime_date:
| Test: util_localtime_date ...FAILED
| 1. util_test.cc:454 - CU_ASSERT_STRING_EQUAL("02/Oct/2001:00:34:56
+1200",util::common_log_date(1001939696).c_str())
| 2. util_test.cc:456 -
CU_ASSERT_STRING_EQUAL("2001-10-02T00:34:56.123+12:00",util::iso8601_date(1001939696000LL
+ 123).c_str())
| 3. util_test.cc:461 - "02/Oct/2001:00:34:56 +1200" ==
util::format_common_log(common_buf.data(),
std::chrono::system_clock::time_point( std::chrono::seconds(1001939696)))
| 4. util_test.cc:468 - "2001-10-02T00:34:56.123+12:00" ==
util::format_iso8601(iso8601_buf.data(), std::chrono::system_clock::time_point(
std::chrono::milliseconds(1001939696123LL)))
...
|
| Run Summary: Type Total Ran Passed Failed Inactive
| suites 1 1 n/a 0 0
| tests 90 90 89 1 0
| asserts 1011 1011 1007 4 n/a
|
| Elapsed time = 0.001 seconds
| FAIL nghttpx-unittest (exit status: 1)
|
| ============================================================================
| Testsuite summary for nghttp2 1.42.0
| ============================================================================
| # TOTAL: 1
| # PASS: 0
| # SKIP: 0
| # XFAIL: 0
| # FAIL: 1
| # XPASS: 0
| # ERROR: 0
| ============================================================================
| See src/test-suite.log
| Please report to [email protected]
| ============================================================================
| make[5]: *** [Makefile:2787: test-suite.log] Error 1
| make[5]: Leaving directory '/<<PKGBUILDDIR>>/src'
| make[4]: *** [Makefile:2895: check-TESTS] Error 2
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
| make[3]: *** [Makefile:2994: check-am] Error 2
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
| make[2]: *** [Makefile:2679: check-recursive] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
| make[1]: *** [Makefile:569: check-recursive] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_test: error: make -j8 check VERBOSE=1 returned exit code 2
| make: *** [debian/rules:64: binary-arch] Error 25
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit
status 2
Since reproducible only performs full builds, it doesn't see this issue.
Likewise crossqa skips tests and does not see it either. I don't
understand the cause here and just report it. I hope it reproduces
reliably elsewhere as well.
Helmut