Skip to content

Reports and records

Every run writes its own record into your workspace. Nothing is uploaded anywhere: what a run produces stays on the machine you tested on.

One result per test case

A test case has one result, and it reads the same on Runs, in the live view, in the report, in a plan, for an assistant and in JUnit:

Test case Means
Passed at least one step ran, and nothing failed
Failed a step or its clean-up failed
Aborted nothing was judged at the step it stopped at: by the operator, by the bench, or not possible by hand. To be repeated
Blocked its preparation, or the preparation of its procedure, did not get through, so it never ran; or the bench or the operator said not now (see Blocked)
Not run it was left out, or it has no step. Nothing about it was tested

A run has one word too:

Run Means Exit code
Passed every test case passed 0
Failed at least one test case failed, whatever else happened 1
Needs investigation no test case failed, but a preparation or a clean-up around them did 1
Incomplete nothing failed, and something did not get through: an abort, a stop, a test case that did not run, a recording stopped at the disk limit, a connection lost, a window that went away. A run whose only test case has no step reads this too 3
Not run a run with no test case 2
Did not start it never got to a test case; see Runs that did not start 2

While a run goes it reads In progress; a folder with no results of its own reads No results. The numbers stand beside it in one line: 2 of 2 passed. When something did not run the line goes on: 1 of 3 passed · 50% of what ran · 1 not run, 1 aborted. An aborted test case ran, so it counts in of what ran.

The built-in step bench goes into safe state without a bench reads No bench at its row. It did nothing: it passes nothing, fails nothing and stands in no percentage. A test case made of only this step reads Passed, 1 of 1 passed.

Where to look

Plans › Runs in the navigation lists every run, newest first, with what it produced. Pick one and you see, on one page:

  • The head of the run — its result, when it started, how long it took, its suite and test plan; below that Unit, Serial, Tester, Place and Bench, and one line with how many test cases passed.
  • Test cases, below the head — a list of test cases with their steps, filterable down to the failures. Under a step, n values opens what went through the data points in it — see Who served a value. The name of a test case opens it in the editor, so you can see what it does without looking for it in the tree. A test case counts what actually ran: its own steps and the preparation and clean-up around it, each marked with which of the four it is. What runs around the whole procedure stands above the table under Around the procedure, because it belongs to no single test case — and anything that failed there is shown first, with the step and the reason. A run of two or more procedures lists the test cases by procedure instead: a heading per procedure with its count, Before this procedure above its test cases and After this procedure below them; a filter shows only the procedures with a match.
  • Technical details, at the foot — the run's id, the version of the binding, the server and its drivers with their clocks, the recording.
  • Open report, the main button at the top of the run — the run report; ← Summary goes back. In the ⋯ beside it, Values over time (live view) shows the run over time.

A run in the runs list

The run report

The run report is one sheet for the whole run, to read, print or hand on: Print or save as PDF stands at its top. It says the result first, in one word with the numbers beside it, then the device under test, version, serial numbers, tester, test place, the times and the bench. Its duration is written as on Runs: 4.2s, 126ms, 2m 3s. A device under test still called by its default name says so, and a run with no serial number says not recorded. What a reader must not miss about the bench stands below that as a note; the rest is under Technical details at the foot of the sheet.

Anything somebody noted while the run went on is collected under What was noted while this ran, with the procedure, test case and step it belongs to. Then come Data points, and the procedures with their test cases, each with a Report link to its own page. A failed test case says at its row what the check found; the raw message is under Error details.

The report of a procedure

This page reads in the order the run happened. ← Back to the run report stands at its top.

  • Before this procedure — what was done to set the bench up, as its own block at the top.
  • Each test case — its steps with their outcome, the preparation and the clean-up of that test case inside it, and everything the operator recorded hanging under the step it belongs to:
    • the question that was asked and the answer that was given
    • anything the operator wrote
    • a defect or proof report, folded, with a link to the full page
    • the readings, folded, with a line that says the outcome without opening them: Bench/Voltage/U_out 5 V — within limits
  • After this procedure — what was done to put the bench back.

A test case with variants appears once per row, each with its own outcome and its own parameters.

Data points in the report

Every report has a block Data points: in the run report for the whole run, under the heading of each procedure, and under each test case. It has a row per data point the run touched — ↓ read, ↑ set, ▷ request — and, for a record, a row per field:

