Project

General

Profile

Feature #2205

osmo-gsm-tester should tell jenkins where to find test result files

Added by neels over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
osmo-gsm-tester
Target version:
-
Start date:
04/27/2017
Due date:
% Done:

0%

Spec Reference:

Description

To find the results xml file and possibly to archive test results, jenkins should be told which run directory is being set up by the test run it invokes. For a manual test run of osmo-gsm-tester.py, it makes sense to output the log on stdout/stderr. For a jenkins invocation, that doesn't make all that much sense.

Add a command line option '-q' / '--quiet' to osmo-gsm-tester.py that causes it to be quiet on stdout, except for printing each run dir that is created to run tests.
In contrib/jenkins.sh, invoke osmo-gsm-tester.py -q and collect stdout in a shell variable. This can then be used to retrieve results like the log or junit xml files.


Related issues

Related to OsmoGSMTester - Feature #2206: osmo-gsm-tester should write to a log file, not only stdoutClosed04/27/2017

Blocks OsmoGSMTester - Feature #2201: osmo-gsm-tester: compose jenkins result XMLClosed04/26/2017

History

#1 Updated by neels over 2 years ago

  • Blocks Feature #2201: osmo-gsm-tester: compose jenkins result XML added

#2 Updated by neels over 2 years ago

  • Related to Feature #2206: osmo-gsm-tester should write to a log file, not only stdout added

#3 Updated by neels over 2 years ago

  • Priority changed from High to Urgent

#4 Updated by laforge over 2 years ago

  • Assignee deleted (Osmocom CNI Developers)

#5 Updated by laforge over 2 years ago

  • Assignee set to osmo-gsm-tester

#6 Updated by neels over 2 years ago

  • Status changed from New to Resolved

In the new setup on the public jenkins, where a build slave actually runs on the main unit, this is solved by keeping the trial entirely within the jenkins workspace.

If we're going to implement a daemon to schedule test runs concurrently, this is still an open question, which we will come back to once we need to.

#7 Updated by laforge over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)