| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This should make it easy to make new test classes that launch
independent qemu instances with different configurations.
|
|\
| |
| | |
Feat/pro 4199/oe selftest qemu
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
And terminating part of tearDownClass. This cleans things up nicely and
means we only have to boot once for multiple tests.
If we do want to boot multiple times (e.g. with different configs), we
can move most of the qemu code to non-class functions and use multiple
classes that each call those functions in setUpClass and tearDownClass.
|
| |
| |
| |
| |
| |
| | |
This means we can call it from any number of tests and run arbitrary
commands. I finally figured out how to get commands with arguments
working, too.
|
|\ \
| |/
|/| |
Delete hsm-test SOTA_CLIENT_FEATURE as redundant and provoking mistakes
|
| |
| |
| |
| |
| | |
'SOTA_CLIENT_PROV = "aktualizr-hsm-test-prov"' should set in local.conf
in order to build with softhsm
|
|\ \
| | |
| | | |
Autodetect kvm
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Autodetect KVM by using the 'kvm-ok' command line tool. This has two benefits:
Firstly, it improves the UX of run-qemu-ota when working on machines without
KVM (e.g. AWS). Previously, people had to use the --no-kvm option in these
cases.
Secondary, it makes oe-selftest usable on machines without KVM. Our tests call
run-qemu-ota, and we want to able to run them on machines without KVM.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Test/pro 4229/oe selftest hsm
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add test to verify that the file specified at
SOTA_PACKED_CREDENTIALS exists and is included
in the image. If SOTA_PACKED_CREDENTIALS is not
set this test case will be skipped.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|/ /
| |
| |
| |
| |
| |
| | |
Ensure that systemd and sota are among the distro
features.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|\ \
| | |
| | |
| | |
| | | |
advancedtelematic/feat/PRO-4199/oe-selftest-sota-tools
Feat/pro 4199/oe selftest sota tools
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Make sure to remove man package before bitbaking.
* Test that the package exists or not.
* Check the image name and size to make sure it changes.
* Move to appropriate class and rename.
|
| | |
| | |
| | |
| | |
| | | |
This reduces unnecessary time spent on setUpClass calls that may not be
necessary for individual tests. It also organizes things a bit better.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Not very useful yet. Could be made into a function for the purpose of
running arbitrary commands via SSH, for example. However, I had plenty
of trouble even getting this far.
Note that I created a softlink to qemucommand to get around the Python
path issues in oe-selftest. I'm not sure if there's a better way to
handle that, since manipulating the path is seemingly impossible.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add managing targets.json by garage-sign
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Use ${libdir} instead of /usr/lib.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
oe-selftest
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Extend the usage section with information about QA
using the test framework oe-selftest.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Extend the oe-selftest with test cases for hsm
amd hsm-test.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|\ \ \
| |/ /
|/| | |
Add UPTANE key generation capability
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
advancedtelematic/bugfix/PRO-4259/latest-garage-sign
Latest garage-sign with many bug fixes.
|
|/ / |
|
|\ \
| | |
| | | |
Explicitly include ca-certificates as a dependency for garage-push
|
| | |
| | |
| | |
| | |
| | | |
/etc is not added to the sysroot by default, so force it. Also, move the
dependency to where it is actually used.
|
| | |
| | |
| | |
| | | |
Fixes: PRO-4254
|
|\ \ \
| | | |
| | | | |
Fix incompatibilities with latest pyro, use wic on RPi
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
Fix race condition in run-qemu-ota
|
|/ / |
|
|\ \
| |/
|/| |
Copy repo manifest to the device.
|
|/
|
|
|
|
|
| |
Helpful for debugging, etc.
Mostly copied from here:
https://github.com/openivimobility/meta-oim/blob/master/classes/image-repo-manifest.bbclass
|
|\
| |
| | |
garage-sign: Update checksums
|
| |
| |
| |
| |
| |
| | |
Update md5 and sha256 checksums of the archive.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|\ \
| | |
| | |
| | |
| | | |
advancedtelematic/bugfix/PRO-4140/silence-ostree-errors
Bump ostree version to get Shaun's fix.
|
|/ /
| |
| |
| |
| | |
Unnecessary error messages have been silenced by skipping some checks
that weren't necessary in our case.
|
|\ \
| | |
| | | |
Share /run directory between initramfs and system image to communicate ostree-booted file
|
| | |
| | |
| | |
| | | |
ostree-booted file
|
|\ \ \
| |_|/
|/| | |
Feat/pro 4199/oe selftest
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the issue with installed but not shipped files.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|