container-test-run-tinc-auth-container
checks.x86_64-linux.nixos-tinc-auth-container
· build #57
· 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 # [806458.428826] solo systemd-journald[57]: Journal started18solo # [806458.428867] solo systemd-journald[57]: Runtime Journal (/run/log/journal/4cdaa1072e7e4b40a49a6bc55591060c) is 8M, max 4G, 3.9G free.19solo # [806458.440467] solo systemd[1]: Finished Apply Kernel Variables.20solo # [806458.465936] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [806458.483888] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [806458.484713] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [806458.517075] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/4cdaa1072e7e4b40a49a6bc55591060c is 1.535ms for 6 entries.24solo # [806458.517075] solo systemd-journald[57]: System Journal (/var/log/journal/4cdaa1072e7e4b40a49a6bc55591060c) is 512B, max 4G, 3.9G free.25solo # [806458.522685] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [806458.523664] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [806458.523802] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [806458.543602] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [806458.643376] solo systemd[1]: Finished Firewall.30solo # [806459.428439] solo systemd[1]: Mounting /run/wrappers...31solo # [806459.464922] solo systemd[1]: Mounted /run/wrappers.32solo # [806459.465890] solo systemd[1]: Reached target Local File Systems.33solo # [806459.466884] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [806459.488587] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [806459.488678] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [806459.490493] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [806459.491882] solo systemd[1]: Starting Create System Files and Directories...38solo # [806459.513320] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [806459.519151] solo systemd[1]: Finished Create System Files and Directories.40solo # [806459.531453] solo systemd[1]: Starting Rebuild Journal Catalog...41solo # [806459.532263] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...42solo # [806459.546525] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.43solo # [806459.553120] solo systemd[1]: Finished Rebuild Journal Catalog.44solo # [806459.554362] solo systemd[1]: Starting Update is Completed...45solo # [806459.571147] solo systemd[1]: Finished Update is Completed.46solo # [806459.607010] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.47solo # [806459.607781] solo systemd[1]: Finished Save Transient machine-id to Disk.48solo # [806459.626743] solo systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.49solo # [806459.626924] solo systemd[1]: Finished Create SUID/SGID Wrappers.50solo # [806459.627113] solo systemd[1]: Reached target System Initialization.51solo # [806459.627186] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container52solo # [806459.627210] solo systemd[1]: Started Daily Cleanup of Temporary Directories.53solo # [806459.627225] solo systemd[1]: Reached target Timer Units.54solo # [806459.627320] solo systemd[1]: Listening on D-Bus System Message Bus Socket.55solo # [806459.627492] solo systemd[1]: Listening on Nix Daemon Socket.56solo # [806459.627587] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.57solo # [806459.627602] solo systemd[1]: Reached target Socket Units.58solo # [806459.627631] solo systemd[1]: Reached target Basic System.59solo # [806459.628864] solo systemd[1]: Starting Import lastlog data into lastlog2 database...60solo # [806459.629672] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...61solo # [806459.630888] solo systemd[1]: Starting resolvconf update...62solo # [806459.631491] solo systemd[1]: Starting Tinc Daemon - mesh...63solo # [806459.673526] solo tinc.mesh-pre-start[234]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.64solo # [806459.675846] solo systemd[1]: Started Tinc Daemon - mesh.65solo # [806459.677106] solo systemd[1]: Started tinc-auth.service.66solo # [806459.677373] solo systemd[1]: Finished Import lastlog data into lastlog2 database.67solo # [806459.688424] solo tincd[236]: [INFO tincd] tincd 0.1.0 starting, debug level 068solo # [806459.688781] solo tincd[236]: [INFO tincd] tincd starting, name=alpha69solo # [806459.688823] solo tincd[236]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!70solo # [806459.689064] solo tincd[236]: [INFO tincd] Device mode: Tun, interface: dummy71solo # [806459.689243] solo tincd[236]: [INFO tincd::net] Listening on 0.0.0.0:65572solo # [806459.689280] solo tincd[236]: [INFO tincd::net] Listening on [::]:65573solo # [806459.689562] solo tincd[236]: [INFO tincd] Ready74solo # [806459.733864] solo systemd[1]: nscd.service: Deactivated successfully.75solo # [806459.734041] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).76solo # [806459.736880] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...77solo # [806459.746492] solo systemd[1]: Finished resolvconf update.78solo # [806459.746596] solo systemd[1]: Reached target Preparation for Network.79solo # [806459.747610] solo systemd[1]: Starting Address configuration of eth1...80solo # [806459.748438] solo systemd[1]: Starting Extra networking commands....81solo # [806459.766991] solo network-addresses-eth1-start[292]: adding address 192.168.1.1/24... done82solo # [806459.770607] solo network-addresses-eth1-start[292]: adding address 2001:db8:1::1/64... done83solo # [806459.780171] solo systemd[1]: Finished Address configuration of eth1.84solo # [806459.788265] solo tinc-auth[238]: tinc-auth: listening (net=mesh)85solo # [806459.833534] solo systemd[1]: Finished Extra networking commands..86solo # [806459.833860] solo systemd[1]: Reached target Network.87solo # [806459.928569] solo nsncd[286]: Aug 23 21:10:50.574 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"88solo # [806459.928722] solo systemd[1]: Started Name Service Cache Daemon (nsncd).89solo # [806459.928799] solo systemd[1]: Reached target Host and Network Name Lookups.90solo # [806459.928887] solo systemd[1]: Reached target User and Group Name Lookups.91solo # [806459.931050] solo systemd[1]: Starting User Login Management...92solo # [806459.955509] solo systemd[1]: Starting Permit User Sessions...93solo # [806459.968355] solo systemd[1]: Finished Permit User Sessions.94solo # [806459.970317] solo systemd[1]: Started Console Getty.95solo # [806459.970376] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty096solo # [806459.970404] solo systemd[1]: Reached target Login Prompts.97solo # [806460.883110] solo systemd-logind[366]: New seat seat0.98solo # [806460.883543] solo systemd[1]: Started User Login Management.99solo # [806460.885768] solo systemd[1]: Starting D-Bus System Message Bus...100solo # [806460.887249] solo systemd[1]: Starting linger-users.service...101solo # [806460.921445] solo systemd[1]: linger-users.service: Deactivated successfully.102solo # [806460.921815] solo systemd[1]: Finished linger-users.service.103solo # [806460.922213] solo systemd[1]: Reached target Multi-User System.104solo: (finished: waiting for unit tinc.mesh.service, in 3.65 seconds)105solo: waiting for unit tinc-auth.service106solo: (finished: waiting for unit tinc-auth.service, in 0.01 seconds)107solo: waiting for TCP port 8443 on localhost108Connection to localhost (127.0.0.1) 8443 port [tcp/pcsync-https] succeeded!109solo: (finished: waiting for TCP port 8443 on localhost, in 0.01 seconds)110solo: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration111solo: (finished: must succeed: curl -fsS http://127.0.0.1:8443/.well-known/openid-configuration, in 0.02 seconds)112solo: 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'113solo: (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)114solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=8D6pIsj4l6DvONx17T7kv1oEj2Yy-fN1wMp8FvoDhvY -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil115solo: (finished: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=8D6pIsj4l6DvONx17T7kv1oEj2Yy-fN1wMp8FvoDhvY -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.02 seconds)116solo: must succeed: curl -fsS -H 'Authorization: Bearer BZpdRi157xm7a9HD3a-pMDc2D66s8xqrdPhOdv9ORk0' http://127.0.0.1:8443/userinfo117solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer BZpdRi157xm7a9HD3a-pMDc2D66s8xqrdPhOdv9ORk0' http://127.0.0.1:8443/userinfo, in 0.02 seconds)118(finished: run the VM test script, in 3.75 seconds)119test script finished in 3.77s120cleanup121kill NspawnMachine (pid 50)122Container solo terminated by signal KILL.123(finished: cleanup, in 0.26 seconds)124additionally exposed symbols:125 solo,126 vlan1,127 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