Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928486

Summary: sys-apps/coreutils-9.5 fails test - FAIL: tests/dd/no-allocate.sh
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: matoro_gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=933045
https://bugs.gentoo.org/show_bug.cgi?id=629660
https://bugs.gentoo.org/show_bug.cgi?id=935367
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
sys-apps:coreutils-9.5:20240403-001616.log.xz
temp.tar.xz
tests.tar.xz

Description Toralf Förster gentoo-dev 2024-04-03 07:27:21 UTC
 * /var/tmp/portage/sys-apps/sandbox-2.38/work/sandbox-2.38/libsbutil/sb_write_fd.c:sb_copy_file_to_fd():22: failure (Cannot allocate memory):
 * malloc(4096)
 * /var/tmp/portage/sys-apps/sandbox-2.38/work/sandbox-2.38/libsbutil/sb_write_fd.c:sb_copy_file_to_fd():22: failure (Cannot allocate memory):
 * malloc(4096)
 * /var/tmp/portage/sys-apps/sandbox-2.38/work/sandbox-2.38/libsbutil/sb_write_fd.c:sb_copy_file_to_fd():22: failure (Cannot allocate memory):
 * malloc(4096)
FAIL: tests/dd/no-allocate.sh
===============================================
   GNU coreutils 9.5: ./tests/test-suite.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd_test-20240402-164453

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
Python 3.11.8
Available Rust versions:
  (none found)
php cli (if any):

  HEAD of ::gentoo
commit 8c32f7e0813bebd4c61019c6c35da5624d4e63c7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 2 22:34:14 2024 +0000

    2024-04-02 22:34:13 UTC

emerge -qpvO sys-apps/coreutils
[ebuild     U ] sys-apps/coreutils-9.5 [9.4-r1] USE="acl caps* nls openssl test* xattr -gmp -hostname -kill -multicall (-selinux) (-split-usr) -static -vanilla -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2024-04-03 07:27:23 UTC
Created attachment 889313 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-03 07:27:24 UTC
Created attachment 889314 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-03 07:27:25 UTC
Created attachment 889315 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-03 07:27:26 UTC
Created attachment 889316 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-03 07:27:27 UTC
Created attachment 889317 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-03 07:27:28 UTC
Created attachment 889318 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-03 07:27:29 UTC
Created attachment 889319 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-03 07:27:31 UTC
Created attachment 889320 [details]
sys-apps:coreutils-9.5:20240403-001616.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-03 07:27:32 UTC
Created attachment 889321 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-04-03 07:27:34 UTC
Created attachment 889322 [details]
tests.tar.xz
Comment 11 Larry the Git Cow gentoo-dev 2024-06-24 00:43:40 UTC
The bug has been closed via the following commit(s):

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

commit 317b5e58dcf37a565e78e24c568bd99d6017bb54
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-24 00:42:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-24 00:42:53 +0000

    sys-apps/coreutils: skip dd/no-allocate.sh again
    
    I'm pretty sure I commented this out to test and never fixed it.
    
    Bug: https://bugs.gentoo.org/629660
    Closes: https://bugs.gentoo.org/928486
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/coreutils/coreutils-9.5.ebuild  | 2 +-
 sys-apps/coreutils/coreutils-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2024-07-04 00:49:06 UTC
The bug has been referenced in the following commit(s):

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

commit cf0ea1fc1f7b7258baffac031e5c0cfe72fc27d3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-04 00:39:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-04 00:39:24 +0000

    sys-apps/coreutils: properly skip dd no-allocate test
    
    It XPASSes sometimes but it's really unreliable under sandbox (even
    segfaults under sandbox when I looked at it last).
    
    Closes: https://bugs.gentoo.org/935367
    Bug: https://bugs.gentoo.org/928486
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/coreutils/coreutils-9.5.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)