55 Commits

Author SHA1 Message Date
Christian Poessinger
9e14ab4cb0 Testsuite: increase testing timeout to 3h 2021-12-02 08:02:42 +01:00
Christian Poessinger
fee2237ca0 Testsuite: increase testing timeout to 2h 2021-11-27 19:19:23 +01:00
Christian Poessinger
ec168f3d2c Testsuite: use individual UUID/name per UEFI/BIOS instance 2021-11-04 21:02:50 +01:00
Christian Poessinger
2264c8a812 Testsuite: add UUID for DUID generation during tests 2021-10-30 13:23:09 +02:00
Christian Poessinger
c984de432c Testsuite: add support for UEFI boots in Qemu
(cherry picked from commit 6c438f92e7ada6fa42e41ac9eff0b1e1eb3756b3)
2021-10-02 12:10:56 +02:00
Christian Poessinger
07555c0645 Testsuite: add missing leading 'f' for Python3 format strings 2021-09-19 12:51:42 +02:00
Christian Poessinger
e6e6e557f4 Testsuite: verify proper running Kernel version compared to repo 2021-08-19 10:52:18 +02:00
Christian Poessinger
19778c23a0 Makefile: add "make test-no-interfaces" to start smoketests w/o interface tests 2021-08-15 15:15:41 +02:00
Christian Poessinger
392dc16672 Revert "Testsuite: list config directories for trouble shooting"
This reverts commit 9b1ed0551854575c1e0608daaf5e0dc31c2958c9.
2021-08-01 10:34:28 +02:00
sarthurdev
ba5719b32a pki: openvpn: T3642: Generate test keys using openvpn binary, previous op-mode command removed 2021-07-21 19:34:12 +02:00
sarthurdev
eed0f1770e pki: wireguard: T3642: Key pair for migration tests after op-mode command is removed 2021-07-19 17:20:12 +02:00
Christian Poessinger
9b1ed05518 Testsuite: list config directories for trouble shooting 2021-06-22 21:43:49 +02:00
Christian Poessinger
1a12c26f54 Testsuite: consolidate usage of VyOS op/cfg shell prompt 2021-06-22 21:43:14 +02:00
Christian Poessinger
e5a2250f2d
Testsuite: wait 600 seconds after image installation startup 2021-06-13 15:00:16 +02:00
Christian Poessinger
aeeda20529
Testsuite: wait 600 seconds after kvm start for prompt
This is required to test via a GitHub action
2021-06-13 14:08:13 +02:00
Christian Poessinger
b20ea2e7b5 Testsuite: QEMU: add in 3 more NICs as required by the L3VPN EVPN test 2021-04-11 10:02:29 +02:00
Christian Poessinger
f04127aedb Testsuite: extend QEMU interactions
* Change the way how networking is setup to ensure that the network interface
  inside the QEMU gues is actually u/U instead of u/D
* Use common base MAC address
* Run "show interfaces" after installation to check all requirements are met
2021-04-03 12:27:48 +02:00
Christian Poessinger
4188b0f49a Testsuite: use buildin commands over 'openvpn --genkey' raw command 2021-01-31 11:50:10 +00:00
Christian Poessinger
08d6937f9c Testsuite: generate required OpenVPN key(s)
Now all the loaded configs will support OpenVPN based interfaces, too.
All required keys are now generated so the loaded configurations can use:

