• Bug#1102947: munge: FTBFS in testing: sed: can't read /tmp/munge-test-1

    From Lucas Nussbaum@21:1/5 to All on Sun Apr 13 14:40:03 2025
    Source: munge
    Version: 0.5.16-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250412 ftbfs-trixie

    Hi,

    During a rebuild of all packages in testing (trixie), your package failed
    to build on amd64.


    Relevant part (hopefully):
    make[5]: Entering directory '/build/reproducible-path/munge-0.5.16/tests' PASS: 0001-env-vars.t 1 - MUNGE_BUILD_DIR directory exists
    PASS: 0001-env-vars.t 2 - MUNGE_SOURCE_DIR directory exists
    PASS: 0002-smiple.t 1 - expr string match of absolute path with "/" regex PASS: 0002-smiple.t 2 - expr string match of absolute path with "\/" regex PASS: 0002-smiple.t 3 - expr string match of long opt
    PASS: 0002-smiple.t 4 - expr string match of long opt w/ preceding "--" parm PASS: 0002-smiple.t 5 - expr string match of long opt w/ prepended "X" char PASS: 0002-smiple.t 6 - grep extended regex expected failure
    PASS: 0002-smiple.t 7 - grep extended regex success
    PASS: 0002-smiple.t 8 - grep extended regex for end of word expected failure PASS: 0002-smiple.t 9 - grep extended regex for end of word via end of line PASS: 0002-smiple.t 10 - grep extended regex for end of word via space char PASS: 0010-basic.t 1 - setup
    PASS: 0010-basic.t 2 - create key
    PASS: 0010-basic.t 3 - check keyfile creation
    FAIL: 0010-basic.t 4 - start munged
    FAIL: 0010-basic.t 5 - check pidfile creation
    FAIL: 0010-basic.t 6 - check process is running
    FAIL: 0010-basic.t 7 - check socket creation
    FAIL: 0010-basic.t 8 - check logfile creation
    FAIL: 0010-basic.t 9 - encode credential
    FAIL: 0010-basic.t 10 - examine credential
    FAIL: 0010-basic.t 11 - decode credential
    PASS: 0010-basic.t 12 - replay credential
    FAIL: 0010-basic.t 13 - check logfile for replay
    FAIL: 0010-basic.t 14 - stop munged
    FAIL: 0010-basic.t 15 - check process has exited
    PASS: 0010-basic.t 16 - check socket removal
    PASS: 0010-basic.t 17 - check pidfile removal
    FAIL: 0010-basic.t 18 - check seedfile creation
    FAIL: 0010-basic.t 19 - check logfile for final message
    PASS: 0010-basic.t 20 - check logfile for errors
    PASS: 0010-basic.t 21 - cleanup
    ERROR: 0010-basic.t - exited with status 1
    PASS: 0011-munged-cmdline.t 1 - setup
    PASS: 0011-munged-cmdline.t 2 - munged invalid option
    PASS: 0011-munged-cmdline.t 3 - munged -h
    PASS: 0011-munged-cmdline.t 4 - munged --help
    PASS: 0011-munged-cmdline.t 5 - munged -L
    PASS: 0011-munged-cmdline.t 6 - munged --license
    PASS: 0011-munged-cmdline.t 7 - munged -V
    PASS: 0011-munged-cmdline.t 8 - munged --version
    FAIL: 0011-munged-cmdline.t 9 - munged -s
    FAIL: 0011-munged-cmdline.t 10 - munged --stop
    PASS: 0011-munged-cmdline.t 11 - munged --stop for missing socket
    FAIL: 0011-munged-cmdline.t 12 - munged -v
    FAIL: 0011-munged-cmdline.t 13 - munged --verbose
    FAIL: 0011-munged-cmdline.t 14 - munged seedfile creation with relative pathname
    FAIL: 0011-munged-cmdline.t 15 - munged socket cleanup with relative pathname XFAIL: 0011-munged-cmdline.t 16 - finish writing tests # TODO known breakage PASS: 0011-munged-cmdline.t 17 - cleanup
    ERROR: 0011-munged-cmdline.t - exited with status 1
    PASS: 0012-munge-cmdline.t 1 - munge invalid option
    PASS: 0012-munge-cmdline.t 2 - munge -h
    PASS: 0012-munge-cmdline.t 3 - munge --help
    PASS: 0012-munge-cmdline.t 4 - munge -L
    PASS: 0012-munge-cmdline.t 5 - munge --license
    PASS: 0012-munge-cmdline.t 6 - munge -V
    PASS: 0012-munge-cmdline.t 7 - munge --version
    FAIL: 0012-munge-cmdline.t 8 - start munged
    FAIL: 0012-munge-cmdline.t 9 - munge -S
    FAIL: 0012-munge-cmdline.t 10 - munge --socket
    PASS: 0012-munge-cmdline.t 11 - munge --socket for missing socket
    PASS: 0012-munge-cmdline.t 12 - munge --socket for invalid socket (file) PASS: 0012-munge-cmdline.t 13 - munge --socket for invalid socket (directory) FAIL: 0012-munge-cmdline.t 14 - munge reading from stdin
    FAIL: 0012-munge-cmdline.t 15 - munge reading from /dev/null
    FAIL: 0012-munge-cmdline.t 16 - munge -n
    FAIL: 0012-munge-cmdline.t 17 - munge --no-input
    FAIL: 0012-munge-cmdline.t 18 - munge -s
    FAIL: 0012-munge-cmdline.t 19 - munge --string
    FAIL: 0012-munge-cmdline.t 20 - munge -i
    FAIL: 0012-munge-cmdline.t 21 - munge --input
    FAIL: 0012-munge-cmdline.t 22 - munge --input from stdin via "-"
    FAIL: 0012-munge-cmdline.t 23 - munge --input from /dev/null
    PASS: 0012-munge-cmdline.t 24 - munge --input from missing file
    FAIL: 0012-munge-cmdline.t 25 - munge -o
    FAIL: 0012-munge-cmdline.t 26 - munge --output
    FAIL: 0012-munge-cmdline.t 27 - munge --output to stdout via "-"
    FAIL: 0012-munge-cmdline.t 28 - munge --output to /dev/null
    PASS: 0012-munge-cmdline.t 29 - munge -C
    PASS: 0012-munge-cmdline.t 30 - munge --list-ciphers
    FAIL: 0012-munge-cmdline.t 31 - munge -c for default by name
    FAIL: 0012-munge-cmdline.t 32 - munge --cipher for default by name
    FAIL: 0012-munge-cmdline.t 33 - munge --cipher for default by number
    FAIL: 0012-munge-cmdline.t 34 - munge --cipher for none by name
    FAIL: 0012-munge-cmdline.t 35 - munge --cipher for none by number
    PASS: 0012-munge-cmdline.t 36 - munge --cipher for invalid name
    PASS: 0012-munge-cmdline.t 37 - munge --cipher for invalid positive number PASS: 0012-munge-cmdline.t 38 - munge --cipher for invalid negative number FAIL: 0012-munge-cmdline.t 39 - munge --cipher for each cipher by name
    FAIL: 0012-munge-cmdline.t 40 - munge --cipher for each cipher by number PASS: 0012-munge-cmdline.t 41 - munge -M
    PASS: 0012-munge-cmdline.t 42 - munge --list-macs
    FAIL: 0012-munge-cmdline.t 43 - munge -m for default by name
    FAIL: 0012-munge-cmdline.t 44 - munge --mac for default by name
    FAIL: 0012-munge-cmdline.t 45 - munge --mac for default by number
    PASS: 0012-munge-cmdline.t 46 - munge --mac for none by name
    PASS: 0012-munge-cmdline.t 47 - munge --mac for none by number
    PASS: 0012-munge-cmdline.t 48 - munge --mac for invalid name
    PASS: 0012-munge-cmdline.t 49 - munge --mac for invalid positive number
    PASS: 0012-munge-cmdline.t 50 - munge --mac for invalid negative number
    FAIL: 0012-munge-cmdline.t 51 - munge --mac for each mac by name
    FAIL: 0012-munge-cmdline.t 52 - munge --mac for each mac by number
    PASS: 0012-munge-cmdline.t 53 - munge -Z
    PASS: 0012-munge-cmdline.t 54 - munge --list-zips
    FAIL: 0012-munge-cmdline.t 55 - munge -z for default by name
    FAIL: 0012-munge-cmdline.t 56 - munge --zip for default by name
    FAIL: 0012-munge-cmdline.t 57 - munge --zip for default by number
    FAIL: 0012-munge-cmdline.t 58 - munge --zip for none by name
    FAIL: 0012-munge-cmdline.t 59 - munge --zip for none by number
    PASS: 0012-munge-cmdline.t 60 - munge --zip for invalid name
    PASS: 0012-munge-cmdline.t 61 - munge --zip for invalid positive number
    PASS: 0012-munge-cmdline.t 62 - munge --zip for invalid negative number
    FAIL: 0012-munge-cmdline.t 63 - munge --zip for each zip by name
    FAIL: 0012-munge-cmdline.t 64 - munge --zip for each zip by number
    FAIL: 0012-munge-cmdline.t 65 - munge -u by name
    FAIL: 0012-munge-cmdline.t 66 - munge --restrict-uid by name
    FAIL: 0012-munge-cmdline.t 67 - munge --restrict-uid by number
    PASS: 0012-munge-cmdline.t 68 - munge --restrict-uid for invalid name
    PASS: 0012-munge-cmdline.t 69 - munge --restrict-uid for invalid number
    FAIL: 0012-munge-cmdline.t 70 - munge -U for effective user by name
    FAIL: 0012-munge-cmdline.t 71 - munge --uid for effective user by name
    FAIL: 0012-munge-cmdline.t 72 - munge --uid for effective user by number SKIP: 0012-munge-cmdline.t 73 # SKIP munge --uid for root user by name via sudo (missing SUDO)
    SKIP: 0012-munge-cmdline.t 74 # SKIP munge --uid for root user by number via sudo (missing SUDO)
    PASS: 0012-munge-cmdline.t 75 - munge --uid for invalid name
    PASS: 0012-munge-cmdline.t 76 - munge --uid for invalid number
    FAIL: 0012-munge-cmdline.t 77 - munge -g by name
    FAIL: 0012-munge-cmdline.t 78 - munge --restrict-gid by name
    FAIL: 0012-munge-cmdline.t 79 - munge --restrict-gid by number
    PASS: 0012-munge-cmdline.t 80 - munge --restrict-gid for invalid name
    PASS: 0012-munge-cmdline.t 81 - munge --restrict-gid for invalid number
    FAIL: 0012-munge-cmdline.t 82 - munge -G for effective group by name
    FAIL: 0012-munge-cmdline.t 83 - munge --gid for effective group by name
    FAIL: 0012-munge-cmdline.t 84 - munge --gid for effective group by number SKIP: 0012-munge-cmdline.t 85 # SKIP munge --gid for root group by name via sudo (missing SUDO)
    SKIP: 0012-munge-cmdline.t 86 # SKIP munge --gid for root group by number via sudo (missing SUDO)
    PASS: 0012-munge-cmdline.t 87 - munge --gid for invalid name
    PASS: 0012-munge-cmdline.t 88 - munge --gid for invalid number
    FAIL: 0012-munge-cmdline.t 89 - munge -t for default value
    FAIL: 0012-munge-cmdline.t 90 - munge --ttl for default value
    FAIL: 0012-munge-cmdline.t 91 - munge --ttl for maximum value
    FAIL: 0012-munge-cmdline.t 92 - munge --ttl for non-default value
    PASS: 0012-munge-cmdline.t 93 - munge --ttl for invalid string value
    PASS: 0012-munge-cmdline.t 94 - munge --ttl for invalid positive number
    PASS: 0012-munge-cmdline.t 95 - munge --ttl for invalid negative number
    FAIL: 0012-munge-cmdline.t 96 - stop munged
    PASS: 0012-munge-cmdline.t 97 - cleanup
    ERROR: 0012-munge-cmdline.t - exited with status 1
    PASS: 0013-unmunge-cmdline.t 1 - unmunge invalid option
    PASS: 0013-unmunge-cmdline.t 2 - unmunge -h
    PASS: 0013-unmunge-cmdline.t 3 - unmunge --help
    PASS: 0013-unmunge-cmdline.t 4 - unmunge -L
    PASS: 0013-unmunge-cmdline.t 5 - unmunge --license
    PASS: 0013-unmunge-cmdline.t 6 - unmunge -V
    PASS: 0013-unmunge-cmdline.t 7 - unmunge --version
    FAIL: 0013-unmunge-cmdline.t 8 - start munged
    FAIL: 0013-unmunge-cmdline.t 9 - unmunge -S
    FAIL: 0013-unmunge-cmdline.t 10 - unmunge --socket
    PASS: 0013-unmunge-cmdline.t 11 - unmunge --socket for missing socket
    PASS: 0013-unmunge-cmdline.t 12 - unmunge --socket for invalid socket (file) PASS: 0013-unmunge-cmdline.t 13 - unmunge --socket for invalid socket (directory)
    PASS: 0013-unmunge-cmdline.t 14 - unmunge reading from /dev/null
    FAIL: 0013-unmunge-cmdline.t 15 - unmunge -i
    FAIL: 0013-unmunge-cmdline.t 16 - unmunge --input
    FAIL: 0013-unmunge-cmdline.t 17 - unmunge --input from stdin via "-"
    PASS: 0013-unmunge-cmdline.t 18 - unmunge --input from /dev/null
    PASS: 0013-unmunge-cmdline.t 19 - unmunge --input from missing file
    FAIL: 0013-unmunge-cmdline.t 20 - unmunge -n
    FAIL: 0013-unmunge-cmdline.t 21 - unmunge --no-output
    FAIL: 0013-unmunge-cmdline.t 22 - unmunge -m
    FAIL: 0013-unmunge-cmdline.t 23 - unmunge --metadata
    FAIL: 0013-unmunge-cmdline.t 24 - unmunge --metadata to stdout via "-" along with payload
    FAIL: 0013-unmunge-cmdline.t 25 - unmunge --metadata to /dev/null with payload on stdout
    FAIL: 0013-unmunge-cmdline.t 26 - unmunge -o
    FAIL: 0013-unmunge-cmdline.t 27 - unmunge --output
    FAIL: 0013-unmunge-cmdline.t 28 - unmunge --output to stdout via "-" along with metadata
    FAIL: 0013-unmunge-cmdline.t 29 - unmunge --output to /dev/null with metadata on stdout
    PASS: 0013-unmunge-cmdline.t 30 - unmunge -K
    PASS: 0013-unmunge-cmdline.t 31 - unmunge --list-keys
    FAIL: 0013-unmunge-cmdline.t 32 - unmunge -k
    FAIL: 0013-unmunge-cmdline.t 33 - unmunge --keys
    FAIL: 0013-unmunge-cmdline.t 34 - unmunge --keys for ignoring invalid key FAIL: 0013-unmunge-cmdline.t 35 - unmunge --keys for single uppercase key FAIL: 0013-unmunge-cmdline.t 36 - unmunge --keys for single lowercase key FAIL: 0013-unmunge-cmdline.t 37 - unmunge --keys for multiple keys split by " "
    FAIL: 0013-unmunge-cmdline.t 38 - unmunge --keys for multiple keys split by ","
    FAIL: 0013-unmunge-cmdline.t 39 - unmunge --keys for multiple keys split by ";"
    FAIL: 0013-unmunge-cmdline.t 40 - unmunge --keys for multiple keys split by "."
    FAIL: 0013-unmunge-cmdline.t 41 - unmunge --keys for each key
    FAIL: 0013-unmunge-cmdline.t 42 - unmunge -N
    FAIL: 0013-unmunge-cmdline.t 43 - unmunge --numeric
    FAIL: 0013-unmunge-cmdline.t 44 - stop munged
    PASS: 0013-unmunge-cmdline.t 45 - cleanup
    ERROR: 0013-unmunge-cmdline.t - exited with status 1
    PASS: 0015-mungekey-cmdline.t 1 - mungekey invalid short option
    PASS: 0015-mungekey-cmdline.t 2 - mungekey invalid long option
    PASS: 0015-mungekey-cmdline.t 3 - mungekey invalid non-printable short option SKIP: 0015-mungekey-cmdline.t 4 # SKIP mungekey unimplemented option (missing DEBUG)
    PASS: 0015-mungekey-cmdline.t 5 - mungekey unrecognized option
    PASS: 0015-mungekey-cmdline.t 6 - mungekey lone hyphen option
    PASS: 0015-mungekey-cmdline.t 7 - mungekey -h
    PASS: 0015-mungekey-cmdline.t 8 - mungekey --help
    PASS: 0015-mungekey-cmdline.t 9 - mungekey -L
    PASS: 0015-mungekey-cmdline.t 10 - mungekey --license
    PASS: 0015-mungekey-cmdline.t 11 - mungekey -V
    PASS: 0015-mungekey-cmdline.t 12 - mungekey --version
    PASS: 0015-mungekey-cmdline.t 13 - mungekey -c
    PASS: 0015-mungekey-cmdline.t 14 - mungekey --create
    PASS: 0015-mungekey-cmdline.t 15 - mungekey -b
    PASS: 0015-mungekey-cmdline.t 16 - mungekey --bits
    PASS: 0015-mungekey-cmdline.t 17 - mungekey --bits rounding-up to next byte PASS: 0015-mungekey-cmdline.t 18 - mungekey --bits unspecified and using default
    PASS: 0015-mungekey-cmdline.t 19 - mungekey --bits with minimum value
    PASS: 0015-mungekey-cmdline.t 20 - mungekey --bits with maximum value
    PASS: 0015-mungekey-cmdline.t 21 - mungekey --bits below minimum value
    PASS: 0015-mungekey-cmdline.t 22 - mungekey --bits above maximum value
    PASS: 0015-mungekey-cmdline.t 23 - mungekey --bits error message with minimum value
    PASS: 0015-mungekey-cmdline.t 24 - mungekey --bits error message with maximum value
    PASS: 0015-mungekey-cmdline.t 25 - mungekey --bits with zero value
    PASS: 0015-mungekey-cmdline.t 26 - mungekey --bits with negative value
    PASS: 0015-mungekey-cmdline.t 27 - mungekey -b without required value
    PASS: 0015-mungekey-cmdline.t 28 - mungekey --bits without required value PASS: 0015-mungekey-cmdline.t 29 - mungekey -f
    PASS: 0015-mungekey-cmdline.t 30 - mungekey --force
    PASS: 0015-mungekey-cmdline.t 31 - mungekey without --force and with existing keyfile
    PASS: 0015-mungekey-cmdline.t 32 - mungekey -k
    PASS: 0015-mungekey-cmdline.t 33 - mungekey --keyfile
    PASS: 0015-mungekey-cmdline.t 34 - mungekey -k without required value
    PASS: 0015-mungekey-cmdline.t 35 - mungekey --keyfile without required value PASS: 0015-mungekey-cmdline.t 36 - mungekey -v
    PASS: 0015-mungekey-cmdline.t 37 - mungekey --verbose
    PASS: 0015-mungekey-cmdline.t 38 - mungekey --verbose number of bits
    PASS: 0015-mungekey-cmdline.t 39 - mungekey without --verbose
    PASS: 0015-mungekey-cmdline.t 40 - mungekey long_ind re-initialized for getopt_long()
    PASS: 0015-mungekey-cmdline.t 41 - mungekey defaults to create key
    SKIP: 0021-munged-valgrind.t - skipping valgrind tests; long test not specified
    SKIP: 0022-munge-valgrind.t - skipping valgrind tests; long test not specified
    SKIP: 0023-unmunge-valgrind.t - skipping valgrind tests; long test not specified
    SKIP: 0025-mungekey-valgrind.t - skipping valgrind tests; long test not specified
    PASS: 0099-credential-decode.t 1 - setup
    PASS: 0099-credential-decode.t 2 - start munged with known key
    PASS: 0099-credential-decode.t 3 - decode known credential
    PASS: 0099-credential-decode.t 4 - verify expected output
    PASS: 0099-credential-decode.t 5 - stop munged
    PASS: 0099-credential-decode.t 6 - cleanup
    PASS: 0100-munged-lock.t 1 - setup
    FAIL: 0100-munged-lock.t 2 - start munged with open umask
    FAIL: 0100-munged-lock.t 3 - check pidfile after munged success
    FAIL: 0100-munged-lock.t 4 - check lockfile existence
    FAIL: 0100-munged-lock.t 5 - check lockfile type
    FAIL: 0100-munged-lock.t 6 - check lockfile permissions
    FAIL: 0100-munged-lock.t 7 - start munged with in-use socket
    FAIL: 0100-munged-lock.t 8 - check pidfile after munged failure
    FAIL: 0100-munged-lock.t 9 - stop munged using lockfile-derived pid
    PASS: 0100-munged-lock.t 10 - check lockfile removal
    FAIL: 0100-munged-lock.t 11 - start munged with 0600 bogus lockfile
    FAIL: 0100-munged-lock.t 12 - start munged with 0222 bogus lockfile
    FAIL: 0100-munged-lock.t 13 - start munged with inactive non-zero-length lockfile
    FAIL: 0100-munged-lock.t 14 - check for lockfile truncation after successful start
    FAIL: 0100-munged-lock.t 15 - stop munged using sigkill to prevent cleanup FAIL: 0100-munged-lock.t 16 - check for leftover socket from unclean shutdown PASS: 0100-munged-lock.t 17 - check for leftover lockfile from unclean shutdown
    FAIL: 0100-munged-lock.t 18 - check for leftover pidfile from unclean shutdown
    FAIL: 0100-munged-lock.t 19 - start munged with leftover socket from unclean shutdown
    FAIL: 0100-munged-lock.t 20 - stop munged
    FAIL: 0100-munged-lock.t 21 - check lockfile removal again
    SKIP: 0100-munged-lock.t 22 # SKIP stop unprivileged munged as root (missing SUDO)
    PASS: 0100-munged-lock.t 23 - cleanup
    ERROR: 0100-munged-lock.t - exited with status 1
    PASS: 0101-munged-security-socket.t 1 - setup
    FAIL: 0101-munged-security-socket.t 2 - socket dir perms
    FAIL: 0101-munged-security-socket.t 3 - socket type and perms
    FAIL: 0101-munged-security-socket.t 4 - socket dir owned by euid
    SKIP: 0101-munged-security-socket.t 5 # SKIP alt socket dir setup (missing SUDO)
    SKIP: 0101-munged-security-socket.t 6 # SKIP socket dir owned by root (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0101-munged-security-socket.t 7 # SKIP socket dir owned by other failure (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0101-munged-security-socket.t 8 # SKIP socket dir owned by other override (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0101-munged-security-socket.t 9 # SKIP alt socket dir cleanup (missing ALT)
    FAIL: 0101-munged-security-socket.t 10 - socket dir writable by trusted group PASS: 0101-munged-security-socket.t 11 - socket dir writable by untrusted group failure
    FAIL: 0101-munged-security-socket.t 12 - socket dir writable by group failure PASS: 0101-munged-security-socket.t 13 - socket dir writable by group override
    FAIL: 0101-munged-security-socket.t 14 - socket dir writable by group with sticky bit
    FAIL: 0101-munged-security-socket.t 15 - socket dir writable by other failure PASS: 0101-munged-security-socket.t 16 - socket dir writable by other override
    FAIL: 0101-munged-security-socket.t 17 - socket dir writable by other with sticky bit
    FAIL: 0101-munged-security-socket.t 18 - socket dir inaccessible by all failure
    PASS: 0101-munged-security-socket.t 19 - socket dir inaccessible by all override
    PASS: 0101-munged-security-socket.t 20 - cleanup
    ERROR: 0101-munged-security-socket.t - exited with status 1
    PASS: 0102-munged-security-keyfile.t 1 - setup
    FAIL: 0102-munged-security-keyfile.t 2 - keyfile regular file
    FAIL: 0102-munged-security-keyfile.t 3 - keyfile missing failure
    FAIL: 0102-munged-security-keyfile.t 4 - keyfile non-regular-file failure PASS: 0102-munged-security-keyfile.t 5 - keyfile non-regular-file override failure
    FAIL: 0102-munged-security-keyfile.t 6 - keyfile symlink to regular file failure
    PASS: 0102-munged-security-keyfile.t 7 - keyfile symlink to regular file override
    FAIL: 0102-munged-security-keyfile.t 8 - keyfile owned by euid
    XFAIL: 0102-munged-security-keyfile.t 9 - keyfile readable by trusted group # TODO known breakage
    PASS: 0102-munged-security-keyfile.t 10 - keyfile readable by untrusted group failure
    XFAIL: 0102-munged-security-keyfile.t 11 - keyfile writable by trusted group # TODO known breakage
    PASS: 0102-munged-security-keyfile.t 12 - keyfile writable by untrusted group failure
    FAIL: 0102-munged-security-keyfile.t 13 - keyfile readable by group failure PASS: 0102-munged-security-keyfile.t 14 - keyfile readable by group override FAIL: 0102-munged-security-keyfile.t 15 - keyfile writable by group failure PASS: 0102-munged-security-keyfile.t 16 - keyfile writable by group override FAIL: 0102-munged-security-keyfile.t 17 - keyfile readable by other failure PASS: 0102-munged-security-keyfile.t 18 - keyfile readable by other override FAIL: 0102-munged-security-keyfile.t 19 - keyfile writable by other failure PASS: 0102-munged-security-keyfile.t 20 - keyfile writable by other override FAIL: 0102-munged-security-keyfile.t 21 - keyfile secure perms
    FAIL: 0102-munged-security-keyfile.t 22 - keyfile dir owned by euid
    SKIP: 0102-munged-security-keyfile.t 23 # SKIP alt keyfile dir setup (missing SUDO)
    SKIP: 0102-munged-security-keyfile.t 24 # SKIP keyfile dir owned by root (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0102-munged-security-keyfile.t 25 # SKIP keyfile dir owned by other failure (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0102-munged-security-keyfile.t 26 # SKIP keyfile dir owned by other override (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0102-munged-security-keyfile.t 27 # SKIP alt keyfile dir cleanup (missing SUDO,ALT of ALT,SUDO)
    FAIL: 0102-munged-security-keyfile.t 28 - keyfile dir writable by trusted group
    PASS: 0102-munged-security-keyfile.t 29 - keyfile dir writable by untrusted group failure
    FAIL: 0102-munged-security-keyfile.t 30 - keyfile dir writable by group failure
    PASS: 0102-munged-security-keyfile.t 31 - keyfile dir writable by group override
    FAIL: 0102-munged-security-keyfile.t 32 - keyfile dir writable by group with sticky bit
    FAIL: 0102-munged-security-keyfile.t 33 - keyfile dir writable by other failure
    PASS: 0102-munged-security-keyfile.t 34 - keyfile dir writable by other override
    FAIL: 0102-munged-security-keyfile.t 35 - keyfile dir writable by other with sticky bit
    PASS: 0102-munged-security-keyfile.t 36 - cleanup
    ERROR: 0102-munged-security-keyfile.t - exited with status 1
    PASS: 0103-munged-security-logfile.t 1 - setup
    FAIL: 0103-munged-security-logfile.t 2 - logfile regular file
    PASS: 0103-munged-security-logfile.t 3 - logfile symlink to regular file failure
    PASS: 0103-munged-security-logfile.t 4 - logfile symlink to regular file override
    FAIL: 0103-munged-security-logfile.t 5 - logfile missing
    PASS: 0103-munged-security-logfile.t 6 - logfile symlink to missing file failure
    PASS: 0103-munged-security-logfile.t 7 - logfile symlink to missing file override
    PASS: 0103-munged-security-logfile.t 8 - logfile non-regular-file failure PASS: 0103-munged-security-logfile.t 9 - logfile non-regular-file override failure
    FAIL: 0103-munged-security-logfile.t 10 - logfile not writable by user failure
    XFAIL: 0103-munged-security-logfile.t 11 - logfile writable by trusted group # TODO known breakage
    PASS: 0103-munged-security-logfile.t 12 - logfile writable by untrusted group failure
    PASS: 0103-munged-security-logfile.t 13 - logfile writable by group failure PASS: 0103-munged-security-logfile.t 14 - logfile writable by group override PASS: 0103-munged-security-logfile.t 15 - logfile writable by other failure PASS: 0103-munged-security-logfile.t 16 - logfile writable by other override FAIL: 0103-munged-security-logfile.t 17 - logfile readable by all
    FAIL: 0103-munged-security-logfile.t 18 - logfile dir owned by euid
    SKIP: 0103-munged-security-logfile.t 19 # SKIP alt logfile dir setup (missing SUDO)
    SKIP: 0103-munged-security-logfile.t 20 # SKIP logfile dir owned by root (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0103-munged-security-logfile.t 21 # SKIP logfile dir owned by other failure (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0103-munged-security-logfile.t 22 # SKIP logfile dir owned by other override (missing SUDO,ALT of ALT,SUDO)
    SKIP: 0103-munged-security-logfile.t 23 # SKIP alt logfile dir cleanup (missing SUDO,ALT of ALT,SUDO)
    FAIL: 0103-munged-security-logfile.t 24 - logfile dir writable by trusted group
    FAIL: 0103-munged-security-logfile.t 25 - logfile dir writable by untrusted group failure
    FAIL: 0103-munged-security-logfile.t 26 - logfile dir writable by group
    FAIL: 0103-munged-security-logfile.t 27 - logfile dir writable by group with sticky bit
    PASS: 0103-munged-security-logfile.t 28 - logfile dir writable by other failure
    PASS: 0103-munged-security-logfile.t 29 - logfile dir writable by other override
    FAIL: 0103-munged-security-logfile.t 30 - logfile dir writable by other with sticky bit
    PASS: 0103-munged-security-logfile.t 31 - logfile failure writes single message to stderr
    PASS: 0103-munged-security-logfile.t 32 - cleanup
    ERROR: 0103-munged-security-logfile.t - exited with status 1
    PASS: 0104-munged-security-pidfile.t 1 - setup
    XFAIL: 0104-munged-security-pidfile.t 2 - finish writing tests # TODO known breakage
    PASS: 0104-munged-security-pidfile.t 3 - cleanup
    PASS: 0105-munged-security-seedfile.t 1 - setup
    XFAIL: 0105-munged-security-seedfile.t 2 - finish writing tests # TODO known breakage
    PASS: 0105-munged-security-seedfile.t 3 - cleanup
    PASS: 0110-munged-origin-addr.t 1 - setup
    PASS: 0110-munged-origin-addr.t 2 - munged --origin help
    PASS: 0110-munged-origin-addr.t 3 - munged --origin failure
    PASS: 0110-munged-origin-addr.t 4 - munged --origin override
    PASS: 0110-munged-origin-addr.t 5 - munged --origin null address
    PASS: 0110-munged-origin-addr.t 6 - munged --origin null address metadata PASS: 0110-munged-origin-addr.t 7 - munged --origin null address warning FAIL: 0110-munged-origin-addr.t 8 - munged --origin local IP address
    FAIL: 0110-munged-origin-addr.t 9 - munged --origin local IP address metadata FAIL: 0110-munged-origin-addr.t 10 - munged --origin interface name lookup SKIP: 0110-munged-origin-addr.t 11 # SKIP munged --origin interface name (missing IFNAME)
    SKIP: 0110-munged-origin-addr.t 12 # SKIP munged --origin interface name metadata (missing IFNAME)
    FAIL: 0110-munged-origin-addr.t 13 - munged --origin non-interface IP address FAIL: 0110-munged-origin-addr.t 14 - munged --origin non-interface IP address metadata
    PASS: 0110-munged-origin-addr.t 15 - cleanup
    ERROR: 0110-munged-origin-addr.t - exited with status 1
    SKIP: 1000-chaos-rpm.t - skipping rpm test; chaos not enabled ========================================
    MUNGE 0.5.16: tests/test-suite.log ========================================

    # TOTAL: 385
    # PASS: 183
    # SKIP: 28
    # XFAIL: 6
    # FAIL: 159
    # XPASS: 0
    # ERROR: 9

    System information (uname -a): Linux 6.1.0-32-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
    Distribution information (/etc/os-release):
    PRETTY_NAME="Debian GNU/Linux trixie/sid"
    NAME="Debian GNU/Linux"
    VERSION_CODENAME=trixie
    ID=debian
    HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

    .. contents:: :depth: 2

    ERROR: 0010-basic
    =================

    munged: Error: Logfile is insecure: invalid ownership of "/tmp"
    cat: '/tmp/munge-test-16284/trash directory.0010-basic/run-17400/munged.pid.17400': No such file or directory
    munge: Error: Failed to access "/tmp/munged.sock.17400": No such file or directory (Did you start munged?)
    unmunge: Error: No credential specified
    unmunge: Error: No credential specified
    grep: /tmp/munge-test-16284/trash directory.0010-basic/log-17400/munged.log.17400: No such file or directory
    munged: Error: Failed to query socket lockfile "/tmp/munged.sock.17400.lock": No such file or directory (Cannot find running process)
    grep: /tmp/munge-test-16284/trash directory.0010-basic/log-17400/munged.log.17400: No such file or directory
    grep: /tmp/munge-test-16284/trash directory.0010-basic/log-17400/munged.log.17400: No such file or directory
    expecting success:
    munged_setup

    ok 1 - setup
    PASS: 0010-basic.t 1 - setup

    expecting success:
    munged_create_key

    ok 2 - create key
    PASS: 0010-basic.t 2 - create key

    expecting success:
    test -s "${MUNGE_KEYFILE}"

    ok 3 - check keyfile creation
    PASS: 0010-basic.t 3 - check keyfile creation

    expecting success:
    munged_start

    not ok 4 - start munged
    FAIL: 0010-basic.t 4 - start munged
    #
    # munged_start
    #

    expecting success:
    test -s "${MUNGE_PIDFILE}"

    not ok 5 - check pidfile creation
    FAIL: 0010-basic.t 5 - check pidfile creation
    #
    # test -s "${MUNGE_PIDFILE}"
    #

    expecting success:
    PID=$(cat "${MUNGE_PIDFILE}") &&
    ps -p "${PID}" -ww | grep munged

    not ok 6 - check process is running
    FAIL: 0010-basic.t 6 - check process is running
    #
    # PID=$(cat "${MUNGE_PIDFILE}") &&
    # ps -p "${PID}" -ww | grep munged
    #

    expecting success:
    test -S "${MUNGE_SOCKET}"

    not ok 7 - check socket creation
    FAIL: 0010-basic.t 7 - check socket creation
    #
    # test -S "${MUNGE_SOCKET}"
    #

    expecting success:
    test -s "${MUNGE_LOGFILE}"

    not ok 8 - check logfile creation
    FAIL: 0010-basic.t 8 - check logfile creation
    #
    # test -s "${MUNGE_LOGFILE}"
    #

    expecting success:
    "${MUNGE}" --socket="${MUNGE_SOCKET}" </dev/null >cred.$$

    not ok 9 - encode credential
    FAIL: 0010-basic.t 9 - encode credential
    #
    # "${MUNGE}" --socket="${MUNGE_SOCKET}" </dev/null >cred.$$
    #

    expecting success:
    test "$(expr X"$(cat cred.$$)" : "XMUNGE:.*:$")" -gt 0

    not ok 10 - examine credential
    FAIL: 0010-basic.t 10 - examine credential
    #
    # test "$(expr X"$(cat cred.$$)" : "XMUNGE:.*:$")" -gt 0
    #

    expecting success:
    "${UNMUNGE}" --socket="${MUNGE_SOCKET}" <cred.$$ >/dev/null

    not ok 11 - decode credential
    FAIL: 0010-basic.t 11 - decode credential
    #
    # "${UNMUNGE}" --socket="${MUNGE_SOCKET}" <cred.$$ >/dev/null
    #

    expecting success:
    test_must_fail "${UNMUNGE}" --socket="${MUNGE_SOCKET}" <cred.$$ >/dev/null

    ok 12 - replay credential
    PASS: 0010-basic.t 12 - replay credential

    expecting success:
    grep "Replayed credential" "${MUNGE_LOGFILE}"

    not ok 13 - check logfile for replay
    FAIL: 0010-basic.t 13 - check logfile for replay
    #
    # grep "Replayed credential" "${MUNGE_LOGFILE}"
    #

    expecting success:
    munged_stop

    not ok 14 - stop munged
    FAIL: 0010-basic.t 14 - stop munged
    #
    # munged_stop
    #

    expecting success:
    test "x${PID}" != x &&
    ! ps -p "${PID}" >/dev/null

    not ok 15 - check process has exited
    FAIL: 0010-basic.t 15 - check process has exited
    #
    # test "x${PID}" != x &&
    # ! ps -p "${PID}" >/dev/null
    #

    expecting success:
    test "x${MUNGE_SOCKET}" != x &&
    test ! -S "${MUNGE_SOCKET}"

    ok 16 - check socket removal
    PASS: 0010-basic.t 16 - check socket removal

    expecting success:
    test "x${MUNGE_PIDFILE}" != x &&
    test ! -f "${MUNGE_PIDFILE}"

    ok 17 - check pidfile removal
    PASS: 0010-basic.t 17 - check pidfile removal

    expecting success:
    test -s "${MUNGE_SEEDFILE}"

    not ok 18 - check seedfile creation
    FAIL: 0010-basic.t 18 - check seedfile creation
    #
    # test -s "${MUNGE_SEEDFILE}"
    #

    expecting success:
    grep "Stopping" "${MUNGE_LOGFILE}"

    not ok 19 - check logfile for final message
    FAIL: 0010-basic.t 19 - check logfile for final message
    #
    # grep "Stopping" "${MUNGE_LOGFILE}"
    #

    expecting success:
    ! grep -E -i "(Emergency|Alert|Critical|Error):" "${MUNGE_LOGFILE}"

    ok 20 - check logfile for errors
    PASS: 0010-basic.t 20 - check logfile for errors

    expecting success:
    munged_cleanup

    ok 21 - cleanup
    PASS: 0010-basic.t 21 - cleanup

    # failed 13 among 21 test(s)
    1..21
    ERROR: 0010-basic.t - exited with status 1

    ERROR: 0011-munged-cmdline
    ==========================

    munged: Error: Invalid option "--invalid-option"
    munged: Error: Logfile is insecure: invalid ownership of "/tmp"
    munged: Error: Logfile is insecure: invalid ownership of "/tmp"

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nilesh Patra@21:1/5 to All on Tue May 20 21:40:01 2025
    Source: munge
    Version: 0.5.16-1
    Severity: serious
    Justification: FTBFS

    I am unable to repro this in a unstable chroot. Is this still failing for you?

    Best,
    Nilesh

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lucas Nussbaum@21:1/5 to Nilesh Patra on Thu May 22 21:40:02 2025
    On 21/05/25 at 01:01 +0530, Nilesh Patra wrote:
    Source: munge
    Version: 0.5.16-1
    Severity: serious
    Justification: FTBFS

    I am unable to repro this in a unstable chroot. Is this still failing for you?

    It is still failing.

    Are you using the unshare sbuild backend?

    Lucas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nilesh Patra@21:1/5 to Lucas Nussbaum on Thu May 22 22:30:01 2025
    On 23/05/25 01:01, Lucas Nussbaum wrote:
    On 21/05/25 at 01:01 +0530, Nilesh Patra wrote:
    Source: munge
    Version: 0.5.16-1
    Severity: serious
    Justification: FTBFS

    I am unable to repro this in a unstable chroot. Is this still failing for you?

    It is still failing.

    Are you using the unshare sbuild backend?

    Yes! My .sbuildrc has

    | # CHROOT_MODE
    | # Type: STRING
    | # Mechanism to use for chroot virtualisation. Possible value are "schroot"
    | # (default), "sudo", "autopkgtest" and "unshare".
    | # See also related command line options in sbuild(1):
    | # --chroot-mode
    | $chroot_mode = 'unshare';

    And I can confirm from the logs that it uses the unshare chroot for build.

    | Unpacking /home/nilesh/.cache/sbuild/unstable-amd64.tar.zst to /tmp/tmp.sbuild.atFNI6Qiyx...
    | I: NOTICE: Log filtering will replace 'sbuild-unshare-dummy-location' with '<<CHROOT>>'
    | I: NOTICE: Log filtering will replace 'build/munge-BOXUql/resolver-ECypss' with '<<RESOLVERDIR>>'


    Lucas

    Best,
    Nilesh

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)