Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

fix: generate a jUnit file per test suite #907

Merged
merged 2 commits into from
Mar 17, 2021

Conversation

mdelapenya
Copy link
Contributor

@mdelapenya mdelapenya commented Mar 17, 2021

What does this PR do?

It creates a Make goal per test suite, so that each of them is able to generate its own jUnit report file. It uses gotestsum's --junitfile flag to generate the test report, using test suite name as report file name. Therefore, we are removing the GOTESTSUM_JUNITFILE environment variable from the script used by Jenkins.

Because Jenkins will archive all files under outputs/TEST-unit-*.xml, there is no need to update the Jenkinsfile.

Why is it important?

The GOTESTSUM_JUNITFILE environment variable used in the CI script was the culprit of overriding the report file for multiple test suites, then the last unit test execution was the winner, overriding previous report files. With this PR, we are allowing the devveloper to have both formats: jUnit file and terminal output in the same execution of gotestsum.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have run the Unit tests for the CLI, and they are passing locally
  • I have run the Unit tests for the E2E, and they are passing locally
  • I have run the End-2-End tests for the suite I'm working on, and they are passing locally
  • I have noticed new Go dependencies (run make notice in the proper directory)

How to test this PR locally

Run as CI:

./.ci/scripts/build-test.sh

Run as Developer:

make -C cli test
make -C e2e unit-test

Related issues

Screenshots

The jUnit files are generated in the filesystem:
Screenshot 2021-03-17 at 10 24 19

The test report includes the tests:
Screenshot 2021-03-17 at 10 26 25

@mdelapenya mdelapenya self-assigned this Mar 17, 2021
@mdelapenya mdelapenya requested a review from a team March 17, 2021 07:21
@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 17, 2021

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Started by user Manuel de la Peña

  • Start Time: 2021-03-17T09:58:31.628+0000

  • Duration: 25 min 42 sec

  • Commit: 6df47ec

Test stats 🧪

Test Results
Failed 1
Passed 136
Skipped 0
Total 137

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests failures

Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Un-installing the installed centos agent – Fleet Mode Agent
    Expand to view the error details

     Step the agent is listed in Fleet as "offline": The Agent is not in the offline status yet 
    

  • no stacktrace

Steps errors 1

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian
  • Took 18 min 7 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian" "8.0.0-SNAPSHOT" "8.0.0-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-03-17T10:21:33.493Z] {"level":"debug","time":"2021-03-17T10:21:33Z","message":"gathering metrics"}
[2021-03-17T10:21:35.107Z] {"level":"debug","time":"2021-03-17T10:21:33Z","message":"gathering metrics"}
[2021-03-17T10:21:37.015Z] 
Stopping fleet_centos-systemd_elastic-agent_1 ... done
Removing fleet_centos-systemd_elastic-agent_1 ... 
[2021-03-17T10:21:37.015Z] 
Removing fleet_centos-systemd_elastic-agent_1 ... done
Going to remove fleet_centos-systemd_elastic-agent_1
[2021-03-17T10:21:37.015Z] time="2021-03-17T10:21:36Z" level=debug msg="Docker compose executed." cmd="[rm -fvs centos-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz485969725 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-03-17T10:21:37.015Z] time="2021-03-17T10:21:36Z" level=debug msg="Service removed from compose" profile=fleet service=centos-systemd
[2021-03-17T10:21:37.738Z] time="2021-03-17T10:21:37Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:21:37.738Z] time="2021-03-17T10:21:37Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m6.958440875s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=111 status=offline
[2021-03-17T10:21:37.953Z] time="2021-03-17T10:21:37Z" level=debug msg="The token was deleted" tokenID=81d784d6-0ce0-4e49-88a8-32b19a12aa3a
[2021-03-17T10:21:37.953Z] time="2021-03-17T10:21:37Z" level=info msg="Integration deleted from the configuration" integration=endpoint packageConfigId=2c213b85-5e19-4cc5-a8ad-8c25c16065f9 policyID=7ba19fd0-8708-11eb-8a90-e9007e158b0b version=0.18.0
[2021-03-17T10:21:37.953Z] time="2021-03-17T10:21:37Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-03-17T10:21:38.891Z] Stopping fleet_kibana_1           ... 
[2021-03-17T10:21:38.891Z] Stopping fleet_package-registry_1 ... 
[2021-03-17T10:21:38.891Z] Stopping fleet_elasticsearch_1    ... 
[2021-03-17T10:21:40.792Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-03-17T10:21:40.792Z] Removing fleet_package-registry_1 ... 
[2021-03-17T10:21:40.793Z] Removing fleet_elasticsearch_1    ... 
[2021-03-17T10:21:40.793Z] 
Removing fleet_package-registry_1 ... done

