container-test-run-tinc-auth-container
checks.aarch64-linux.nixos-tinc-auth-container
· build #64
· 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 # [2147017.446599] solo systemd-journald[57]: Journal started18solo # [2147017.446657] solo systemd-journald[57]: Runtime Journal (/run/log/journal/2a076b88737847a184a1bc1e8040b8ad) is 8M, max 4G, 3.9G free.19solo # [2147017.450006] solo systemd[1]: Finished Apply Kernel Variables.20solo # [2147017.460660] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [2147017.473687] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [2147017.474383] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [2147017.485613] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/2a076b88737847a184a1bc1e8040b8ad is 2.326ms for 6 entries.24solo # [2147017.485613] solo systemd-journald[57]: System Journal (/var/log/journal/2a076b88737847a184a1bc1e8040b8ad) is 512B, max 4G, 3.9G free.25solo # [2147017.490740] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [2147017.491452] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [2147017.491575] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [2147017.511518] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [2147017.612820] solo systemd[1]: Finished Firewall.30solo # [2147018.445777] solo systemd[1]: Mounting /run/wrappers...31solo # [2147018.487347] solo systemd[1]: Mounted /run/wrappers.32solo # [2147018.488515] solo systemd[1]: Reached target Local File Systems.33solo # [2147018.490190] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [2147018.491459] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [2147018.491506] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [2147018.493362] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [2147018.494331] solo systemd[1]: Starting Create System Files and Directories...38solo # [2147018.512696] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [2147018.528486] solo systemd[1]: Finished Create System Files and Directories.40solo # [2147018.552479] solo systemd[1]: Starting Rebuild Journal Catalog...41solo # [2147018.553458] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...42solo # [2147018.567145] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.43solo # [2147018.574393] solo systemd[1]: Finished Rebuild Journal Catalog.44solo # [2147018.576229] solo systemd[1]: Starting Update is Completed...45solo # [2147018.598011] solo systemd[1]: Finished Update is Completed.46solo # [2147018.609639] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.47solo # [2147018.610015] solo systemd[1]: Finished Create SUID/SGID Wrappers.48solo # [2147018.610376] solo systemd[1]: Reached target System Initialization.49solo # [2147018.610526] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container50solo # [2147018.610583] solo systemd[1]: Started Daily Cleanup of Temporary Directories.51solo # [2147018.610623] solo systemd[1]: Reached target Timer Units.52solo # [2147018.610817] solo systemd[1]: Listening on D-Bus System Message Bus Socket.53solo # [2147018.611204] solo systemd[1]: Listening on Nix Daemon Socket.54solo # [2147018.611400] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.55solo # [2147018.611437] solo systemd[1]: Reached target Socket Units.56solo # [2147018.611504] solo systemd[1]: Reached target Basic System.57solo # [2147018.616456] solo systemd[1]: Starting Import lastlog data into lastlog2 database...58solo # [2147018.618351] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...59solo # [2147018.619959] solo systemd[1]: Starting resolvconf update...60solo # [2147018.621677] solo systemd[1]: Starting Tinc Daemon - mesh...61solo # [2147018.637714] solo tinc.mesh-pre-start[233]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.62solo # [2147018.641276] solo systemd[1]: Started Tinc Daemon - mesh.63solo # [2147018.641862] solo systemd[1]: Finished Import lastlog data into lastlog2 database.64solo # [2147018.644773] solo systemd[1]: Started tinc-auth.service.65solo # [2147018.653163] solo tincd[237]: [INFO tincd] tincd 0.1.0 starting, debug level 066solo # [2147018.653754] solo tincd[237]: [INFO tincd] tincd starting, name=alpha67solo # [2147018.653754] solo tincd[237]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!68solo # [2147018.653754] solo tincd[237]: [INFO tincd] Device mode: Tun, interface: dummy69solo # [2147018.653934] solo tincd[237]: [INFO tincd::net] Listening on 0.0.0.0:65570solo # [2147018.653990] solo tincd[237]: [INFO tincd::net] Listening on [::]:65571solo # [2147018.654269] solo tincd[237]: [INFO tincd] Ready72solo # [2147018.702149] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.73solo # [2147018.704509] solo systemd[1]: Finished Save Transient machine-id to Disk.74solo # [2147018.723789] solo systemd[1]: nscd.service: Deactivated successfully.75solo # [2147018.724147] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).76solo # [2147018.728975] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...77solo # [2147018.737223] solo systemd[1]: Finished resolvconf update.78solo # [2147018.737535] solo systemd[1]: Reached target Preparation for Network.79solo # [2147018.739321] solo systemd[1]: Starting Address configuration of eth1...80solo # [2147018.740890] solo systemd[1]: Starting Extra networking commands....81solo # [2147018.752249] solo tinc-auth[240]: tinc-auth: IdP listening on 127.0.0.1:844382solo # [2147018.752655] solo tinc-auth[240]: tinc-auth: listening (net=mesh)83solo # [2147018.757137] solo network-addresses-eth1-start[292]: adding address 192.168.1.1/24... done84solo # [2147018.759939] solo network-addresses-eth1-start[292]: adding address 2001:db8:1::1/64... done85solo # [2147018.765625] solo systemd[1]: Finished Address configuration of eth1.86solo # [2147018.819668] solo systemd[1]: Finished Extra networking commands..87solo # [2147018.819968] solo systemd[1]: Reached target Network.88solo # [2147018.866915] solo nsncd[286]: Aug 24 10:56:28.585 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"89solo # [2147018.867022] solo systemd[1]: Started Name Service Cache Daemon (nsncd).90solo # [2147018.867116] solo systemd[1]: Reached target Host and Network Name Lookups.91solo # [2147018.867200] solo systemd[1]: Reached target User and Group Name Lookups.92solo # [2147018.869762] solo systemd[1]: Starting User Login Management...93solo # [2147018.871266] solo systemd[1]: Starting Permit User Sessions...94solo # [2147018.884052] solo systemd[1]: Finished Permit User Sessions.95solo # [2147018.887229] solo systemd[1]: Started Console Getty.96solo # [2147018.887301] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty097solo # [2147018.887341] solo systemd[1]: Reached target Login Prompts.98solo # [2147019.508448] solo systemd-logind[366]: New seat seat0.99solo # [2147019.508808] solo systemd[1]: Started User Login Management.100solo # [2147019.510964] solo systemd[1]: Starting D-Bus System Message Bus...101solo # [2147019.512541] solo systemd[1]: Starting linger-users.service...102solo # [2147019.527774] solo systemd[1]: linger-users.service: Deactivated successfully.103solo # [2147019.528186] solo systemd[1]: Finished linger-users.service.104solo # [2147019.528568] solo systemd[1]: Reached target Multi-User System.105solo # [2147019.751362] solo dbus-broker-launch[376]: Looking up NSS user entry for 'systemd-timesync'...106solo # [2147019.752409] solo dbus-broker-launch[376]: NSS returned no entry for 'systemd-timesync'107solo # [2147019.752409] solo dbus-broker-launch[376]: Invalid user-name in /nix/store/r7fg24fcxbq27yllk43qd5x5ycajgf11-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"108solo # [2147019.753046] solo systemd[1]: Started D-Bus System Message Bus.109solo # [2147019.760889] solo dbus-broker-launch[376]: Ready110solo # [2147019.761598] solo systemd[1]: Startup finished in 2.741s.111solo: (finished: waiting for unit tinc.mesh.service, in 3.66 seconds)112solo: waiting for unit tinc-auth.service113solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)114solo: waiting for TCP port 8443 on localhost115Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!116solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)117solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration118solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)119solo: 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'120solo: (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)121solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=kBbXg4bVl-PRMZY4M39Kz2UnxeV8PEGfaD2suCgF0gk -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil122solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=kBbXg4bVl-PRMZY4M39Kz2UnxeV8PEGfaD2suCgF0gk -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)123solo: must succeed: curl -fsS -H 'Authorization: Bearer U6JgXJxp-jYIC9BEiS7k-YQzxFJF0OdCp0zUNJWJKOw' http://127.0.0.1:8443/userinfo124solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer U6JgXJxp-jYIC9BEiS7k-YQzxFJF0OdCp0zUNJWJKOw' http://127.0.0.1:8443/userinfo, in 0.02 seconds)125(finished: run the VM test script, in 3.76 seconds)126test script finished in 3.81s127cleanup128kill NspawnMachine (pid 50)129Container solo terminated by signal KILL.130(finished: cleanup, in 0.26 seconds)131additionally exposed symbols:132 solo,133 vlan1,134 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