vm_based_simulator_check_build.md 1.52 KB
OAI CI Virtual-Machine-based Test Environment: checking the build result

Table of Contents

  1. Introduction
  2. Detailed Description

1. Introduction

Function is called:

  • when building in foreground
  • when waiting for the background build process is finished

2. Detailed Description

Source file concerned: ci-scripts/waitBuildOnVM.sh

2.1. check_on_vm_build function

  • Retrieve the build log files from the VM instance ubuntu@$VM_IP_ADDR:/home/ubuntu/tmp/cmake_targets/log/*.txt
  • and copy them locally in the workspace at $ARCHIVES_LOC
  • List all log files that match the pattern. Each should have
    • the Built target pattern (the library/executable SHALL link)
  • Evaluate the remaining space on VM disk
  • The number of patterned log files SHALL match $NB_PATTERN_FILES defined in ci-scripts/oai-ci-vm-tool script for the variant

Next step: how to test a function

You can also go back to the CI dev main page