Всем привет. Пытаюсь получить отчет по автотестам с помощью дженкинса и плагина xml-reports. Когда запускаю автотесты на локальной машине, то отчет создается, но при запуске на дженкинс его нет. Отчет должен создаваться по .spec файлам. Вот что пишет в консоли:
Total time taken: 9.767s
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.800 s
[INFO] Finished at: 2018-06-28T09:35:21+03:00
[INFO] Final Memory: 28M/1109M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal com.thoughtworks.gauge.maven:gauge-maven-plugin:1.3.0:execute (default) on project mti-gauge-tests: Gauge Specs execution failed → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] MojoFailureException - Apache Maven - Apache Software Foundation
[JENKINS] Archiving /var/lib/jenkins/workspace/testng/pom.xml to ru.iteranet.mti/mti-gauge-tests/1.0-SNAPSHOT/mti-gauge-tests-1.0-SNAPSHOT.pom
/var/lib/jenkins/workspace/testng/pom.xml is not inside /var/lib/jenkins/workspace/testng/var/lib/jenkins/workspace/testng/; will archive in a separate pass
channel stopped
Finished: FAILURE
Я немного покопался и понял, что проблема в самом плагине от xml-report. Вот что пишет:
0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0m2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow
e[0mPlugin [Xml Report] with pid [9484] did not exit after 4.00 seconds. Forcefully killing it.
2018/06/28 12:21:51 Failed to read proto message: proto: integer overflow