Artifacts not being saved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testflinger-cli |
Fix Released
|
Medium
|
Paul Larson |
Bug Description
In some cases the artifacts are comming empty and in other cases are not available. I attach two examples of the last executions.
-------
First example: https:/
2017-02-04 16:40:15,657 frequent-shoes INFO: Running: cp ubuntu-
2017-02-04 16:40:15,659 frequent-shoes INFO: END testrun
Running command wget http://
--2017-02-04 16:40:22-- http://
Resolving testflinger.
Connecting to testflinger.
HTTP request sent, awaiting response... 200 OK
Length: 535 [application/
Saving to: 'artifacts.tgz'
0K 100% 66.7M=0s
2017-02-04 16:40:22 (66.7 MB/s) - 'artifacts.tgz' saved [535/535]
-------
Second example: https:/
OK (skipped=11)
2017-02-04 19:44:51,727 unkown-wealth INFO: Running: cp ubuntu-
2017-02-04 19:44:51,729 unkown-wealth INFO: END testrun
Running command wget http://
--2017-02-04 19:44:58-- http://
Resolving testflinger.
Connecting to testflinger.
HTTP request sent, awaiting response... 204 NO CONTENT
Length: 0 [text/html]
Saving to: 'artifacts.tgz'
0K 0.00 =0s
2017-02-04 19:44:58 (0.00 B/s) - 'artifacts.tgz' saved [0/0]
First, I can't seem to see that jenkins job. In fact I can't find any like it at all if I search either: https:/ /platform- qa-jenkins. ubuntu. com/search/ ?q=qa-tests- performance- desktop- amd-gfx- xenial
Can you also send me the job definition that you submitted?
If the artifacts directory exists on the test host system (not the target device, but the one that testflinger interacts with directly), then is should automatically tar up everything in that directory and save it.
One other side note, the way you are getting the artifacts is fine, but there's an easier way now! You can now use 'testflinger-cli artifacts <job_id>' and it will save it as artifacts.tgz. Or you can specify a different filename with --filename.