Summary: | sys-apps/util-linux-2.38.1-r2: flock tests fail on hppa and sparc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
test files |
Description
Rolf Eike Beer
![]() I am unable to reproduce this on amd64. Are you able to reproduce this on any other archs? Please attach any relevent files from ${BUILD_DIR}/tests/output/misc. Created attachment 647234 [details]
test files
same with 2.37.2 Results from 2.37.4: misc: flock: [02] no-fork ... FAILED (misc/flock-no-fork) misc: flock: [04] exclusive ... FAILED (misc/flock-exclusive) misc: flock: [06] time-check ... FAILED (diff 9 sec) misc: flock ... FAILED (3 from 6 sub-tests) And now the same happens on hppa: misc: flock: [04] exclusive ... FAILED (misc/flock-exclusive) misc: flock: [06] time-check ... FAILED (diff 6 sec) misc: flock ... FAILED (2 from 6 sub-tests) I suspect this may be a timing issue/race condition. The tests/fs/misc/flock script starts by claiming a shared lock and then sleeping for 3 seconds in the background. All of the test cases in the script must complete during that 3 second window, or they will start to fail because the initial shared lock expires. Rolf: Do these failures happen consistently, or only under high load? I can't really tell because my machine is always relatively busy and these are also quite slow, so this sort of timeout issues is nothing new. But sounds like bad test design :/ Results from 2.39.2: misc: flock: [04] exclusive ... FAILED (misc/flock-exclusive) misc: flock: [05] fd ... FAILED (misc/flock-fd) misc: flock: [06] timeout ... FAILED (misc/flock-timeout) misc: flock: [07] time-check ... FAILED (diff 10 sec) misc: flock ... FAILED (4 from 7 sub-tests) There are more test failures, which seem unrelated and will be reported independently. |