- 25 May, 2022 1 commit
-
-
Richard Neill authored
This patch: * Uses consistent terms to refer to baremetal and virtualization distribution images * Adds that the images should be rebooted before running the use-case instructions * Adds example output for each of the commands, to be clearer about what is expected * Provides instructions for how to stop application workloads, when recommending the reader to do so * Sets a name when the the Docker container is created, to support the subsequent stop instructions * Clarify which commands should be executed on the Control VM, and which commands should be executed on the Guest VM, using a consistent format Issue-Id: SCM-4397 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Ieec1018e2d1c9fe1864161fd48602f220ed71843
-
- 23 May, 2022 2 commits
-
-
Richard Neill authored
In addition to regular typos, update the spellings used for various references: * bitbake -> BitBake * kubernetes -> Kubernetes * licence -> license Issue-Id: SCM-4397 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I536bb3aab6ec49a1342caa47acabc09e695af14e
-
Kamil Dzieżyk authored
Issue-Id: SCM-4397 Signed-off-by:
Kamil Dziezyk <kamil.dziezyk@arm.com> Change-Id: I1712f21fbd8e475b679bf1b49c8f91361f0b8484
-
- 20 May, 2022 3 commits
-
-
Diego Sueiro authored
Issue-Id: SCM-4397 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ib3be8040ee95e9b53505e1567d2a7484cd6b6871
-
Diego Sueiro authored
For the v1.0 release, this patch: * Sets DISTRO_VERSION to v1.0 * Pins all dependent layers * Updates the documentation mentioning the v1.0 in the relevant sections Issue-Id: SCM-4397 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ibd05925030bce5d5c32d815a7199d91832bcd8bd
-
Diego Sueiro authored
Issue-Id: SCM-4397 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: Iae00a9331d302b47c122a2c0bffb560c2321d381
-
- 19 May, 2022 3 commits
-
-
Diego Sueiro authored
Issue-Id: SCM-4397 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: I3ca5fbf126e214a3b928a4e75d396df8a2431b57
-
Diego Sueiro authored
Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: I89153a1bf937b1a0eaa42e3aa17adf55f238fe46
-
To do this, print the log from the generic run-* script that executes each test suite. As this generic script doesn't know what test suite it will be running, or what the user might customize that test suite's log file to be, use a hard-coded temporary log-file placed in the same volatile runtime directory that is used for storing the test PIDs, and log messages to that file simultaneously with the normal logging procedure. Also, this patch allows setting extra parameters to be passed to bats "run-.*" scripts via the 'EWAOL_TEST_OPTIONS' build-time variable. Currently, it is set to "--show-output-of-passing-tests" to give the user more information about what the test suite is doing at run-time. Furthermore, spaces are replaced with tabs in the 'run-test-suite' file to allow better code readability with here-document indentions, along with two more variables: 'TEST_RUNTIME_DIR' and 'EWAOL_TEST_BATS_OPTIONS', are set with the e...
-
- 18 May, 2022 1 commit
-
-
Diego Sueiro authored
Fix based on http://cgit.openembedded.org/meta-openembedded/commit/?id=71e87a5dbc4a09544e0cf2ad42e50064240d73f3 Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: I30ce0f2040e886aa033eec6760247c4706a94314
-
- 16 May, 2022 2 commits
-
-
Joel Goddard authored
Issue-Id: SCM-4394 Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: I05d9b51c1c2890f1149b8ec609222babca5b8f64
-
Diego Sueiro authored
This also reverts commit 12197648 since it includes the fix for https://github.com/bats-core/bats-core/issues/575 Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: I976e95c9487a1110fcc11a702b0d9b0fb0789c2b
-
- 13 May, 2022 5 commits
-
-
Diego Sueiro authored
By having the 'yocto_release' variable we reduce the information duplication in documentation/variables.py. Also, fix the URL for "link:Yocto K3s config" variable. Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ic48906c82f430e14d382882d76ffc7504aecff8d
-
Diego Sueiro authored
Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: I82dcf2a6863db474ed53530c98ab389ea31d991a
-
Richard Neill authored
Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I7ceda85d27772ba71ca26ab24684edef37e1c0db
-
Richard Neill authored
Rather than forcing links and simple string substituions to be partitioned into two separate Python dictionaries (even if the two dictionaries apply to the same documentation component), make organizing the variables easier by allowing a single dictionary to include both links and simple string substitutions. To do this, a variable key is prefixed with "link:" to process it as a link. In addition, as documentation for old releases (migration guidance, changelogs, etc) may require variable definitions which point to older versions of internal and external links, this patch provides a new dict where per-release definitions can be provided. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I288b87b99e1e6be7f50380808157db8ff6aff5e3
-
Richard Neill authored
Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I6a027a1015aba35e0df7ced71d30ee831440a02f
-
- 11 May, 2022 2 commits
-
-
Diego Sueiro authored
EWAOL SDK distribution images require meta-arm and meta-arm-toolchain layer, as the gator-daemon package is installed on the rootfs. Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: If67534b5b2497c522c9ab06f58205ca3a0783464
-
Richard Neill authored
For installed files which don't require 'others' to have 'read' permissions, this patch reduces the permissions to be 0640. Files changed: * Guest VM disk and kernel images * Xen Guest VM definition config files * Systemd override configuration for kernel printk verbosity Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Iafd7d15c4c4b54709f2f158bd3427dae1a090340
-
- 10 May, 2022 7 commits
-
-
Joel Goddard authored
Full error traces are now printed for errors in check module files to help locating errors. Arguments are now formatted in groups based on the check module they are from when printed in --help. Issue-Id: SCM-3902 Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: I4de1b9114f20c3bb300d040ea5752598d73a7387
-
Joel Goddard authored
Add yaml_check.py to run yamllint on all yaml files to validate the yaml files. Updated yaml files with formatting corrections required to pass yamllint without errors or warnings on the default settings. Issue-Id: SCM-3902 Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: Ibcd61c5f0a90879724a200d10c5e208c70fdc678
-
Joel Goddard authored
Added include_patterns to recursively_apply_check in common.py. If provided only files matching the patterns will be checked. Only files which aren't excluded (by exclude_patterns or file_types settings) will be considered for include_patterns. Issue-Id: SCM-3902 Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: I85eeed907b9e60518739aee7afce488eefa683ea
-
Richard Neill authored
BATS v1.6.0 has a bug causing it to report success depsite failing test cases. This patch appends a backported bug-fix. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: If3ea225b3f07930111894f8b3c3862e02c59f9c9
-
Richard Neill authored
This patch reverts commit 24118c5f which pinned BATS to v1.5.0. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I68ae467341ea367adca87a59209705ae27427385
-
Richard Neill authored
Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Icc140af9cca0cf91ecfc700ed1b54b4ace5128db
-
Richard Neill authored
The dependency of ptest-runner on libgcc has been upstreamed, so drop it from the runtime-integration-tests bbclass. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I7be2452650450b0ff4c86f39a1497fe3271c14ae
-
- 06 May, 2022 5 commits
-
-
Richard Neill authored
When ewaol-virtualization and ewaol-security are both enabled, the test suites set the password of the test user account on the Guest VM during their executions. This patch adds the relevant documentation. Issue-Id: SCM-4421 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Ie4b6fe745d3ef0be63ab711e7718882180c3fe32
-
Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I22b2e57aa15f0495f36543a289b31d87259f578b
-
Diego Sueiro authored
Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: I1eb6ee822ea83d9413a07331be9510203805df34
-
Diego Sueiro authored
We need to ensure that we don't run bats from the current user ${HOME} to avoid permission denied error, since at some point it will `cd "$OLDPWD"` when we already switched to ${EWAOL_TEST_ACCOUNT} via the sudo command. Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ibf13cb577b6dbbef6c2e6242063265fff94c8a08
-
Diego Sueiro authored
With v1.6.0, BATS returns success with failing tests. The exit status of a BATS 'run' command called from the teardown_file() function is returned as the exit status of the bats script. This means that even if the test cases fail, a successful teardown will produce a passing test suite execution. This is a regression from v1.5.0. https://github.com/bats-core/bats-core/issues/575 Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: I7501adf4a65e0271bc54c8693a794c5dd9c31ce6
-
- 05 May, 2022 5 commits
-
-
Diego Sueiro authored
Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: I7b5eac0a7c6f1cc42a2b44613acbb10f26bcc11d
-
Richard Neill authored
The kirkstone branch of meta-virtualization has been created, so this patch tracks it instead of master. As meta-virtualization kirkstone has bumped Xen to version 4.16, also update the documentation. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I0fcd9a3d9614e7949e8681df79288127d308fa61
-
Richard Neill authored
The bbclass processes filenames by searching within WORKDIR. However, WORKDIR may be populated by files from a previous build, causing errors when they are processed. This patch instead processes the files from the installation directly, so the filenames are always part of the current build. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Ia67822ce84b525f76f44419c0850b6458bf6ed6e
-
Richard Neill authored
Variables which are inserted via envsubst do not get detected as build dependences by default, so modifications do not retrigger the associated build tasks. Therefore, this patch adds the variables explicitly as vardeps. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I27a40a273ae81e31e8be0dbe2c89da5ded9e0dfa
-
Richard Neill authored
Previously, if an environment clean-up failure occured it would only be reported to the log, while the test suite might still PASS. To avoid silent failures and therefore potentially hidden bugs, this patch ensures the result of the environment clean-up is reflected in the result of the test suite. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I8a3eda61ae8bc82a7ea5f04a7bdd8f7bfda2133c
-
- 04 May, 2022 2 commits
-
-
This patch resets the user account password on the Guest VM before and after the relevant test suites execute. The password reset only occurs on virtualization images which have been security hardened via the ewaol-security DISTRO_FEATURE. The password reset is added by having security-specific code override the extra_cleanup function which is called only by virtualization-specific code, achieved via conditional appends to the test suites in the recipes. With this mechanism for conditional inclusion of code to the BATS scripts aligned across the test suites, the special substring-replace for K3S_LOAD_VIRT_FUNCS has been dropped. As the conditionally-appended code may not be just tests but also additional function and variable definitions, the files are renamed from "additional-*-tests.bats" to "append-*.bats. This patch also adds a new runtime test internal variable 'TEST_GUEST_VM_NAME' that takes the value assigned to test specific global variable: '[CE|VIRT|K3S|UA]_TEST_GUEST_VM_NAME'. Issue-Id: SCM-4421 Signed-off-by:
Kamil Dziezyk <kamil.dziezyk@arm.com> Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Iaa7664e27812280238668fc0e7fea1c0fa018f34
-
Richard Neill authored
The layers from meta-arm are required not only when building for the N1SDP, but also when building a virtualization image (as bundled Guest VM is generic-arm64 based). Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I23e79bd98b34afa4901535d83f22ce2b129afcf9
-
- 03 May, 2022 1 commit
-
-
Richard Neill authored
The kirkstone branch of meta-arm has been created, so this patch tracks it instead of master. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I712192f5e88e137a3dc5247ab1b2f3f18a70d439
-
- 29 Apr, 2022 1 commit
-
-
Kamil Dzieżyk authored
This patch brings the following changes: - Replaces 'sed' substitution calls with 'envsubst'. - Removes unused variable 'TEST_SUITE_PREFIX'. - Reworks '*-integration-tests.bb' recipes: * Moves common code to 'runtime-integration-tests.inc'. * Moves common runtime test files into a new package 'runtime-integration-tests-common.bb'. * Allows to execute tests 'bats' files from any path. Issue-Id: SCM-4421 Signed-off-by:
Kamil Dziezyk <kamil.dziezyk@arm.com> Change-Id: Ic2a251e7ba41e263ac7c5b0e705e7b910601df6a
-