On 6 March 2018 at 22:05, Kevin Hilman khilman@baylibre.com wrote:
Hello,
When attachments were deprecated with v1, that left a hole in how to easily get test artifacts (e.g. results files, image files, large logs, etc.) off the DUT and into LAVA results.
I'm aware of tools like Artifactorial[1] which seem to help getting files off the DUT and into a web service, but I'm not entirely sure how to add pointers/URLs for those artifacts into the LAVA output, such that they would be included in the notify callbacks.
Are there examples someplace for how to include links to artifacts pushed to Artifactorial in LAVA callbacks?
We're using: lava-test-reference "test-attachment" --result "pass" --reference "${return}" the ${return} contains URL to the uploaded file (after uploading to artifactorial). This shows up in the results as:
metadata: {case: test-attachment, definition: 1_vts-staging-test, reference: 'http://artifactorial.url/your/dir/file.name', result: pass}
I didn't try with callbacks so I don't know how results show up there. I assume same data is available so you would get the URL same way.
milosz
Thanks,
Kevin
[1] https://github.com/ivoire/Artifactorial _______________________________________________ Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users