Removing fleet_kibana_1           ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-03-17T10:21:41.052Z] time="2021-03-17T10:21:40Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz485969725 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-03-17T10:21:41.052Z] time="2021-03-17T10:21:40Z" level=debug msg="Elastic Agent binary was removed." installer=centos-tar-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz485969725
[2021-03-17T10:21:41.145Z] [INFO] Stopping Filebeat Docker container
[2021-03-17T10:21:41.432Z] + docker exec -t ebd586e0a6373664457bcb95fb6f6a631823ebafa4b09df2bff8744ba2f84650 chmod -R ugo+rw /output
[2021-03-17T10:21:41.691Z] + docker stop --time 30 ebd586e0a6373664457bcb95fb6f6a631823ebafa4b09df2bff8744ba2f84650
[2021-03-17T10:21:41.950Z] ebd586e0a6373664457bcb95fb6f6a631823ebafa4b09df2bff8744ba2f84650
[2021-03-17T10:21:41.968Z] Archiving artifacts
[2021-03-17T10:21:42.526Z] Recording test results
[2021-03-17T10:21:42.812Z] [Checks API] No suitable checks publisher found.
[2021-03-17T10:21:42.834Z] Archiving artifacts
[2021-03-17T10:21:42.880Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/src/github.com/elastic/e2e-testing
[2021-03-17T10:21:43.015Z] time="2021-03-17T10:21:42Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:21:43.015Z] time="2021-03-17T10:21:42Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m12.44325755s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=112 status=offline
[2021-03-17T10:21:43.179Z] + go clean -modcache
[2021-03-17T10:21:43.582Z] {"level":"debug","time":"2021-03-17T10:21:43Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-03-17T10:21:47.775Z] time="2021-03-17T10:21:47Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:21:47.775Z] time="2021-03-17T10:21:47Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m17.024868233s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=113 status=offline
[2021-03-17T10:21:53.058Z] time="2021-03-17T10:21:52Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:21:53.058Z] time="2021-03-17T10:21:52Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m22.310435242s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=114 status=offline
[2021-03-17T10:21:58.338Z] time="2021-03-17T10:21:57Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:21:58.338Z] time="2021-03-17T10:21:57Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m27.291282803s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=115 status=offline
[2021-03-17T10:22:03.613Z] {"level":"debug","time":"2021-03-17T10:22:03Z","message":"gathering metrics"}
[2021-03-17T10:22:05.104Z] time="2021-03-17T10:22:04Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:22:05.104Z] time="2021-03-17T10:22:04Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m34.609341459s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=116 status=offline
[2021-03-17T10:22:11.796Z] time="2021-03-17T10:22:11Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:22:11.796Z] time="2021-03-17T10:22:11Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m41.118821432s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=117 status=offline
[2021-03-17T10:22:13.705Z] {"level":"debug","time":"2021-03-17T10:22:13Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-03-17T10:22:14.642Z] time="2021-03-17T10:22:14Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:22:14.642Z] time="2021-03-17T10:22:14Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m44.180008473s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=118 status=offline
[2021-03-17T10:22:21.223Z] time="2021-03-17T10:22:20Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:22:21.223Z] time="2021-03-17T10:22:20Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m50.616251879s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=119 status=offline
[2021-03-17T10:22:25.477Z] time="2021-03-17T10:22:25Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:22:25.477Z] time="2021-03-17T10:22:25Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m55.10685228s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=120 status=offline
[2021-03-17T10:22:28.769Z] time="2021-03-17T10:22:28Z" level=debug msg="Agent listed in Fleet with online status" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:22:28.769Z] time="2021-03-17T10:22:28Z" level=warning msg="The Agent is not in the offline status yet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 elapsedTime=9m58.281986521s hostname=c5d4ce06e8e8 isAgentInStatus=false retry=121 status=offline
[2021-03-17T10:22:29.338Z] cat: /opt/Elastic/Agent//data/elastic-agent-ab2b47/logs//elastic-agent-json.log: No such file or directory
[2021-03-17T10:22:29.338Z] time="2021-03-17T10:22:29Z" level=error msg="Could not execute command in container" command="[cat /opt/Elastic/Agent//data/elastic-agent-ab2b47/logs//elastic-agent-json.log]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/services/centos-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T centos-systemd cat /opt/Elastic/Agent//data/elastic-agent-ab2b47/logs//elastic-agent-json.log]. exit status 1" service=centos-systemd
[2021-03-17T10:22:29.338Z] time="2021-03-17T10:22:29Z" level=warning msg="Could not get agent logs in the container" containerName=c5d4ce06e8e8 error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/services/centos-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T centos-systemd cat /opt/Elastic/Agent//data/elastic-agent-ab2b47/logs//elastic-agent-json.log]. exit status 1"
[2021-03-17T10:22:29.338Z] time="2021-03-17T10:22:29Z" level=debug msg="Un-enrolling agent in Fleet" agentID=337f204c-3014-4d64-99e8-1fd701f28414 hostname=c5d4ce06e8e8
[2021-03-17T10:22:30.721Z] time="2021-03-17T10:22:30Z" level=debug msg="Fleet agent was unenrolled" agentID=337f204c-3014-4d64-99e8-1fd701f28414
[2021-03-17T10:22:31.660Z] Stopping fleet_centos-systemd_elastic-agent_1 ... 
[2021-03-17T10:22:33.567Z] {"level":"debug","time":"2021-03-17T10:22:33Z","message":"gathering metrics"}
[2021-03-17T10:22:41.881Z] 
Stopping fleet_centos-systemd_elastic-agent_1 ... done
Removing fleet_centos-systemd_elastic-agent_1 ... 
[2021-03-17T10:22:41.881Z] 
Removing fleet_centos-systemd_elastic-agent_1 ... done
Going to remove fleet_centos-systemd_elastic-agent_1
[2021-03-17T10:22:41.881Z] time="2021-03-17T10:22:41Z" level=debug msg="Docker compose executed." cmd="[rm -fvs centos-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz371564403 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-03-17T10:22:41.882Z] time="2021-03-17T10:22:41Z" level=debug msg="Service removed from compose" profile=fleet service=centos-systemd
[2021-03-17T10:22:42.841Z] time="2021-03-17T10:22:42Z" level=debug msg="The token was deleted" tokenID=8d6c5adc-b131-47a6-9075-63e55971cdf0
[2021-03-17T10:22:42.841Z] time="2021-03-17T10:22:42Z" level=info msg="Integration deleted from the configuration" integration= packageConfigId= policyID=7ad74af0-8708-11eb-8d54-3f712bec2edc version=
[2021-03-17T10:22:42.841Z] time="2021-03-17T10:22:42Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-03-17T10:22:43.461Z] Stopping fleet_kibana_1           ... 
[2021-03-17T10:22:43.461Z] Stopping fleet_package-registry_1 ... 
[2021-03-17T10:22:43.461Z] Stopping fleet_elasticsearch_1    ... 
[2021-03-17T10:22:43.461Z] {"level":"debug","time":"2021-03-17T10:22:43Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-03-17T10:22:44.813Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-03-17T10:22:44.813Z] Removing fleet_package-registry_1 ... 
[2021-03-17T10:22:44.813Z] Removing fleet_elasticsearch_1    ... 
[2021-03-17T10:22:44.813Z] 
Removing fleet_kibana_1           ... done

Removing fleet_package-registry_1 ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-03-17T10:22:45.073Z] time="2021-03-17T10:22:45Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz371564403 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-03-17T10:22:45.073Z] time="2021-03-17T10:22:45Z" level=debug msg="Elastic Agent binary was removed." installer=centos-tar-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz371564403
[2021-03-17T10:22:45.073Z] time="2021-03-17T10:22:45Z" level=debug msg="Elastic Agent binary was removed." installer=centos-systemd-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm335217718
[2021-03-17T10:22:45.073Z] Makefile:73: recipe for target 'functional-test' failed
[2021-03-17T10:22:45.073Z] make: *** [functional-test] Error 1
[2021-03-17T10:22:45.199Z] [INFO] Stopping Filebeat Docker container
[2021-03-17T10:22:45.487Z] + docker exec -t b9fda2fd417e3a3481078940ce53905234f47ef577767a926473cadfa467e008 chmod -R ugo+rw /output
[2021-03-17T10:22:45.746Z] + docker stop --time 30 b9fda2fd417e3a3481078940ce53905234f47ef577767a926473cadfa467e008
[2021-03-17T10:22:46.005Z] b9fda2fd417e3a3481078940ce53905234f47ef577767a926473cadfa467e008
[2021-03-17T10:22:46.026Z] Archiving artifacts
[2021-03-17T10:22:46.583Z] Recording test results
[2021-03-17T10:22:46.951Z] [Checks API] No suitable checks publisher found.
[2021-03-17T10:22:46.981Z] Archiving artifacts
[2021-03-17T10:22:47.033Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907/src/github.com/elastic/e2e-testing
[2021-03-17T10:22:47.341Z] + go clean -modcache
[2021-03-17T10:22:47.701Z] Failed in branch ubuntu-18.04_fleet_fleet_mode_agent
[2021-03-17T10:22:48.789Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-17T10:23:12.840Z] Running on worker-1244230 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-907
[2021-03-17T10:23:12.900Z] [INFO] getVaultSecret: Getting secrets
[2021-03-17T10:23:13.021Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-17T10:23:15.093Z] + chmod 755 generate-build-data.sh
[2021-03-17T10:23:15.093Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-907/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-907/runs/3 FAILURE 1482069
[2021-03-17T10:23:15.093Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-907/runs/3/steps/?limit=10000 -o steps-info.json
[2021-03-17T10:23:16.545Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-907/runs/3/tests/?status=FAILED -o tests-errors.json
[2021-03-17T10:23:17.245Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-907/runs/3/log/ -o pipeline-log.txt

@mdelapenya mdelapenya marked this pull request as ready for review March 17, 2021 08:41
@mdelapenya mdelapenya merged commit b94817c into elastic:master Mar 17, 2021
@mdelapenya mdelapenya deleted the 906-unit-test-junit branch March 17, 2021 10:39
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Mar 17, 2021
* fix: generate a jUnit file per test suite

* chore: move reports setup goal to a common Makefile
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Mar 17, 2021
* fix: generate a jUnit file per test suite

* chore: move reports setup goal to a common Makefile
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Mar 17, 2021
* fix: generate a jUnit file per test suite

* chore: move reports setup goal to a common Makefile
mdelapenya added a commit that referenced this pull request Mar 17, 2021
* fix: generate a jUnit file per test suite

* chore: move reports setup goal to a common Makefile
mdelapenya added a commit that referenced this pull request Mar 17, 2021
* fix: generate a jUnit file per test suite

* chore: move reports setup goal to a common Makefile
mdelapenya added a commit that referenced this pull request Mar 17, 2021
* fix: generate a jUnit file per test suite

* chore: move reports setup goal to a common Makefile
v1v added a commit to v1v/e2e-testing that referenced this pull request Mar 17, 2021
…hings

* upstream/master:
  fix: generate a jUnit file per test suite (elastic#907)
  chore: rename slack channel for Fleet's nightly build (elastic#899)
  chore: do not scan 6.8.x branch (elastic#879)
  chore: bump helm versions (elastic#874)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unit test report is not adding root package for e2e directory
3 participants