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

feat: support contributing a GH check to the upstream job that triggered the build #315

Merged
merged 2 commits into from
Sep 22, 2020

Conversation

mdelapenya
Copy link
Contributor

@mdelapenya mdelapenya commented Sep 22, 2020

What does this PR do?

It adds three input parameters to the Jenkinsfile, empty by default, which will be populated by upstream jobs (more specifically PRs triggering this job).

It will post the check after the job is finished, using the upstream parameters to configure the check.

Why is it important?

It will allow Beats PRs to be notified about the E2E tests, providing a fast feedback about the status of the original PR.

We'd like to warn about the risks of merging the upstream PR without checking the results: we must wait for all checks to be green/passing.

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 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)

Author's Checklist

  • Used same approach than in the APM ITs

Related issues

@mdelapenya mdelapenya self-assigned this Sep 22, 2020
@mdelapenya mdelapenya requested a review from a team September 22, 2020 10:49
@mdelapenya mdelapenya marked this pull request as ready for review September 22, 2020 10:49
.ci/Jenkinsfile Show resolved Hide resolved
.ci/Jenkinsfile Show resolved Hide resolved
@elasticmachine
Copy link
Contributor

elasticmachine commented Sep 22, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #315 updated]

  • Start Time: 2020-09-22T11:59:26.453+0000

  • Duration: 43 min 54 sec

Test stats 🧪

Test Results
Failed 8
Passed 60
Skipped 12
Total 80

Test errors

Expand to view the tests failures

  • Name: Initializing / End-To-End Tests / ingest-manager_agent_endpoint_integration / Adding the Endpoint Integration to an Agent makes the host to show in Security App – Agent Endpoint Integration

    • Age: 2
    • Duration: 272.85678
    • Error Details: Step the host name is shown in the Administration view in the Security App as "online": The host 71a13b4cc524 is not listed in the Administration view in the Security App
  • Name: Initializing / End-To-End Tests / ingest-manager_agent_endpoint_integration / Deploying an Endpoint makes policies to appear in the Security App – Agent Endpoint Integration

    • Age: 2
    • Duration: 269.04675
    • Error Details: Step the policy response will be shown in the Security App: The policy response is not listed as 'success' in the Administration view in the Security App yet
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Deploying the centos agent – Fleet Mode Agent

    • Age: 2
    • Duration: 269.48038
    • Error Details: Step system package dashboards are listed in Fleet: There are no datastreams yet
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Deploying the debian agent – Fleet Mode Agent

    • Age: 2
    • Duration: 275.96353
    • Error Details: Step system package dashboards are listed in Fleet: There are no datastreams yet
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Starting the centos agent starts backend processes – Fleet Mode Agent

    • Age: 2
    • Duration: 246.09953
    • Error Details: Step the "metricbeat" process is in the "started" state on the host
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Starting the debian agent starts backend processes – Fleet Mode Agent

    • Age: 2
    • Duration: 244.03943
    • Error Details: Step the "metricbeat" process is in the "started" state on the host
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Restarting the centos host with persistent agent restarts backend processes – Fleet Mode Agent

    • Age: 2
    • Duration: 259.275
    • Error Details: Step the "metricbeat" process is in the "started" state on the host
  • Name: Initializing / End-To-End Tests / ingest-manager_fleet_mode / Restarting the debian host with persistent agent restarts backend processes – Fleet Mode Agent

    • Age: 2
    • Duration: 251.10892
    • Error Details: Step the "metricbeat" process is in the "started" state on the host

Steps errors

