make test: archive failed test data with build logs. (VPP-1011) 80/8680/1
authorDave Wallace <dwallacelf@gmail.com>
Sat, 30 Sep 2017 05:53:26 +0000 (01:53 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 5 Oct 2017 18:42:42 +0000 (18:42 +0000)
commite691345d7a888ad57848c86b86211192e07d5de7
tree93d35359fb6986111c6e1dd010ab4d039f67d57f
parent79bfbae54c8ecf4c87b42beee26b71e09e3eb494
make test: archive failed test data with build logs. (VPP-1011)

- Fix invocation of compress_failed.sh
- Fix compress_failed to copy compressed results
  files to $WORKSPACE/archives and return failure
  exit code.

Failed test case data will be copied to logs.fd.io
and found in the archives/<make test data dir>-FAILED
directory in the build log link in the
vpp-verify-master-ubuntu1604 jenkins job page.

For example:
https://logs.fd.io/production/vex-yul-rot-jenkins-1/vpp-verify-master-ubuntu1604/7353/archives/

Change-Id: Ife9a0737115e69c0a8441e3bb0133af1528d909b
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
(cherry picked from commit 25dc16715ee3fc0a600e2f58841173249bfae501)
test/Makefile
test/scripts/compress_failed.sh