Frequently asked questions
Questions about integrating a project. For questions about the web app, see Tips & FAQ in the user guide.
My code isn't in Python. Can I use QA-Board?
Yes. Your run() function, in Python, calls your code like any other executable: a C++ binary, a MATLAB script, a
hardware simulator, or Python 2. See running an executable.
My company has no QA-Board server. Where do I send results?
Start one. To try QA-Board, the quickstart runs it on your computer with one Compose
file, and saves your results in /tmp/qaboard. For your team, you need a Linux host with Docker, and a folder that
it shares with the machines running qa, e.g. over NFS, or that they send files to: see
Starting a QA-Board server, or
Kubernetes. Until then, qa run and qa batch work without a server: results
stay in output/.
My runs show in the web app, but not their files
qa saved them in a folder the server doesn't read. Check that storage in qaboard.yaml, or $QA_STORAGE, is the
server's results folder, mounted at the same path on the machine that ran qa: /tmp/qaboard for the quickstart's
server. See Where is the data saved?
Do I need a CI?
No, but it's what gives every commit results to compare with. Without a CI, qa batch saves your runs and
shows them in the web app, in a batch named after you (see CI integration).
Can I use GitHub-hosted runners?
Yes, when your server accepts results over HTTP (experimental): set QA_STORAGE: upload
in the job, and qa sends the runs' files to the server. Otherwise qa writes results to a storage that the server
reads at the same path, like an NFS share, and the CI runner must mount it: use a self-hosted runner.
Where are results saved?
- Local runs are saved under the output/ directory of the project. They don't need the storage: when
qacan't create its folder, it warns and runs anyway. - Shared runs, by default, are saved under the
storageset in qaboard.yaml, like /mnt/qaboard. See where is the data.
To find a run's files, qa batch <batch> --list-output-dirs prints the output directory of each run (see
APIs), and in the web app, a run's card has Copy output directory.
My script doesn't find a run's files after it was done again
A shared or CI run that is done again is saved in a new folder, <run>_attempt2, _attempt3..., and the first
folder only keeps latest_attempt.txt. Ask qa for the folder (qa batch <batch> --list-output-dirs,
qa get --input <input> output_dir), or read latest_attempt.txt. See
When a run is done again.
The quality gate says "undecidable"
qa gate exits with 2 when the results to compare aren't all there: no reference results yet, runs still running,
or a batch it waits for hasn't run. The message says which: see
when the gate can't decide.
Can I export the data, or use another viewer?
Yes. All the outputs are files, under the storage: open them with any tool. To get them out:
- the commit page's Export gathers the files matching a pattern from the runs you filtered into one folder (see Exporting files);
- each run's card has Copy output directory;
- scripts get the runs, their metrics and their paths from the HTTP API.
Nothing prevents you from changing or deleting the files the CI created: the web app shows what's on the storage.
What is QA-Board written with?
- The
qaCLI, which wraps your code: Python. - The web app: React, with Blueprint for the design, OpenSeadragon for images, Plotly and three.js for plots and 3D.
- The server: Flask, with PostgreSQL to store metadata.