container-test-run-tinc-auth-container
checks.aarch64-linux.nixos-tinc-auth-container
· build #308
· raw
1tribuchet: building on eliza2Machine state will be reset. To keep it, pass --keep-machine-state3start all VLans4(finished: start all VLans, in 0.00 seconds)5Initializing machine ID from random generator.6Test will time out and terminate in 3600.0 seconds7run the VM test script8start all VMs9solo: systemd-nspawn running (pid 50)10solo: Waiting for journal at /build/vm-state-solo/var/log/journal...11(finished: start all VMs, in 0.00 seconds)12solo: waiting for unit tinc.mesh.service13nixos-nspawn(solo): TAP vde-tap1 not found; container will be isolated from VDE14nixos-nspawn(solo): A common reason for this is that /dev/net is not available in the Nix sandbox. Try adding /dev/net to extra-sandbox-paths.15Note: 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.16░ Spawning container solo on /build/vm-state-solo.17solo # No journal boot entry found for the specified boot (+0).18solo # [75896.995510] solo systemd-journald[58]: Journal started19solo # [75896.995624] solo systemd-journald[58]: Runtime Journal (/run/log/journal/52585bddf0c545c586bb21a3d065cb3b) is 8M, max 4G, 3.9G free.20solo # [75897.000936] solo systemd[1]: Finished Apply Kernel Variables.21solo # [75897.018007] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.22solo # [75897.041028] solo systemd[1]: Starting Flush Journal to Persistent Storage...23solo # [75897.041894] solo systemd[1]: Starting Create Static Device Nodes in /dev...24solo # [75897.052515] solo systemd-journald[58]: Time spent on flushing to /var/log/journal/52585bddf0c545c586bb21a3d065cb3b is 3.014ms for 6 entries.25solo # [75897.052515] solo systemd-journald[58]: System Journal (/var/log/journal/52585bddf0c545c586bb21a3d065cb3b) is 512B, max 4G, 3.9G free.26solo # [75897.072401] solo systemd[1]: Finished Create Static Device Nodes in /dev.27solo # [75897.073262] solo systemd[1]: Reached target Preparation for Local File Systems.28solo # [75897.073408] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys29solo # [75897.081216] solo systemd[1]: Finished Flush Journal to Persistent Storage.30solo # [75897.206163] solo systemd[1]: Finished Firewall.31solo # [75897.992572] solo systemd[1]: Mounting /run/wrappers...32solo # [75898.024280] solo systemd[1]: Mounted /run/wrappers.33solo # [75898.025330] solo systemd[1]: Reached target Local File Systems.34solo # [75898.026429] solo systemd[1]: Listening on Boot Loader Control Service Socket.35solo # [75898.027798] solo systemd[1]: Starting Create SUID/SGID Wrappers...36solo # [75898.027894] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container37solo # [75898.029035] solo systemd[1]: Starting Save Transient machine-id to Disk...38solo # [75898.031850] solo systemd[1]: Starting Create System Files and Directories...39solo # [75898.052478] solo systemd-tmpfiles[162]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted40solo # [75898.052955] solo systemd-tmpfiles[162]: fchmod() of /var/log/journal failed: Operation not permitted41solo # [75898.053229] solo systemd-tmpfiles[162]: fchmod() of /var/log/journal/52585bddf0c545c586bb21a3d065cb3b failed: Operation not permitted42solo # [75898.053541] solo systemd-tmpfiles[162]: fchmod() of /run/log/journal failed: Operation not permitted43solo # [75898.063722] solo suid-sgid-wrappers-start[169]: chmod: changing permissions of '/run/wrappers/wrappers.mdgy6kOziJ/chsh': Operation not permitted44solo # [75898.065366] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45solo # [75898.065472] solo systemd[1]: suid-sgid-wrappers.service: Failed to read pids.max for control group /system.slice/suid-sgid-wrappers.service, ignoring: No data available46solo # [75898.065540] solo systemd[1]: suid-sgid-wrappers.service: Failed to read pids.max for control group /system.slice/suid-sgid-wrappers.service, ignoring: No data available47solo # [75898.065570] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.48solo # [75898.065892] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.49solo # [75898.066413] solo systemd[1]: Finished Create System Files and Directories.50solo # [75898.091387] solo systemd[1]: Starting Rebuild Journal Catalog...51solo # [75898.092365] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...52solo # [75898.111505] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.53solo # [75898.118218] solo systemd[1]: Finished Rebuild Journal Catalog.54solo # [75898.119916] solo systemd[1]: Starting Update is Completed...55solo # [75898.134687] solo systemd[1]: Finished Update is Completed.56solo # [75898.134891] solo systemd[1]: Reached target System Initialization.57solo # [75898.135000] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container58solo # [75898.135085] solo systemd[1]: Started Daily Cleanup of Temporary Directories.59solo # [75898.135119] solo systemd[1]: Reached target Timer Units.60solo # [75898.135293] solo systemd[1]: Listening on D-Bus System Message Bus Socket.61solo # [75898.135549] solo systemd[1]: Listening on Nix Daemon Socket.62solo # [75898.135747] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.63solo # [75898.135774] solo systemd[1]: Reached target Socket Units.64solo # [75898.135816] solo systemd[1]: Reached target Basic System.65solo # [75898.137822] solo systemd[1]: Starting Import lastlog data into lastlog2 database...66solo # [75898.139255] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...67solo # [75898.140468] solo systemd[1]: Starting resolvconf update...68solo # [75898.141561] solo systemd[1]: Starting Tinc Daemon - mesh...69solo # [75898.157948] solo tinc.mesh-pre-start[187]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.70solo # [75898.160461] solo systemd[1]: Started Tinc Daemon - mesh.71solo # [75898.161640] solo systemd[1]: Started tinc-auth.service.72solo # [75898.162554] solo systemd[1]: Finished Import lastlog data into lastlog2 database.73solo # [75898.173586] solo tincd[190]: [INFO tincd] tincd 0.1.0 starting, debug level 074solo # [75898.174543] solo tincd[190]: [INFO tincd] tincd starting, name=alpha75solo # [75898.174591] solo tincd[190]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!76solo # [75898.174754] solo tincd[190]: [INFO tincd] Device mode: Tun, interface: dummy77solo # [75898.174901] solo tincd[190]: [INFO tincd::net] Listening on 0.0.0.0:65578solo # [75898.174936] solo tincd[190]: [INFO tincd::net] Listening on [::]:65579solo # [75898.175232] solo tincd[190]: [INFO tincd] Ready80solo # [75898.224793] solo systemd[1]: nscd.service: Failed to read pids.max for control group /system.slice/nscd.service, ignoring: No data available81solo # [75898.224831] solo systemd[1]: nscd.service: Deactivated successfully.82solo # [75898.225135] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).83solo # [75898.230945] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...84solo # [75898.236239] solo systemd[1]: Finished resolvconf update.85solo # [75898.236473] solo systemd[1]: Reached target Preparation for Network.86solo # [75898.237962] solo systemd[1]: Starting Address configuration of eth1...87solo # [75898.239370] solo systemd[1]: Starting Extra networking commands....88solo # [75898.255111] solo tinc-auth[191]: tinc-auth: IdP listening on 127.0.0.1:844389solo # [75898.257831] solo tinc-auth[191]: tinc-auth: listening (net=mesh)90solo # [75898.260624] solo network-addresses-eth1-start[246]: adding address 192.168.1.1/24... done91solo # [75898.263743] solo network-addresses-eth1-start[246]: adding address 2001:db8:1::1/64... done92solo # [75898.273737] solo systemd[1]: Finished Address configuration of eth1.93solo # [75898.323279] solo systemd[1]: Finished Extra networking commands..94solo # [75898.323505] solo systemd[1]: Reached target Network.95solo # [75898.437479] solo nsncd[241]: Nov 01 21:14:47.541 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"96solo # [75898.437598] solo systemd[1]: Started Name Service Cache Daemon (nsncd).97solo # [75898.437692] solo systemd[1]: Reached target Host and Network Name Lookups.98solo # [75898.437773] solo systemd[1]: Reached target User and Group Name Lookups.99solo # [75898.439907] solo systemd[1]: Starting User Login Management...100solo # [75898.441062] solo systemd[1]: Starting Permit User Sessions...101solo # [75898.455502] solo systemd[1]: Finished Permit User Sessions.102solo # [75898.457153] solo systemd[1]: Started Console Getty.103solo # [75898.457195] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0104solo # [75898.457214] solo systemd[1]: Reached target Login Prompts.105solo # [75898.565576] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.106solo # [75898.566953] solo systemd[1]: Finished Save Transient machine-id to Disk.107solo # [75899.800993] solo systemd-logind[327]: New seat seat0.108solo # [75899.802519] solo systemd[1]: Starting D-Bus System Message Bus...109solo # [75899.802756] solo systemd[1]: Started User Login Management.110solo # [75899.803772] solo systemd[1]: Starting linger-users.service...111solo # [75899.818758] solo systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available112solo # [75899.818811] solo systemd[1]: linger-users.service: Failed to read pids.max for control group /system.slice/linger-users.service, ignoring: No data available113solo # [75899.818849] solo systemd[1]: linger-users.service: Deactivated successfully.114solo # [75899.819122] solo systemd[1]: Finished linger-users.service.115solo # [75899.819347] solo systemd[1]: Reached target Multi-User System.116solo: (finished: waiting for unit tinc.mesh.service, in 4.16 seconds)117solo: waiting for unit tinc-auth.service118solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)119solo: waiting for TCP port 8443 on localhost120Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!121solo: (finished: waiting for TCP port 8443 on localhost, in 0.02 seconds)122solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration123solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)124solo: must succeed: curl -fsS -o /dev/null -w '%{redirect_url}' 'http://127.0.0.1:8443/authorize?response_type=code&client_id=app&redirect_uri=http%3A%2F%2Fapp.example%2Fcb&state=s'125solo: (finished: must succeed: curl -fsS -o /dev/null -w '%{redirect_url}' 'http://127.0.0.1:8443/authorize?response_type=code&client_id=app&redirect_uri=http%3A%2F%2Fapp.example%2Fcb&state=s', in 0.02 seconds)126solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=7nK3mdGegmqXWtCXRjsvo-Pe9zfihPy7f1ddYqmuna4 -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil127solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=7nK3mdGegmqXWtCXRjsvo-Pe9zfihPy7f1ddYqmuna4 -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)128solo: must succeed: curl -fsS -H 'Authorization: Bearer i0KiA3R01gI5UjVwkRsbAC9eYVO7EfZvbEQFzashuFU' http://127.0.0.1:8443/userinfo129solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer i0KiA3R01gI5UjVwkRsbAC9eYVO7EfZvbEQFzashuFU' http://127.0.0.1:8443/userinfo, in 0.02 seconds)130(finished: run the VM test script, in 4.28 seconds)131test script finished in 4.34s132cleanup133kill NspawnMachine (pid 50)134solo # [75900.154467] solo dbus-broker-launch[338]: Looking up NSS user entry for 'systemd-timesync'...135solo # [75900.156748] solo dbus-broker-launch[338]: NSS returned no entry for 'systemd-timesync'136solo # [75900.156748] solo dbus-broker-launch[338]: Invalid user-name in /nix/store/j162pn4f71imwb1qyzqwd6w9bzv8b65z-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"137solo # [75900.157536] solo systemd[1]: Started D-Bus System Message Bus.138solo # [75900.165871] solo dbus-broker-launch[338]: Ready139solo # [75900.180095] solo systemd[1]: Startup finished in 3.635s.140Container solo terminated by signal KILL.141(finished: cleanup, in 0.27 seconds)142additionally exposed symbols:143 solo,144 vlan1,145 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