| Age | Commit message (Collapse) | Author |
|
+ 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.
|
|
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 bdd7024da3a71854c6ce15c312581900e9b817c8.
|
|
This reverts commit 4ef1924d9a5328aaab11a4e409c8116f99cbc140.
|
|
|
|
Apply quoting to the passed variable.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
|
Add make_sbom target to Makefile.
|
|
|
|
|
|
Makefile: T8294: autodetect CPU architecture for smoketests
|
|
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.
|
|
Extend the vyos-build repo to include Ansible install PHONY
Add the ability to install Ansible and VyOS compatible modules.
It could be used for the further "topology tests". It also could be
helpful with environment questions where a bug was reproduced.
Use virtual environment to install Ansible + VyOS modules
New options:
- make ansible-install
- make ansible-check
- make ansible-clean
|
|
|
|
Commit 6fa36ec9 ("Testsuite: T8111: make --iso and --disk optional arguments")
made the "--iso" option optional, but it was missed in the testraid, testsb
and testtpm testcase calls.
|
|
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.
|
|
The target is calling tests for VPP, which require huge page support, thus always making the target fail.
|
|
|
|
We have a separate PHONY for VPP tests
|
|
|
|
Exclude VPP tests from the general tests
Add the PHONY no-interfaces-no-vpp
Add the PHONE testcvpp (load VPP config only)
|
|
|
|
Decrease system resources for configload tests
|
|
Add `--cpu` and `--memory` args to target `test`, fixing smoketest runs due to VPP requiring additional resources
|
|
|
|
Some smoketests requires more memory to pass all tests
For example VPP tests
|
|
|
|
Add PHONY to make smoketests for VPP.
sudo make test-vpp
|
|
We can not run the interface related tests, and non interface related
testcases in parallel to speedup the entire build process.
|
|
This adds support for UEFI Secure Boot. It adds the missing pieces to the Linux
Kernel and enforces module signing. This results in an additional security
layer where untrusted (unsigned) Kernel modules can no longer be loaded into
the live system.
NOTE: This commit will not work unless signing keys are present. Arbitrary
keys can be generated using instructions found in:
data/live-build-config/includes.chroot/var/lib/shim-signed/mok/README.md
|
|
In the past the CLI based smoketest was always executed under an else branch in
the testcase if-statement. Instead of using negative logic move all testcases
to positive logic adding an empty "catch all" else path.
|
|
To use VNC you could run "make test -- --vnc"
|
|
Fix typo added in commit 499e8e1cbb ("Makefile: T2640: add helper to convert
ISO to OCI image to start a co…ntainer") should be PHONY over PHONE
|
|
We can now pass any arbitrary option to the check-qemu-install script by
calling: make test -- --bar-option or make testc -- --foo-option
please note the -- which is not a typo but rather signals the end of options
and disables further option processing and passes the options down to the next
script.
|
|
|
|
|
|
instead of setting an environment variable
|
|
|
|
to avoid permission problems
|
|
|
|
to simplify the now-rather-tricky build script invocation
|
|
|
|
|
|
Use either "make oci" or call the script manually:
$ scripts/iso-to-oci build/live-image-amd64.hybrid.iso
I: mount ISO build/live-image-amd64.hybrid.iso
I: extracting squashfs content
I: generate OCI container image vyos-1.5-strongswan-202311241125.tar
I: to import the previously generated OCI image to your local images run:
docker import vyos-1.5-strongswan-202311241125.tar vyos:1.5-strongswan-202311241125 --change 'CMD [/sbin/init]'
|
|
Simply boot a live qemu version from the latest ISO build
(10:18) cpo lnx01:~/vyos-build [current] # sudo make qemu-live
if [ ! -f build/live-image-amd64.hybrid.iso ]; then
echo "Could not find build/live-image-amd64.hybrid.iso"
exit 1
fi
scripts/check-qemu-install --qemu-cmd build/live-image-amd64.hybrid.iso
INFO - Creating Disk image testinstall-20231119-101823-4483.img
SeaBIOS (version 1.16.2-debian-1.16.2-1)
Machine UUID f48b60b2-e6ad-49ef-9d09-4245d0585e52
Booting from DVD/CD...
ISOLINUX 6.04 20200816 ETCD Copyright (C) 1994-2015 H. Peter Anvin et al
|
|
Example:
`make test MATCH="interfaces|policy"` will only run interfaces and policy tests
|
|
|
|
|
|
|