1. 25 May, 2022 1 commit
    • Richard Neill's avatar
      doc: Update the user guide use-case reproduce instructions · 26b2d08f
      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's avatarRichard Neill <richard.neill@arm.com>
      Change-Id: Ieec1018e2d1c9fe1864161fd48602f220ed71843
      26b2d08f
  2. 23 May, 2022 2 commits
  3. 20 May, 2022 3 commits
  4. 19 May, 2022 3 commits
    • Diego Sueiro's avatar
      doc: Use https:// instead git:// in layers URLs · 8fefdc7f
      Diego Sueiro authored
      
      
      Issue-Id: SCM-4397
      Signed-off-by: Diego Sueiro's avatarDiego Sueiro <diego.sueiro@arm.com>
      Change-Id: I3ca5fbf126e214a3b928a4e75d396df8a2431b57
      8fefdc7f
    • Diego Sueiro's avatar
      doc: Add note about K3s source code fetch timeout · 658f359e
      Diego Sueiro authored
      
      
      Issue-Id: SCM-4394
      Signed-off-by: Diego Sueiro's avatarDiego Sueiro <diego.sueiro@arm.com>
      Change-Id: I89153a1bf937b1a0eaa42e3aa17adf55f238fe46
      658f359e
    • Richard Neill's avatar
      ewaol-tests: If a test suite fails, print the log-file to stdout for debugging · 97220c8a
      Richard Neill authored and Kamil Dzieżyk's avatar Kamil Dzieżyk committed
      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...
      97220c8a
  5. 18 May, 2022 1 commit
  6. 16 May, 2022 2 commits
  7. 13 May, 2022 5 commits
  8. 11 May, 2022 2 commits
  9. 10 May, 2022 7 commits
  10. 06 May, 2022 5 commits
  11. 05 May, 2022 5 commits
  12. 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
  13. 03 May, 2022 1 commit
  14. 29 Apr, 2022 1 commit
    • Kamil Dzieżyk's avatar
      ewaol-tests: Move common test files to separate package · fb013939
      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 Dzieżyk's avatarKamil Dziezyk <kamil.dziezyk@arm.com>
      Change-Id: Ic2a251e7ba41e263ac7c5b0e705e7b910601df6a
      fb013939