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

feat: support a comma-separated list of test suites (#324) backport for 7.9.x #329

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

mdelapenya
Copy link
Contributor

Backports the following commits to 7.9.x:

* chore: rename variable to represent godog tags

* fix: double quote variable

* chore: rename jenkins parameter

* chore: use empty instead of all as value for the tags to be run

* chore: simplify variable value

* chore: rename variable

* feat: support passing a comma-separated list of test suites to be run

* chore: extract common code to a method

* chore: rename variable

* chore: trim test suite in the list

* chore: add logs

* fix: forgot "each" for the array

* chore: extract slack send to a function

* chore: format slack message

* chore: format message for empty test suites

* chore: rename variable to avoid conflicts with Jenkins params

* chore: simplify loop

Co-authored-by: Victor Martinez <[email protected]>

* chore: simplify variables inside loop

Co-authored-by: Victor Martinez <[email protected]>
# Conflicts:
#	.ci/scripts/functional-test.sh
@mdelapenya mdelapenya self-assigned this Sep 28, 2020
@elasticmachine
Copy link
Contributor

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #329 opened]

  • Start Time: 2020-09-28T08:52:54.992+0000

  • Duration: 20 min 16 sec

Test stats 🧪

Test Results
Failed 1
Passed 73
Skipped 6
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: 205.74123
    • Error Details: Step the policy will reflect the change in the Security App: No endpoint-security events where found for the agent in the cea78110-0169-11eb-a12e-1103ae5ad578 configuration

Steps errors

Expand to view the steps failures

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

    • Description:

    • Duration: 14 min 37 sec

    • Start Time: 2020-09-28T08:58:20.108+0000

    • log

  • Name: Error signal

    • Description:

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-28T09:11:57.309+0000

    • log

  • Name: General Build Step

    • Description: [2020-09-28T09:11:57.979Z] Archiving artifacts
      hudson.AbortException: script returned exit code 1

    • Duration: 0 min 0 sec

    • Start Time: 2020-09-28T09:11:57.967+0000

    • log

  • Name: Notifies GitHub of the status of a Pull Request

    • Description: hudson.AbortException: script returned exit code 1

    • Duration: 0 min 1 sec

    • Start Time: 2020-09-28T09:13:06.717+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-28T09:12:34.640Z] Executing: /lib/systemd/systemd-sysv-install enable elastic-agent
