Monthly Archives: November 2015

RANDOMTEST_VERSION: a method to save version infotrmation with stacktrace

When you have your Distributed Continuous Integration tooling enabled you get reports from various sources. Some of them might be not up to most recent software version. It’s important to distinguish crash from old version of a software from a regression in recent version.

Thus randomtest has been extended with version reporting ability. Each stacktrace has associated version list that emitted that stacktrace. So you can easily distinguish between old version and a regression in new one.

Implementation is easy (C/C++ application there): you set:

export RANDOMTEST_VERSION=`cat /path/to/version/file`

And every event would be reported with version information and aggregated reports would show that information.