- 10 May, 2022 2 commits
-
-
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 3 commits
-
-
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
-
Joel Goddard authored
Issue-Id: SCM-3902 Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: I97732bd86bb6cfba723a299b1b591ff8953175fc
-
Joel Goddard authored
Add check to qa-checks to build documentation and ensure no errors were thrown when building. Issue-Id: SCM-3902 Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: Ib8adec83b5219290859e4096ff40575818b9df32
-
- 27 Apr, 2022 2 commits
-
-
With this patch, a check module can declare optional variables. If these variables are not defined (either via the command-line or via a config file), then the relevant check module will be invoked with the varible set as None. If a variable is not declared as optional then the previous behavior remains, where it is considered required. If any required variable is not defined then the check will be dropped, and a warning output to the user. Issue-Id: SCM-3902 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I7617ad0e5f36c0ca068aee855ed00368207aa30c
-
Richard Neill authored
As meta-arm and meta-virtualization have yet to create kirkstone branches, this patch leaves those layer dependencies set to their respective master branch. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I57dfa00755251a229d8cfd744508de4bd1831f6d
-
- 26 Apr, 2022 3 commits
-
-
This patch brings the following changes: - Sets the umask to '0027' if 'ewaol-security' is in 'DISTRO_FEATURES'. - Adds one sub-test that checks if the umask value is correct to 'user accounts management additional security tests'. - Updates the documentation. Issue-Id: SCM-4415 Signed-off-by:
Kamil Dziezyk <kamil.dziezyk@arm.com> Change-Id: Ibe080bb64aa5edd8cafbe8ac9b940feff94d698e
-
Issue-Id: SCM-4415 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I1f8ffce5ed04526a7a93577ab968af4531a2aa4a
-
This patch brings the following changes: - Adds user accounts integration tests with additional tests for 'ewaol-security' and 'ewaol-virtualization' DISTRO_FEATURES. - Renames and reworks 'guest-vm-run-command.expect' and 'guest-vm-funcs.expect' scripts. The 'run-command.expect' script accepts now the following parameters (with the '-parameter value' order): * command {command_to_execute} * console {guest_vm|local|ssh} * hostname {hostname} * timeout {time_in_seconds} * user {username} - Appends 'ewaol-security' to EWAOL_OVERRIDES if 'ewaol-security' is included in DISTRO_FEATURES. - Adds missing 'expect' runtime dependency for container engine integration tests if 'ewaol-virtualization' is included in DISTRO_FEATURES. - Fixes runtime dependency setting in 'runtime-integration-tests.inc'. Issue-Id: SCM-4415 Signed-off-by:
Kamil Dziezyk <kamil.dziezyk@arm.com> Change-Id: Ie9dd423bfd304630c4b66c7945c55011ecd61f02
-
- 25 Apr, 2022 8 commits
-
-
Added command line options --project_root, --documentation_dir and --output_dir to override the default settings allowing doc-build.py to be used for other projects. Issue-Id: SCM-4418 Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: I6cc268a13d973299d23d1df14bd7dd2725b1cd23
-
The output and test log will now include a description of the K3s test scenario, to be more clear about what the test does when executed on the chosen architecture. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Iaddf51afe8daa3a84f052e17ea838d71bacf713b
-
This patch also clarifies the ownership of log files and how other user accounts may access the logs, along with some minor tweaks to the validation text. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Id742a8aeb0b373941ec0016de9f041379b5fac05
-
Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I77b1638b594ea1facb67047364a778c2ef39eb95
-
doc-build.py now uses requirements.txt to find pip requirments to install for the venv. Default is 'documentation/requirements.txt'. Added option --requirements to override the default requirements.txt. Issue-Id: SCM-4418 Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: Ieb4961df2f1b11e62bbdaeb5c7640bdd8cb76c52
-
This patch brings the following changes: - disables the 'root' account login if 'ewaol-security' is in DISTRO_FEATURES. - updates the documentation accordingly. Issue-Id: SCM-4416 Signed-off-by:
Kamil Dziezyk <kamil.dziezyk@arm.com> Change-Id: I6d0b9d1bab2f07f684d0e1ff6c2b22f39b276df2
-
This patch makes the common variables file easier to maintain by defining each component's version once, which can then used in multiple variables relating to that component. This is instead of the component version appearing within many variables, which therefore requires many updates if the version is bumped. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I70ae4e19707dc7c84ad43b55e4d6b9d2584c7464
-
This patch provides more precision about the minimal requirements for contributions, and clarifies that the automated QA checks can only validate a subset of those requirements. In addition, the suggested reporting of Gitlab issues is expanded from relating to bug-reports only, to also include security concerns and feature requests. The contributing page is also slightly restructured for more clarity. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I40b0d1daff14e1db0ff2be4aabe5bf2794c379cb
-
- 21 Apr, 2022 2 commits
-
-
The linux kernel config necessary for IP Virtual Server (IPVS) support, as used by K3s, has been included in the upstream meta-virtualization kubernetes kernel config fragment, and the kernel module dependencies are now installed as part of the upstream k3s recipe. Therefore, they are no longer required as part of meta-ewaol and are removed. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Ia9a47038afa2a9607d623238df9f3e2200022abd
-
Diego Sueiro authored
Also, remove the unnecessary settings already handled in meta/conf/distro/include/init-manager-systemd.inc Issue-Id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: Idaf43e04462cd762ca61b765c91b97d805d6e90a
-
- 19 Apr, 2022 7 commits
-
-
Richard Neill authored
Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I100def9863e89aaf8f65968c0841e0bdd5fe0254
-
Richard Neill authored
Following upstream changes to the grub recipe, the GRUB_BUILDIN bbappend is no longer required. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I4369cfc66d4151b6ba2867746c6f7b9313f726cd
-
Richard Neill authored
This patch changes the external links to reference: * Linux Yocto 5.15 * Yocto Project latest documentation And sets the appropriate dependent layer revisions for the EWAOL main branch. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I534391bf3de7b41fbf3d2ff9f781f6409ef045f9
-
Richard Neill authored
Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: I7f2b1b63ab61aae861e500eb5110e543ade48b4a
-
Richard Neill authored
This patch also adds a non-rendered license and copyright header to the top-level README, and applies the same rendering-exclusion to the headers of the README files provided within each layer sub-directory. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Id7e171b8f8e373bff5e23555c6e719942f83e636
-
Richard Neill authored
Also tweak the description in both the README and the rendered documentation to remove redundant wording, and fix a typo from the introduction. Issue-Id: SCM-4394 Signed-off-by:
Richard Neill <richard.neill@arm.com> Change-Id: Idbb9e79f3b9c29b72f4ee598b19178c1fdc99197
-
This patches adds: * Rename codeline-management.rst to codeline_management.rst to keep consistency * Style external links * Center all images * Fix link to documentation build instructions Issue-id: SCM-4394 Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: Iadfefce84f72fd22352790acc607e3512cda4424
-