1. 10 May, 2022 2 commits
  2. 06 May, 2022 5 commits
  3. 05 May, 2022 5 commits
  4. 04 May, 2022 2 commits
    • Kamil Dzieżyk's avatar
      ewaol-tests: Add password reset to tests which access Guest VM user account · 4e06f23a
      Kamil Dzieżyk authored and Richard Neill's avatar Richard Neill committed
      
      
      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 Dzieżyk's avatarKamil Dziezyk <kamil.dziezyk@arm.com>
      Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: Iaa7664e27812280238668fc0e7fea1c0fa018f34
      4e06f23a
    • Richard Neill's avatar
      doc: Clarify conditional layer dependencies on meta-arm · 63b72429
      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's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: I23e79bd98b34afa4901535d83f22ce2b129afcf9
      63b72429
  5. 03 May, 2022 1 commit
  6. 29 Apr, 2022 3 commits
  7. 27 Apr, 2022 2 commits
  8. 26 Apr, 2022 3 commits
    • Kamil Dzieżyk's avatar
      ewaol-[distro,tests],doc: Change umask to '0027' for ewaol-security · 2a1a6af1
      Kamil Dzieżyk authored and Diego Sueiro's avatar Diego Sueiro committed
      
      
      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 Dzieżyk's avatarKamil Dziezyk <kamil.dziezyk@arm.com>
      Change-Id: Ibe080bb64aa5edd8cafbe8ac9b940feff94d698e
      2a1a6af1
    • Richard Neill's avatar
      doc: Add documentation for User Accounts run-time integration tests · 3de00e71
      Richard Neill authored and Diego Sueiro's avatar Diego Sueiro committed
      
      
      Issue-Id: SCM-4415
      Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: I1f8ffce5ed04526a7a93577ab968af4531a2aa4a
      3de00e71
    • Kamil Dzieżyk's avatar
      ewaol-[tests,distro]: Add user-accounts-integration-tests · 07c7bc2a
      Kamil Dzieżyk authored and Diego Sueiro's avatar Diego Sueiro committed
      
      
      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 Dzieżyk's avatarKamil Dziezyk <kamil.dziezyk@arm.com>
      Change-Id: Ie9dd423bfd304630c4b66c7945c55011ecd61f02
      07c7bc2a
  9. 25 Apr, 2022 8 commits
  10. 21 Apr, 2022 2 commits
  11. 19 Apr, 2022 7 commits