| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|
|
|
| |
Bump to the latest version as well.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Work around a bug in oe-selftest with migration and aktualizr-info
interplay by forcing --allow-migrate for now.
|
| |
|
|
|
|
|
|
|
|
|
| |
Cherry-pick of 78422f6ca6e5cca90e33ad49aa1b39bb25c527b3 from master. Original
commit message follows:
Compatibility with latest aktualizr
Note that the HsmTests still sometimes fail
|
|
|
|
|
| |
This should not be necessary, but after building for the grub test, the
sysroot does not get repopulated as expected for the implicit/HSM tests.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
STAGING_DIR_NATIVE does not get populated as I had previously believed.
Native recipes do not get packaged, so although we want to use a native
executable, we need to get the config files from the
aktualizr-host-tools package built by the aktualizr (target) recipe.
Thanks to Andre McCurdy and Khem Raj for insight on how to get this
right.
|
|
|
|
|
|
|
|
| |
Move HSM dependencies to aktualizr recipe, since it's aktualizr that can
depend on HSM support, not the provisioning prepartion.
Remove references to systemd in provisioning recipes, since they have
nothing to do with systemd.
|
| |
|
| |
|
|
|
|
|
| |
Not much else from the example configs that is easy to test with
oe-selftest.
|
| |
|
|
|
|
| |
Also add a test for the 'primary-image'
|
|
|
|
| |
Also, timeout communication to the DUT after 60s.
|
| |
|
| |
|
|
|
|
|
|
| |
This required splitting the aktualizr package into several components, in order
to be able to either install the primary 'aktualzr' or the secondary
'aktualizr-secondary'.
|
|
|
|
|
|
|
|
|
|
| |
There's not much we can do, since booting the device via a test is not
practical. Still, it's useful to make sure that we can build the image.
If trying to build the image in an environment designed for qemu, this
takes some trickery to set things up just right.
Also consistently set up layers before setting the MACHINE, since the
sanity checker sometimes complains otherwise.
|
|
|
|
|
|
|
|
| |
The layers required for the grub test are now also only added if not
already present.
This should make the tests runnable from an environment configured for
raspberry pi.
|
|
|
|
|
|
|
| |
* Check successful provisioning with autoprov and grub.
* Refactor provisioning check into an independent function.
* Rename QemuTests to AutoProvTests since that's what it is now.
* Be more explicit about MACHINE.
|
|\
| |
| |
| | |
Bring in updates to oe-selftest.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
No need for the extra bitbake of aktualizr-native.
|
| |
| |
| |
| | |
Factorize the call of aktualizr-native commands in each testing class
|
| |
| |
| |
| | |
Also fix a minor provisioning check ordering problem.
|
| | |
|
| |
| |
| |
| |
| | |
This helps distinguish it from runCmd, which is how you run commands in
the shell.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Improve some organization and logging.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This required setting the LD_LIBRARY_PATH to get some dependencies that
are liable to conflict with the host's normal installation. I adapted
that for the sota_tools tests as well for good measure.
Also, we now actually install cert_provider in the native build.
|
| |
| |
| |
| |
| | |
The credentials test was failing if any other provisioning recipe was
specified.
|
| |
| |
| |
| | |
Cherry-pick of c64b399633975bc05856e5eded519c4f22adfe44 from rocko.
|
| |
| |
| |
| |
| | |
Partial cherry-pick of b605cf215ff4cef35c3f62fee0ec14e3c8d5ba22 from
rocko.
|
| | |
|
| |
| |
| |
| | |
Also add a helpful hint for the oe-selftest grub problem.
|
| |
| |
| |
| |
| | |
Grub, HSM, and qemu hostname tests still fail for reasons I haven't
figured out yet.
|
|/ |
|
|
|
|
|
|
| |
- New garage-sign interface
- Remove garage-sign recipe (now installed with aktualizr-native)
- Small but critical bugfixes in aktualizr
|
|
|
|
|
|
| |
* hsm-test is no longer used.
* Use Yocto variables where suitable.
* Eliminate redundant directory slashes.
|
| |
|
|
|
|
|
| |
This should make it easy to make new test classes that launch
independent qemu instances with different configurations.
|
|
|
|
|
|
|
|
|
| |
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.
|