Bug #4205
closedttcn3-remsim-test only shows results for bankd
100%
Description
tests are executed for both RemsimServer and RemsimBankd, but only the latter results show up in jenkins test results analyzer
Updated by laforge over 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
phew, this took quite some time to track down.
The default filename pattern of the JUnit log plugins of TTCN-3 is "junit-xml-%u.xml" where %u represents the PID of the process. This is typically a good idea as the PID doesn't wrap that quickly. However, if you're executing a new docker container for every test suite run, then chances are high that two subsequent runs of the test suite
container might end up with the same PID and hence the smae filename.
This results in the output file being overwritten, which is what's responsible for many missing RemsimServer_Tests results on the jenkins.osmocom.org test results analyzer.
Updated by laforge over 4 years ago
- % Done changed from 50 to 80
https://gerrit.osmocom.org/c/docker-playground/+/16398 should fix this in theory. waiting for test results.
Updated by laforge over 4 years ago
- % Done changed from 80 to 90
patch has worked locally, I'm now getting "personalized" filenames like
/tmp/tmp.zIcpUOGesf/remsim-tester/junit-xml-server-21.log /tmp/tmp.zIcpUOGesf/remsim-tester/junit-xml-bankd-21.log
which don't clash despite both having been generated by PID21 in the respective container.
Updated by laforge over 4 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
patch merged, test results now present in jenkins