| Age | Commit message (Collapse) | Author |
|
The prior expect of 'No such file or directory' can prevent smoketests from completing if test fails with that same error
|
|
|
|
BOOTLOADERchooseSerialConsole() sent fixed DOWN/ENTER keystrokes with blind
sleeps to navigate the post-install GRUB "Boot options" and "Select console
type" submenus. Under host load, a dropped keystroke could land navigation one
level too deep (e.g. "Select boot mode" instead of "Select console type").
GRUB submenus never time out on their own, so the VM sat there until the
unrelated 600s login wait in loginVM() expired, producing a confusing
pexpect.TIMEOUT far from the real cause.
Add child.expect() checks after each submenu transition to confirm the expected
menu actually rendered before sending the next keypress, so a misnavigation now
fails fast and points at the right step.
|
|
|
|
+ VRF)
Extend check-qemu-install with --test-image-update: build a nested installer
ISO as a second CD-ROM, serve the inner image over HTTP, and exercise add/delete
system image in the default routing context and in a named VRF.
Add make test-image-update and ignore/clean nested_installer_payload.iso artefacts.
|
|
Sometimes I do call scripts/check-qemu-install directly without the Makefile
wrapper, thus it should be ensured that the ISO image exists also from within
the test-case launcher, too.
|
|
|
|
Abusing cats is a prevalent problem in the Linux user community. Users,
ranging from know-nothing neophytes to all-knowing professionals, engage in
cat abuse on a daily basis, whether in their scripts or simple terminal
commands.
https://rseragon.github.io/posts/cat-abuse/
|
|
|
|
There is no need in keeping the old --configd option when starting the
smoketests. VyOS heavily relies on vyos-configd and derivates, so there is no
need anymore to disable it for our smoketests.
|
|
This reverts commit 194f38b2d9582110d14b21b67e48ed13b58152f9.
|
|
This reverts commit 16ced6d41f030f5621e667abfe0e35aa498bc71b.
|
|
This reverts commit d84d127f91186082df2a786c7e20fe2af55dfa3b.
|
|
This reverts commit 3c3df90237c39caa1e5f7e2cf3180fa4f5f4b0bb.
|
|
Syft from the CDN to prevent a possible supply chain attack"
This reverts commit a0f74b5a2565956ce405b7185842cbdd0b4f1768.
|
|
|
|
the CDN to prevent a possible supply chain attack
|
|
Systems under heavy load might require more time to init the VM
|
|
|
|
|
|
|
|
Avoid duplicated code when working with TPM
|
|
Add additional validation step to ensure that the transfer drive is unmounted successfully.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
|
Apply suggestion, add validation that the Syft binary was copied with success.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
|
Exclude the transfer directory from scan.
|
|
Use the Syft util to generate SBOM files in both CycloneDX and SPDX format. This process includes creating a transfer disk to copy the Syft util from the host machine and copy the scan results back to the host machine.
|
|
It does not make sense to test the serial console autodeteaction on a flavor
which uses a VGA console like PROXMOX. If console_type is a VGA console, bail
out early from the tests.
|
|
|
|
Now that the serial console definition is dynamically generated by the image
installer, depending on the flavor data, it is time to validate the resulting
CLI nodes and GRUB config.
|
|
As there is also "set system console device <DEV> kernel", use a more specific
match criteria to avoid false positives.
|
|
Fix typos and mistakes in the comments
No functional changes
|
|
|
|
We currently have hardcoded values for amd64 in our Makefile.
When calling the smoketests helpers like:
* make testc
* make qemu-live
* make test-interfaces
All expect an amd64 ISO file - if building and arm64 ISO image on an arm64
system, all those helpers do not work as it is hardcoded to amd64.
|
|
|
|
|
|
Add support to dynamically assemble cloud-init NoCloud ISO image and attach
it to an existing qcow2 image file.
The config data injected via NoCloud is later validated if it has been properly
configured on the OS level.
|
|
It is now possible to pass in an already existing qcow2 disk image to the
Testsuite. This is necessary if we would like to boot wxisting flavor images
like KVM or PROXMOX.
|
|
When booting ISO or installed image in QEMU testsuite, always select the serial
console as default tty during Linux boot.
|
|
|
|
|
|
|
|
Commit fe158b284 ("smoketest: T8087: reorganize folderstructure for embedded
configttests") missed out defining the string to use with an 'f' prefix.
|
|
|
|
"trick" the smoketests by supplying hardware that is limited in it's MTU
size. This happens e.g. on a base PROXMOX installation with a bridge.
|
|
|
|
|
|
|
|
|
|
|
|
Exclude VPP tests from the general tests
Add the PHONY no-interfaces-no-vpp
Add the PHONE testcvpp (load VPP config only)
|