1. 04 Jan, 2023 7 commits
  2. 03 Jan, 2023 1 commit
    • Ross Burton's avatar
      CI: fix builds with clang · 29b5d0df
      Ross Burton authored
      
      meta-clang has a langdale branch now, so unset the explicit refspec.
      
      linux-yocto needs to use non-clang objcopy, apply the change locally
      until the commit has been merged into meta-clang's langdale branch.
      
      perf needs some patches backported, until that has been done use gcc to
      build perf.
      Signed-off-by: default avatarRoss Burton <ross.burton@arm.com>
      29b5d0df
  3. 16 Dec, 2022 1 commit
  4. 15 Dec, 2022 1 commit
    • Jon Mason's avatar
      CI: define DEFAULT_TAG and CPU_REQUEST · c32c4043
      Jon Mason authored
      
      DEFAULT_TAG and CPU_REQUEST are being used to help with internal Gitlab
      pipeline setups know which type of machines to run on, but has no value
      outside of Arm Corp.  Gitlab CI allows for variables to be overridden
      by default.  So, we can give it a default value of NULL/empty and have
      everything work internally and externally by default.
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      c32c4043
  5. 14 Dec, 2022 5 commits
  6. 01 Dec, 2022 1 commit
    • Peter Hoyes's avatar
      arm/fvp: Backport shlex.join from Python 3.8 · 02b430d0
      Peter Hoyes authored
      721bec25
      
       "arm/fvp: Join cli arguments in verbose logging" changed the
      verbose output of FVPRunner to print the generated arguments using
      shlex.join instead of as a list. However, this function is only
      available in Python >= 3.8, whereas OE-core currently supports Python
      3.6.
      
      To fix this, backport its one-line implementation to a local function
      shlex_join and update the call site.
      
      Issue-Id: SCM-5314
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: I56cab9dddcd0a91272464be15742a6ee726dad41
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      02b430d0
  7. 28 Nov, 2022 1 commit
  8. 23 Nov, 2022 2 commits
  9. 21 Nov, 2022 10 commits
  10. 18 Nov, 2022 1 commit
  11. 17 Nov, 2022 2 commits
  12. 15 Nov, 2022 5 commits
    • Peter Hoyes's avatar
      runfvp: Fix verbose output when using --console · d5f132b1
      Peter Hoyes authored
      
      Start a new thread to simultaneously log the output of FVP and the
      telnet output if the --verbose flag is passed to runfvp. So that
      ConsolePortParser can read the same stream, use itertools.tee to
      temporarily duplicate the stream.
      
      Use a custom log format string with an escape character to ensure that
      log output always starts at the beginning of a line when interleaved
      with console output.
      
      Issue-Id: SCM-5314
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: I3e815d9d899425e0d2af619524f09f2eda87562c
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      d5f132b1
    • Peter Hoyes's avatar
      arm/oeqa: Log the FVP output in OEFVPSSHTarget · 79e78fb3
      Peter Hoyes authored
      
      It is often useful to inspect the FVP output after running the tests.
      
      Refactor OEFVPSerialTarget._create_logfile into
      OEFVPSSHTarget._create_log_filename, so that all FVP test controllers
      are able to create secondary log files.
      
      Pass a filehandle to the stdout argument of run_fvp so that the FVP
      output is asynchronously logged to a file. Change the port parsing logic
      to read back from the same log file instead of reading the stdout
      directly.
      
      Issue-Id: SCM-5314
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: I2ddb423fa0d896c13d3e96884858c680c4d34555
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      79e78fb3
    • Peter Hoyes's avatar
      arm/lib: Decouple console parsing from the FVPRunner · 2265bffd
      Peter Hoyes authored
      
      To simplify the FVPRunner class, create a separate ConsolePortParser
      class to handle reading an iterator of lines and parsing port numbers
      for FVP consoles. Use this in runfvp and the test targets.
      
      This refactor also allows the stream being monitored to be changed more
      easily, e.g. to a log file.
      
      Issue-Id: SCM-5314
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: Iade3a4c803fb355b04af7afa298d0a41fe707d94
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      2265bffd
    • Peter Hoyes's avatar
      arm/lib: Factor out asyncio in FVPRunner · 81e0cf09
      Peter Hoyes authored
      
      FVPRunner relies heavily on asyncio, despite there being very little
      concurrent work happening. Additionally, while the runfvp entry point
      starts an asyncio runner, it is not practical to have a single asyncio
      runtime during testimage, which is fully synchronous.
      
      Refactor to use subprocess.Popen and related functionality. The process
      object has a similar interface to its async equivalent.
      
      Cascade the API changes to runfvp and the test target classes.
      
      Issue-Id: SCM-5314
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: I3e7517e8bcbb3b93c41405d43dbd8bd24a9e7eb8
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      81e0cf09
    • Peter Hoyes's avatar
      arm/fvp: Join cli arguments in verbose logging · 721bec25
      Peter Hoyes authored
      
      It is sometimes helpful to copy and paste the cli arguments from the
      verbose runfvp output (e.g. to test with a development FVP build), but
      currently the arguments are printed as a Python list.  Use
      shlex.join(cli) to safely join the arguments together in form that can
      be reused directly in a shell.
      
      Issue-Id: SCM-5314
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: Ibb5c5ed45d02e241cb3858f68740fb9d4e89357a
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      721bec25
  13. 14 Nov, 2022 3 commits