- /config/auth/ovpn_test_ca.pem
- /config/auth/ovpn_test_server.pem
- /config/auth/ovpn_test_server.key
- /config/auth/ovpn_test_dh.pem
- /config/auth/ovpn_test_site2site.key
- /config/auth/ovpn_test_tls_auth.key
2021-01-30 16:00:08 +01:00
Christian Poessinger
1bc9b8dda5 Testsuite: generate WireGuard default keypair
Now all the loaded configs will support WireGuard interfaces, too. They now cat
refer to the default-keypair to secure the link.
2021-01-30 15:59:44 +01:00
Christian Poessinger
2801efd101 Testsuite: minor code cleanup 2021-01-30 15:56:41 +01:00
Christian Poessinger
c79c13cee6 Testsuite: increase smoketest timeout as we do more and more tests 2021-01-24 09:37:33 +01:00
Christian Poessinger
d093e7e202 Testsuite: always load WiFi HW simulation module 2020-11-01 09:09:04 +01:00
John Estabrook
42f0320956 smoketest: T3003: extend framework to load arbitrary config file 2020-10-27 08:37:00 -05:00
Christian Poessinger
6586659716 Testsuite: automatically determine number of CPUs used 2020-09-25 21:36:19 +02:00
Christian Poessinger
440cb4befa Testsuite: increase to 2G ram 2020-09-25 21:13:58 +02:00
John Estabrook
2fd5898643 configd: T2582: add option to run testsuite with daemon (default off) 2020-08-31 09:33:47 -05:00
Christian Poessinger
3eed4cc98f Testsuite: increase smoketest timeout
On slow machines or with nested virtualisation the smoketests take really long
to execute - thus increase the timeout.
2020-07-03 13:32:56 +02:00
Christian Poessinger
0d32e8b053 Revert "Testsuite: start smoketest as root"
This reverts commit 2d78aa082830065dd681cc50f8dffae77b4b8226.
2020-06-27 14:57:59 +02:00
Christian Poessinger
2d78aa0828 Testsuite: start smoketest as root
Some configuration files (e.g. ddclient) can only be opened as root user,
thus we should run the smoketests as root.
2020-02-16 20:16:06 +01:00
Christian Poessinger
0a9a8d3468 Revert "Testsuite: temporary disable test fail on single failure"
This reverts commit c4da9a9c794073ad34e6cfb0c883be57b356513b.
2020-02-14 20:30:46 +01:00
Christian Poessinger
c4da9a9c79 Testsuite: temporary disable test fail on single failure 2020-02-09 13:50:17 +01:00
Christian Poessinger
43d140aa9c Testsuite: additional settling time after login 2020-02-09 13:49:11 +01:00
Christian Poessinger
57e4de4a7c Revert "Testsuite: show current configuration"
This reverts commit 28c3615488760ffbe21a556a6b42ca5656b8216e.
2020-02-09 13:24:01 +01:00
Christian Poessinger
28c3615488 Testsuite: show current configuration 2020-02-09 11:10:26 +01:00
Runar Borge
1d2a470a30 Testsuite: redo smoketest executor and fix exitcode validator 2020-02-06 21:51:51 +01:00
Christian Poessinger
baa7ab9fa1 Testsuite: check for smoketest error 2020-02-04 20:12:49 +01:00
Christian Poessinger
070f5067ba Testsuite: increase timeout when running vyos-smoketest 2020-02-01 18:54:56 +01:00
Christian Poessinger
013ad967c0 Testsuite: remove "show interfaces" command 2020-01-25 09:14:09 +01:00
Christian Poessinger
996cedd037 Testsuite: use single qemu command 2020-01-25 08:30:14 +01:00
Christian Poessinger
1749ed9150 Testsuite: use 4 NICs 2020-01-24 23:15:50 +01:00
Christian Poessinger
ac8c6bc95e Testsuite: remove VNC console from qemu cmdline 2020-01-24 23:15:50 +01:00
Christian Poessinger
e9f365536e Testsuite: raise exception when smoketest could not be executed 2019-12-28 00:38:55 +01:00
Christian Poessinger
160043ed50 Revert "Testsuite: fix vyos-smoketest binary path"
This reverts commit 2a0827cfa4ef2e8a204506481ec8fa6efad1665d.

Location fixed in vyos-smoketest repo.
2019-12-28 00:24:56 +01:00
Christian Poessinger
2a0827cfa4 Testsuite: fix vyos-smoketest binary path 2019-12-27 20:15:40 +02:00
Christian Poessinger
1d90e10566 Testsuite: remove VNC console from qemu cmdline 2019-12-27 20:15:25 +02:00
Christian Poessinger
237f8a05ff Testsuite: add basic configuration/operation mode testcase 2019-12-27 20:14:35 +02:00
Christian Poessinger
0beaa4faff Revert "Testsuite: add basic cfg/op-mode switch"
This reverts commit f9e8fc314c94c1a09804c1c5827bc1cf50c95358.
2019-12-27 18:58:38 +01:00
Christian Poessinger
0d8922611e Testsuite: use Jenkins timestamps 2019-12-27 13:51:31 +01:00
Christian Poessinger
f9e8fc314c Testsuite: add basic cfg/op-mode switch 2019-12-27 13:35:49 +01:00