Expand to view the steps failures

  • Name: Run functional tests for ingest-manager:agent_endpoint_integration

    • Description:

    • Duration: 18 min 41 sec

    • Start Time: 2020-09-22T12:04:57.130+0000

    • log

  • Name: Error signal

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-22T12:22:37.777+0000

    • log

  • Name: General Build Step

    • Description: [2020-09-22T12:22:38.376Z] Archiving artifacts
      hudson.AbortException: script returned exit code 1

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-22T12:22:38.369+0000

    • log

  • Name: Run functional tests for ingest-manager:fleet_mode

    • Description:

    • Duration: 37 min 20 sec

    • Start Time: 2020-09-22T12:04:57.324+0000

    • log

  • Name: Error signal

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-22T12:42:17.302+0000

    • log

  • Name: General Build Step

    • Description: [2020-09-22T12:42:17.813Z] Archiving artifacts
      hudson.AbortException: script returned exit code 1

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-22T12:42:17.807+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-22T12:41:55.474Z] The following NEW packages will be installed:
[2020-09-22T12:41:55.474Z]   elastic-agent
[2020-09-22T12:41:57.392Z] 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
[2020-09-22T12:41:57.392Z] Need to get 0 B/111 MB of archives.
[2020-09-22T12:41:57.392Z] After this operation, 134 MB of additional disk space will be used.
[2020-09-22T12:41:57.392Z] Get:1 /elastic-agent-8.0.0-SNAPSHOT-amd64.deb elastic-agent amd64 8.0.0 [111 MB]
[2020-09-22T12:41:57.392Z] debconf: delaying package configuration, since apt-utils is not installed
[2020-09-22T12:41:57.392Z] Selecting previously unselected package elastic-agent.
[2020-09-22T12:41:57.392Z] (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 7400 files and directories currently installed.)
[2020-09-22T12:41:57.392Z] Preparing to unpack .../elastic-agent-8.0.0-SNAPSHOT-amd64.deb ...
[2020-09-22T12:41:57.392Z] Unpacking elastic-agent (8.0.0) ...
[2020-09-22T12:41:58.337Z] Setting up elastic-agent (8.0.0) ...
[2020-09-22T12:41:58.337Z] Processing triggers for systemd (232-25+deb9u12) ...
[2020-09-22T12:41:58.600Z] time="2020-09-22T12:41:58Z" level=debug msg="Docker compose executed." cmd="[exec -T debian-systemd apt install /elastic-agent-8.0.0-SNAPSHOT-amd64.deb -y]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm603166790 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-amd64.deb163417837 debian_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-amd64.deb debian_systemdContainerName:ingest-manager_debian-systemd_debian-systemd_2 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=ingest-manager
[2020-09-22T12:41:59.173Z] Synchronizing state of elastic-agent.service with SysV service script with /lib/systemd/systemd-sysv-install.
[2020-09-22T12:41:59.173Z] Executing: /lib/systemd/systemd-sysv-install enable elastic-agent
[2020-09-22T12:41:59.434Z] time="2020-09-22T12:41:59Z" level=debug msg="Docker compose executed." cmd="[exec -T debian-systemd systemctl enable elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm603166790 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-amd64.deb163417837 debian_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-amd64.deb debian_systemdContainerName:ingest-manager_debian-systemd_debian-systemd_2 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=ingest-manager
[2020-09-22T12:42:00.014Z] The Elastic Agent is currently in BETA and should not be used in production
[2020-09-22T12:42:00.275Z] 2020-09-22T12:42:00.222Z	DEBUG	kibana/client.go:170	Request method: POST, path: /api/ingest_manager/fleet/agents/enroll
[2020-09-22T12:42:00.275Z] fail to enroll: fail to execute request to Kibana: Status code: 401, Kibana returned an error: Unauthorized, message: [security_exception] missing authentication credentials for REST request [/_security/_authenticate], with { header={ WWW-Authenticate={ 0="Basic realm=\"security\" charset=\"UTF-8\"" & 1="ApiKey" } } }
[2020-09-22T12:42:00.537Z] time="2020-09-22T12:42:00Z" level=error msg="Could not execute command in container" command="[elastic-agent enroll http://kibana:5601 YUlIVnRYUUJQM054UmNrTmxPVTA6VThNcHhWNXlRRi1hS3ZEc0dZaG5SZw== -f --insecure]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/services/debian-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T debian-systemd elastic-agent enroll http://kibana:5601 YUlIVnRYUUJQM054UmNrTmxPVTA6VThNcHhWNXlRRi1hS3ZEc0dZaG5SZw== -f --insecure]. exit status 1" service=debian-systemd
[2020-09-22T12:42:00.537Z] time="2020-09-22T12:42:00Z" level=error msg="Could not enroll the agent with the token" command="[elastic-agent enroll http://kibana:5601 YUlIVnRYUUJQM054UmNrTmxPVTA6VThNcHhWNXlRRi1hS3ZEc0dZaG5SZw== -f --insecure]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/services/debian-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T debian-systemd elastic-agent enroll http://kibana:5601 YUlIVnRYUUJQM054UmNrTmxPVTA6VThNcHhWNXlRRi1hS3ZEc0dZaG5SZw== -f --insecure]. exit status 1" image=debian-systemd service=debian-systemd tag=stretch token="YUlIVnRYUUJQM054UmNrTmxPVTA6VThNcHhWNXlRRi1hS3ZEc0dZaG5SZw=="
[2020-09-22T12:42:00.537Z] time="2020-09-22T12:42:00Z" level=debug msg="As expected, it's not possible to enroll an agent with a revoked token" err="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/services/debian-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T debian-systemd elastic-agent enroll http://kibana:5601 YUlIVnRYUUJQM054UmNrTmxPVTA6VThNcHhWNXlRRi1hS3ZEc0dZaG5SZw== -f --insecure]. exit status 1" token="YUlIVnRYUUJQM054UmNrTmxPVTA6VThNcHhWNXlRRi1hS3ZEc0dZaG5SZw=="
[2020-09-22T12:42:00.537Z] time="2020-09-22T12:42:00Z" level=warning msg="Could not create command in container" command="[cat /etc/elastic-agent/.elastic-agent.active.commit]" container=941e49a78d4b detach=false error="Error response from daemon: No such container: 941e49a78d4b" tty=false
[2020-09-22T12:42:00.537Z] time="2020-09-22T12:42:00Z" level=error msg="Could not get agent hash in the container" containerName=941e49a78d4b error="Error response from daemon: No such container: 941e49a78d4b"
[2020-09-22T12:42:00.537Z] time="2020-09-22T12:42:00Z" level=debug msg="Un-enrolling agent in Fleet" agentID=0e2475bb-f20b-42d2-9b2e-4694ce6642e4 hostname=941e49a78d4b
[2020-09-22T12:42:01.114Z] time="2020-09-22T12:42:01Z" level=debug msg="Fleet agent was unenrolled" agentID=0e2475bb-f20b-42d2-9b2e-4694ce6642e4
[2020-09-22T12:42:01.692Z] Stopping ingest-manager_debian-systemd_debian-systemd_2 ... 
[2020-09-22T12:42:02.918Z] 
Stopping ingest-manager_debian-systemd_debian-systemd_2 ... done
Removing ingest-manager_debian-systemd_debian-systemd_2 ... 
[2020-09-22T12:42:02.918Z] 
Removing ingest-manager_debian-systemd_debian-systemd_2 ... done
Going to remove ingest-manager_debian-systemd_debian-systemd_2
[2020-09-22T12:42:02.918Z] time="2020-09-22T12:42:02Z" level=debug msg="Docker compose executed." cmd="[rm -fvs debian-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm603166790 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-amd64.deb163417837 debian_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-amd64.deb debian_systemdContainerName:ingest-manager_debian-systemd_debian-systemd_2 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=ingest-manager
[2020-09-22T12:42:02.918Z] time="2020-09-22T12:42:02Z" level=debug msg="Service removed from compose" profile=ingest-manager service=debian-systemd
[2020-09-22T12:42:03.179Z] time="2020-09-22T12:42:03Z" level=debug msg="The token was deleted" tokenID=d36244e6-bb26-49f9-b8e2-970b02824b9b
[2020-09-22T12:42:03.179Z] time="2020-09-22T12:42:03Z" level=info msg="Integration deleted from the configuration" integration= packageConfigId= policyID=f3a33ce0-fcd0-11ea-ab96-bf303bd4fa06 version=
[2020-09-22T12:42:09.795Z] time="2020-09-22T12:42:09Z" level=debug msg="The policy was deleted" policyID=f3a33ce0-fcd0-11ea-ab96-bf303bd4fa06
[2020-09-22T12:42:09.795Z] time="2020-09-22T12:42:09Z" level=debug msg="Destroying ingest-manager runtime dependencies"
[2020-09-22T12:42:09.795Z] Stopping ingest-manager_kibana_1           ... 
[2020-09-22T12:42:09.795Z] Stopping ingest-manager_package-registry_1 ... 
[2020-09-22T12:42:09.795Z] Stopping ingest-manager_elasticsearch_1    ... 
[2020-09-22T12:42:16.965Z] 
Stopping ingest-manager_kibana_1           ... done

