Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760072 - dev-libs/raft-0.9.25 fails test test/integration/uv
Summary: dev-libs/raft-0.9.25 fails test test/integration/uv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joonas Niilola
URL: https://github.com/canonical/raft/iss...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-12-15 15:15 UTC by Alexey
Modified: 2021-01-03 06:59 UTC (History)
2 users (show)

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


Attachments
emerge --info (file_760072.txt,19.32 KB, text/plain)
2020-12-15 15:15 UTC, Alexey
Details
build.log (build.log,264.88 KB, text/x-log)
2020-12-15 15:16 UTC, Alexey
Details
test-suite.log (test-suite.log,16.15 KB, text/x-log)
2020-12-15 15:16 UTC, Alexey
Details
kernel config (config-5.4.72-x86_64,206.91 KB, text/plain)
2020-12-16 17:34 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2020-12-15 15:15:42 UTC
Created attachment 678382 [details]
emerge --info

Running test suite with seed 0x6496daef...                                                                                                                                                                                                                                        
init/dirTooLong                                             [ OK    ] [ 0.00000383 / 0.00000365 CPU ]                                                                                                                                                                             
init/oom                                                                                                                                                                                                                                                                          
  heap-fault-delay=1, heap-fault-repeat=1                   [ ERROR ]                                                                                                                                                                                                             
Error: test/integration/test_uv_init.c:156: assertion failed: _rv == 1 (0 == 1)                                                                                                                                                                                                   
Error: child killed by signal 6 (Aborted)                                                                                                                                                                                                                                         
init/dirDoesNotExist                                        [ OK    ] [ 0.00002860 / 0.00002820 CPU ]                                                                                                                                                                             
init/dirNotAccessible                                       [ OK    ] [ 0.00005597 / 0.00005601 CPU ]                                                                                                                                                                             
init/noSpace                                                                                                                                                                                                                                                                      
  dir-fs=tmpfs                                              [ SKIP  ]                                                                                                                                                                                                             
init/metadataOneTooShort                                    [ OK    ] [ 0.00042657 / 0.00041869 CPU ]
Comment 1 Alexey 2020-12-15 15:16:02 UTC
Created attachment 678385 [details]
build.log
Comment 2 Alexey 2020-12-15 15:16:17 UTC
Created attachment 678388 [details]
test-suite.log
Comment 3 Joonas Niilola gentoo-dev 2020-12-15 15:56:40 UTC
Super, super weird. I can't reproduce this even with a tmpfs partition. But glad to see there's an issue open in upstream about it.
https://github.com/canonical/raft/issues/156


Does it work for you with this patch:
https://github.com/ganto/copr-lxc4/commit/ea5494791f093c2a65df6b2f26eb601d203830b5
(https://raw.githubusercontent.com/ganto/copr-lxc4/ea5494791f093c2a65df6b2f26eb601d203830b5/raft/raft-0.9.25-Always-skip-init-oom-test.patch)

Also how big is your tmpfs partition for PORTAGE_TMPDIR?
Comment 4 Alexey 2020-12-15 16:26:23 UTC
Yes, that patch helps.

Size 50G. Here's its record from fstab:

none /mnt/portagetmp tmpfs size=50G,noatime 0 0
Comment 5 Joonas Niilola gentoo-dev 2020-12-16 17:25:36 UTC
Could you upload your kernel config and I'll try with that. Do you use gentoo-sources, or vanilla-sources?
Comment 6 Alexey 2020-12-16 17:33:43 UTC
sys-kernel/gentoo-kernel
Comment 7 Alexey 2020-12-16 17:34:11 UTC
Created attachment 678511 [details]
kernel config
Comment 8 Larry the Git Cow gentoo-dev 2021-01-03 06:57:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e61d57fc23f8c6248a546e2d228923309d240c46

commit e61d57fc23f8c6248a546e2d228923309d240c46
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-01-03 06:56:32 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-01-03 06:57:13 +0000

    dev-libs/raft: skip faulty test
    
    Closes: https://bugs.gentoo.org/760072
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../raft-0.9.25-Always-skip-init-oom-test.patch    | 31 ++++++++++++++++++++++
 dev-libs/raft/raft-0.9.25.ebuild                   |  4 ++-
 2 files changed, 34 insertions(+), 1 deletion(-)
Comment 9 Joonas Niilola gentoo-dev 2021-01-03 06:59:25 UTC
With your kernel config and after booting to 5.4.80 I was able to reproduce this ONCE. It still worked countless of times after. No idea, disabling it doesn't seem too bad. Will keep an eye on the upstream issue.