[2020-09-28T09:12:35.249Z] time="2020-09-28T09:12:34Z" 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-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:12:35.249Z] time="2020-09-28T09:12:35Z" level=info msg="Hostname retrieved from the Docker client" containerName=ingest-manager_debian-systemd_elastic-agent_1 hostname=38095dcca864
[2020-09-28T09:12:36.207Z] time="2020-09-28T09:12:35Z" level=debug msg="Fleet token created" apiKeyId=Kdf803QBlpeIuMnAMyn8 tokenId=1e59f8a4-311e-4bf6-8aaf-a67ad196a922
[2020-09-28T09:12:36.786Z] The Elastic Agent is currently in BETA and should not be used in production
[2020-09-28T09:12:37.055Z] 2020-09-28T09:12:36.867Z	DEBUG	kibana/client.go:170	Request method: POST, path: /api/ingest_manager/fleet/agents/enroll
[2020-09-28T09:12:38.007Z] Successfully enrolled the Agent.
[2020-09-28T09:12:38.285Z] time="2020-09-28T09:12:38Z" level=debug msg="Docker compose executed." cmd="[exec -T debian-systemd elastic-agent enroll http://kibana:5601 S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ== -f --insecure]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:12:39.243Z] time="2020-09-28T09:12:38Z" 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-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:12:40.206Z] time="2020-09-28T09:12:39Z" level=debug msg="The token was deleted" tokenID=1e59f8a4-311e-4bf6-8aaf-a67ad196a922
[2020-09-28T09:12:40.206Z] time="2020-09-28T09:12:39Z" level=debug msg="Token was revoked" token="S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ==" tokenID=1e59f8a4-311e-4bf6-8aaf-a67ad196a922
[2020-09-28T09:12:40.786Z] ingest-manager_package-registry_1 is up-to-date
[2020-09-28T09:12:40.786Z] Recreating ingest-manager_debian-systemd_elastic-agent_1 ... 
[2020-09-28T09:12:40.786Z] ingest-manager_elasticsearch_1 is up-to-date
[2020-09-28T09:12:41.052Z] ingest-manager_kibana_1 is up-to-date
[2020-09-28T09:12:42.988Z] 
Recreating ingest-manager_debian-systemd_elastic-agent_1 ... done
time="2020-09-28T09:12:42Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:12:43.589Z] 
[2020-09-28T09:12:43.589Z] WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[2020-09-28T09:12:43.589Z] 
[2020-09-28T09:12:43.589Z] Reading package lists...
[2020-09-28T09:12:43.589Z] Building dependency tree...
[2020-09-28T09:12:43.589Z] Reading state information...
[2020-09-28T09:12:43.859Z] The following NEW packages will be installed:
[2020-09-28T09:12:43.859Z]   elastic-agent
[2020-09-28T09:12:45.282Z] 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
[2020-09-28T09:12:45.282Z] Need to get 0 B/76.4 MB of archives.
[2020-09-28T09:12:45.282Z] After this operation, 88.9 MB of additional disk space will be used.
[2020-09-28T09:12:45.282Z] Get:1 /elastic-agent-7.9.1-amd64.deb elastic-agent amd64 7.9.1 [76.4 MB]
[2020-09-28T09:12:45.282Z] debconf: delaying package configuration, since apt-utils is not installed
[2020-09-28T09:12:45.282Z] Selecting previously unselected package elastic-agent.
[2020-09-28T09:12:45.282Z] (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-28T09:12:45.282Z] Preparing to unpack /elastic-agent-7.9.1-amd64.deb ...
[2020-09-28T09:12:45.282Z] Unpacking elastic-agent (7.9.1) ...
[2020-09-28T09:12:46.236Z] Setting up elastic-agent (7.9.1) ...
[2020-09-28T09:12:46.236Z] Processing triggers for systemd (232-25+deb9u12) ...
[2020-09-28T09:12:46.504Z] time="2020-09-28T09:12:46Z" 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-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:12:47.475Z] Synchronizing state of elastic-agent.service with SysV service script with /lib/systemd/systemd-sysv-install.
[2020-09-28T09:12:47.475Z] Executing: /lib/systemd/systemd-sysv-install enable elastic-agent
[2020-09-28T09:12:47.475Z] time="2020-09-28T09:12:47Z" 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-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:12:48.426Z] The Elastic Agent is currently in BETA and should not be used in production
[2020-09-28T09:12:48.691Z] 2020-09-28T09:12:48.650Z	DEBUG	kibana/client.go:170	Request method: POST, path: /api/ingest_manager/fleet/agents/enroll
[2020-09-28T09:12:48.956Z] 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-28T09:12:48.956Z] time="2020-09-28T09:12:48Z" level=error msg="Could not execute command in container" command="[elastic-agent enroll http://kibana:5601 S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ== -f --insecure]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.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 S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ== -f --insecure]. exit status 1" service=debian-systemd
[2020-09-28T09:12:48.956Z] time="2020-09-28T09:12:48Z" level=error msg="Could not enroll the agent with the token" command="[elastic-agent enroll http://kibana:5601 S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ== -f --insecure]" error="Could not run compose file: [/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.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 S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ== -f --insecure]. exit status 1" image=debian-systemd service=debian-systemd tag=stretch token="S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ=="
[2020-09-28T09:12:48.956Z] time="2020-09-28T09:12:48Z" 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-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.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 S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ== -f --insecure]. exit status 1" token="S2RmODAzUUJscGVJdU1uQU15bjg6YW4tM2I5b0ZTLWFINnhJb1MtbG1zQQ=="
[2020-09-28T09:12:49.924Z] {"log.level":"debug","@timestamp":"2020-09-28T09:12:48.650Z","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-28T09:12:49.924Z] time="2020-09-28T09:12:49Z" 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-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:12:49.924Z] time="2020-09-28T09:12:49Z" level=debug msg="Un-enrolling agent in Fleet" agentID=d488a111-7f27-495b-b6d7-eedb3c12afaa hostname=38095dcca864
[2020-09-28T09:12:51.322Z] time="2020-09-28T09:12:50Z" level=debug msg="Fleet agent was unenrolled" agentID=d488a111-7f27-495b-b6d7-eedb3c12afaa
[2020-09-28T09:12:51.912Z] Stopping ingest-manager_debian-systemd_debian-systemd_2 ... 
[2020-09-28T09:12:52.864Z] 
Stopping ingest-manager_debian-systemd_debian-systemd_2 ... done
Removing ingest-manager_debian-systemd_debian-systemd_2 ... 
[2020-09-28T09:12:52.864Z] 
Removing ingest-manager_debian-systemd_debian-systemd_2 ... done
Going to remove ingest-manager_debian-systemd_debian-systemd_2
[2020-09-28T09:12:52.864Z] time="2020-09-28T09:12:52Z" level=debug msg="Docker compose executed." cmd="[rm -fvs debian-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/profiles/ingest-manager/docker-compose.yml /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/services/debian-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:12:52.864Z] time="2020-09-28T09:12:52Z" level=debug msg="Service removed from compose" profile=ingest-manager service=debian-systemd
[2020-09-28T09:12:53.127Z] time="2020-09-28T09:12:52Z" level=debug msg="The token was deleted" tokenID=1e59f8a4-311e-4bf6-8aaf-a67ad196a922
[2020-09-28T09:12:53.127Z] time="2020-09-28T09:12:52Z" level=info msg="Integration deleted from the configuration" configurationID=b86eea90-016a-11eb-b315-b164e4ea9116 integration= packageConfigId= version=
[2020-09-28T09:12:59.763Z] time="2020-09-28T09:12:59Z" level=debug msg="The configuration was deleted" configurationID=b86eea90-016a-11eb-b315-b164e4ea9116
[2020-09-28T09:12:59.763Z] time="2020-09-28T09:12:59Z" level=debug msg="Destroying ingest-manager runtime dependencies"
[2020-09-28T09:12:59.763Z] Stopping ingest-manager_kibana_1           ... 
[2020-09-28T09:12:59.763Z] Stopping ingest-manager_elasticsearch_1    ... 
[2020-09-28T09:12:59.763Z] Stopping ingest-manager_package-registry_1 ... 
[2020-09-28T09:13:04.978Z] 
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-28T09:13:04.978Z] Removing ingest-manager_elasticsearch_1    ... 
[2020-09-28T09:13:04.978Z] Removing ingest-manager_package-registry_1 ... 
[2020-09-28T09:13:04.978Z] 
Removing ingest-manager_package-registry_1 ... done

