76 Commits

Author SHA1 Message Date
John Estabrook
ecd3727d63 smoketest: T5607: adjust for non-deterministic scsi device probing 2023-09-20 15:22:32 -05:00
sarthurdev
4727dc1756 smoketest: Allow selection of smoketests to run
Example:
`make test MATCH="interfaces|policy"` will only run interfaces and policy tests
2023-09-14 20:04:54 +02:00
Apachez
fa1462aa6d T5562: Fix -smp syntax for qemu-system-x86_64 2023-09-09 12:24:55 +02:00
Christian Breunig
a863fe0b03 Testsuite: fix qemu SMP configuration 2023-09-09 07:33:44 +02:00
Viacheslav Hletenko
84fba9f897 T5024: Try to shutdown several times for qemu install script
The first shutdown for qemu doesn't work
Try to shutdown several times
2023-02-22 09:03:28 +00:00
sarthurdev
52073f8ee6 debian: T5003: Increase VM memory - tests failed due to OOM condition 2023-02-13 11:20:49 +01:00
Christian Poessinger
be1d5e0165 Testsuite: T3664: move to new toml based input files 2022-10-07 22:02:58 +02:00
sarthurdev
53d229d200 smoketest: Move PKI file generate to script in vyos-1x 2022-06-30 15:45:23 +02:00
sarthurdev
5a8785f091 openvpn: T4485: Add intermediate CA for smoketest 2022-06-29 17:33:00 +02:00
Christian Poessinger
d9b81c85dc Testsuite: add new '--qemu-cmd' switch to print the commandline to launch QEMU manually 2022-04-18 09:19:07 +02:00
Christian Poessinger
e67312b02d Testsuite: enable DHCP on eth0 - future smoketests could now verify DHCP 2022-04-18 09:10:01 +02:00
Christian Poessinger
e326536380 Testsuite: increase memory to 2G for fastnetmon testcase 2022-04-11 21:00:31 +02:00
Christian Poessinger
4ccdaf58fc Testsuite: fix cdrom boot in UEFI mode 2021-12-26 18:33:51 +01:00
Christian Poessinger
3a8d74b333 Revert "Testsuite: limit QEmu test disk size to 1G to not waste space on build host"
This reverts commit a5e591fa9b66b229f7296de177a570c7b7126be4.
2021-12-26 17:57:01 +01:00
Christian Poessinger
1960c1c259 Testsuite: limit QEmu test disk size to 1G to not waste space on build host 2021-12-26 09:04:04 +01:00
Christian Poessinger
986fd18e11 Testsuite: add RAID-1 test case for disk recovery 2021-12-25 22:01:59 +01:00
Christian Poessinger
a36755da0b Testsuite: add loginVM()/shutdownVM() helpers 2021-12-25 22:01:59 +01:00
Christian Poessinger
e836f72458 Testsuite: add 8th NIC and disable PXE boot 2021-12-25 22:01:59 +01:00
Christian Poessinger
76f59a3915 Testsuite: set default timeout to 60 seconds 2021-12-09 22:40:44 +01:00
Christian Poessinger
462c5f80e0 Testsuite: add new "make testraid" target for RAID-1 installation testing 2021-12-09 22:40:44 +01:00
Christian Poessinger
2aa0166d87 Testsuite: reference default user/pass from variable 2021-12-09 11:13:17 +01:00
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