On 26/10/23 at 07:45 -0600, Sam Hartman wrote: > >>>>> "Lucas" == Lucas Nussbaum <lu...@debian.org> writes: > Lucas> Hi, > > Lucas> As an additional data point, I can still reproduce this > Lucas> failure. > > So, my understanding is that so far for you it always fails, and the > evidence so far suggests that it generally (or always, but I am not sure > we have long enough evidence for that) succeeds on the builds. > > What is your environment like? > Chroot? Container? If any namespaces are involved, how do you build the > namespaces, and what non-default capability settings do you have on top > of the defaults of containerization software you use.
It's a standard sbuild setup, on an AWS EC2 VM. Here is a more verbose output: /tmp/krb5-1.20.1/build/lib/krb5/ccache# PYTHONPATH=/tmp/krb5-1.20.1/src/util /usr/bin/python3 ../../../../src/lib/krb5/ccache/t_cccol.py -v *** [1] Executing: /tmp/krb5-1.20.1/build/clients/klist/klist -c KEYRING:process:abcd klist: Credentials cache keyring 'process:abcd:abcd' not found *** [1] Completed with return code 1 *** [2] Executing: ./t_cccol DIR:/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir/cc *** [2] Completed with return code 0 *** [3] Executing: keyctl list @s 1 key in keyring: 862920460: --alswrv 0 65534 keyring: _uid.0 *** [3] Completed with return code 0 *** [4] Executing: keyctl list @s 1 key in keyring: 862920460: --alswrv 0 65534 keyring: _uid.0 *** [4] Completed with return code 0 *** [5] Executing: keyctl list @u keyring is empty *** [5] Completed with return code 0 *** [6] Executing: ./t_cccol KEYRING:/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir *** [6] Completed with return code 0 *** [7] Executing: keyctl list @s 2 keys in keyring: 862920460: --alswrv 0 65534 keyring: _uid.0 924062711: --alswrv 0 0 keyring: _krb_/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir *** [7] Completed with return code 0 *** [8] Executing: keyctl search @s keyring _krb_/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir 924062711 *** [8] Completed with return code 0 *** [9] Executing: keyctl unlink 924062711 @s *** [9] Completed with return code 0 *** [10] Executing: ./t_cccol KEYRING:legacy:/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir *** [10] Completed with return code 0 *** [11] Executing: keyctl list @s 2 keys in keyring: 862920460: --alswrv 0 65534 keyring: _uid.0 554948115: --alswrv 0 0 keyring: _krb_/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir *** [11] Completed with return code 0 *** [12] Executing: keyctl search @s keyring _krb_/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir 554948115 *** [12] Completed with return code 0 *** [13] Executing: keyctl unlink 554948115 @s *** [13] Completed with return code 0 *** [14] Executing: ./t_cccol KEYRING:session:/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir *** [14] Completed with return code 0 *** [15] Executing: keyctl list @s 2 keys in keyring: 862920460: --alswrv 0 65534 keyring: _uid.0 1042415883: --alswrv 0 0 keyring: _krb_/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir *** [15] Completed with return code 0 *** [16] Executing: keyctl search @s keyring _krb_/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir 1042415883 *** [16] Completed with return code 0 *** [17] Executing: keyctl unlink 1042415883 @s *** [17] Completed with return code 0 *** [18] Executing: ./t_cccol KEYRING:user:/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir *** [18] Completed with return code 0 *** [19] Executing: keyctl list @u 1 key in keyring: 80739909: --alswrv 0 0 keyring: _krb_/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir *** [19] Completed with return code 0 *** [20] Executing: keyctl search @u keyring _krb_/tmp/krb5-1.20.1/build/lib/krb5/ccache/testdir 80739909 *** [20] Completed with return code 0 *** [21] Executing: keyctl unlink 80739909 @u *** [21] Completed with return code 0 *** [22] Executing: ./t_cccol KEYRING:process:abcd *** [22] Completed with return code 0 *** [23] Executing: ./t_cccol KEYRING:thread:abcd *** [23] Completed with return code 0 *** [24] Executing: /tmp/krb5-1.20.1/build/kadmin/dbutil/kdb5_util create -s -P master Initializing database '/var/lib/krb5kdc/principal' for realm 'KRBTEST.COM', master key name 'K/m...@krbtest.com' *** [24] Completed with return code 0 *** [25] Executing: /tmp/krb5-1.20.1/build/kadmin/cli/kadmin.local addprinc -pw user119606 u...@krbtest.com *** [25] Completed with return code 0 *** [26] Executing: /tmp/krb5-1.20.1/build/kadmin/cli/kadmin.local addprinc -pw admin119606 user/ad...@krbtest.com *** [26] Completed with return code 0 *** [27] Starting: /tmp/krb5-1.20.1/build/kdc/krb5kdc -n krb5kdc: starting... *** [27] Started with pid 119633 *** [28] Executing: /tmp/krb5-1.20.1/build/clients/kinit/kinit u...@krbtest.com kinit: Cannot contact any KDC for realm 'KRBTEST.COM' while getting initial credentials *** [28] Completed with return code 1 *** Failure: /tmp/krb5-1.20.1/build/clients/kinit/kinit failed with code 1. *** Last command (#28): /tmp/krb5-1.20.1/build/clients/kinit/kinit u...@krbtest.com *** Output of last command: kinit: Cannot contact any KDC for realm 'KRBTEST.COM' while getting initial credentials Use --debug=NUM to run a command under a debugger. Use --stop-after=NUM to stop after a daemon is started in order to attach to it with a debugger. Use --help to see other options. I can reproduce it locally on my laptop, with similar versions/setup (bookworm, sbuild+schroot). I cannot reproduce it on a Grid5000 node running Debian12 (outside of sbuild/schroot). And I also cannot reproduce it on the same node, inside sbuild/schroot. Lucas