Column What it says
Declared the type, unit and range the catalogue gave the point when the run started
Used how often the steps read, set or called it
Range the lowest and the highest value the run saw, drawn against what was declared; zoomed when the values sit in a small part of it
Limits what the checks judged against: the limits of a form step and of a block check — also a check on the highest, lowest or mean value of a series (hottest = MAX(temps), then CHECK_BETWEEN(hottest, 0, limit)). A value that was set names what it was set to, with its tolerance when it was checked with one: set 5, set 5 ± 0.1, set 5 ± 10%
Values the values, or how many, with the full path when printed

What needs a look is marked, and the head of the block counts it: Outside declared, Outside limits, Failed, not explained by the limits (a step failed although every value was inside its limits), Not reached, Aborted, Blocked, Not declared, Same value every time, and Today's definition where the catalogue no longer holds what the run used. From 20 points on, the block groups the points by folder, offers the filter Notable and shows the first rows with Show all.

A block step writes no verdict of its own: its checks are counted again here, against every value that step read from the point. When a block step reads a point, checks it, and then waits for it with WAIT_UNTIL or COLLECT, the values of the wait are counted against that check too, and the block can show Outside limits for a run that passed. The result of the run is right; only that count is off.

The block is computed once, when the run ends, and kept with the run (datapoint-stats.json); it is never recomputed from today's catalogue. Runs made before 2.4 have no such record: they show no block, and a test plan lists them as no data point record.

Who served a value

Every value in a report says who served it, by whose clock, and where it came from — so that an auditor sees what a device measured and what a person confirmed.

  • Readings carry the columns Served by, Time, Clock and Origin. A bench reads as device · HIL-02 / dut — the bench and the driver that answered —, a simulated bench as simulated · SIM-1 / dut, a person as operator with the clock entered. An assistant answering a dry run reads simulated (dry run): that is not a bench.
  • A set says the same, and for a set the bench ran as a command also the command, what was sent and the fixed values.
  • A request has its own block. Executed names the bench, the driver, the command and what the bench answered — device · HIL-02 / dut · SetSystemMode → DONE —, or the operator with the answer chosen. Sent is what went to the bench, after translation and scale. Fixed lists the values the binding set on its own, each with its kind.
  • A fixed value that affects the result is set apart: ramp_ms = 0 (affects result). It is a test condition no test case states. See Benches.
  • Disabled on the bench: where the run's bench had a point or its driver switched off, the line at the step says so with the reason — operator — disabled on SIM-1: sensor not wired. The top of the report, the run report and the run on Runs list everything that was disabled and say for each point what really happened in this run: the operator served it where somebody was asked — for a point a block or Python step set too, since 2.4 — or it was not used in this run. A run from before says nobody applied it where such a step set the point.
  • A state by its name: a point with named values shows the name and the number it stands for, pressed (1), also where the bench set it. The name is the one recorded with the run.
  • Aborted by the bench names the bench and the driver. When the bench answered failed, the time and the clock are the bench's; after a timeout they are the runner's, because the bench did not answer.

Runs shows the same under each step, folded: 3 values · SIM-1 / dut, operator. Open it for the table — data point, value, served by, clock, origin and time. Three things show without opening it, each as a small mark on the step: a fixed value that affects the result, a point that was disabled on the bench, and a step the bench aborted. The head of the run names its bench and whether its binding was taken into use; the version of the binding is under Technical details. A test case the bench aborted counts its steps as 3 passed · 1 aborted by the bench · 1 not reached: the aborted step was reached.

All of it is read from the run itself (series.json and run.json), never from today's binding: a report keeps saying what it said when the bench is rebound next month. The assistant's explain_run reads the same files and says the same, fixed values included.

A run from before version 2.3 knows the bench and, from the clock, the driver; the command and the fixed values were not recorded then and are not shown.

Files in the report

A run keeps what it knows of every file: name, file type, size and sha256.

  • Run report: when a run set a file — a firmware image, a parameter set, a calibration table — the sheet says Files set: the data point and parameter, the artifact and its full sha256, for a variants table one line per row. A file the bench's binding fixes stands there too.
  • Procedure page: a request shows the file under Params with name, size and full sha256, and what it handed back as Result, a link. A file that was read appears directly when it is a picture — smaller, a click opens it full size —, otherwise as a link to download. The files a run read or the operator uploaded are in the run folder under files/.
  • From a real bench: a request that hands back a file — a flash log, a report — brings it into the run folder under files/ as well, from a block step and from a generated step alike; its entry, the series and the report name it with name, size and sha256. Operate now shows it under Result, and keeps no content of it.
  • Runs: the step values show each file with its name, size and the first eight characters of its sha256 — a picture with a thumbnail —, and the row of a test case says which file it set: image = psu-fw-1.3.

