container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #172
· 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 # [201440.789230] solo systemd-journald[57]: Journal started18solo # [201440.789270] solo systemd-journald[57]: Runtime Journal (/run/log/journal/09e7b86f47da4eb2aee10d6aeeee0eba) is 8M, max 4G, 3.9G free.19solo # [201440.798431] solo systemd[1]: Finished Apply Kernel Variables.20solo # [201440.809120] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [201440.825585] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [201440.826310] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [201440.857020] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/09e7b86f47da4eb2aee10d6aeeee0eba is 1.475ms for 6 entries.24solo # [201440.857020] solo systemd-journald[57]: System Journal (/var/log/journal/09e7b86f47da4eb2aee10d6aeeee0eba) is 512B, max 4G, 3.9G free.25solo # [201440.865161] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [201440.865892] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [201440.865992] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [201440.880483] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [201440.970718] solo systemd[1]: Finished Firewall.30solo # [201441.794209] solo systemd[1]: Mounting /run/wrappers...31solo # [201441.825219] solo systemd[1]: Mounted /run/wrappers.32solo # [201441.826247] solo systemd[1]: Reached target Local File Systems.33solo # [201441.827560] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [201441.830052] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [201441.830100] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [201441.831465] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [201441.832737] solo systemd[1]: Starting Create System Files and Directories...38solo # [201441.850337] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [201441.850783] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [201441.851128] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/09e7b86f47da4eb2aee10d6aeeee0eba failed: Operation not permitted41solo # [201441.851490] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [201441.853747] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.TAmQ1dMWbv/chsh': Operation not permitted43solo # [201441.857208] solo systemd[1]: Finished Create System Files and Directories.44solo # [201441.871395] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE45solo # [201441.871490] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.46solo # [201441.871624] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.47solo # [201441.876615] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [201441.877686] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [201441.912104] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [201441.920434] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [201441.921626] solo systemd[1]: Starting Update is Completed...52solo # [201441.931122] solo systemd[1]: Finished Update is Completed.53solo # [201441.931217] solo systemd[1]: Reached target System Initialization.54solo # [201441.931303] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [201441.931329] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [201441.931344] solo systemd[1]: Reached target Timer Units.57solo # [201441.931438] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [201441.931592] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [201441.931682] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [201441.931696] solo systemd[1]: Reached target Socket Units.61solo # [201441.931722] solo systemd[1]: Reached target Basic System.62solo # [201441.932969] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [201441.933902] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [201441.936686] solo systemd[1]: Starting resolvconf update...65solo # [201441.937504] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [201441.956034] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.67solo # [201441.958066] solo systemd[1]: Finished Import lastlog data into lastlog2 database.68solo # [201441.959541] solo systemd[1]: Started Tinc Daemon - mesh.69solo # [201441.960515] solo systemd[1]: Started tinc-auth.service.70solo # [201441.968925] solo tincd[190]: [INFO tincd] tincd 0.1.0 starting, debug level 071solo # [201441.969246] solo tincd[190]: [INFO tincd] tincd starting, name=alpha72solo # [201441.969246] solo tincd[190]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!73solo # [201441.969246] solo tincd[190]: [INFO tincd] Device mode: Tun, interface: dummy74solo # [201441.969327] solo tincd[190]: [INFO tincd::net] Listening on 0.0.0.0:65575solo # [201441.969327] solo tincd[190]: [INFO tincd::net] Listening on [::]:65576solo # [201441.969398] solo tincd[190]: [INFO tincd] Ready77solo # [201442.018607] solo tinc-auth[192]: tinc-auth: IdP listening on 127.0.0.1:844378solo # [201442.019045] solo tinc-auth[192]: tinc-auth: listening (net=mesh)79solo # [201442.023365] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [201442.023528] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [201442.026321] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [201442.057292] solo systemd[1]: Finished resolvconf update.83solo # [201442.057568] solo systemd[1]: Reached target Preparation for Network.84solo # [201442.059273] solo systemd[1]: Starting Address configuration of eth1...85solo # [201442.062568] solo systemd[1]: Starting Extra networking commands....86solo # [201442.078404] solo network-addresses-eth1-start[250]: adding address 192.168.1.1/24... done87solo # [201442.081321] solo network-addresses-eth1-start[250]: adding address 2001:db8:1::1/64... done88solo # [201442.086605] solo systemd[1]: Finished Address configuration of eth1.89solo # [201442.162323] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.90solo # [201442.188696] solo systemd[1]: Finished Save Transient machine-id to Disk.91solo # [201442.189139] solo systemd[1]: Finished Extra networking commands..92solo # [201442.190414] solo systemd[1]: Reached target Network.93solo # [201442.351129] solo nsncd[244]: Sep 13 21:09:10.638 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"94solo # [201442.351220] solo systemd[1]: Started Name Service Cache Daemon (nsncd).95solo # [201442.351318] solo systemd[1]: Reached target Host and Network Name Lookups.96solo # [201442.351412] solo systemd[1]: Reached target User and Group Name Lookups.97solo # [201442.355857] solo systemd[1]: Starting User Login Management...98solo # [201442.357357] solo systemd[1]: Starting Permit User Sessions...99solo # [201442.367474] solo systemd[1]: Finished Permit User Sessions.100solo # [201442.369315] solo systemd[1]: Started Console Getty.101solo # [201442.369368] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0102solo # [201442.369401] solo systemd[1]: Reached target Login Prompts.103solo # [201443.268878] solo systemd-logind[319]: New seat seat0.104solo # [201443.270505] solo systemd[1]: Starting D-Bus System Message Bus...105solo # [201443.270628] solo systemd[1]: Started User Login Management.106solo # [201443.271641] solo systemd[1]: Starting linger-users.service...107solo # [201443.307353] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [201443.307624] solo systemd[1]: Finished linger-users.service.109solo # [201443.307874] solo systemd[1]: Reached target Multi-User System.110solo: (finished: waiting for unit tinc.mesh.service, in 3.66 seconds)111solo: waiting for unit tinc-auth.service112solo: (finished: waiting for unit tinc-auth.service, in 0.03 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.02 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.02 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.02 seconds)120solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=xbsePASCLz946rlf_DmfIdWHD5V4QjG_sR4fpdLSi0o -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=xbsePASCLz946rlf_DmfIdWHD5V4QjG_sR4fpdLSi0o -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 SjQb3dkrOfasl6iV_yvkuqGxK5JvNhDtkwp1cXHZ2k8' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer SjQb3dkrOfasl6iV_yvkuqGxK5JvNhDtkwp1cXHZ2k8' http://127.0.0.1:8443/userinfo, in 0.01 seconds)124(finished: run the VM test script, in 3.77 seconds)125test script finished in 3.89s126cleanup127kill NspawnMachine (pid 50)128(finished: cleanup, in 0.16 seconds)129additionally exposed symbols:130 solo,131 vlan1,132 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_ssh133Container solo terminated by signal KILL.