unhaunt the network configuration for flakey hydraJobs flake tests #235

Closed
opened 2024-04-09 01:52:27 +00:00 by jade · 0 comments
Owner

a similar fix was applied by @pennae to the protocol compat tests, so look to those for how to exorcise this set of tests

vm-test-run-sourcehut-flakes> client # [   17.209560] logrotate[727]:   log does not need rotating (log has already been rotated)
vm-test-run-sourcehut-flakes> client # * [   17.229313] systemd[1]: Starting Name Service Cache Daemon (nsncd)...
vm-test-run-sourcehut-flakes> client #   Trying 192.168.1.2:443...
vm-test-run-sourcehut-flakes> client # * Immediate connect fail for 192.168.1.2: Network is unreachable
vm-test-run-sourcehut-flakes> client # * Failed to connect to git.sr.ht port 443 after 6 ms: Couldn't connect to server
vm-test-run-sourcehut-flakes> client # [   17.246851] systemd[1]: Started Reset console on configuration changes.
vm-test-run-sourcehut-flakes> client # * Closing connection
vm-test-run-sourcehut-flakes> client # curl: (7) Fa[   17.263525] nsncd[737]: Apr 09 00:35:15.911 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 3s }, path: "/var/run/nscd/socket"
vm-test-run-sourcehut-flakes> client # iled to connect to git.sr.ht port 443 afte[   17.277966] systemd[1]: Starting resolvconf update...
vm-test-run-sourcehut-flakes> client # r 6 ms: Couldn't connect to s[   17.288262] systemd[1]: Finished Kernel Auditing.
vm-test-run-sourcehut-flakes> client # erver
vm-test-run-sourcehut-flakes> client # [   17.293637] dbus-daemon[762]: dbus[762]: Unknown username "systemd-timesync" in message bus configuration file
vm-test-run-sourcehut-flakes> client # [   17.303198] systemd[1]: Finished Logrotate configuration check.
vm-test-run-sourcehut-flakes> client: output:
vm-test-run-sourcehut-flakes> cleanup
vm-test-run-sourcehut-flakes> kill machine (pid 7)
vm-test-run-sourcehut-flakes> client # [   17.311514] systemd[1]: Started Name Service Cache Daemon (nsncd).qemu-kvm: terminating on signal 15 from pid 4 (/nix/store/yvhwsfbh4bc99vfvwpaa70m4yng4pvpz-python3-3.11.8/bin/python3.11)
vm-test-run-sourcehut-flakes> kill machine (pid 28)
vm-test-run-sourcehut-flakes> sourcehut # qemu-kvm: terminating on signal 15 from pid 4 (/nix/store/yvhwsfbh4bc99vfvwpaa70m4yng4pvpz-python3-3.11.8/bin/python3.11)
vm-test-run-sourcehut-flakes> (finished: cleanup, in 0.20 seconds)
vm-test-run-sourcehut-flakes> Traceback (most recent call last):
vm-test-run-sourcehut-flakes>   File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/bin/.nixos-test-driver-wrapped", line 9, in <module>
vm-test-run-sourcehut-flakes>     sys.exit(main())
vm-test-run-sourcehut-flakes>              ^^^^^^
vm-test-run-sourcehut-flakes>   File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/__init__.py", line 126, in main
vm-test-run-sourcehut-flakes>     driver.run_tests()
vm-test-run-sourcehut-flakes>   File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/driver.py", line 159, in run_tests
vm-test-run-sourcehut-flakes>     self.test_script()
vm-test-run-sourcehut-flakes>   File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/driver.py", line 151, in test_script
vm-test-run-sourcehut-flakes>     exec(self.tests, symbols, None)
vm-test-run-sourcehut-flakes>   File "<string>", line 9, in <module>
vm-test-run-sourcehut-flakes>   File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/machine.py", line 678, in succeed
vm-test-run-sourcehut-flakes>     raise Exception(f"command `{command}` failed (exit code {status})")
vm-test-run-sourcehut-flakes> Exception: command `curl -v https://git.sr.ht/ >&2` failed (exit code 7)
vm-test-run-sourcehut-flakes> kill vlan (pid 5)
error: build of '/nix/store/xnjc20f5r2z9hv1a2jc4b28sr7k2rxja-vm-test-run-sourcehut-flakes.drv' on 'ssh-ng://nix@epyc.infra.newtype.fr' failed: builder for '/nix/store/xnjc20f5r2z9hv1a2jc4b28sr7k2rxja-vm-test-run-sourcehut-flakes.drv' failed with exit code 1;
a similar fix was applied by @pennae to the protocol compat tests, so look to those for how to exorcise this set of tests ``` vm-test-run-sourcehut-flakes> client # [ 17.209560] logrotate[727]: log does not need rotating (log has already been rotated) vm-test-run-sourcehut-flakes> client # * [ 17.229313] systemd[1]: Starting Name Service Cache Daemon (nsncd)... vm-test-run-sourcehut-flakes> client # Trying 192.168.1.2:443... vm-test-run-sourcehut-flakes> client # * Immediate connect fail for 192.168.1.2: Network is unreachable vm-test-run-sourcehut-flakes> client # * Failed to connect to git.sr.ht port 443 after 6 ms: Couldn't connect to server vm-test-run-sourcehut-flakes> client # [ 17.246851] systemd[1]: Started Reset console on configuration changes. vm-test-run-sourcehut-flakes> client # * Closing connection vm-test-run-sourcehut-flakes> client # curl: (7) Fa[ 17.263525] nsncd[737]: Apr 09 00:35:15.911 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 3s }, path: "/var/run/nscd/socket" vm-test-run-sourcehut-flakes> client # iled to connect to git.sr.ht port 443 afte[ 17.277966] systemd[1]: Starting resolvconf update... vm-test-run-sourcehut-flakes> client # r 6 ms: Couldn't connect to s[ 17.288262] systemd[1]: Finished Kernel Auditing. vm-test-run-sourcehut-flakes> client # erver vm-test-run-sourcehut-flakes> client # [ 17.293637] dbus-daemon[762]: dbus[762]: Unknown username "systemd-timesync" in message bus configuration file vm-test-run-sourcehut-flakes> client # [ 17.303198] systemd[1]: Finished Logrotate configuration check. vm-test-run-sourcehut-flakes> client: output: vm-test-run-sourcehut-flakes> cleanup vm-test-run-sourcehut-flakes> kill machine (pid 7) vm-test-run-sourcehut-flakes> client # [ 17.311514] systemd[1]: Started Name Service Cache Daemon (nsncd).qemu-kvm: terminating on signal 15 from pid 4 (/nix/store/yvhwsfbh4bc99vfvwpaa70m4yng4pvpz-python3-3.11.8/bin/python3.11) vm-test-run-sourcehut-flakes> kill machine (pid 28) vm-test-run-sourcehut-flakes> sourcehut # qemu-kvm: terminating on signal 15 from pid 4 (/nix/store/yvhwsfbh4bc99vfvwpaa70m4yng4pvpz-python3-3.11.8/bin/python3.11) vm-test-run-sourcehut-flakes> (finished: cleanup, in 0.20 seconds) vm-test-run-sourcehut-flakes> Traceback (most recent call last): vm-test-run-sourcehut-flakes> File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/bin/.nixos-test-driver-wrapped", line 9, in <module> vm-test-run-sourcehut-flakes> sys.exit(main()) vm-test-run-sourcehut-flakes> ^^^^^^ vm-test-run-sourcehut-flakes> File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/__init__.py", line 126, in main vm-test-run-sourcehut-flakes> driver.run_tests() vm-test-run-sourcehut-flakes> File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/driver.py", line 159, in run_tests vm-test-run-sourcehut-flakes> self.test_script() vm-test-run-sourcehut-flakes> File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/driver.py", line 151, in test_script vm-test-run-sourcehut-flakes> exec(self.tests, symbols, None) vm-test-run-sourcehut-flakes> File "<string>", line 9, in <module> vm-test-run-sourcehut-flakes> File "/nix/store/wj6wh89jhd2492r781qsr09r9wydfs6m-nixos-test-driver-1.1/lib/python3.11/site-packages/test_driver/machine.py", line 678, in succeed vm-test-run-sourcehut-flakes> raise Exception(f"command `{command}` failed (exit code {status})") vm-test-run-sourcehut-flakes> Exception: command `curl -v https://git.sr.ht/ >&2` failed (exit code 7) vm-test-run-sourcehut-flakes> kill vlan (pid 5) error: build of '/nix/store/xnjc20f5r2z9hv1a2jc4b28sr7k2rxja-vm-test-run-sourcehut-flakes.drv' on 'ssh-ng://nix@epyc.infra.newtype.fr' failed: builder for '/nix/store/xnjc20f5r2z9hv1a2jc4b28sr7k2rxja-vm-test-run-sourcehut-flakes.drv' failed with exit code 1; ```
jade added the
testing
bug
labels 2024-04-09 01:52:27 +00:00
jade added the
E/help wanted
label 2024-04-09 01:53:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#235
No description provided.