Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951807 - app-arch/drpm-0.5.2 fails test - 1 - drpm_api_tests (Failed) (race condition?)
Summary: app-arch/drpm-0.5.2 fails test - 1 - drpm_api_tests (Failed) (race condition?)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Jolly
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2025-03-22 08:41 UTC by Toralf Förster
Modified: 2025-03-23 07:39 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.04 KB, text/plain)
2025-03-22 08:41 UTC, Toralf Förster
Details
LastTest.log (LastTest.log,4.09 KB, text/plain)
2025-03-22 08:41 UTC, Toralf Förster
Details
app-arch:drpm-0.5.2:20250322-014144.log (app-arch:drpm-0.5.2:20250322-014144.log,88.08 KB, text/plain)
2025-03-22 08:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,183.02 KB, text/plain)
2025-03-22 08:42 UTC, Toralf Förster
Details
environment (environment,89.63 KB, text/plain)
2025-03-22 08:42 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2025-03-22 08:42 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.19 KB, application/x-xz)
2025-03-22 08:42 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,19.20 KB, application/x-xz)
2025-03-22 08:42 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,49.86 KB, application/x-xz)
2025-03-22 08:42 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.66 KB, application/x-xz)
2025-03-22 08:42 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,1.28 KB, application/x-xz)
2025-03-22 08:42 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-03-22 08:41:44 UTC
0% tests passed, 3 tests failed out of 3

Total Test time (real) =   4.39 sec

The following tests FAILED:
	  1 - drpm_api_tests (Failed)
	  2 - drpm_cmp_files (Failed)
	  3 - drpm_memcheck (Failed)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd_test-20250316-231002

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 20.1.0
llvm-config: 20.1.0
Python 3.12.9
go version go1.24.1 linux/amd64
  [1]   php8.2
  [2]   php8.4 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.0
  [2]   rust-bin-1.85.1
  [3]   rust-1.85.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8a027d6e100588f8072479f80c51fcb013302644
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Mar 21 23:35:22 2025 +0000

    2025-03-21 23:35:21 UTC

emerge -qpvO =app-arch/drpm-0.5.2
[ebuild  N    ] app-arch/drpm-0.5.2  USE="test zstd -lzip"
Comment 1 Toralf Förster gentoo-dev 2025-03-22 08:41:47 UTC
Created attachment 921670 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-22 08:41:54 UTC
Created attachment 921671 [details]
LastTest.log
Comment 3 Toralf Förster gentoo-dev 2025-03-22 08:42:05 UTC
Created attachment 921672 [details]
app-arch:drpm-0.5.2:20250322-014144.log
Comment 4 Toralf Förster gentoo-dev 2025-03-22 08:42:14 UTC
Created attachment 921673 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2025-03-22 08:42:20 UTC
Created attachment 921674 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2025-03-22 08:42:25 UTC
Created attachment 921675 [details]
etc.clang.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-22 08:42:32 UTC
Created attachment 921676 [details]
etc.portage.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-22 08:42:36 UTC
Created attachment 921677 [details]
logs.tar.xz
Comment 9 Toralf Förster gentoo-dev 2025-03-22 08:42:39 UTC
Created attachment 921678 [details]
qlist-info.txt.xz
Comment 10 Toralf Förster gentoo-dev 2025-03-22 08:42:41 UTC
Created attachment 921679 [details]
temp.tar.xz
Comment 11 Toralf Förster gentoo-dev 2025-03-22 08:42:42 UTC
Created attachment 921680 [details]
tests.tar.xz
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-23 07:08:59 UTC
```
==46== Warning: invalid file descriptor -1 in syscall close()
[  ERROR   ] --- 0 != 0x4
[   LINE   ] --- /var/tmp/portage/app-arch/drpm-0.5.2/work/drpm-0.5.2/test/drpm_api_tests.c:154: error: Failure!
[  FAILED  ] make_standard
```
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-23 07:19:55 UTC
Or to quote the non-memtest/valgrind bit:
```

[  ERROR   ] --- 0 != 0x4
[   LINE   ] --- /var/tmp/portage/app-arch/drpm-0.5.2/work/drpm-0.5.2/test/drpm_api_tests.c:154: error: Failure!
```

I can't reproduce this yet. toralf, can you?
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-23 07:21:21 UTC
drpm-0.5.2/src/drpm.h:#define DRPM_ERR_FORMAT 4       /**< wrong file format */
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-23 07:27:27 UTC
Maybe this is more revealing:
``

2/3 Testing: drpm_cmp_files
2/3 Test: drpm_cmp_files
Command: "/usr/bin/bash" "/var/tmp/portage/app-arch/drpm-0.5.2/work/drpm-0.5.2/test/drpm_cmp_files.sh" "-d" "/var/tmp/portage/app-arch/drpm-0.5.2/work/drpm-0.5.2_build/test" "-s"
Directory: /var/tmp/portage/app-arch/drpm-0.5.2/work/drpm-0.5.2_build/test
"drpm_cmp_files" start time: Mar 22 01:41 UTC
Output:
----------------------------------------------------------
previous error: missing deltarpm: /var/tmp/portage/app-arch/drpm-0.5.2/work/drpm-0.5.2_build/test/standard.drpm
<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Failed.
"drpm_cmp_files" end time: Mar 22 01:41 UTC
"drpm_cmp_files" time elapsed: 00:00:00
```

Why would that fail? I have standard.drpm in there. It's not in the dist tarball, so it's generated..
Comment 16 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-23 07:30:52 UTC
Seems to be created by drpm_api_tests. So a race?