container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #65
· raw
1tribuchet: building on jamie2Machine 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 # [931177.703967] solo systemd-journald[57]: Journal started18solo # [931177.704073] solo systemd-journald[57]: Runtime Journal (/run/log/journal/2a28969ac5d04386ae2d9ba24e90b0f7) is 8M, max 4G, 3.9G free.19solo # [931177.707791] solo systemd[1]: Finished Apply Kernel Variables.20solo # [931177.717105] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [931177.728657] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [931177.729416] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [931177.768136] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/2a28969ac5d04386ae2d9ba24e90b0f7 is 1.371ms for 6 entries.24solo # [931177.768136] solo systemd-journald[57]: System Journal (/var/log/journal/2a28969ac5d04386ae2d9ba24e90b0f7) is 512B, max 4G, 3.9G free.25solo # [931177.772888] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [931177.773601] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [931177.773711] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [931177.791120] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [931177.865517] solo systemd[1]: Finished Firewall.30solo # [931178.700512] solo systemd[1]: Mounting /run/wrappers...31solo # [931178.750838] solo systemd[1]: Mounted /run/wrappers.32solo # [931178.751689] solo systemd[1]: Reached target Local File Systems.33solo # [931178.752461] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [931178.754031] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [931178.754058] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [931178.754983] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [931178.755912] solo systemd[1]: Starting Create System Files and Directories...38solo # [931178.778381] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [931178.782131] solo systemd[1]: Finished Create System Files and Directories.40solo # [931178.793654] solo systemd[1]: Starting Rebuild Journal Catalog...41solo # [931178.794544] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...42solo # [931178.808746] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.43solo # [931178.812711] solo systemd[1]: Finished Rebuild Journal Catalog.44solo # [931178.814307] solo systemd[1]: Starting Update is Completed...45solo # [931178.823662] solo systemd[1]: Finished Update is Completed.46solo # [931178.846217] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.47solo # [931178.846975] solo systemd[1]: Finished Save Transient machine-id to Disk.48solo # [931178.875208] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.49solo # [931178.875406] solo systemd[1]: Finished Create SUID/SGID Wrappers.50solo # [931178.875601] solo systemd[1]: Reached target System Initialization.51solo # [931178.875671] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container52solo # [931178.875713] solo systemd[1]: Started Daily Cleanup of Temporary Directories.53solo # [931178.875728] solo systemd[1]: Reached target Timer Units.54solo # [931178.875823] solo systemd[1]: Listening on D-Bus System Message Bus Socket.55solo # [931178.876034] solo systemd[1]: Listening on Nix Daemon Socket.56solo # [931178.876126] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.57solo # [931178.876140] solo systemd[1]: Reached target Socket Units.58solo # [931178.876169] solo systemd[1]: Reached target Basic System.59solo # [931178.877353] solo systemd[1]: Starting Import lastlog data into lastlog2 database...60solo # [931178.878510] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...61solo # [931178.879311] solo systemd[1]: Starting resolvconf update...62solo # [931178.879988] solo systemd[1]: Starting Tinc Daemon - mesh...63solo # [931178.894537] solo tinc.mesh-pre-start[234]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.64solo # [931178.896588] solo systemd[1]: Started Tinc Daemon - mesh.65solo # [931178.896952] solo systemd[1]: Finished Import lastlog data into lastlog2 database.66solo # [931178.899467] solo systemd[1]: Started tinc-auth.service.67solo # [931178.906039] solo tincd[237]: [INFO tincd] tincd 0.1.0 starting, debug level 068solo # [931178.906408] solo tincd[237]: [INFO tincd] tincd starting, name=alpha69solo # [931178.906449] solo tincd[237]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!70solo # [931178.906683] solo tincd[237]: [INFO tincd] Device mode: Tun, interface: dummy71solo # [931178.906860] solo tincd[237]: [INFO tincd::net] Listening on 0.0.0.0:65572solo # [931178.906887] solo tincd[237]: [INFO tincd::net] Listening on [::]:65573solo # [931178.907163] solo tincd[237]: [INFO tincd] Ready74solo # [931178.945388] solo tinc-auth[240]: tinc-auth: IdP listening on 127.0.0.1:844375solo # [931178.949118] solo tinc-auth[240]: tinc-auth: listening (net=mesh)76solo # [931178.960946] solo systemd[1]: nscd.service: Deactivated successfully.77solo # [931178.961126] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).78solo # [931178.963913] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...79solo # [931178.998406] solo systemd[1]: Finished resolvconf update.80solo # [931178.998714] solo systemd[1]: Reached target Preparation for Network.81solo # [931178.999868] solo systemd[1]: Starting Address configuration of eth1...82solo # [931179.000908] solo systemd[1]: Starting Extra networking commands....83solo # [931179.021589] solo network-addresses-eth1-start[298]: adding address 192.168.1.1/24... done84solo # [931179.024640] solo network-addresses-eth1-start[298]: adding address 2001:db8:1::1/64... done85solo # [931179.028875] solo systemd[1]: Finished Address configuration of eth1.86solo # [931179.070160] solo systemd[1]: Finished Extra networking commands..87solo # [931179.070943] solo systemd[1]: Reached target Network.88solo # [931179.273109] solo nsncd[290]: Aug 25 07:49:29.918 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"89solo # [931179.273331] solo systemd[1]: Started Name Service Cache Daemon (nsncd).90solo # [931179.273432] solo systemd[1]: Reached target Host and Network Name Lookups.91solo # [931179.273534] solo systemd[1]: Reached target User and Group Name Lookups.92solo # [931179.275764] solo systemd[1]: Starting User Login Management...93solo # [931179.277056] solo systemd[1]: Starting Permit User Sessions...94solo # [931179.320984] solo systemd[1]: Finished Permit User Sessions.95solo # [931179.322884] solo systemd[1]: Started Console Getty.96solo # [931179.322934] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty097solo # [931179.322964] solo systemd[1]: Reached target Login Prompts.98solo # [931180.309659] solo systemd-logind[366]: New seat seat0.99solo # [931180.322334] solo systemd[1]: Starting D-Bus System Message Bus...100solo # [931180.322518] solo systemd[1]: Started User Login Management.101solo # [931180.324101] solo systemd[1]: Starting linger-users.service...102solo # [931180.352061] solo systemd[1]: linger-users.service: Deactivated successfully.103solo # [931180.352361] solo systemd[1]: Finished linger-users.service.104solo # [931180.352709] solo systemd[1]: Reached target Multi-User System.105solo: (finished: waiting for unit tinc.mesh.service, in 4.15 seconds)106solo: waiting for unit tinc-auth.service107solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)108solo: waiting for TCP port 8443 on localhost109Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!110solo: (finished: waiting for TCP port 8443 on localhost, in 0.02 seconds)111solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration112solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds)113solo: 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'114solo: (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)115solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=CtHQD3bVLasG56j2S-8x5gRdtkuHw2vPVsqA4hZKS5o -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil116solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=CtHQD3bVLasG56j2S-8x5gRdtkuHw2vPVsqA4hZKS5o -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)117solo: must succeed: curl -fsS -H 'Authorization: Bearer CRNCXtLRQJZqNEy3of6tN5-vGPpM37P45viom4ZnnoM' http://127.0.0.1:8443/userinfo118solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer CRNCXtLRQJZqNEy3of6tN5-vGPpM37P45viom4ZnnoM' http://127.0.0.1:8443/userinfo, in 0.01 seconds)119(finished: run the VM test script, in 4.25 seconds)120solo # [931180.700591] solo dbus-broker-launch[376]: Looking up NSS user entry for 'systemd-timesync'...121solo # [931180.704337] solo dbus-broker-launch[376]: NSS returned no entry for 'systemd-timesync'122solo # [931180.704337] solo dbus-broker-launch[376]: Invalid user-name in /nix/store/m3nbj2hjbwvb8z3ggp44ng6v8b2v5si6-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"123solo # [931180.705257] solo systemd[1]: Started D-Bus System Message Bus.124solo # [931180.713238] solo dbus-broker-launch[376]: Ready125solo # [931180.713287] solo systemd[1]: Startup finished in 3.372s.126test script finished in 4.79s127cleanup128kill NspawnMachine (pid 50)129(finished: cleanup, in 0.11 seconds)130additionally exposed symbols:131 solo,132 vlan1,133 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_ssh134Container solo terminated by signal KILL.