summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
AgeCommit message (Collapse)Author
2026-05-08Merge branch 'current' into T8542-SBOM-currentAndrii Klymenko
2026-05-08T8542: Add functionality to generate SBOM file from ISO image. Get Syft from ↵asklymenko
the CDN to prevent a possible supply chain attack
2026-05-06Testsuite: T8147: increase GRUB timeout on startup to choose serial consoleChristian Breunig
Systems under heavy load might require more time to init the VM
2026-05-06Testsuite: T8147: properly close pexpect childChristian Breunig
2026-05-06Testsuite: T8147: add common waitForLogin() helperChristian Breunig
2026-05-06Testsuite: T8147: must run as root to start QEMU VMsChristian Breunig
2026-05-06Testsuite: T8147: use common clearTPM() handlerChristian Breunig
Avoid duplicated code when working with TPM
2026-04-23T8542: Add functionality to generate SBOM file from ISO imageAndrii Klymenko
Add additional validation step to ensure that the transfer drive is unmounted successfully. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-23T8542: Add functionality to generate SBOM file from ISO imageAndrii Klymenko
Apply suggestion, add validation that the Syft binary was copied with success. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-23T8542: Add functionality to generate SBOM file from ISO imageAndrii Klymenko
Exclude the transfer directory from scan.
2026-04-21T8542: Add functionality to generate SBOM file from ISO imageAndrii Klymenko
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.
2026-04-20Testsuite: T8375: do not run serial console GRUB tests without serial consoleChristian Breunig
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.
2026-04-14T8460: Add CPU isolation option to QEMU install checks for VPP-related testsNataliia Solomko
2026-04-05Testsuite: T8375: verify proper serial console settingsChristian Breunig
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.
2026-04-05Testsuite: T8375: use more specific "option kernel" search path in conf commandsChristian Breunig
As there is also "set system console device <DEV> kernel", use a more specific match criteria to avoid false positives.
2026-03-26T8410: Fix typos and mistakes in scripts and commentsViacheslav Hletenko
Fix typos and mistakes in the comments No functional changes
2026-03-10T8373: check-qemu-install: increase BOOTLOADER_SLEEP timeAlex Kudentsov
2026-02-21Makefile: T8294: autodetect CPU architecture for smoketestsChristian Breunig
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.
2026-01-14T8065: Dehardcode qemu settings to allow run tests on arch arm64Viacheslav Hletenko
2026-01-06T8146: Confirm the key when config encryption is configured without TPMGiga Murphy
2025-12-25Testsuite: T8111: add --cloud-init test targetChristian Breunig
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.
2025-12-21Testsuite: T8111: make --iso and --disk optional argumentsChristian Breunig
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.
2025-12-21Testsuite: T8111: add BOOTLOADERchooseSerialConsole() helperChristian Breunig
When booting ISO or installed image in QEMU testsuite, always select the serial console as default tty during Linux boot.
2025-12-21Testsuite: T8111: add basic_cli_tests() helper functionChristian Breunig
2025-12-21Testsuite: T8111: remove duplicate -vga and -cpu argument for QEMUChristian Breunig
2025-12-12Testsuite: T8087: fix pylint warningChristian Breunig
2025-12-12smoketest: T8087: bugfix missing f-ormat string indicatorChristian Breunig
Commit fe158b284 ("smoketest: T8087: reorganize folderstructure for embedded configttests") missed out defining the string to use with an 'f' prefix.
2025-12-11smoketest: T8087: reorganize folderstructure for embedded configttestsChristian Breunig
2025-11-21Testsuite: T8023: limit max MTU of half of the interfaces to 1500 bytesChristian Breunig
"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.
2025-09-19T7836: use /opt/vyatta/etc/config in tmptestJohn Estabrook
2025-07-31tpm: T7628: Fix typo in test expected stringsarthurdev
2025-07-15tpm: T7628: Extend test for non-TPM backed encryptionsarthurdev
2025-07-03T7606: Add include and exclude mode for match check-install qemuViacheslav
2025-07-02T7609: Smoketest add huge-page-size and huge-page-count argumentsViacheslav
2025-07-02T7606: Split VPP test for smoketestViacheslav
Exclude VPP tests from the general tests Add the PHONY no-interfaces-no-vpp Add the PHONE testcvpp (load VPP config only)
2025-06-30T7424: Restart vyos-configd after vyos.smoketests.hint file creationNataliia Solomko
2025-06-26T7424: Create vyos.smoketests.hint file before startingNataliia Solomko
vyos-configd
2025-05-22T7352: add test script arg for testing under vyconfd/commitdJohn Estabrook
2025-03-18T861: use custom Kernel certificate over the root shim signing certificateChristian Breunig
2025-02-22T7140: increase CI test timeout 3h -> 5hChristian Breunig
2025-02-06T7140: check-qemu-install: fix unparsable commandckath
2025-02-02T7125: add show version vyos-1x for smoketestViacheslav Hletenko
2025-01-30T7106: Extend check-qemu-install to show vpp versionViacheslav Hletenko
2025-01-22Testsuite: T7043: make build/manifest.json optionalChristian Breunig
Support loading and testing random ISO images without the need for build/manifest.json. If the file is detected - tests are run. If file is not found - those tests are skipped.
2025-01-11T7043: Add arguments for CPU and memory for the check-qemu-installViacheslav Hletenko
Some smoketest requires more than 4G memory. And --cpu and --memory args for check-qemu-install
2025-01-05T7019: use VyOS release train in /etc/os-release codename over Debian releaseChristian Breunig
VyOS is based on Debian * VyOS 1.3 -> Debian Buster (VyOS equuleus) * VyOS 1.4 -> Debian Bookworm (VyOS sagitta) * VyOS 1.5 -> Debian Bookworm (and then trixie) (VyOS circinus) * VyOS rolling -> Debian Bookworm (and then trixie) (VyOS t.b.d.) When running vyos@vyos:~$ lsb_release -a Distributor ID: VyOS Description: VyOS 1.5-rolling-202501031241 (current) Release: 1.5-rolling-202501031241 Codename: bookworm The codename in use is the Debian base distribution. This should be changed to the VyOS release name.
2025-01-03Testsuite: T6999: validate content of /etc/os-release in target systemChristian Breunig
The file /etc/os-release is written during image build, but it's content is not validated that it can be used by e.g. "lsb_release -a" command.
2025-01-01Testsuite: T861: use proper base MAC address from RFC7042Christian Breunig
Commit 085df7615a ("Testsuite: T861: always use 2 VCPUs") also altered the base MAC address used by QEMU to a locally administered one. Something that looked "right" in the beginning turned out to break the smoketest platform. The reason is the locally administered bit is evaluated in [1] and if set and not on the exclusion list (as it was a Realtek base MAC address before), the interface in question is not considered persistent and thus not added to the configuration file upon system startup. 1: https://github.com/vyos/vyos-1x/blob/825743b6bcdf8fa2c263dabaa3fee40ba7a98525/src/helpers/vyos-interface-rescan.py#L73-L74
2024-12-31Testsuite: T6991: inform smoketest about this environmentChristian Breunig
2024-12-31Testsuite: T861: boot system in serial console mode to get the full boot logChristian Breunig