container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #296
· 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 # [150780.310019] solo systemd-journald[57]: Journal started18solo # [150780.310068] solo systemd-journald[57]: Runtime Journal (/run/log/journal/d226c495ec974d90814a4827f9809ff0) is 8M, max 4G, 3.9G free.19solo # [150780.319843] solo systemd[1]: Finished Apply Kernel Variables.20solo # [150780.331000] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [150780.343754] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [150780.344964] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [150780.354785] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/d226c495ec974d90814a4827f9809ff0 is 1.328ms for 6 entries.24solo # [150780.354785] solo systemd-journald[57]: System Journal (/var/log/journal/d226c495ec974d90814a4827f9809ff0) is 512B, max 4G, 3.9G free.25solo # [150780.361360] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [150780.361996] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [150780.362122] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [150780.362397] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [150780.474779] solo systemd[1]: Finished Firewall.30solo # [150781.307840] solo systemd[1]: Mounting /run/wrappers...31solo # [150781.373284] solo systemd[1]: Mounted /run/wrappers.32solo # [150781.374556] solo systemd[1]: Reached target Local File Systems.33solo # [150781.375814] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [150781.377428] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [150781.377478] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [150781.379204] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [150781.380285] solo systemd[1]: Starting Create System Files and Directories...38solo # [150781.398798] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [150781.399232] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [150781.399534] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/d226c495ec974d90814a4827f9809ff0 failed: Operation not permitted41solo # [150781.399869] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [150781.403152] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.NLog954mmd/chsh': Operation not permitted43solo # [150781.409359] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [150781.409476] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [150781.409663] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [150781.410182] solo systemd[1]: Finished Create System Files and Directories.47solo # [150781.429681] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [150781.430521] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [150781.443410] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [150781.451546] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [150781.452829] solo systemd[1]: Starting Update is Completed...52solo # [150781.463873] solo systemd[1]: Finished Update is Completed.53solo # [150781.464020] solo systemd[1]: Reached target System Initialization.54solo # [150781.464112] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [150781.464147] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [150781.464162] solo systemd[1]: Reached target Timer Units.57solo # [150781.464276] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [150781.464475] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [150781.464572] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [150781.464586] solo systemd[1]: Reached target Socket Units.61solo # [150781.464615] solo systemd[1]: Reached target Basic System.62solo # [150781.466149] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [150781.467303] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [150781.468317] solo systemd[1]: Starting resolvconf update...65solo # [150781.469259] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [150781.484472] solo systemd[1]: Finished Import lastlog data into lastlog2 database.67solo # [150781.485916] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.68solo # [150781.487950] solo systemd[1]: Started Tinc Daemon - mesh.69solo # [150781.488999] solo systemd[1]: Started tinc-auth.service.70solo # [150781.502452] solo tincd[191]: [INFO tincd] tincd 0.1.0 starting, debug level 071solo # [150781.502724] solo tincd[191]: [INFO tincd] tincd starting, name=alpha72solo # [150781.502724] solo tincd[191]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!73solo # [150781.502724] solo tincd[191]: [INFO tincd] Device mode: Tun, interface: dummy74solo # [150781.502812] solo tincd[191]: [INFO tincd::net] Listening on 0.0.0.0:65575solo # [150781.502840] solo tincd[191]: [INFO tincd::net] Listening on [::]:65576solo # [150781.502966] solo tincd[191]: [INFO tincd] Ready77solo # [150781.529666] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.78solo # [150781.530364] solo systemd[1]: Finished Save Transient machine-id to Disk.79solo # [150781.553531] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [150781.553686] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [150781.556416] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [150781.588278] solo systemd[1]: Finished resolvconf update.83solo # [150781.588535] solo systemd[1]: Reached target Preparation for Network.84solo # [150781.589502] solo systemd[1]: Starting Address configuration of eth1...85solo # [150781.590255] solo systemd[1]: Starting Extra networking commands....86solo # [150781.602364] solo tinc-auth[193]: tinc-auth: IdP listening on 127.0.0.1:844387solo # [150781.603368] solo tinc-auth[193]: tinc-auth: listening (net=mesh)88solo # [150781.628340] solo network-addresses-eth1-start[246]: adding address 192.168.1.1/24... done89solo # [150781.631501] solo network-addresses-eth1-start[246]: adding address 2001:db8:1::1/64... done90solo # [150781.635842] solo systemd[1]: Finished Address configuration of eth1.91solo # [150781.668380] solo systemd[1]: Finished Extra networking commands..92solo # [150781.668989] solo systemd[1]: Reached target Network.93solo # [150781.797781] solo systemd[1]: Started Name Service Cache Daemon (nsncd).94solo # [150781.798214] solo nsncd[239]: Oct 28 03:48:17.842 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"95solo # [150781.797843] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [150781.797904] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [150781.800349] solo systemd[1]: Starting User Login Management...98solo # [150781.801779] solo systemd[1]: Starting Permit User Sessions...99solo # [150781.813112] solo systemd[1]: Finished Permit User Sessions.100solo # [150781.815866] solo systemd[1]: Started Console Getty.101solo # [150781.815922] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [150781.815951] solo systemd[1]: Reached target Login Prompts.103solo # [150782.677079] solo systemd-logind[327]: New seat seat0.104solo # [150782.677518] solo systemd[1]: Started User Login Management.105solo # [150782.679631] solo systemd[1]: Starting D-Bus System Message Bus...106solo # [150782.681197] solo systemd[1]: Starting linger-users.service...107solo # [150782.719376] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [150782.719603] solo systemd[1]: Finished linger-users.service.109solo # [150782.719796] solo systemd[1]: Reached target Multi-User System.110solo: (finished: waiting for unit tinc.mesh.service, in 3.65 seconds)111solo: waiting for unit tinc-auth.service112solo: (finished: waiting for unit tinc-auth.service, in 0.02 seconds)113solo: waiting for TCP port 8443 on localhost114Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!115solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)116solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration117solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.01 seconds)118solo: 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'119solo: (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.01 seconds)120solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=zcZrCHoNQwBnGswRuzz8-_3ow_d1Whu6uWJz62xKKFE -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil121solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=zcZrCHoNQwBnGswRuzz8-_3ow_d1Whu6uWJz62xKKFE -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)122solo: must succeed: curl -fsS -H 'Authorization: Bearer PCR7K0Mi4BNss3VeY5HwisWNkOIhCw-q6muwIp9nIyI' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer PCR7K0Mi4BNss3VeY5HwisWNkOIhCw-q6muwIp9nIyI' http://127.0.0.1:8443/userinfo, in 0.01 seconds)124(finished: run the VM test script, in 3.74 seconds)125test script finished in 3.77s126cleanup127kill NspawnMachine (pid 50)128Container solo terminated by signal KILL.129(finished: cleanup, in 0.16 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_ssh