Inspecting log files#

Use canary log to view logs of test cases:

$ canary log -h
usage: canary log [-eh] [--raw] [testspec]

Show the session or a job's log file

positional arguments:
  testspec     Test name or TEST_ID. If not given, the session log will be shown

options:
  -e, --error  Display test stderr if it exists
  --raw        Show raw log file contents (applicable only to the session log file)
  -h, --help   Show this help message and exit.

Test case logs#

The output of each test is logged to <path>/canary-out.txt and can be viewed by

canary log ID

where ID is the test ID that is printed by canary status.