https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/libmemcached-awesome-1.1.1 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 779306 [details] build.log build log and emerge --info
Created attachment 779309 [details] 1-LastTest.log 1-LastTest.log
Total Test time (real) = 40.01 sec The following tests FAILED: 1 - bin/memaslap (Failed) 43 - memcached_regression_lp583031 (Failed) Errors while running CTest
1/62 Testing: bin/memaslap 1/62 Test: bin/memaslap Command: "/var/tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1_build/test/runtests" "bin/memaslap" Directory: /var/tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1_build/test "bin/memaslap" start time: May 17 01:41 CEST Output: ---------------------------------------------------------- Filters: bin/memaslap ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ runtests is a Catch v2.13.6 host application. Run with -? for options ------------------------------------------------------------------------------- bin/memaslap with servers ------------------------------------------------------------------------------- /var/tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1/test/tests/bin/memaslap.cpp:33 ............................................................................... /var/tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1/test/tests/bin/memaslap.cpp:54: FAILED: REQUIRE( ok ) with expansion: false with messages: -T 2 -c 8 -t 2s -S 1s Could not create default configure file /var/lib/portage/home/.memslap.cnf fopen: Permission denied =============================================================================== test cases: 1 | 0 passed | 1 failed assertions: 13 | 12 passed | 1 failed <end of output> Test time = 0.16 sec ---------------------------------------------------------- Test Failed. "bin/memaslap" end time: May 17 01:41 CEST "bin/memaslap" time elapsed: 00:00:00
43/62 Testing: memcached_regression_lp583031 43/62 Test: memcached_regression_lp583031 Command: "/var/tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1_build/test/runtests" "memcached_regression_lp583031" Directory: /var/tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1_build/test "memcached_regression_lp583031" start time: May 17 01:41 CEST Output: ---------------------------------------------------------- Filters: memcached_regression_lp583031 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ runtests is a Catch v2.13.6 host application. Run with -? for options ------------------------------------------------------------------------------- memcached_regression_lp583031 ------------------------------------------------------------------------------- /var/tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1/test/tests/memcached/regression/lp_000-583-031.cpp:4 ............................................................................... /var/tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1/test/tests/memcached/regression/lp_000-583-031.cpp:18: FAILED: REQUIRE_THAT( rc, test.returns(MEMCACHED_TIMEOUT) ) with expansion: 26 is 31 actual: (0x564ecbb11ed0) SYSTEM ERROR(), host: 192.0.2.1:11211 -> /var/ tmp/portage/dev-libs/libmemcached-awesome-1.1.1/work/libmemcached-1.1.1/src/ libmemcached/get.cc:233 with message: expected: A TIMEOUT OCCURRED =============================================================================== test cases: 1 | 1 failed assertions: 8 | 7 passed | 1 failed <end of output> Test time = 0.02 sec ---------------------------------------------------------- Test Failed. "memcached_regression_lp583031" end time: May 17 01:41 CEST "memcached_regression_lp583031" time elapsed: 00:00:00 ----------------------------------------------------------
Please test as mentioned in https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild#n36 FEATURES="test -network-sandbox" \ USE="test" \ emerge dev-libs/libmemcached-awesome
(In reply to Tomáš Mózes from comment #6) > Please test as mentioned in > https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libmemcached-awesome/ > libmemcached-awesome-1.1.1.ebuild#n36 > > FEATURES="test -network-sandbox" \ > USE="test" \ > emerge dev-libs/libmemcached-awesome While it's fine to enable additional stuff for network tests, we need to run something ideally with network-sandbox on. See https://mgorny.pl/articles/the-ultimate-guide-to-eapi-8.html#properties-test-network-to-ease-reenabling-tests-requiring-internet.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1256f2631a2f1c4506f5fced412d9544058b94ac commit 1256f2631a2f1c4506f5fced412d9544058b94ac Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-17 20:30:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-17 20:30:30 +0000 dev-libs/libmemcached-awesome: skip two minor tests Fail in sandbox for one reason or another (either network or HOMEDIR (Portage's)). Closes: https://bugs.gentoo.org/845123 Signed-off-by: Sam James <sam@gentoo.org> .../libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1463386cae3e403f220e7de6a0842f39f5024111 commit 1463386cae3e403f220e7de6a0842f39f5024111 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-17 20:40:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-17 20:40:38 +0000 dev-libs/libmemcached-awesome: drop obsolete comment Bug: https://bugs.gentoo.org/845123 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild | 6 ------ 1 file changed, 6 deletions(-)
Thanks Sam