also run ci action to build demos on main branch #275
Merged
Garnix CI / check vm_deluge_https [x86_64-linux]
succeeded
Aug 15, 2024 in 8s
Run results
Build succeeded
Details
Last 100 lines of logs:
(finished: waiting for unit deluged.service, in 0.06 seconds)
server: �[1m�[32mwaiting for unit delugeweb.service�[0m
(finished: waiting for unit delugeweb.service, in 0.07 seconds)
server: �[1m�[32mwaiting for TCP port 58846 on localhost�[0m
�[2mserver # Connection to localhost (127.0.0.1) 58846 port [tcp/*] succeeded!�[0m
(finished: waiting for TCP port 58846 on localhost, in 2.29 seconds)
server: �[1m�[32mwaiting for TCP port 8112 on localhost�[0m
�[2mserver # Connection to localhost (127.0.0.1) 8112 port [tcp/*] succeeded!�[0m
(finished: waiting for TCP port 8112 on localhost, in 0.02 seconds)
server: �[1m�[32mmust succeed: mkdir -p /tmp/shared/tmpqu0a5ywt�[0m
(finished: must succeed: mkdir -p /tmp/shared/tmpqu0a5ywt, in 0.01 seconds)
server: �[1m�[32mmust succeed: cp -r /etc/ssl/certs/ca-certificates.crt /tmp/shared/tmpqu0a5ywt/ca-certificates.crt�[0m
(finished: must succeed: cp -r /etc/ssl/certs/ca-certificates.crt /tmp/shared/tmpqu0a5ywt/ca-certificates.crt, in 0.02 seconds)
client: �[1m�[32mmust succeed: rm -r /etc/ssl/certs�[0m
client: �[1m�[32mwaiting for the VM to finish booting�[0m
client: Guest shell says: b'Spawning backdoor root shell...\n'
client: connected to guest root shell
client: (connecting took 0.00 seconds)
(finished: waiting for the VM to finish booting, in 0.00 seconds)
(finished: must succeed: rm -r /etc/ssl/certs, in 0.02 seconds)
client: �[1m�[32mmust succeed: mkdir -p /tmp/shared/tmpkvts7hdv�[0m
(finished: must succeed: mkdir -p /tmp/shared/tmpkvts7hdv, in 0.01 seconds)
client: �[1m�[32mmust succeed: mkdir -p /etc/ssl/certs�[0m
(finished: must succeed: mkdir -p /etc/ssl/certs, in 0.01 seconds)
client: �[1m�[32mmust succeed: cp -r /tmp/shared/tmpkvts7hdv/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt�[0m
(finished: must succeed: cp -r /tmp/shared/tmpkvts7hdv/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt, in 0.02 seconds)
�[1m�[32msubtest: access�[0m
curl --show-error --location --cookie-jar cookie.txt --cookie cookie.txt --connect-to d.example.com:443:server:443 --connect-to d.example.com:80:server:80 --connect-to auth.example.com:443:server:443 --silent --output /dev/null --write-out '{"code":%{response_code}}' https://d.example.com
(finished: subtest: access, in 0.12 seconds)
�[1m�[32msubtest: extraScript�[0m
server: �[1m�[32mmust succeed: journalctl -n100 -u deluged�[0m
(finished: must succeed: journalctl -n100 -u deluged, in 0.02 seconds)
Aug 15 00:41:04 server systemd[1]: Starting Deluge BitTorrent Daemon...
Aug 15 00:41:04 server systemd[1]: Started Deluge BitTorrent Daemon.
server: �[1m�[32mmust succeed: systemctl status deluged�[0m
(finished: must succeed: systemctl status deluged, in 0.02 seconds)
● deluged.service - Deluge BitTorrent Daemon
Loaded: loaded (/etc/systemd/system/deluged.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-08-15 00:41:04 UTC; 4s ago
Process: 800 ExecStartPre=/nix/store/p6j6sby3v8qbzfirgaz0z7zvy52xl2dk-unit-script-deluged-pre-start/bin/deluged-pre-start (code=exited, status=0/SUCCESS)
Main PID: 813 (..deluged-wrapp)
IP: 216B in, 1.1K out
IO: 0B read, 4.0K written
Tasks: 3 (limit: 1140)
Memory: 63.7M (peak: 64.0M)
CPU: 1.424s
CGroup: /system.slice/deluged.service
└─813 /nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/bin/python3.11 /nix/store/dzpr8zq3387ixwh17p78p1v5mvcgay1d-python3.11-deluge-gtk-2.1.1/bin/..deluged-wrapped-wrapped --do-not-daemonize --config /var/lib/deluge/.config/deluge
Aug 15 00:41:04 server systemd[1]: Starting Deluge BitTorrent Daemon...
Aug 15 00:41:04 server systemd[1]: Started Deluge BitTorrent Daemon.
server: �[1m�[32mmust succeed: systemctl status delugeweb�[0m
(finished: must succeed: systemctl status delugeweb, in 0.03 seconds)
● delugeweb.service - Deluge BitTorrent WebUI
Loaded: loaded (/etc/systemd/system/delugeweb.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-08-15 00:41:04 UTC; 4s ago
Main PID: 814 (deluge-web)
IP: 713B in, 2.7K out
IO: 0B read, 4.0K written
Tasks: 1 (limit: 1140)
Memory: 67.6M (peak: 67.9M)
CPU: 1.179s
CGroup: /system.slice/delugeweb.service
└─814 deluge-web
Aug 15 00:41:04 server systemd[1]: Started Deluge BitTorrent WebUI.
�[1m�[32msubtest: web connect�[0m
server: �[1m�[32mmust succeed: cat /var/lib/deluge/.config/deluge/auth�[0m
(finished: must succeed: cat /var/lib/deluge/.config/deluge/auth, in 0.01 seconds)
localclient:localclientpw:10
user:userpw:10
curl --show-error --location --cookie-jar cookie.txt --cookie cookie.txt --connect-to d.example.com:443:server:443 --connect-to d.example.com:80:server:80 --connect-to auth.example.com:443:server:443 --data ' {"method": "auth.login", "params": ["deluge"], "id": 1} ' -H "Content-Type: application/json" -H "Accept: application/json" https://d.example.com/json
�[2mclient # % Total % Received % Xferd Average Speed Time Time Time Current�[0m
�[2mclient # Dload Upload Total Spent Left Speed�[0m
�[2mclient # 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 97 0 40 100 57 504 719 --:--:-- --:--:-- --:--:-- 1227�[0m
{'result': True, 'error': None, 'id': 1}
curl --show-error --location --cookie-jar cookie.txt --cookie cookie.txt --connect-to d.example.com:443:server:443 --connect-to d.example.com:80:server:80 --connect-to auth.example.com:443:server:443 --data ' {"method": "web.get_hosts", "params": [], "id": 1} ' -H "Content-Type: application/json" -H "Accept: application/json" https://d.example.com/json
�[2mclient # % Total % Received % Xferd Average Speed Time Time Time Current�[0m
�[2mclient # Dload Upload Total Spent Left Speed�[0m
�[2mclient # 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 161 0 109 100 52 1578 753 --:--:-- --:--:-- --:--:-- 2367�[0m
{'result': [['5a13175f2cf74db0acbe46f5583572d6', '127.0.0.1', 58846, 'localclient']], 'error': None, 'id': 1}
curl --show-error --location --cookie-jar cookie.txt --cookie cookie.txt --connect-to d.example.com:443:server:443 --connect-to d.example.com:80:server:80 --connect-to auth.example.com:443:server:443 --data ' {"method": "web.connect", "params": ["5a13175f2cf74db0acbe46f5583572d6"], "id": 1} ' -H "Content-Type: application/json" -H "Accept: application/json" https://d.example.com/json
�[2mclient # % Total % Received % Xferd Average Speed Time Time Time Current�[0m
�[2mclient # Dload Upload Total Spent Left Speed�[0m
�[2mclient # 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 2042 0 1958 100 84 16635 713 --:--:-- --:--:-- --:--:-- 17452�[0m
{'result': ['core.add_torrent_file', 'core.add_torrent_file_async', 'core.add_torrent_files', 'core.add_torrent_magnet', 'core.add_torrent_url', 'core.connect_peer', 'core.create_account', 'core.create_torrent', 'core.disable_plugin', 'core.enable_plugin', 'core.force_reannounce', 'core.force_recheck', 'core.get_auth_levels_mappings', 'core.get_available_plugins', 'core.get_completion_paths', 'core.get_config', 'core.get_config_value', 'core.get_config_values', 'core.get_enabled_plugins', 'core.get_external_ip', 'core.get_filter_tree', 'core.get_free_space', 'core.get_known_accounts', 'core.get_libtorrent_version', 'core.get_listen_port', 'c…
(finished: subtest: web connect, in 0.38 seconds)
(finished: subtest: extraScript, in 0.45 seconds)
(finished: run the VM test script, in 13.52 seconds)
test script finished in 13.56s
�[1m�[32mcleanup�[0m
kill machine (pid 7)
qemu-kvm: terminating on signal 15 from pid 4 (/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/bin/python3.11)
kill machine (pid 28)
qemu-kvm: terminating on signal 15 from pid 4 (/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/bin/python3.11)
(finished: cleanup, in 0.02 seconds)
kill vlan (pid 5)
Loading