these 3 derivations will be built: /nix/store/cazpsd2363a5lv5j0bvjm6cl2pz3i6gg-test-script.drv /nix/store/80s2zd548b9lzb5gvqdgd919ff2yfx5f-nixos-test-driver-github-agent-authd.drv /nix/store/k4jf2c7rnkhyvw9zah3gfm1f8jrx5m7n-container-test-run-github-agent-authd.drv these 20 paths will be fetched (0.0 KiB download, 48.3 MiB unpacked): /nix/store/57a9z3vdad50psq5dyfwlp4vzdw2p98d-X-Restart-Triggers-dbus-broker /nix/store/xgk528p3nldvj2kj6sbgvpl8dszhi6cp-dbus-1 /nix/store/29isk01q9p93aswkwb45zaq0084p2d9r-driverConfiguration.json /nix/store/yhv3fqhs7czfjx90mxwfgnvrzh84qbgz-etc /nix/store/3xj9amy11bqb1nmj5882mp2qb81c3y8g-fake-github-api /nix/store/kp05nygc1wzpwrrdz9inn9pxvaiziwcq-gh-2.103.3 /nix/store/x4h3n1pbkfkdx3dsg625265rv9jykdin-github-agent-gh /nix/store/nnf25q5cm1gajdschaq28pkm0qbcg174-github-agent-git-credential-helper /nix/store/z8piv8n7rx743j7ffdxnx4xzi4g7zrii-github-agent-token /nix/store/dbb1nbn1dnbmyrkpnhaz6hgvjn048v7i-nixos-system-machine-test /nix/store/4pyamy04prfsi8f383k4yjll88912501-run-machine-nspawn /nix/store/cj7ihjraaw8n50y8sm8skl9gsn8vkby7-system-path /nix/store/n1139j6qv395f1plxyxv19zdqbd8ciqb-system-units /nix/store/5gmf17gyan7ih16b9x19dh91wxacxa9s-test-script /nix/store/29h6n1z4nd5irkz5p7rn0xdh9zdfzs6g-unit-dbus-broker.service /nix/store/v24brrpwcjp7sd0373583vr3nxbigq52-unit-dbus-broker.service /nix/store/jvi3d1r6rxzhlynxy9w3hrxqw70331id-unit-fake-github-api.service /nix/store/1ngshcxwrznsl1ihyka5v8d4jnrsizsy-unit-github-agent-authd.service /nix/store/q2r50c3in9viihrcd880p11ljrhjbhvg-user-units /nix/store/0b7mgfkx5fgmlsygdf10dppyg5bcm9ri-users-groups.json building '/nix/store/cazpsd2363a5lv5j0bvjm6cl2pz3i6gg-test-script.drv' building '/nix/store/80s2zd548b9lzb5gvqdgd919ff2yfx5f-nixos-test-driver-github-agent-authd.drv' nixos-test-driver-github-agent-authd> Running type check (enable/disable: config.skipTypeCheck) nixos-test-driver-github-agent-authd> See https://nixos.org/manual/nixos/stable/#test-opt-skipTypeCheck nixos-test-driver-github-agent-authd> All checks passed! nixos-test-driver-github-agent-authd> Linting test script (enable/disable: config.skipLint) nixos-test-driver-github-agent-authd> See https://nixos.org/manual/nixos/stable/#test-opt-skipLint nixos-test-driver-github-agent-authd> All checks passed! building '/nix/store/k4jf2c7rnkhyvw9zah3gfm1f8jrx5m7n-container-test-run-github-agent-authd.drv' container-test-run-github-agent-authd> [0.00s] Machine state will be reset. To keep it, pass --keep-machine-state container-test-run-github-agent-authd> [0.00s] start all VLans container-test-run-github-agent-authd> [0.00s] (finished: start all VLans, in 0.00 seconds) container-test-run-github-agent-authd> Initializing machine ID from random generator. container-test-run-github-agent-authd> [0.02s] Test will time out and terminate in 300.0 seconds container-test-run-github-agent-authd> [0.02s] run the VM test script container-test-run-github-agent-authd> additionally exposed symbols: container-test-run-github-agent-authd> machine, container-test-run-github-agent-authd> vlan1, container-test-run-github-agent-authd> start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh container-test-run-github-agent-authd> [0.02s] machine: systemd-nspawn running (pid 50) container-test-run-github-agent-authd> [0.02s] machine: Waiting for journal at /build/vm-state-machine/var/log/journal... container-test-run-github-agent-authd> [0.02s] machine: waiting for unit multi-user.target container-test-run-github-agent-authd> nixos-nspawn(machine): TAP vde-tap1 not found; container will be isolated from VDE container-test-run-github-agent-authd> nixos-nspawn(machine): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths. container-test-run-github-agent-authd> Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. container-test-run-github-agent-authd> ░ Spawning container machine on /build/vm-state-machine. container-test-run-github-agent-authd> machine # [639919.324304] machine systemd-journald[58]: Journal started container-test-run-github-agent-authd> machine # [639919.324374] machine systemd-journald[58]: Runtime Journal (/run/log/journal/76f57eb16c49471b9b987ac97d7190e7) is 8M, max 1.2G, 1.2G free. container-test-run-github-agent-authd> machine # [639919.336007] machine systemd[1]: Finished Apply Kernel Variables. container-test-run-github-agent-authd> machine # [639919.347976] machine systemd[1]: Finished Create Static Device Nodes in /dev gracefully. container-test-run-github-agent-authd> machine # [639919.363699] machine systemd[1]: Starting Flush Journal to Persistent Storage... container-test-run-github-agent-authd> machine # [639919.364480] machine systemd[1]: Starting Create Static Device Nodes in /dev... container-test-run-github-agent-authd> machine # [639919.378475] machine systemd-journald[58]: Time spent on flushing to /var/log/journal/76f57eb16c49471b9b987ac97d7190e7 is 1.480ms for 6 entries. container-test-run-github-agent-authd> machine # [639919.378475] machine systemd-journald[58]: System Journal (/var/log/journal/76f57eb16c49471b9b987ac97d7190e7) is 8M, max 4G, 3.9G free. container-test-run-github-agent-authd> machine # [639919.394103] machine systemd[1]: Finished Flush Journal to Persistent Storage. container-test-run-github-agent-authd> machine # [639919.394388] machine systemd[1]: Finished Create Static Device Nodes in /dev. container-test-run-github-agent-authd> machine # [639919.395227] machine systemd[1]: Reached target Preparation for Local File Systems. container-test-run-github-agent-authd> machine # [639919.395367] machine systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys container-test-run-github-agent-authd> machine # [639919.426489] machine systemd[1]: Finished Firewall. container-test-run-github-agent-authd> machine # [639920.325714] machine systemd[1]: Mounting /run/wrappers... container-test-run-github-agent-authd> machine # [639920.358425] machine systemd[1]: Mounted /run/wrappers. container-test-run-github-agent-authd> machine # [639920.359065] machine systemd[1]: Reached target Local File Systems. container-test-run-github-agent-authd> machine # [639920.359943] machine systemd[1]: Listening on Boot Loader Control Service Socket. container-test-run-github-agent-authd> machine # [639920.360737] machine systemd[1]: Starting Create SUID/SGID Wrappers... container-test-run-github-agent-authd> machine # [639920.360769] machine systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container container-test-run-github-agent-authd> machine # [639920.361430] machine systemd[1]: Starting Save Transient machine-id to Disk... container-test-run-github-agent-authd> machine # [639920.362073] machine systemd[1]: Starting Create System Files and Directories... container-test-run-github-agent-authd> machine # [639920.385790] machine systemd-tmpfiles[164]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted container-test-run-github-agent-authd> machine # [639920.386526] machine systemd-tmpfiles[164]: fchmod() of /var/log/journal failed: Operation not permitted container-test-run-github-agent-authd> machine # [639920.386705] machine systemd-tmpfiles[164]: fchmod() of /var/log/journal/76f57eb16c49471b9b987ac97d7190e7 failed: Operation not permitted container-test-run-github-agent-authd> machine # [639920.386981] machine systemd-tmpfiles[164]: fchmod() of /run/log/journal failed: Operation not permitted container-test-run-github-agent-authd> machine # [639920.388699] machine suid-sgid-wrappers-start[171]: chmod: changing permissions of '/run/wrappers/wrappers.jsmOMviNwH/chsh': Operation not permitted container-test-run-github-agent-authd> machine # [639920.394091] machine systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE container-test-run-github-agent-authd> machine # [639920.394150] machine systemd[1]: suid-sgid-wrappers.service: Failed to read pids.max for control group /system.slice/suid-sgid-wrappers.service, ignoring: No data available container-test-run-github-agent-authd> machine # [639920.394207] machine systemd[1]: suid-sgid-wrappers.service: Failed to read pids.max for control group /system.slice/suid-sgid-wrappers.service, ignoring: No data available container-test-run-github-agent-authd> machine # [639920.394246] machine systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'. container-test-run-github-agent-authd> machine # [639920.394442] machine systemd[1]: Failed to start Create SUID/SGID Wrappers. container-test-run-github-agent-authd> machine # [639920.394748] machine systemd[1]: Finished Create System Files and Directories. container-test-run-github-agent-authd> machine # [639920.414727] machine systemd[1]: Starting Rebuild Journal Catalog... container-test-run-github-agent-authd> machine # [639920.415561] machine systemd[1]: Starting Record System Boot/Shutdown in UTMP... container-test-run-github-agent-authd> machine # [639920.434583] machine systemd[1]: Finished Record System Boot/Shutdown in UTMP. container-test-run-github-agent-authd> machine # [639920.451308] machine systemd[1]: Finished Rebuild Journal Catalog. container-test-run-github-agent-authd> machine # [639920.452425] machine systemd[1]: Starting Update is Completed... container-test-run-github-agent-authd> machine # [639920.470999] machine systemd[1]: Finished Update is Completed. container-test-run-github-agent-authd> machine # [639920.471183] machine systemd[1]: Reached target System Initialization. container-test-run-github-agent-authd> machine # [639920.471273] machine systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container container-test-run-github-agent-authd> machine # [639920.471313] machine systemd[1]: Started Daily Cleanup of Temporary Directories. container-test-run-github-agent-authd> machine # [639920.471343] machine systemd[1]: Reached target Timer Units. container-test-run-github-agent-authd> machine # [639920.471478] machine systemd[1]: Listening on D-Bus System Message Bus Socket. container-test-run-github-agent-authd> machine # [639920.472312] machine systemd[1]: Starting GitHub agent auth broker socket... container-test-run-github-agent-authd> machine # [639920.472483] machine systemd[1]: Listening on Nix Daemon Socket. container-test-run-github-agent-authd> machine # [639920.473803] machine systemd[1]: Listening on OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Export). container-test-run-github-agent-authd> machine # [639920.474778] machine systemd[1]: Listening on OpenSSH Server Socket (systemd-ssh-generator, AF_UNIX Local). container-test-run-github-agent-authd> machine # [639920.475481] machine systemd[1]: Listening on SSH Socket. container-test-run-github-agent-authd> machine # [639920.475621] machine systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. container-test-run-github-agent-authd> machine # [639920.476516] machine systemd[1]: Listening on GitHub agent auth broker socket. container-test-run-github-agent-authd> machine # [639920.476587] machine systemd[1]: Reached target Socket Units. container-test-run-github-agent-authd> machine # [639920.476643] machine systemd[1]: Reached target Basic System. container-test-run-github-agent-authd> machine # [639920.477596] machine systemd[1]: Starting Import lastlog data into lastlog2 database... container-test-run-github-agent-authd> machine # [639920.478447] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-github-agent-authd> machine # [639920.479193] machine systemd[1]: Starting resolvconf update... container-test-run-github-agent-authd> machine # [639920.479217] machine systemd[1]: SSH Host Keys Generation skipped, no trigger condition checks were met. container-test-run-github-agent-authd> machine # [639920.497616] machine systemd[1]: Finished Import lastlog data into lastlog2 database. container-test-run-github-agent-authd> machine # [639920.530443] machine systemd[1]: nscd.service: Failed to read pids.max for control group /system.slice/nscd.service, ignoring: No data available container-test-run-github-agent-authd> machine # [639920.530485] machine systemd[1]: nscd.service: Deactivated successfully. container-test-run-github-agent-authd> machine # [639920.530650] machine systemd[1]: Stopped Name Service Cache Daemon (nsncd). container-test-run-github-agent-authd> machine # [639920.532956] machine systemd[1]: Starting Name Service Cache Daemon (nsncd)... container-test-run-github-agent-authd> machine # [639920.542949] machine resolvconf-start[238]: setfacl: /run/resolvconf: Operation not supported container-test-run-github-agent-authd> machine # [639920.543450] machine systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE container-test-run-github-agent-authd> machine # [639920.543509] machine systemd[1]: resolvconf.service: Failed to read pids.max for control group /system.slice/resolvconf.service, ignoring: No data available container-test-run-github-agent-authd> machine # [639920.543564] machine systemd[1]: resolvconf.service: Failed to read pids.max for control group /system.slice/resolvconf.service, ignoring: No data available container-test-run-github-agent-authd> machine # [639920.543593] machine systemd[1]: resolvconf.service: Failed with result 'exit-code'. container-test-run-github-agent-authd> machine # [639920.544108] machine systemd[1]: Failed to start resolvconf update. container-test-run-github-agent-authd> machine # [639920.544775] machine systemd[1]: Reached target Preparation for Network. container-test-run-github-agent-authd> machine # [639920.546218] machine systemd[1]: Starting Address configuration of eth1... container-test-run-github-agent-authd> machine # [639920.547169] machine systemd[1]: Starting Extra networking commands.... container-test-run-github-agent-authd> machine # [639920.563741] machine network-addresses-eth1-start[241]: adding address 192.168.1.1/24... done container-test-run-github-agent-authd> machine # [639920.566193] machine network-addresses-eth1-start[241]: adding address 2001:db8:1::1/64... done container-test-run-github-agent-authd> machine # [639920.570427] machine systemd[1]: Finished Address configuration of eth1. container-test-run-github-agent-authd> machine # [639920.608775] machine systemd[1]: Finished Extra networking commands.. container-test-run-github-agent-authd> machine # [639920.608966] machine systemd[1]: Reached target Network. container-test-run-github-agent-authd> machine # [639920.609924] machine systemd[1]: Started Fake GitHub API for github-agent-authd test. container-test-run-github-agent-authd> machine # [639920.675368] machine systemd[1]: etc-machine\x2did.mount: Deactivated successfully. container-test-run-github-agent-authd> machine # [639920.676582] machine systemd[1]: Finished Save Transient machine-id to Disk. container-test-run-github-agent-authd> machine # [639920.732223] machine nsncd[229]: Nov 22 17:59:31.562 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" container-test-run-github-agent-authd> machine # [639920.732317] machine systemd[1]: Started Name Service Cache Daemon (nsncd). container-test-run-github-agent-authd> machine # [639920.732401] machine systemd[1]: Reached target Host and Network Name Lookups. container-test-run-github-agent-authd> machine # [639920.732474] machine systemd[1]: Reached target User and Group Name Lookups. container-test-run-github-agent-authd> machine # [639920.733665] machine systemd[1]: Starting User Login Management... container-test-run-github-agent-authd> machine # [639920.734456] machine systemd[1]: Starting Permit User Sessions... container-test-run-github-agent-authd> machine # [639920.752157] machine systemd[1]: Finished Permit User Sessions. container-test-run-github-agent-authd> machine # [639920.753133] machine systemd[1]: Started Console Getty. container-test-run-github-agent-authd> machine # [639920.753176] machine systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0 container-test-run-github-agent-authd> machine # [639920.753206] machine systemd[1]: Reached target Login Prompts. container-test-run-github-agent-authd> machine # [639921.977719] machine systemd-logind[311]: New seat seat0. container-test-run-github-agent-authd> machine # [639921.978668] machine systemd[1]: Starting D-Bus System Message Bus... container-test-run-github-agent-authd> machine # [639921.978959] machine systemd[1]: Started User Login Management. container-test-run-github-agent-authd> machine # [639921.979809] machine systemd[1]: Starting linger-users.service... container-test-run-github-agent-authd> machine # [639922.000657] machine systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available container-test-run-github-agent-authd> machine # [639922.000781] machine systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available container-test-run-github-agent-authd> machine # [639922.000823] machine systemd[1]: linger-users.service: Deactivated successfully. container-test-run-github-agent-authd> machine # [639922.001015] machine systemd[1]: Finished linger-users.service. container-test-run-github-agent-authd> machine # [639922.001370] machine systemd[1]: Reached target Multi-User System. container-test-run-github-agent-authd> [4.17s] machine: (finished: waiting for unit multi-user.target, in 4.15 seconds) container-test-run-github-agent-authd> [4.17s] machine: waiting for unit fake-github-api.service container-test-run-github-agent-authd> [4.19s] machine: (finished: waiting for unit fake-github-api.service, in 0.02 seconds) container-test-run-github-agent-authd> [4.19s] machine: waiting for unit github-agent-authd.socket container-test-run-github-agent-authd> [4.21s] machine: (finished: waiting for unit github-agent-authd.socket, in 0.02 seconds) container-test-run-github-agent-authd> [4.21s] machine: waiting for file '/run/github-agent-authd/socket' container-test-run-github-agent-authd> [4.22s] machine: (finished: waiting for file '/run/github-agent-authd/socket', in 0.01 seconds) container-test-run-github-agent-authd> [4.22s] machine: must fail: systemctl is-active github-agent-authd.service container-test-run-github-agent-authd> [4.23s] machine: (finished: must fail: systemctl is-active github-agent-authd.service, in 0.01 seconds) container-test-run-github-agent-authd> Test 1: socket access denied for non-member user... container-test-run-github-agent-authd> [4.23s] machine: must fail: runuser -u blocked -- curl --unix-socket /run/github-agent-authd/socket -fsS http://localhost/healthz container-test-run-github-agent-authd> machine # [639922.435393] machine dbus-broker-launch[321]: Looking up NSS user entry for 'systemd-timesync'... container-test-run-github-agent-authd> machine # [639922.439924] machine dbus-broker-launch[321]: NSS returned no entry for 'systemd-timesync' container-test-run-github-agent-authd> machine # [639922.440942] machine dbus-broker-launch[321]: Invalid user-name in /nix/store/cj7ihjraaw8n50y8sm8skl9gsn8vkby7-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" container-test-run-github-agent-authd> machine # [639922.440725] machine systemd[1]: Started D-Bus System Message Bus. container-test-run-github-agent-authd> machine # [639922.441055] machine systemd[1]: Startup finished in 3.523s. container-test-run-github-agent-authd> machine # [639922.454202] machine dbus-broker-launch[321]: Ready container-test-run-github-agent-authd> curl: (7) Failed to connect to localhost:80 over unix:///run/github-agent-authd/socket after 0 ms: Could not connect to server container-test-run-github-agent-authd> [4.25s] machine: (finished: must fail: runuser -u blocked -- curl --unix-socket /run/github-agent-authd/socket -fsS http://localhost/healthz, in 0.02 seconds) container-test-run-github-agent-authd> ✓ Test 1 passed container-test-run-github-agent-authd> Test 2: health check via authorized user... container-test-run-github-agent-authd> [4.25s] machine: must succeed: runuser -u testuser -- curl --unix-socket /run/github-agent-authd/socket -fsS http://localhost/healthz container-test-run-github-agent-authd> machine # [639922.772730] machine runuser[331]: pam_unix(runuser:session): session opened for user blocked(uid=1000) by (uid=0) container-test-run-github-agent-authd> machine # [639922.784496] machine runuser[331]: pam_unix(runuser:session): session closed for user blocked container-test-run-github-agent-authd> machine # [639922.798196] machine runuser[333]: pam_unix(runuser:session): session opened for user testuser(uid=1001) by (uid=0) container-test-run-github-agent-authd> machine # [639922.809874] machine systemd[1]: Reached target Network is Online. container-test-run-github-agent-authd> machine # [639922.811645] machine systemd[1]: Starting GitHub agent auth broker... container-test-run-github-agent-authd> [5.73s] machine: (finished: must succeed: runuser -u testuser -- curl --unix-socket /run/github-agent-authd/socket -fsS http://localhost/healthz, in 1.48 seconds) container-test-run-github-agent-authd> [5.73s] machine: waiting for unit github-agent-authd.service container-test-run-github-agent-authd> [5.75s] machine: (finished: waiting for unit github-agent-authd.service, in 0.02 seconds) container-test-run-github-agent-authd> ✓ Test 2 passed container-test-run-github-agent-authd> Test 3: token retrieval and cache reuse... container-test-run-github-agent-authd> [5.75s] machine: must succeed: runuser -u testuser -- github-agent-token --repo test/repo container-test-run-github-agent-authd> [5.78s] machine: (finished: must succeed: runuser -u testuser -- github-agent-token --repo test/repo, in 0.03 seconds) container-test-run-github-agent-authd> [5.78s] machine: must succeed: runuser -u testuser -- github-agent-token --repo test/repo container-test-run-github-agent-authd> [5.81s] machine: (finished: must succeed: runuser -u testuser -- github-agent-token --repo test/repo, in 0.03 seconds) container-test-run-github-agent-authd> [5.81s] machine: must succeed: cat /tmp/fake-gh-install-repo container-test-run-github-agent-authd> [5.82s] machine: (finished: must succeed: cat /tmp/fake-gh-install-repo, in 0.01 seconds) container-test-run-github-agent-authd> [5.82s] machine: must succeed: cat /tmp/fake-gh-token-mints container-test-run-github-agent-authd> [5.83s] machine: (finished: must succeed: cat /tmp/fake-gh-token-mints, in 0.01 seconds) container-test-run-github-agent-authd> ✓ Test 3 passed container-test-run-github-agent-authd> Test 4: git credential helper returns app credentials... container-test-run-github-agent-authd> [5.83s] machine: must succeed: runuser -u testuser -- bash -lc "printf 'protocol=https\nhost=github.com\npath=test/repo.git\n\n' | github-agent-git-credential-helper get" container-test-run-github-agent-authd> [5.86s] machine: (finished: must succeed: runuser -u testuser -- bash -lc "printf 'protocol=https\nhost=github.com\npath=test/repo.git\n\n' | github-agent-git-credential-helper get", in 0.04 seconds) container-test-run-github-agent-authd> ✓ Test 4 passed container-test-run-github-agent-authd> Test 5: github-agent-gh injects token and execs gh... container-test-run-github-agent-authd> [5.86s] machine: must succeed: runuser -u testuser -- bash -lc 'cd /tmp && mkdir gh-test && cd gh-test && git init -q && git remote add origin https://github.com/test/repo.git' container-test-run-github-agent-authd> [5.88s] machine: (finished: must succeed: runuser -u testuser -- bash -lc 'cd /tmp && mkdir gh-test && cd gh-test && git init -q && git remote add origin https://github.com/test/repo.git', in 0.02 seconds) container-test-run-github-agent-authd> [5.88s] machine: must succeed: runuser -u testuser -- bash -lc 'cd /tmp/gh-test && gh help >/dev/null' container-test-run-github-agent-authd> machine # [639924.261405] machine systemd[1]: Started GitHub agent auth broker. container-test-run-github-agent-authd> machine # [639924.263508] machine github-agent-authd[335]: github-agent-authd: ready idle_shutdown_timeout=30m0s container-test-run-github-agent-authd> machine # [639924.264896] machine runuser[333]: pam_unix(runuser:session): session closed for user testuser container-test-run-github-agent-authd> machine # [639924.289747] machine runuser[341]: pam_unix(runuser:session): session opened for user testuser(uid=1001) by (uid=0) container-test-run-github-agent-authd> machine # [639924.308026] machine github-agent-authd[335]: repo=test/repo installation_id=101 cache_outcome=miss latency_ms=5 container-test-run-github-agent-authd> machine # [639924.313361] machine runuser[341]: pam_unix(runuser:session): session closed for user testuser container-test-run-github-agent-authd> machine # [639924.322500] machine runuser[348]: pam_unix(runuser:session): session opened for user testuser(uid=1001) by (uid=0) container-test-run-github-agent-authd> machine # [639924.335430] machine github-agent-authd[335]: repo=test/repo installation_id=101 cache_outcome=positive_hit latency_ms=0 container-test-run-github-agent-authd> machine # [639924.341502] machine runuser[348]: pam_unix(runuser:session): session closed for user testuser container-test-run-github-agent-authd> machine # [639924.367928] machine runuser[355]: pam_unix(runuser:session): session opened for user testuser(uid=1001) by (uid=0) container-test-run-github-agent-authd> machine # [639924.389862] machine github-agent-authd[335]: repo=test/repo installation_id=101 cache_outcome=positive_hit latency_ms=0 container-test-run-github-agent-authd> machine # [639924.396350] machine runuser[355]: pam_unix(runuser:session): session closed for user testuser container-test-run-github-agent-authd> machine # [639924.405167] machine runuser[365]: pam_unix(runuser:session): session opened for user testuser(uid=1001) by (uid=0) container-test-run-github-agent-authd> machine # [639924.417995] machine runuser[365]: pam_unix(runuser:session): session closed for user testuser container-test-run-github-agent-authd> machine # [639924.426664] machine runuser[369]: pam_unix(runuser:session): session opened for user testuser(uid=1001) by (uid=0) container-test-run-github-agent-authd> machine # [639924.454923] machine github-agent-authd[335]: repo=test/repo installation_id=101 cache_outcome=positive_hit latency_ms=0 container-test-run-github-agent-authd> machine # [639924.519310] machine runuser[369]: pam_unix(runuser:session): session closed for user testuser container-test-run-github-agent-authd> [5.99s] machine: (finished: must succeed: runuser -u testuser -- bash -lc 'cd /tmp/gh-test && gh help >/dev/null', in 0.10 seconds) container-test-run-github-agent-authd> [5.99s] machine: must succeed: cat /tmp/fake-gh-token-mints container-test-run-github-agent-authd> [6.00s] machine: (finished: must succeed: cat /tmp/fake-gh-token-mints, in 0.01 seconds) container-test-run-github-agent-authd> ✓ Test 5 passed container-test-run-github-agent-authd> Test 6: helper cleanly misses unknown repo for git fallback... container-test-run-github-agent-authd> [6.00s] machine: must succeed: runuser -u testuser -- bash -lc "printf 'protocol=https\nhost=github.com\npath=test/missing.git\n\n' | github-agent-git-credential-helper get" container-test-run-github-agent-authd> [6.05s] machine: (finished: must succeed: runuser -u testuser -- bash -lc "printf 'protocol=https\nhost=github.com\npath=test/missing.git\n\n' | github-agent-git-credential-helper get", in 0.05 seconds) container-test-run-github-agent-authd> ✓ Test 6 passed container-test-run-github-agent-authd> Test 7: missing repo uses negative cache... container-test-run-github-agent-authd> [6.05s] machine: must succeed: runuser -u testuser -- bash -lc "github-agent-token --repo test/missing >/dev/null 2>&1; echo \$?" container-test-run-github-agent-authd> [6.09s] machine: (finished: must succeed: runuser -u testuser -- bash -lc "github-agent-token --repo test/missing >/dev/null 2>&1; echo \$?", in 0.04 seconds) container-test-run-github-agent-authd> [6.09s] machine: must succeed: runuser -u testuser -- bash -lc "github-agent-token --repo test/missing >/dev/null 2>&1; echo \$?" container-test-run-github-agent-authd> [6.13s] machine: (finished: must succeed: runuser -u testuser -- bash -lc "github-agent-token --repo test/missing >/dev/null 2>&1; echo \$?", in 0.04 seconds) container-test-run-github-agent-authd> [6.13s] machine: must succeed: cat /tmp/fake-gh-install-missing container-test-run-github-agent-authd> [6.14s] machine: (finished: must succeed: cat /tmp/fake-gh-install-missing, in 0.01 seconds) container-test-run-github-agent-authd> ✓ Test 7 passed container-test-run-github-agent-authd> ✅ All tests passed! container-test-run-github-agent-authd> [6.14s] (finished: run the VM test script, in 6.12 seconds) container-test-run-github-agent-authd> [6.15s] test script finished in 6.13s container-test-run-github-agent-authd> [6.15s] cleanup container-test-run-github-agent-authd> [6.15s] kill NspawnMachine (pid 50) container-test-run-github-agent-authd> Container machine terminated by signal KILL. container-test-run-github-agent-authd> [6.21s] (finished: cleanup, in 0.06 seconds) upload niks3: ok