Files
Alban Crequy efe92216f1 functional tests: update string from systemd
Since systemd commit f2341e ("core,network: major per-object logging rework"),
systemd does not log "main process exited" but "Main process exited" (notice
the uppercase).

Improve the test to accept both strings.
2015-05-12 10:25:13 +02:00
..
2015-05-03 14:29:15 -07:00
2015-04-20 12:05:07 +02:00
2015-05-03 14:29:15 -07:00

rkt functional tests

This directory contains a set of functional tests for rkt. The tests use gexpect to spawn various rkt run commands and look for expected output.

Semaphore

The tests run on the Semaphore CI system through the rktbot user, which is part of the coreos org on Semaphore. This user is authorized against the corresponding rktbot GitHub account. The credentials for rktbot are currently managed by CoreOS.

Build settings

Use the following build commands:

./tests/install-deps.sh         # Setup
./tests/run-build.sh none       # Thread 1
./tests/run-build.sh coreos     # Thread 2
./tests/run-build.sh src v215   # Thread 1
./tests/run-build.sh src v219   # Thread 2
./tests/run-build.sh src master # Thread 1
git clean -ffdx                 # Post Thread

Platform

Select Ubuntu 14.04 LTS v1503 (beta with Docker support).

Environment variables

RKT_STAGE1_USR_FROM=src

CircleCI

Ideally the tests will also run on CircleCI, but there is currently a known issue because access to the cgroup filesystems is restricted - more info here

Assuming this can be resolved, the following configuration can be used:

test:
  override:
    - ./tests/install-deps.sh
    - RKT_STAGE1_USR_FROM=src ./build
    - ./test