nixbot

builds

succeeded container-test-run-tinc-auth-container checks.x86_64-linux.nixos-tinc-auth-container · build #313 · 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 # [559668.447263] solo systemd-journald[57]: Journal started18solo # [559668.447309] solo systemd-journald[57]: Runtime Journal (/run/log/journal/0cc7d8e565d24d43bbff9b2afb940a51) is 8M, max 4G, 3.9G free.19solo # [559668.452422] solo systemd[1]: Finished Apply Kernel Variables.20solo # [559668.461970] solo systemd[1]: Finished Create Static Device Nodes in /dev gracefully.21solo # [559668.472834] solo systemd[1]: Starting Flush Journal to Persistent Storage...22solo # [559668.473500] solo systemd[1]: Starting Create Static Device Nodes in /dev...23solo # [559668.481363] solo systemd-journald[57]: Time spent on flushing to /var/log/journal/0cc7d8e565d24d43bbff9b2afb940a51 is 1.416ms for 6 entries.24solo # [559668.481363] solo systemd-journald[57]: System Journal (/var/log/journal/0cc7d8e565d24d43bbff9b2afb940a51) is 512B, max 4G, 3.9G free.25solo # [559668.488912] solo systemd[1]: Finished Create Static Device Nodes in /dev.26solo # [559668.489522] solo systemd[1]: Reached target Preparation for Local File Systems.27solo # [559668.489630] solo systemd[1]: Rule-based Manager for Device Events and Files skipped, unmet condition check ConditionPathIsReadWrite=/sys28solo # [559668.505022] solo systemd[1]: Finished Flush Journal to Persistent Storage.29solo # [559668.591740] solo systemd[1]: Finished Firewall.30solo # [559669.442577] solo systemd[1]: Mounting /run/wrappers...31solo # [559669.459270] solo systemd[1]: Mounted /run/wrappers.32solo # [559669.459938] solo systemd[1]: Reached target Local File Systems.33solo # [559669.460614] solo systemd[1]: Listening on Boot Loader Control Service Socket.34solo # [559669.461400] solo systemd[1]: Starting Create SUID/SGID Wrappers...35solo # [559669.461426] solo systemd[1]: Update Boot Loader Random Seed skipped, unmet condition check ConditionVirtualization=!container36solo # [559669.462047] solo systemd[1]: Starting Save Transient machine-id to Disk...37solo # [559669.462707] solo systemd[1]: Starting Create System Files and Directories...38solo # [559669.479632] solo systemd-tmpfiles[161]: Cannot set file attributes for '/var/empty', value=0x00000010, mask=0x00000010, ignoring: Operation not permitted39solo # [559669.480156] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal failed: Operation not permitted40solo # [559669.480458] solo systemd-tmpfiles[161]: fchmod() of /var/log/journal/0cc7d8e565d24d43bbff9b2afb940a51 failed: Operation not permitted41solo # [559669.480789] solo systemd-tmpfiles[161]: fchmod() of /run/log/journal failed: Operation not permitted42solo # [559669.481264] solo suid-sgid-wrappers-start[168]: chmod: changing permissions of '/run/wrappers/wrappers.fc00kAkakZ/chsh': Operation not permitted43solo # [559669.482082] solo systemd[1]: suid-sgid-wrappers.service: Main process exited, code=exited, status=1/FAILURE44solo # [559669.482175] solo systemd[1]: suid-sgid-wrappers.service: Failed with result 'exit-code'.45solo # [559669.482314] solo systemd[1]: Failed to start Create SUID/SGID Wrappers.46solo # [559669.482802] solo systemd[1]: Finished Create System Files and Directories.47solo # [559669.497290] solo systemd[1]: Starting Rebuild Journal Catalog...48solo # [559669.498059] solo systemd[1]: Starting Record System Boot/Shutdown in UTMP...49solo # [559669.510521] solo systemd[1]: Finished Record System Boot/Shutdown in UTMP.50solo # [559669.518778] solo systemd[1]: Finished Rebuild Journal Catalog.51solo # [559669.520033] solo systemd[1]: Starting Update is Completed...52solo # [559669.530965] solo systemd[1]: Finished Update is Completed.53solo # [559669.531120] solo systemd[1]: Reached target System Initialization.54solo # [559669.531187] solo systemd[1]: Discard unused filesystem blocks once a week skipped, unmet condition check ConditionVirtualization=!container55solo # [559669.531211] solo systemd[1]: Started Daily Cleanup of Temporary Directories.56solo # [559669.531225] solo systemd[1]: Reached target Timer Units.57solo # [559669.531323] solo systemd[1]: Listening on D-Bus System Message Bus Socket.58solo # [559669.531470] solo systemd[1]: Listening on Nix Daemon Socket.59solo # [559669.531562] solo systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.60solo # [559669.531579] solo systemd[1]: Reached target Socket Units.61solo # [559669.531604] solo systemd[1]: Reached target Basic System.62solo # [559669.532763] solo systemd[1]: Starting Import lastlog data into lastlog2 database...63solo # [559669.534914] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...64solo # [559669.535622] solo systemd[1]: Starting resolvconf update...65solo # [559669.536268] solo systemd[1]: Starting Tinc Daemon - mesh...66solo # [559669.548040] solo tinc.mesh-pre-start[186]: Warning: this tinc was built without legacy protocol support; skipping RSA key generation.67solo # [559669.549795] solo systemd[1]: Started Tinc Daemon - mesh.68solo # [559669.550662] solo systemd[1]: Finished Import lastlog data into lastlog2 database.69solo # [559669.551486] solo systemd[1]: Started tinc-auth.service.70solo # [559669.558862] solo tincd[188]: [INFO tincd] tincd 0.1.0 starting, debug level 071solo # [559669.559112] solo tincd[188]: [INFO tincd] tincd starting, name=alpha72solo # [559669.559112] solo tincd[188]: [WARN tincd::keys] Warning: insecure file permissions for Ed25519 private key file `/nix/store/j2kmc5c78nif1b0bqif1pb9gzasriqwa-ed25519.priv'!73solo # [559669.559112] solo tincd[188]: [INFO tincd] Device mode: Tun, interface: dummy74solo # [559669.559161] solo tincd[188]: [INFO tincd::net] Listening on 0.0.0.0:65575solo # [559669.559199] solo tincd[188]: [INFO tincd::net] Listening on [::]:65576solo # [559669.559282] solo tincd[188]: [INFO tincd] Ready77solo # [559669.583836] solo tinc-auth[191]: tinc-auth: IdP listening on 127.0.0.1:844378solo # [559669.591931] solo tinc-auth[191]: tinc-auth: listening (net=mesh)79solo # [559669.602521] solo systemd[1]: nscd.service: Deactivated successfully.80solo # [559669.602728] solo systemd[1]: Stopped Name Service Cache Daemon (nsncd).81solo # [559669.605536] solo systemd[1]: Starting Name Service Cache Daemon (nsncd)...82solo # [559669.606469] solo systemd[1]: Finished resolvconf update.83solo # [559669.606594] solo systemd[1]: Reached target Preparation for Network.84solo # [559669.607661] solo systemd[1]: Starting Address configuration of eth1...85solo # [559669.608404] solo systemd[1]: Starting Extra networking commands....86solo # [559669.656585] solo network-addresses-eth1-start[257]: adding address 192.168.1.1/24... done87solo # [559669.660707] solo network-addresses-eth1-start[257]: adding address 2001:db8:1::1/64... done88solo # [559669.664553] solo systemd[1]: Finished Address configuration of eth1.89solo # [559669.687335] solo systemd[1]: Finished Extra networking commands..90solo # [559669.687634] solo systemd[1]: Reached target Network.91solo # [559669.823190] solo nsncd[255]: Nov 01 21:23:05.867 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"92solo # [559669.823236] solo systemd[1]: Started Name Service Cache Daemon (nsncd).93solo # [559669.823280] solo systemd[1]: Reached target Host and Network Name Lookups.94solo # [559669.823327] solo systemd[1]: Reached target User and Group Name Lookups.95solo # [559669.850670] solo systemd[1]: Starting User Login Management...96solo # [559669.853015] solo systemd[1]: Starting Permit User Sessions...97solo # [559669.864517] solo systemd[1]: Finished Permit User Sessions.98solo # [559669.865488] solo systemd[1]: Started Console Getty.99solo # [559669.865512] solo systemd[1]: Getty on tty1 skipped, unmet condition check ConditionPathExists=/dev/tty0100solo # [559669.865525] solo systemd[1]: Reached target Login Prompts.101solo # [559669.926461] solo systemd[1]: etc-machine\x2did.mount: Deactivated successfully.102solo # [559669.927220] solo systemd[1]: Finished Save Transient machine-id to Disk.103solo # [559670.851580] solo systemd-logind[326]: New seat seat0.104solo # [559670.852962] solo systemd[1]: Starting D-Bus System Message Bus...105solo # [559670.853057] solo systemd[1]: Started User Login Management.106solo # [559670.853847] solo systemd[1]: Starting linger-users.service...107solo # [559670.865248] solo systemd[1]: linger-users.service: Deactivated successfully.108solo # [559670.865442] solo systemd[1]: Finished linger-users.service.109solo # [559670.865600] 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.01 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.02 seconds)120solo: must succeed: curl -fsS -X POST http://127.0.0.1:8443/token -d grant_type=authorization_code -d code=iCeavbQz9k-eT3iB972HF2z123tzlvWV7rx19kMBhag -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=iCeavbQz9k-eT3iB972HF2z123tzlvWV7rx19kMBhag -d redirect_uri=http%3A%2F%2Fapp.example%2Fcb -d client_id=app -d client_secret=snakeoil, in 0.01 seconds)122solo: must succeed: curl -fsS -H 'Authorization: Bearer h0p-lEr3onpS_pEo-olq1nxxYiYfYe8FWa7sFeAj31M' http://127.0.0.1:8443/userinfo123solo: (finished: must succeed: curl -fsS -H 'Authorization: Bearer h0p-lEr3onpS_pEo-olq1nxxYiYfYe8FWa7sFeAj31M' http://127.0.0.1:8443/userinfo, in 0.01 seconds)124(finished: run the VM test script, in 3.73 seconds)125test script finished in 3.81s126cleanup127kill NspawnMachine (pid 50)128Container solo terminated by signal KILL.129(finished: cleanup, in 0.22 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