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) backport for 7.9.x #316

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

mdelapenya
Copy link
Contributor

Backports the following commits to 7.9.x:

…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 mdelapenya self-assigned this Sep 22, 2020
@mdelapenya mdelapenya requested a review from a team September 22, 2020 14:50
@elasticmachine
Copy link
Contributor

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #316 opened]

  • Start Time: 2020-09-22T14:49:45.949+0000

  • Duration: 21 min 52 sec

Test stats 🧪

Test Results
Failed 1
Passed 67
Skipped 12
Total 80

Test errors

Expand to view the tests failures

  • Name: Initializing / End-To-End Tests / ingest-manager_agent_endpoint_integration / Changing an Agent policy is reflected in the Security App – Agent Endpoint Integration

    • Age: 1
    • Duration: 276.42258
    • Error Details: Step the policy will reflect the change in the Security App: No endpoint-security events where found for the agent in the a94e85a0-fce4-11ea-b197-adb193a2acd5 configuration

Steps errors

Expand to view the steps failures

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

    • Description:

    • Duration: 14 min 20 sec

    • Start Time: 2020-09-22T14:55:20.253+0000

    • log

  • Name: Error signal

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-22T15:09:40.255+0000

    • log

  • Name: General Build Step

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

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-22T15:09:40.818+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-22T15:09:55.309Z] Executing: /lib/systemd/systemd-sysv-install enable elastic-agent
[2020-09-22T15:09:55.578Z] time="2020-09-22T15:09:55Z" 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-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-amd64.deb debian_systemdContainerName:ingest-manager_debian-systemd_elastic-agent_1 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:09:55.847Z] time="2020-09-22T15:09:55Z" level=info msg="Hostname retrieved from the Docker client" containerName=ingest-manager_debian-systemd_elastic-agent_1 hostname=cdaad2f5b999
[2020-09-22T15:09:57.783Z] time="2020-09-22T15:09:57Z" level=debug msg="Fleet token created" apiKeyId=DY9dtnQBFtlHD67aNNmY tokenId=5f9f623f-cf8c-4118-83a6-5bd0f4bc1d29
[2020-09-22T15:09:58.367Z] The Elastic Agent is currently in BETA and should not be used in production
[2020-09-22T15:09:59.320Z] 2020-09-22T15:09:59.216Z	DEBUG	kibana/client.go:170	Request method: POST, path: /api/ingest_manager/fleet/agents/enroll
[2020-09-22T15:10:00.716Z] Successfully enrolled the Agent.
[2020-09-22T15:10:00.716Z] time="2020-09-22T15:10:00Z" level=debug msg="Docker compose executed." cmd="[exec -T debian-systemd elastic-agent enroll http://kibana:5601 RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw== -f --insecure]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-amd64.deb debian_systemdContainerName:ingest-manager_debian-systemd_elastic-agent_1 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:10:01.670Z] time="2020-09-22T15:10:01Z" level=debug msg="Docker compose executed." cmd="[exec -T debian-systemd systemctl start elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-amd64.deb debian_systemdContainerName:ingest-manager_debian-systemd_elastic-agent_1 debian_systemdTag:stretch kibanaConfigPath:/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:10:03.625Z] time="2020-09-22T15:10:03Z" level=debug msg="The token was deleted" tokenID=5f9f623f-cf8c-4118-83a6-5bd0f4bc1d29
[2020-09-22T15:10:03.625Z] time="2020-09-22T15:10:03Z" level=debug msg="Token was revoked" token="RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw==" tokenID=5f9f623f-cf8c-4118-83a6-5bd0f4bc1d29
[2020-09-22T15:10:04.601Z] ingest-manager_package-registry_1 is up-to-date
[2020-09-22T15:10:04.601Z] Recreating ingest-manager_debian-systemd_elastic-agent_1 ... 
[2020-09-22T15:10:04.601Z] ingest-manager_elasticsearch_1 is up-to-date
[2020-09-22T15:10:04.601Z] ingest-manager_kibana_1 is up-to-date
[2020-09-22T15:10:06.550Z] 
Recreating ingest-manager_debian-systemd_elastic-agent_1 ... done
time="2020-09-22T15:10:06Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-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-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:10:07.504Z] 
[2020-09-22T15:10:07.504Z] WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[2020-09-22T15:10:07.504Z] 
[2020-09-22T15:10:07.504Z] Reading package lists...
[2020-09-22T15:10:07.504Z] Building dependency tree...
[2020-09-22T15:10:07.504Z] Reading state information...
[2020-09-22T15:10:07.504Z] The following NEW packages will be installed:
[2020-09-22T15:10:07.504Z]   elastic-agent
[2020-09-22T15:10:08.923Z] 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
[2020-09-22T15:10:08.923Z] Need to get 0 B/76.4 MB of archives.
[2020-09-22T15:10:08.923Z] After this operation, 88.9 MB of additional disk space will be used.
[2020-09-22T15:10:08.923Z] Get:1 /elastic-agent-7.9.1-amd64.deb elastic-agent amd64 7.9.1 [76.4 MB]
[2020-09-22T15:10:09.191Z] debconf: delaying package configuration, since apt-utils is not installed
[2020-09-22T15:10:09.191Z] Selecting previously unselected package elastic-agent.
[2020-09-22T15:10:09.191Z] (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-22T15:10:09.192Z] Preparing to unpack /elastic-agent-7.9.1-amd64.deb ...
[2020-09-22T15:10:09.192Z] Unpacking elastic-agent (7.9.1) ...
[2020-09-22T15:10:10.145Z] Setting up elastic-agent (7.9.1) ...
[2020-09-22T15:10:10.411Z] Processing triggers for systemd (232-25+deb9u12) ...
[2020-09-22T15:10:10.674Z] time="2020-09-22T15:10:10Z" level=debug msg="Docker compose executed." cmd="[exec -T debian-systemd apt install /elastic-agent-7.9.1-amd64.deb -y]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-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-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:10:11.683Z] Synchronizing state of elastic-agent.service with SysV service script with /lib/systemd/systemd-sysv-install.
[2020-09-22T15:10:11.683Z] Executing: /lib/systemd/systemd-sysv-install enable elastic-agent
[2020-09-22T15:10:11.947Z] time="2020-09-22T15:10:11Z" 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-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-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-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:10:12.914Z] The Elastic Agent is currently in BETA and should not be used in production
[2020-09-22T15:10:13.177Z] 2020-09-22T15:10:13.072Z	DEBUG	kibana/client.go:170	Request method: POST, path: /api/ingest_manager/fleet/agents/enroll
[2020-09-22T15:10:13.177Z] 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="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } }
[2020-09-22T15:10:13.440Z] time="2020-09-22T15:10:13Z" level=error msg="Could not execute command in container" command="[elastic-agent enroll http://kibana:5601 RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw== -f --insecure]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.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 RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw== -f --insecure]. exit status 1" service=debian-systemd
[2020-09-22T15:10:13.441Z] time="2020-09-22T15:10:13Z" level=error msg="Could not enroll the agent with the token" command="[elastic-agent enroll http://kibana:5601 RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw== -f --insecure]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.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 RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw== -f --insecure]. exit status 1" image=debian-systemd service=debian-systemd tag=stretch token="RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw=="
[2020-09-22T15:10:13.441Z] time="2020-09-22T15:10:13Z" 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-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.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 RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw== -f --insecure]. exit status 1" token="RFk5ZHRuUUJGdGxIRDY3YU5ObVk6VEpUOWFWNmxSU1dIUWt5d0kwUS10Zw=="
[2020-09-22T15:10:14.400Z] {"log.level":"debug","@timestamp":"2020-09-22T15:10:13.072Z","log.origin":{"file.name":"kibana/client.go","file.line":170},"message":"Request method: POST, path: /api/ingest_manager/fleet/agents/enroll","ecs.version":"1.5.0"}
[2020-09-22T15:10:14.400Z] time="2020-09-22T15:10:14Z" level=debug msg="Docker compose executed." cmd="[exec -T debian-systemd cat /var/lib/elastic-agent/logs/elastic-agent-json.log]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-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-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:10:14.400Z] time="2020-09-22T15:10:14Z" level=debug msg="Un-enrolling agent in Fleet" agentID=2a1580d3-fc41-43ed-bc7e-4d1ed70f0247 hostname=cdaad2f5b999
[2020-09-22T15:10:15.802Z] time="2020-09-22T15:10:15Z" level=debug msg="Fleet agent was unenrolled" agentID=2a1580d3-fc41-43ed-bc7e-4d1ed70f0247
[2020-09-22T15:10:16.385Z] Stopping ingest-manager_debian-systemd_debian-systemd_2 ... 
[2020-09-22T15:10:17.608Z] 
Stopping ingest-manager_debian-systemd_debian-systemd_2 ... done
Removing ingest-manager_debian-systemd_debian-systemd_2 ... 
[2020-09-22T15:10:17.608Z] 
Removing ingest-manager_debian-systemd_debian-systemd_2 ... done
Going to remove ingest-manager_debian-systemd_debian-systemd_2
[2020-09-22T15:10:17.608Z] time="2020-09-22T15:10:17Z" level=debug msg="Docker compose executed." cmd="[rm -fvs debian-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-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-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:10:17.608Z] time="2020-09-22T15:10:17Z" level=debug msg="Service removed from compose" profile=ingest-manager service=debian-systemd
[2020-09-22T15:10:18.568Z] time="2020-09-22T15:10:18Z" level=debug msg="The token was deleted" tokenID=5f9f623f-cf8c-4118-83a6-5bd0f4bc1d29
[2020-09-22T15:10:18.832Z] time="2020-09-22T15:10:18Z" level=info msg="Integration deleted from the configuration" configurationID=a583a580-fce5-11ea-a129-9fbe6107cc5b integration= packageConfigId= version=
[2020-09-22T15:10:27.008Z] time="2020-09-22T15:10:25Z" level=debug msg="The configuration was deleted" configurationID=a583a580-fce5-11ea-a129-9fbe6107cc5b
[2020-09-22T15:10:27.009Z] time="2020-09-22T15:10:25Z" level=debug msg="Destroying ingest-manager runtime dependencies"
[2020-09-22T15:10:27.009Z] Stopping ingest-manager_kibana_1           ... 
[2020-09-22T15:10:27.009Z] Stopping ingest-manager_elasticsearch_1    ... 
[2020-09-22T15:10:27.009Z] Stopping ingest-manager_package-registry_1 ... 
[2020-09-22T15:10:32.728Z] 
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-22T15:10:32.728Z] Removing ingest-manager_elasticsearch_1    ... 
[2020-09-22T15:10:32.728Z] Removing ingest-manager_package-registry_1 ... 
[2020-09-22T15:10:32.728Z] 
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-22T15:10:32.728Z] time="2020-09-22T15:10:32Z" level=debug msg="Docker compose executed." cmd="[down]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316/.op/compose/profiles/ingest-manager/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm689254692 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-x86_64.rpm centos_systemdContainerName:ingest-manager_centos-systemd_centos-systemd_2 centos_systemdTag:latest debian_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-amd64.deb426063411 debian_systemdAgentBinaryTargetPath:/elastic-agent-7.9.1-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-316/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-22T15:10:32.728Z] time="2020-09-22T15:10:32Z" level=debug msg="Elastic Agent binary was removed." installer=centos-systemd path=/tmp/elastic-agent-7.9.1-x86_64.rpm689254692
[2020-09-22T15:10:32.991Z] time="2020-09-22T15:10:32Z" level=debug msg="Elastic Agent binary was removed." installer=debian-systemd path=/tmp/elastic-agent-7.9.1-amd64.deb426063411
[2020-09-22T15:10:32.992Z] <?xml version="1.0" encoding="UTF-8"?>
[2020-09-22T15:10:32.992Z] <testsuites name="main" tests="14" skipped="0" failures="0" errors="0" time="870.074198027">
[2020-09-22T15:10:32.992Z]   <testsuite name="Fleet Mode Agent" tests="14" skipped="0" failures="0" errors="0" time="657.214647472">
[2020-09-22T15:10:32.992Z]     <testcase name="Deploying the centos agent" status="passed" time="33.943677285"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Deploying the debian agent" status="passed" time="35.495354464"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Starting the centos agent starts backend processes" status="passed" time="21.716004302"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Starting the debian agent starts backend processes" status="passed" time="21.713001728"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Stopping the centos agent stops backend processes" status="passed" time="12.752814792"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Stopping the debian agent stops backend processes" status="passed" time="14.863018182"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Restarting the centos host with persistent agent restarts backend processes" status="passed" time="26.575895677"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Restarting the debian host with persistent agent restarts backend processes" status="passed" time="28.72383197"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Un-enrolling the centos agent" status="passed" time="14.618816496"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Un-enrolling the debian agent" status="passed" time="15.381748408"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Re-enrolling the centos agent" status="passed" time="38.314829484"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Re-enrolling the debian agent" status="passed" time="31.870638273"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Revoking the enrollment token for the centos agent" status="passed" time="32.330404599"></testcase>
[2020-09-22T15:10:32.992Z]     <testcase name="Revoking the enrollment token for the debian agent" status="passed" time="24.958949891"></testcase>
[2020-09-22T15:10:32.992Z]   </testsuite>
[2020-09-22T15:10:32.992Z] </testsuites>+ sed -e 's/^[ \t]*//; s#>.*failed$#>#g' outputs/TEST-ingest-manager-fleet_mode
[2020-09-22T15:10:32.992Z] + grep -E '^<.*>$'
[2020-09-22T15:10:32.992Z] + exit 0
[2020-09-22T15:10:33.209Z] Recording test results
[2020-09-22T15:10:33.873Z] Archiving artifacts
[2020-09-22T15:10:35.907Z] Stage "Release" skipped due to earlier failure(s)
[2020-09-22T15:10:37.216Z] Running on worker-1244230 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-316
[2020-09-22T15:10:37.315Z] [INFO] getVaultSecret: Getting secrets
[2020-09-22T15:10:37.415Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-22T15:10:39.732Z] + chmod 755 generate-build-data.sh
[2020-09-22T15:10:39.732Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-316/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-316/runs/1 FAILURE 1252315
[2020-09-22T15:10:39.732Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-316/runs/1/steps/?limit=10000 -o steps-info.json
[2020-09-22T15:10:43.961Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-316/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-09-22T15:10:44.687Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-316/runs/1/log/ -o pipeline-log.txt

@mdelapenya mdelapenya merged commit 4742402 into elastic:7.9.x Sep 22, 2020
@mdelapenya mdelapenya deleted the backport/7.9.x/pr-315 branch November 25, 2020 12:27
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.

3 participants