Stopping ingest-manager_package-registry_1 ... done

Stopping ingest-manager_elasticsearch_1    ... done
Removing ingest-manager_kibana_1           ... 
[2020-09-22T12:42:16.965Z] Removing ingest-manager_package-registry_1 ... 
[2020-09-22T12:42:16.965Z] Removing ingest-manager_elasticsearch_1    ... 
[2020-09-22T12:42:16.965Z] 
Removing ingest-manager_package-registry_1 ... done

Removing ingest-manager_kibana_1           ... done

Removing ingest-manager_elasticsearch_1    ... done
Removing network ingest-manager_default
[2020-09-22T12:42:17.227Z] time="2020-09-22T12:42:17Z" level=debug msg="Docker compose executed." cmd="[down]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/.op/compose/profiles/ingest-manager/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm603166790 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-amd64.deb163417837 debian_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-amd64.deb debian_systemdContainerName:ingest-manager_debian-systemd_debian-systemd_2 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:8.0.0-SNAPSHOT]" profile=ingest-manager
[2020-09-22T12:42:17.227Z] time="2020-09-22T12:42:17Z" level=debug msg="Elastic Agent binary was removed." installer=centos-systemd path=/tmp/elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm603166790
[2020-09-22T12:42:17.227Z] time="2020-09-22T12:42:17Z" level=debug msg="Elastic Agent binary was removed." installer=debian-systemd path=/tmp/elastic-agent-8.0.0-SNAPSHOT-amd64.deb163417837
[2020-09-22T12:42:17.227Z] <?xml version="1.0" encoding="UTF-8"?>
[2020-09-22T12:42:17.227Z] <testsuites name="main" tests="14" skipped="0" failures="6" errors="0" time="2205.151311488">
[2020-09-22T12:42:17.227Z]   <testsuite name="Fleet Mode Agent" tests="14" skipped="0" failures="6" errors="0" time="1990.061923413">
[2020-09-22T12:42:17.227Z]     <testcase name="Deploying the centos agent" status="failed" time="269.480391773">
[2020-09-22T12:42:17.227Z]       <failure message="Step system package dashboards are listed in Fleet: There are no datastreams yet"></failure>
[2020-09-22T12:42:17.227Z]     </testcase>
[2020-09-22T12:42:17.227Z]     <testcase name="Deploying the debian agent" status="failed" time="275.963534399">
[2020-09-22T12:42:17.227Z]       <failure message="Step system package dashboards are listed in Fleet: There are no datastreams yet"></failure>
[2020-09-22T12:42:17.227Z]     </testcase>
[2020-09-22T12:42:17.227Z]     <testcase name="Starting the centos agent starts backend processes" status="failed" time="246.099526233">
[2020-09-22T12:42:17.227Z]       <failure message="Step the &#34;filebeat&#34; process is in the &#34;started&#34; state on the host: filebeat process is not running in the container yet"></failure>
[2020-09-22T12:42:17.227Z]       <error message="Step the &#34;metricbeat&#34; process is in the &#34;started&#34; state on the host" type="skipped"></error>
[2020-09-22T12:42:17.227Z]     </testcase>
[2020-09-22T12:42:17.227Z]     <testcase name="Starting the debian agent starts backend processes" status="failed" time="244.039426041">
[2020-09-22T12:42:17.227Z]       <failure message="Step the &#34;filebeat&#34; process is in the &#34;started&#34; state on the host: filebeat process is not running in the container yet"></failure>
[2020-09-22T12:42:17.228Z]       <error message="Step the &#34;metricbeat&#34; process is in the &#34;started&#34; state on the host" type="skipped"></error>
[2020-09-22T12:42:17.228Z]     </testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Stopping the centos agent stops backend processes" status="passed" time="12.016272259"></testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Stopping the debian agent stops backend processes" status="passed" time="11.943786249"></testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Restarting the centos host with persistent agent restarts backend processes" status="failed" time="259.275008878">
[2020-09-22T12:42:17.228Z]       <failure message="Step the &#34;filebeat&#34; process is in the &#34;started&#34; state on the host: filebeat process is not running in the container yet"></failure>
[2020-09-22T12:42:17.228Z]       <error message="Step the &#34;metricbeat&#34; process is in the &#34;started&#34; state on the host" type="skipped"></error>
[2020-09-22T12:42:17.228Z]     </testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Restarting the debian host with persistent agent restarts backend processes" status="failed" time="251.108919981">
[2020-09-22T12:42:17.228Z]       <failure message="Step the &#34;filebeat&#34; process is in the &#34;started&#34; state on the host: filebeat process is not running in the container yet"></failure>
[2020-09-22T12:42:17.228Z]       <error message="Step the &#34;metricbeat&#34; process is in the &#34;started&#34; state on the host" type="skipped"></error>
[2020-09-22T12:42:17.228Z]     </testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Un-enrolling the centos agent" status="passed" time="12.619646147"></testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Un-enrolling the debian agent" status="passed" time="13.735763794"></testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Re-enrolling the centos agent" status="passed" time="33.097151486"></testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Re-enrolling the debian agent" status="passed" time="31.302596757"></testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Revoking the enrollment token for the centos agent" status="passed" time="29.88440715"></testcase>
[2020-09-22T12:42:17.228Z]     <testcase name="Revoking the enrollment token for the debian agent" status="passed" time="19.394114798"></testcase>
[2020-09-22T12:42:17.228Z]   </testsuite>
[2020-09-22T12:42:17.228Z] </testsuites>make: *** [functional-test] Error 1
[2020-09-22T12:42:17.228Z] Makefile:45: recipe for target 'functional-test' failed
[2020-09-22T12:42:17.228Z] + echo 'ERROR: functional-test failed'
[2020-09-22T12:42:17.228Z] ERROR: functional-test failed
[2020-09-22T12:42:17.228Z] + exit_status=1
[2020-09-22T12:42:17.228Z] + sed -e 's/^[ \t]*//; s#>.*failed$#>#g' outputs/TEST-ingest-manager-fleet_mode
[2020-09-22T12:42:17.228Z] + grep -E '^<.*>$'
[2020-09-22T12:42:17.228Z] + exit 1
[2020-09-22T12:42:17.318Z] Recording test results
[2020-09-22T12:42:17.813Z] Archiving artifacts
[2020-09-22T12:42:17.934Z] Failed in branch ingest-manager_fleet_mode
[2020-09-22T12:42:19.005Z] Stage "Release" skipped due to earlier failure(s)
[2020-09-22T12:42:19.396Z] Running on worker-1244230 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-315
[2020-09-22T12:42:19.462Z] [INFO] getVaultSecret: Getting secrets
[2020-09-22T12:42:19.562Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-22T12:42:21.607Z] + chmod 755 generate-build-data.sh
[2020-09-22T12:42:21.607Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-315/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-315/runs/2 FAILURE 2573696
[2020-09-22T12:42:21.607Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-315/runs/2/steps/?limit=10000 -o steps-info.json
[2020-09-22T12:42:28.148Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-315/runs/2/tests/?status=FAILED -o tests-errors.json
[2020-09-22T12:42:28.874Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-315/runs/2/log/ -o pipeline-log.txt

@mdelapenya mdelapenya requested a review from v1v September 22, 2020 12:55
@mdelapenya mdelapenya merged commit 69c57f0 into elastic:master Sep 22, 2020
@mdelapenya mdelapenya deleted the 314-gh-contexts branch September 22, 2020 14:46
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Sep 22, 2020
…red the build (elastic#315)

* feat: support contributing a GH check to the upstream job that triggered the build

* fix: add credentials
# Conflicts:
#	.ci/Jenkinsfile
mdelapenya added a commit that referenced this pull request Sep 22, 2020
…red the build (#315) (#316)

* feat: support contributing a GH check to the upstream job that triggered the build

* fix: add credentials
# Conflicts:
#	.ci/Jenkinsfile
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] SUpport contributing GH checks to the upstream PRs
3 participants