Serial numbers and who gave them

A serial number identifies the unit, so the record says where it came from. Beside each number, in the run report and on the page of the procedure:

Badge Means
entered by the operator typed into the dialog at the bench
set by the assistant answered by an assistant, not by a person
given when the run was started handed over with the start of the run

The same number from two sources carries both. run.json holds the same under serialNumberSources: for each number, the list of where it came from.

Notes on values

A note written beside an answer or a value is part of the record, not a comment on the screen. It stays with the step on the page of the procedure, with the value it belongs to in series.json and step-results.json, and in the run report. That is where somebody says what a number stands for — "datasheet value, no instrument on the bench" — and without it the record says only that a value was entered.

Stopped runs

A run that was stopped still writes its report, with whatever got through before the stop: the steps that passed, the values typed so far, the notes. The step it was stopped at says stopped by the operator, and what came after is not run — not failed. See Running a test.

A procedure report: the preparation above, the test case with its steps, readings and serial number

Aborted by the bench

Every read, set and request goes through one place that decides who serves it — today the operator, in a dry run the simulation, later a bench. When that place does not answer ok, the step is aborted by the bench: nothing was judged, so it is not a failed check. The report says so at the step — Aborted by the bench, with the data point, what was asked and the answer —, the rest of the test case does not run, and no defect report is asked for. What the step read or set before the abort stays in the run, followed by the entry of the abort. The run list counts the test case as Aborted, apart from passed and failed, and a test plan counts it as not run: it is to be repeated.

A request is different in one way: what the one who carried it out reported — failed, refused — is a result the step judges. Only no answer at all, a timeout, aborts it.

A set from a block or a Python step says who set it as well. Without a bench the operator does, from one dialog for all the values of the step (see Values to set by hand), and every value carries the moment of Done, clock entered.

Blocked

A bench, or the operator, can say not now — with a kind and a sentence. That is blocked: nothing about the unit under test was judged, the step stops, and the test case stays open to be repeated. It counts like an abort by the bench.

Who Kinds
the bench — an answer its binding maps to blocked needs … first, busy, locked, not supported, out of range
the operator — Can't do it now… in the dialog needs … first, equipment missing, locked

The step says it in one sentence: Blocked by the bench SIM-1: Unit/SelfTest, needs Init first — Init has not run yet. In the run report the test case stands under the aborted ones as Not judged, with the same sentence; the procedure page shows the sentence at the step, without new columns. In Runs a value that is not ok carries a short note in its cell — blocked · bench · needs Init first, failed · device —; a value that is ok looks as it did. run.json lists every blocked step under blocked as an overview — procedure, test case, row, step, data point, who (bench or operator), the kind, what it needs first, the sentence and when —; what stands at the step stays the source.

