Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734358 - dev-util/bats-1.2.1 : [TEST] not ok 86 parallel suite execution with --jobs
Summary: dev-util/bats-1.2.1 : [TEST] not ok 86 parallel suite execution with --jobs
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Henning Schild
Depends on:
Blocks: makeopts-ignored
  Show dependency tree
Reported: 2020-07-29 08:00 UTC by Toralf Förster
Modified: 2021-08-23 19:32 UTC (History)
1 user (show)

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

emerge-info.txt (emerge-info.txt,15.60 KB, text/plain)
2020-07-29 08:00 UTC, Toralf Förster
dev-util:bats-1.2.1:20200729-002133.log (dev-util:bats-1.2.1:20200729-002133.log,7.91 KB, text/plain)
2020-07-29 08:00 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,135.00 KB, text/plain)
2020-07-29 08:00 UTC, Toralf Förster
environment (environment,19.13 KB, text/plain)
2020-07-29 08:00 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,17.71 KB, application/x-bzip)
2020-07-29 08:00 UTC, Toralf Förster
temp.tbz2 (temp.tbz2,8.76 KB, application/x-bzip)
2020-07-29 08:00 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-07-29 08:00:08 UTC
ok 84 parallel test execution with --jobs
ok 85 parallel can preserve environment variables
not ok 86 parallel suite execution with --jobs
# (in test file test/parallell.bats, line 59)
#   `[[ "$duration" -lt 12 ]] || (echo "If this fails on Travis, make sure the failure is repeatable and not due to heavy load."; false)' failed
# 1..40


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_test-20200721-185431


gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Rust versions:
  [1]   rust-1.45.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Jul 28 11:35:25 PM UTC 2020
/var/db/repos/libressl	Fri Jul 24 09:42:51 PM UTC 2020

emerge -qpvO dev-util/bats
[ebuild  N    ] dev-util/bats-1.2.1
Comment 1 Toralf Förster gentoo-dev 2020-07-29 08:00:13 UTC
Created attachment 651394 [details]
Comment 2 Toralf Förster gentoo-dev 2020-07-29 08:00:16 UTC
Created attachment 651396 [details]
Comment 3 Toralf Förster gentoo-dev 2020-07-29 08:00:19 UTC
Created attachment 651398 [details]
Comment 4 Toralf Förster gentoo-dev 2020-07-29 08:00:22 UTC
Created attachment 651400 [details]
Comment 5 Toralf Förster gentoo-dev 2020-07-29 08:00:25 UTC
Created attachment 651402 [details]
Comment 6 Toralf Förster gentoo-dev 2020-07-29 08:00:28 UTC
Created attachment 651404 [details]
Comment 7 Henning Schild 2020-07-31 07:20:52 UTC
Did not look at the details but the tests seems to be expected to fail on slow or overloaded systems.

My guess is that it will not happen every time or you can solve it by increasing the timeout. It might be worth talking to upstream and see if we can turn that into a "skip".
Comment 8 Larry the Git Cow gentoo-dev 2021-08-15 14:46:16 UTC
The bug has been referenced in the following commit(s):

commit ff3c1baa23b2f4513e297407b3bce19682ffe830
Author:     Henning Schild <>
AuthorDate: 2021-08-04 18:45:09 +0000
Commit:     Joonas Niilola <>
CommitDate: 2021-08-15 14:46:03 +0000

    dev-util/bats: respect "makeopts_jobs" in test suite
    The fact that the testsuite might run a random number of jobs if
    "sys-process/parallel" is installed was raised in a bug. While this
    commit does not solve the bug in question, it makes the test respect
    Signed-off-by: Henning Schild <>
    Signed-off-by: Joonas Niilola <>

 dev-util/bats/bats-1.4.1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Comment 9 Henning Schild 2021-08-23 19:32:44 UTC
When not having "sys-process/parallel" installed the testsuite succeeds for the two versions currently in the tree. 

The error reported here might just happen sometimes and could not be reproduced. Plus the affected version is not in the tree anymore.

So i will close this because it can not be reproduces and might have been solved upstream in the meantime.

Feel free to re-open and provide more details on how to reproduce.