Project

General

Profile

Bug #4205

ttcn3-remsim-test only shows results for bankd

Added by laforge 3 months ago. Updated 12 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
tests
Target version:
-
Start date:
09/13/2019
Due date:
% Done:

100%


Description

tests are executed for both RemsimServer and RemsimBankd, but only the latter results show up in jenkins test results analyzer

History

#1 Updated by laforge 12 days 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.

#2 Updated by laforge 12 days ago

  • % Done changed from 50 to 80

https://gerrit.osmocom.org/c/docker-playground/+/16398 should fix this in theory. waiting for test results.

#3 Updated by laforge 12 days 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.

#4 Updated by laforge 12 days ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

patch merged, test results now present in jenkins

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)