Every access that is not ok has a fixed cause in series.json, and an aborted test case has one too: bench (no answer, timeout, blocked by the bench, or a file that did not arrive whole), device (the unit failed or refused it — or what the binding of the point says), value (the bench answered something that is none of the point's values), not bound, and operator (the operator ended it: blocked by the operator, or not possible by hand).

Not possible by hand

When the operator answers Can't do it now… with not possible by hand to the values a step sets, the step is not possible by hand: it needs a bench. The report says so at the step — Not possible by hand, who answered, and a table of the values it was to set. Nothing about the unit under test was judged, so it is not a failed check, and no defect report is asked for; the rest of the test case does not run. The run list counts the test case as Aborted and says how many of those were not possible by hand; a test plan and plan_progress count it as not run, not as failed. list_runs and explain_run name the cause apart from what a bench aborted.

A run in which test cases were aborted — not possible by hand, or by the bench — and nothing failed is Incomplete, in yellow, with its reason: 2 test cases need a bench, 1 aborted by the bench -- repeat it. It is no result about the unit under test, and no run that needs investigation; that stays for a run in which something failed.

In a step before the procedure it is the same, one level up: no test case ran, so the run did not start — Not possible by hand during the preparation ("Given …") — the step needs a bench — and it is not a run that needs investigation. The step says so in a sentence that names the procedure, not with a traceback. Before a test case it aborts that test case. In the clean-up after the procedure the test cases keep their results, and the clean-up step stands as not possible by hand.

A step that ends — a failed check, an abort — after it set values and before the operator was asked for them never applied them. They are no values: the report lists them at the step as Not applied, with the reason the step ended before the operator was asked, and no reading, chart, LAST or statistic sees them. The same holds when the run ends while the operator is being asked — a stop, the dialog's time running out —, with the reason the step ended while the operator was asked.

Not run because of the test case

A test case that names a value its point, switch or field does not know is not run at all; see Running tests. The run list shows it as Not run with the sentence that says what stands there and what exists, and it is counted as not run. The run report lists these test cases in a section of their own, Not run, above the failed and the passed procedures, with a tile that counts them; a procedure of which nothing ran is not among the passed ones. An assistant's explain_run lists them under Not run, each with its sentence.

In run.json they stand in notRun. Nothing is written about them into step-results.json: a test case that was not run has no result.

A safe state during a run

A run can go into the safe state in five ways. Each stands in the run with what every driver answered, also one that is switched off or has no safe state:

How Where it stands
Safe state before run, or --safe-state-before-run a box Before this run at the top of the report and on Runs. Without the box ticked the report says nothing. run.json: bench.safeStateBeforeRun
the built-in step bench goes into safe state at its row. Around the test case in hooks.json, in a test case in series.json. One failed driver fails the step
by hand on the Data points page see below
at Stop the run in series.json, in the live view of the running and of the saved run
at the end of the run run.json only: neither the live view nor a saved run shows it

Safe state on the Data points page is never locked — also not while a run is going on that bench. When somebody presses it then, the run knows: the report says so under the step that was running, with the moment, who it was and what each driver answered, and again at the top of the report and in the run report. The run on Runs shows the same, and so does explain_run.

It is shown, not judged: the outcome of the test case is what it was. Whether a run that was touched this way still counts is for whoever reads the report to decide — the report makes sure they know.

Runs that did not start

A run in which no test case ran, and which only the run itself ended — stopped during the preparation, or the window or the browser runtime went away —, is listed as Did not start, with the reason. It has no result: it is neither passed nor failed; start it again. A preparation step that fails on its own, a bench that could not be set up, is still a failed run.

Charts

Where a step read a value several times, the report draws its readings under that step.

Where the same data point is read against the same limits in more than one test case, one chart across them is drawn before the clean-up of the procedure. Readings taken against different limits are not drawn together — a line between those would claim a trend that does not exist.

Records in the report

A record is shown as a table of its fields, never in one line: the field — written as a block writes it, detail:severity, an entry of a list with its number, history[2]:delay —, what it held, and its unit. The unit is the one the run recorded beside the value, not today's catalogue.

  • Where a form step said what fields have to be, that stands beside each of them, and a field that was something else is marked.
  • A limit on one field is a line of its own under Point:field, with the field's unit — a number like any other reading.
  • A record that was set shows what was to be set, and what was reached where the step recorded that.
  • What a step collected over time — the occurrences of a message — is a table with a row per occurrence, the fields as columns, and for each its moment, who served it, the clock and where it came from.
  • A request shows a parameter that is a record or a list as its own table.

Runs shows the same fields under values at the step.

Times and what they are measured from

"312 ms" says nothing without from where. Every time a block step judges carries it:

  • A RESULT of a time shows under its name what it was measured from — after "Trigger" = step 4 "the operator presses the start key" (clock bench-1/io): the mark, the step that set it, and the clock.
  • A check that fails over a time names it too: 312 is outside 0 … 200 (measured: 312 ms after "Trigger" = step 4 …).
  • When the mark and the event were stamped by two different clocks, it says so; the time then carries whatever lies between them.
  • When the mark or the event has no bench clock — the operator's confirmation, the runner, a dry run — it says not measured on a bench clock. Such a time never passes silently as a measurement.
  • When nobody knew the state at the moment of the mark, it says state at the reference unknown — the first value after it is taken as the change.
  • A check written without a reference says measured from the start of this step — no reference, and the run log has the same line.

On a real bench a time is the driver's own µs. Beside its UTC, each value from a real bench keeps the moment on its driver's clock in µs (at_us) and which connection to the driver counted it (epoch — a new one each time the driver is connected again). A time between two moments of the same clock and epoch is taken from those µs: two samples half a millisecond apart are half a millisecond apart, though their UTC falls into one millisecond. Otherwise it is taken from UTC. A value a step set shows its device time in its clock cell, in the report and on Runs, in seconds with as many places as the clock counts — HIL-02/hil · device 4 294 963.296 s for a clock that counts milliseconds; run.json keeps how fine each driver counts (bench.drivers[].resolutionUs).

How a reference is set is in Time has a reference.

Machine-readable output

Beside the report, every run writes these files into its folder:

File What it holds
run.json the run itself: device under test and version, tester, test place, serial numbers and where each came from (serialNumberSources), suite and plan, whether it counts towards plans, start and end, and the bench it ran on with the version of its binding and what was disabled — null without a bench. An entry of disabled carries either only driver (a driver that was switched off) or point (a point that was not served; with driver as well when it was its driver that was switched off), each with its reason. notRun is there only when the run left test cases out because they name a value that does not exist: one entry per test case or variants row, with feature, scenario (the name the run's files give it), testCase, row (or null) and reason. On a real bench bench.recording says whether its recording came into the run folder (bench/) — and points, which data point lay on which key of it, with the scale of the binding —, and bench.drivers how fine each driver's clock counts (resolutionUs). dryRun: true is there only for a dry run. The file is version 3; version 3 differs from 2 only by dryRun, and a file of version 1 or 2 is read as before, as a run that was no dry run
measurements.json what the Read data points and Set data points steps recorded: every value with its unit, the limits or reference it was judged against, the outcome, source — operator or assistant —, and executor, who served it (operator, simulated, later device) with the status of the seam. A reading of a record point is type: "record": its value is an object with the fields, with record_type and units (the unit of each number field, by field path) as they were in this run, and in expected the fields it had to hold like that (expect_mode: "equals"). A limit on one field is a number reading of its own, under Point:field, with record_type. A list point is type: "list", with the entry it had to contain in expected and expect_mode: "contains". The version of the file stays 3
series.json every value that went through a data point, one line each, with its time stamp; clock says whose clock stamped it (a bench clock such as bench-1/io, or device, entered, runner, simulated), origin where the value came from (measured, operator, assistant, set, derived), and executor and status who served it — none for a set nobody applied, in a run from before 2.4; since then the operator sets what no bench serves. Every line has both, also every sample of a course; an access the seam did not answer ok stands with its status and no value (value: null) and never counts as a measured value. Since version 4 a line a bench served names it: bench and driver, and where the bench ran a command also command, sent (what went to the bench, after translation and scale, fixed values included) and fixed (each fixed value with name, value and kind). Without a bench these five are absent. A number of a point with named values also carries name, the name it stood for in this run. On a real bench a line also has at_us — and a request completed_us —, the moment in µs of its driver's clock, and epoch, which connection to the driver counted them; see Times and what they are measured from. Stamps XPressRT makes itself end in Z; an access that timed out carries the clock runner. Beside entries a run may have events — what is no value and still happened in it: every mark, the start of every step, the start and end of every test case, a safe state called by hand while the run was going, and write_not_applied for a value a step set and never asked for because it ended first, each with its moment, its clock and where in the run it was, in the order of their moments. A run without the list has no events; that is every run made before this
step-results.json what block and Python steps recorded with RESULT or result(), with limits where they gave some, and for a time measured_from — and the values typed into them, each with enteredBy; under outcomes, every step aborted by the bench, with its cause and what the seam said
hooks.json the preparation and clean-up steps, and how each one ended
datapoints.json the data point catalogue as it was when the run started, unchanged
datapoint-stats.json the block Data points, per procedure, test case and run: per point what was declared, how it was used, the range, the limits and the findings (see Data points in the report)
step-usage.json which data points each step uses, and the checks a block step makes on them, as the run's steps stood
<procedure>.json behave's own record of the procedure: test cases, steps, outcomes
<procedure>.html the report of the procedure, as described above
run-summary.html the run report
TESTS-*.xml test results in JUnit format, the one build servers and test dashboards read

A value in measurements.json or series.json keeps the unit and limits it was taken under. Renaming a data point or widening a limit later does not change what a finished run says.

A number a block step puts into a text — a result name like below {limit} W — is rounded the way the report rounds: 11.4, not 11.399999999999999.

The files are there so that you can count, aggregate and archive without anybody having to open a report page and read it off the screen.

Pictures beside an answer

Pictures the operator attached to an answer stand under the step. With a form step they are in the operator's note, next to what was asked and answered — small, and enlarged on a click — and the files are in the run's attachments folder. With a block or Python step they are attachments of the step, captioned with what was asked.

Defect and proof pages

A report the operator filed becomes a page of its own, linked from the step it belongs to and from the run report. It carries what was written, the pictures that were attached, and which step, test case and procedure it came from.

Downloading a run

Download run reports, in the ⋯ of the run, packs one run — reports, readings and raw output — into a single archive to hand on or to file.