Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946973 - app-crypt/gnupg-2.4.7 fails tests (testsunimportable.scm testslongpassphrase.scm testsecc.scm testsrsa.scm testsunimportable.scm testslongpassphras) with app-crypt/swtpm installed (sometimes?)
Summary: app-crypt/gnupg-2.4.7 fails tests (testsunimportable.scm testslongpassphrase....
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2024-12-26 22:53 UTC by Toralf Förster
Modified: 2024-12-27 05:03 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.96 KB, text/plain)
2024-12-26 22:53 UTC, Toralf Förster
Details
app-crypt:gnupg-2.4.7:20241226-220322.log.xz (app-crypt:gnupg-2.4.7:20241226-220322.log.xz,20.18 KB, application/x-xz)
2024-12-26 22:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,20.74 KB, text/plain)
2024-12-26 22:53 UTC, Toralf Förster
Details
environment (environment,100.48 KB, text/plain)
2024-12-26 22:53 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.66 KB, application/x-xz)
2024-12-26 22:53 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,270.93 KB, application/x-xz)
2024-12-26 22:53 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,62.13 KB, text/plain)
2024-12-26 22:53 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.41 KB, application/x-xz)
2024-12-26 22:53 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,125.73 KB, application/x-xz)
2024-12-26 22:53 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 2024-12-26 22:53:47 UTC
adding TPM encryption  nistp384  key 
checking TPM signing 
Checking TPM decryption 
PASS: <standards>tests/tpm2dtests/ecc.scm 
=================== 
12 tests run, 1 succeeded, 11 failed, 0 failed expectedly, 0 succeeded unexpectedly, 0 skipped. 
Failed tests: tests/tpm2dtests/unimportable.scm tests/tpm2dtests/longpassphrase.scm tests/tpm2dtests/ecc.scm tests/tpm2dtests/rsa.scm tests/tpm2dtests/unimportable.scm tests/tpm2dtests/longpassphrase.scm tests/tpm2dtests/ecc.scm tests/tpm2dtests/rsa.scm tests/tpm2dtests/unimportable.scm tests/tpm2dtests/longpassphrase.scm tests/tpm2dtests/rsa.scm 
=================== 
make[2]: *** [Makefile:633: xcheck] Error 11

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

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

  UNMASKED:
  <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 *
llvm-config: Python 3.12.8

  HEAD of ::gentoo
commit 68bd347a2eb1e6a4a09e30e9b50840d7a3af8cc8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 26 18:05:32 2024 +0000

    2024-12-26 18:05:31 UTC

emerge -qpvO =app-crypt/gnupg-2.4.7
[ebuild     U ] app-crypt/gnupg-2.4.7 [2.4.6-r1] USE="bzip2 nls readline smartcard ssl test* tofu tpm* usb* user-socket* -doc -ldap (-selinux) -tools -verify-sig -wks-server"
Comment 1 Toralf Förster gentoo-dev 2024-12-26 22:53:49 UTC
Created attachment 915027 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-26 22:53:50 UTC
Created attachment 915028 [details]
app-crypt:gnupg-2.4.7:20241226-220322.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-12-26 22:53:50 UTC
Created attachment 915029 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-12-26 22:53:52 UTC
Created attachment 915030 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-12-26 22:53:52 UTC
Created attachment 915031 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-26 22:53:54 UTC
Created attachment 915032 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-26 22:53:55 UTC
Created attachment 915033 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-12-26 22:53:56 UTC
Created attachment 915034 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-12-26 22:53:57 UTC
Created attachment 915035 [details]
tests.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-27 05:03:36 UTC
```
Making check in tpm2dtests
make[2]: Entering directory '/var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7_build/tests/tpm2dtests'
LC_ALL=C EXEEXT= PATH="../gpgscm:/usr/lib/portage/python3.12/ebuild-helpers/xattr:/usr/lib/portage/python3.12/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin" abs_top_srcdir="/var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7" objdir="/var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7_build" TPMSERVER="" TSSSTARTUP="" SWTPM="/usr/bin/swtpm" GNUPG_BUILD_ROOT="/var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7_build" GNUPG_IN_TEST_SUITE=fact GPGSCM_PATH="/var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7/tests/gpgscm" /var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7_build/tests/gpgscm/gpgscm \
  /var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7/tests/tpm2dtests/run-tests.scm --parallel=4 
PASS: tests/tpm2dtests/setup.scm 
("/var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7/tests/tpm2dtests/start_sw_tpm.sh") failed: swtpm: Could not open TCP socket: Address already in use
cat: swtpm.pid: No such file or directory

0: tests.scm:122: (throw (string-append (stringify what) " failed") (:stderr result))
1: defs.scm:355: (call-check `(,(in-srcdir "tests" "tpm2dtests" "start_sw_tpm.sh")))
FAIL: <standards>tests/tpm2dtests/longpassphrase.scm 
("/var/tmp/portage/app-crypt/gnupg-2.4.7/work/gnupg-2.4.7/tests/tpm2dtests/start_sw_tpm.sh") failed: swtpm: Could not open TCP socket: Address already in use
cat: swtpm.pid: No such file or directory
```

Parallel test issue when app-crypt/swtpm is installed, maybe?