Skip to content

Latest commit

 

History

History
56 lines (48 loc) · 2.07 KB

evaluate.md

File metadata and controls

56 lines (48 loc) · 2.07 KB

YAP Evaluation Package

Download and Prerequisites

git clone https://github.com/ytzemih/yap.git

Make sure you have Docker (if you are using Ubuntu 20.04 have a look at this installation guide) and docker-compose installed. You will need about 2.5GiB of disk space to store the built Docker image.

Building the Docker Image

... with make (perhaps sudo make)

Run

  • make to build the container and execute the example workflow.
  • make shell to build and get a shell inside the container.
  • make build to build the container.
  • make clean to remove previous workflow artefacts.

... manually (without make)

Run

$ docker-compose up

to build and run the container.

If you just want to build the container, run:

$ docker-compose build

Workflow Artefacts

Obtain the workflow result from the files/yap-examples/hrc2/ directory. You can find the test log of the final workflow stage in the 06-test subfolder:

  • cat files/yap-examples/hrc2/06-tests/workcell_failures.log should output 0, meaning that zero errors have been found
  • cat files/yap-examples/hrc2/06-tests/workcell_results-h-0.log should only contain PASS verdicts.

Possible Issues with Docker

  • On Ubuntu, you might need to make sure that the Docker daemon is active with sudo systemctl start docker.
  • If, for any reason, your Docker setup is unable to access the Ubuntu package repositories, please, try to restart sudo service docker restart to make sure DNS is properly working.
  • If the workflow exhibits errors, e.g. killed processes, please make sure the docker container has at least 4GB of memory available. If you are using Docker Desktop on macOS or Windows you may need to increase the system resources in the Preferences page.