Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 845123 - dev-libs/libmemcached-awesome-1.1.1 fails tests
Summary: dev-libs/libmemcached-awesome-1.1.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-05-17 05:58 UTC by Agostino Sarubbo
Modified: 2022-05-17 21:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,302.14 KB, text/plain)
2022-05-17 05:58 UTC, Agostino Sarubbo
Details
1-LastTest.log (1-LastTest.log,55.86 KB, text/plain)
2022-05-17 05:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-05-17 05:58:33 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-17 05:58:36 UTC
Created attachment 779306 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-05-17 05:58:37 UTC
Created attachment 779309 [details]
1-LastTest.log

1-LastTest.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-17 06:02:30 UTC
Total Test time (real) =  40.01 sec

The following tests FAILED:
	  1 - bin/memaslap (Failed)
	 43 - memcached_regression_lp583031 (Failed)
Errors while running CTest
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-17 06:02:35 UTC
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
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-17 06:02:54 UTC
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
----------------------------------------------------------
Comment 6 Tomáš Mózes 2022-05-17 19:38:28 UTC
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
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-17 20:24:21 UTC
(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.
Comment 8 Larry the Git Cow gentoo-dev 2022-05-17 20:30:42 UTC
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(+)
Comment 9 Larry the Git Cow gentoo-dev 2022-05-17 20:40:51 UTC
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(-)
Comment 10 Tomáš Mózes 2022-05-17 21:33:25 UTC
Thanks Sam