Removing ingest-manager_elasticsearch_1    ... done

Removing ingest-manager_kibana_1           ... done
Removing network ingest-manager_default
[2020-09-28T09:13:05.245Z] time="2020-09-28T09:13:05Z" level=debug msg="Docker compose executed." cmd="[down]" composeFilePaths="[/var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329/.op/compose/profiles/ingest-manager/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.9.1-x86_64.rpm549775280 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.deb209956687 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-329/src/github.com/elastic/e2e-testing/e2e/_suites/ingest-manager/configurations/kibana.config.yml stackVersion:7.9.1]" profile=ingest-manager
[2020-09-28T09:13:05.245Z] time="2020-09-28T09:13:05Z" level=debug msg="Elastic Agent binary was removed." installer=centos-systemd path=/tmp/elastic-agent-7.9.1-x86_64.rpm549775280
[2020-09-28T09:13:05.245Z] time="2020-09-28T09:13:05Z" level=debug msg="Elastic Agent binary was removed." installer=debian-systemd path=/tmp/elastic-agent-7.9.1-amd64.deb209956687
[2020-09-28T09:13:05.245Z] <?xml version="1.0" encoding="UTF-8"?>
[2020-09-28T09:13:05.245Z] <testsuites name="main" tests="14" skipped="0" failures="0" errors="0" time="848.99510627">
[2020-09-28T09:13:05.245Z]   <testsuite name="Fleet Mode Agent" tests="14" skipped="0" failures="0" errors="0" time="643.19750696">
[2020-09-28T09:13:05.245Z]     <testcase name="Deploying the centos agent" status="passed" time="32.463429569"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Deploying the debian agent" status="passed" time="35.581315634"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Starting the centos agent starts backend processes" status="passed" time="20.107308625"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Starting the debian agent starts backend processes" status="passed" time="21.775343071"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Stopping the centos agent stops backend processes" status="passed" time="12.927148785"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Stopping the debian agent stops backend processes" status="passed" time="13.965353002"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Restarting the centos host with persistent agent restarts backend processes" status="passed" time="26.419410811"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Restarting the debian host with persistent agent restarts backend processes" status="passed" time="23.03445205"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Un-enrolling the centos agent" status="passed" time="14.389451327"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Un-enrolling the debian agent" status="passed" time="13.910164351"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Re-enrolling the centos agent" status="passed" time="35.163197071"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Re-enrolling the debian agent" status="passed" time="33.411734244"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Revoking the enrollment token for the centos agent" status="passed" time="31.318009561"></testcase>
[2020-09-28T09:13:05.245Z]     <testcase name="Revoking the enrollment token for the debian agent" status="passed" time="20.947995554"></testcase>
[2020-09-28T09:13:05.245Z]   </testsuite>
[2020-09-28T09:13:05.245Z] </testsuites>+ sed -e 's/^[ \t]*//; s#>.*failed$#>#g' outputs/TEST-ingest-manager-fleet_mode
[2020-09-28T09:13:05.245Z] + grep -E '^<.*>$'
[2020-09-28T09:13:05.245Z] + exit 0
[2020-09-28T09:13:05.390Z] Recording test results
[2020-09-28T09:13:05.986Z] Archiving artifacts
[2020-09-28T09:13:07.827Z] Stage "Release" skipped due to earlier failure(s)
[2020-09-28T09:13:09.795Z] Running on worker-395930 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-329
[2020-09-28T09:13:09.868Z] [INFO] getVaultSecret: Getting secrets
[2020-09-28T09:13:09.955Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-28T09:13:12.130Z] + chmod 755 generate-build-data.sh
[2020-09-28T09:13:12.130Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-329/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-329/runs/1 FAILURE 1215722
[2020-09-28T09:13:12.130Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-329/runs/1/steps/?limit=10000 -o steps-info.json
[2020-09-28T09:13:17.332Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-329/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-09-28T09:13:18.035Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-329/runs/1/log/ -o pipeline-log.txt

@mdelapenya
Copy link
Contributor Author

Same failure as in 7.9.x: merging

@mdelapenya mdelapenya merged commit 2c44ba2 into elastic:7.9.x Sep 28, 2020
@mdelapenya mdelapenya deleted the backport/7.9.x/pr-324 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.

2 participants