container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #80
· raw
1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.31 seconds)4Initializing machine ID from random generator.5Test will time out and terminate in 3600.0 seconds6run the VM test script7additionally exposed symbols:8 solo,9 vlan1,10 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_ssh11start all VMs12solo: systemd-nspawn running (pid 51)13solo: Waiting for journal at /build/vm-state-solo/var/log/journal...14(finished: start all VMs, in 0.12 seconds)15solo: waiting for unit tinc.mesh.service16nixos-nspawn(solo): TAP vde-tap1 not found; container will be isolated from VDE17nixos-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.18Note: 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.19░ Spawning container solo on /build/vm-state-solo.20solo # No journal files were found.21solo # No journal boot entry found for the specified boot (+0).22solo # No journal files were found.23solo # No journal boot entry found for the specified boot (+0).24solo # No journal files were found.25solo # No journal boot entry found for the specified boot (+0).26solo # No journal files were found.27solo # No journal boot entry found for the specified boot (+0).28solo # No journal files were found.29solo # No journal boot entry found for the specified boot (+0).30solo # No journal files were found.31solo # No journal boot entry found for the specified boot (+0).32solo: still waiting for container 'solo' to reach ready state...33solo # No journal files were found.34solo # No journal boot entry found for the specified boot (+0).35solo # No journal files were found.36solo # No journal boot entry found for the specified boot (+0).37solo # No journal files were found.38solo # No journal boot entry found for the specified boot (+0).39solo # No journal files were found.40solo # No journal boot entry found for the specified boot (+0).41solo # No journal files were found.42solo # No journal boot entry found for the specified boot (+0).43solo # No journal files were found.44solo # No journal boot entry found for the specified boot (+0).45solo # No journal files were found.46solo # No journal boot entry found for the specified boot (+0).47solo # [11052823.910628] solo systemd-journald[54]: Journal started48solo # [11052823.910698] solo systemd-journald[54]: Runtime Journal (/run/log/journal/a925b2b5ccc74756aeed27472a7a8a94) is 8M, max 2.5G, 2.5G free.49solo # [11052824.201729] solo systemd[1]: Starting Flush Journal to Persistent Storage...50solo # [11052824.205475] solo systemd[1]: Starting Create Static Device Nodes in /dev...51solo # [11052824.244196] solo systemd[1]: Finished Apply Kernel Variables.52solo # [11052824.461217] solo systemd[1]: Finished Create Static Device Nodes in /dev.53solo # [11052824.462729] solo systemd[1]: Reached target Preparation for Local File Systems.54solo # [11052824.462854] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys55solo # [11052824.522597] solo systemd-journald[54]: Time spent on flushing to /var/log/journal/a925b2b5ccc74756aeed27472a7a8a94 is 83.997ms for 8 entries.56solo # [11052824.522597] solo systemd-journald[54]: System Journal (/var/log/journal/a925b2b5ccc74756aeed27472a7a8a94) is 512B, max 4G, 3.9G free.57solo # [11052824.912994] solo systemd[1]: Mounting /run/wrappers...58solo # [11052824.980774] solo systemd[1]: Finished Flush Journal to Persistent Storage.59solo # [11052825.161827] solo systemd[1]: Mounted /run/wrappers.60solo # [11052825.163030] solo systemd[1]: Reached target Local File Systems.61solo # [11052825.167238] solo systemd[1]: Listening on Boot Loader Control Service Socket.62solo # [11052825.251296] solo systemd[1]: Starting Create SUID/SGID Wrappers...63solo # [11052825.251350] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container64solo # [11052825.254797] solo systemd[1]: Starting Save Transient machine-id to Disk...65solo # [11052825.266206] solo systemd[1]: Starting Create System Files and Directories...66solo # [11052825.486898] solo systemd-tmpfiles[88]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted67solo # [11052825.492495] solo systemd-tmpfiles[88]: fchmod() of /var/log/journal failed: Operation not permitted68solo # [11052825.496933] solo systemd-tmpfiles[88]: fchmod() of /var/log/journal/a925b2b5ccc74756aeed27472a7a8a94 failed: Operation not permitted69solo # [11052825.501390] solo systemd-tmpfiles[88]: fchmod() of /run/log/journal failed: Operation not permitted70solo # [11052825.532281] solo systemd[1]: Finished Create System Files and Directories.71solo # [11052825.789204] solo systemd[1]: Starting Rebuild Journal Catalog...72solo # [11052825.836213] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...73solo # [11052825.864555] solo suid-sgid-wrappers-start[107]: chmod: changing permissions of '/run/wrappers/wrappers.ys2S2493um/chsh': Operation not permitted74solo # [11052825.887969] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE75solo # [11052825.888125] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.76solo # [11052825.913107] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.77solo # [11052826.444681] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.78solo # [11052826.475225] solo systemd[1]: Finished Save Transient machine-id to Disk.79solo # [11052826.568762] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.80solo # [11052826.612937] solo systemd[1]: Finished Rebuild Journal Catalog.81solo # [11052826.636177] solo systemd[1]: Starting Update is Completed...82solo # [11052826.706857] solo systemd[1]: Finished Update is Completed.83solo # [11052826.707012] solo systemd[1]: Reached target System Initialization.84solo # [11052826.707128] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container85solo # [11052826.707212] solo systemd[1]: Started Daily Cleanup of Temporary Directories.86solo # [11052826.707236] solo systemd[1]: Reached target Timer Units.87solo # [11052826.707388] solo systemd[1]: Listening on D-Bus System Message Bus Socket.88solo # [11052826.707596] solo systemd[1]: Listening on Nix Daemon Socket.89solo # [11052826.707720] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.90solo # [11052826.707742] solo systemd[1]: Reached target Socket Units.91solo # [11052826.707777] solo systemd[1]: Reached target Basic System.92solo # [11052826.719255] solo systemd[1]: Starting Import lastlog data into lastlog2 database...93solo # [11052826.724180] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...94solo # [11052826.879204] solo systemd[1]: Starting resolvconf update...95solo # [11052826.891195] solo systemd[1]: Starting Tinc Daemon - mesh...96solo: still waiting for container 'solo' to reach ready state...97solo # [11052827.457246] solo systemd[1]: Finished Import lastlog data into lastlog2 database.98solo # [11052827.476763] solo tinc.mesh-pre-start[157]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.99solo # [11052827.632224] solo systemd[1]: Started Tinc Daemon - mesh.100solo # [11052827.708913] solo systemd[1]: Started tinc-auth.service.101solo # [11052827.924051] solo tincd[174]: [INFO tincd] tincd 0.1.0 starting, debug level 0102solo # [11052827.933855] solo tincd[174]: [INFO tincd] tincd starting, name=alpha103solo # [11052827.933855] solo tincd[174]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!104solo # [11052827.933855] solo tincd[174]: [INFO tincd] Device mode: Tun, interface: dummy105solo # [11052827.953326] solo tincd[174]: [INFO tincd::net] Listening on 0.0.0.0:655106solo # [11052827.953326] solo tincd[174]: [INFO tincd::net] Listening on [::]:655107solo # [11052827.956997] solo tincd[174]: [INFO tincd] Ready108solo # [11052827.965707] solo systemd[1]: nscd.service: Deactivated successfully.109solo # [11052827.965988] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).110solo # [11052827.989669] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...111solo # [11052828.190427] solo tinc-auth[178]: tinc-auth: IdP listening on 127.0.0.1:8443112solo # [11052828.190427] solo tinc-auth[178]: tinc-auth: listening (net=mesh)113solo # [11052828.294134] solo resolvconf-start[222]: setfacl: /run/resolvconf: Operation not supported114solo # [11052828.353011] solo systemd[1]: resolvconf.service: Main process exited, code=exited, status=1/FAILURE115solo # [11052828.353155] solo systemd[1]: resolvconf.service: Failed with result 'exit-code'.116solo # [11052828.353402] solo systemd[1]: Failed to start resolvconf update.117solo # [11052828.573726] solo nsncd[202]: Sep 01 19:26:15.134 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"118solo # [11052828.567818] solo systemd[1]: Started Name Service Cache Daemon (nsncd).119solo # [11052828.567909] solo systemd[1]: Reached target Host and Network Name Lookups.120solo # [11052828.567985] solo systemd[1]: Reached target User and Group Name Lookups.121solo # [11052828.578190] solo systemd[1]: Starting User Login Management...122solo # [11052829.751916] solo systemd[1]: Finished Firewall.123solo # [11052829.752130] solo systemd[1]: Reached target Preparation for Network.124solo # [11052829.756941] solo systemd[1]: Starting Address configuration of eth1...125solo # [11052829.804644] solo systemd[1]: Starting Extra networking commands....126solo # [11052830.481083] solo network-addresses-eth1-start[265]: adding address 192.168.1.1/24... done127solo # [11052830.486504] solo network-addresses-eth1-start[265]: adding address 2001:db8:1::1/64... done128solo # [11052830.564616] solo systemd[1]: Finished Address configuration of eth1.129solo # [11052831.850604] solo systemd[1]: Finished Extra networking commands..130solo # [11052831.851593] solo systemd[1]: Reached target Network.131solo # [11052831.880268] solo systemd[1]: Starting Permit User Sessions...132solo # [11052832.151764] solo systemd[1]: Finished Permit User Sessions.133solo # [11052832.156152] solo systemd[1]: Started Console Getty.134solo # [11052832.156229] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0135solo # [11052832.156255] solo systemd[1]: Reached target Login Prompts.136solo # [11052837.157793] solo systemd-logind[237]: New seat seat0.137solo # [11052837.158091] solo systemd[1]: Started User Login Management.138solo # [11052837.184194] solo systemd[1]: Starting D-Bus System Message Bus...139solo # [11052837.192656] solo systemd[1]: Starting linger-users.service...140solo: still waiting for container 'solo' to reach ready state...141solo # [11052837.743471] solo systemd[1]: linger-users.service: Deactivated successfully.142solo # [11052837.743822] solo systemd[1]: Finished linger-users.service.143solo # [11052837.744425] solo systemd[1]: Reached target Multi-User System.144solo # [11052843.107915] solo dbus-broker-launch[326]: Looking up NSS user entry for 'systemd-timesync'...145solo # [11052843.131582] solo dbus-broker-launch[326]: NSS returned no entry for 'systemd-timesync'146solo # [11052843.131582] solo dbus-broker-launch[326]: Invalid user-name in /nix/store/vj9fr0shj6yfmxi9ab22r2pqc7f4vg7z-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"147solo # [11052843.148241] solo systemd[1]: Started D-Bus System Message Bus.148solo # [11052843.153132] solo systemd[1]: Startup finished in 23.891s.149solo # [11052843.448211] solo dbus-broker-launch[326]: Ready150solo: (finished: waiting for unit tinc.mesh.service, in 36.99 seconds)151solo: waiting for unit tinc-auth.service152solo: (finished: waiting for unit tinc-auth.service, in 0.09 seconds)153solo: waiting for TCP port 8443 on localhost154Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!155solo: (finished: waiting for TCP port 8443 on localhost, in 0.14 seconds)156solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration157solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.37 seconds)158solo: 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'159solo: (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.20 seconds)160solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=oLrQ_XrRkIakwrQWsPG4NhNvx16VNNs7CctMVt6qB5A -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil161solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=oLrQ_XrRkIakwrQWsPG4NhNvx16VNNs7CctMVt6qB5A -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.48 seconds)162solo: must succeed: curl -fsS -H 'Authorization: Bearer wg_Wl73hY476aaodHiPIz4HDGxXQ8Pcx6nPE04qMQj8' http://127.0.0.1:8443/userinfo163solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer wg_Wl73hY476aaodHiPIz4HDGxXQ8Pcx6nPE04qMQj8' http://127.0.0.1:8443/userinfo, in 0.48 seconds)164(finished: run the VM test script, in 38.87 seconds)165test script finished in 39.30s166cleanup167kill NspawnMachine (pid 51)168Container solo terminated by signal KILL.169(finished: cleanup, in 0.94 seconds)