Closed v1v closed 3 years ago
the below badges are clickable and redirect to their specific view in the CI or DOCS
#### Build stats * Build Cause: `Pull request #193 updated` * Start Time: 2021-06-15T13:28:55.157+0000 * Duration: 13 min 47 sec * Commit: 5dc58e395d139653e4a227aaa0f19a52a0932679 #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 7 | | Passed | 83 | | Skipped | 62 | | Total | 152 | #### Trends :test_tube: ![Image of Build Times](https://beats-ci.elastic.co/job/Beats/job/beats-tester-mbp/job/PR-193/buildTimeGraph/png) ![Image of Tests](https://beats-ci.elastic.co/job/Beats/job/beats-tester-mbp/job/PR-193/4/testReport/history/countGraph/png?start=0&end=25)
##### `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-centos8-64] Packaging tests APM Server: common : Download package with checksum (linux/darwin) url={{beat_url}}, dest={{workdir}}, validate_certs=False, timeout=60, checksum=sha512:{{beat_url}}.sha512 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-193/src/roles/common/tasks/download.yml:2`
``` The checksum for /root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm did not match 23eb31d4298080171107258cc1db872aea4f5083dd5888e2aecf268beacf3d1a4c411540b20ec5f0e642a71e42c83c618795fe74f8ca2362703e14857cac1913; it was 64dbec30ac678c80b796aecf7c2bb49cb97afeda663969f358af410eb69ebb5b575d63172e0926f000e5e097ed3979b9737e1ac8e43d1280e0bf09c7cb0c6d2a. ```
``` { "changed": true, "checksum_dest": null, "checksum_src": "2b98edfe0dc8b08934a513bca7e10c8d0bdaee23", "dest": "/root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm", "elapsed": 3, "msg": "The checksum for /root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm did not match 23eb31d4298080171107258cc1db872aea4f5083dd5888e2aecf268beacf3d1a4c411540b20ec5f0e642a71e42c83c618795fe74f8ca2362703e14857cac1913; it was 64dbec30ac678c80b796aecf7c2bb49cb97afeda663969f358af410eb69ebb5b575d63172e0926f000e5e097ed3979b9737e1ac8e43d1280e0bf09c7cb0c6d2a.", "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1623764102.32-280433259068580/tmpa4uif5ld", "url": "https://storage.googleapis.com/apm-ci-artifacts/jobs/snapshots/apm-server-8.0.0-SNAPSHOT-x86_64.rpm" } ```
``` The checksum for /root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm did not match 23eb31d4298080171107258cc1db872aea4f5083dd5888e2aecf268beacf3d1a4c411540b20ec5f0e642a71e42c83c618795fe74f8ca2362703e14857cac1913; it was 64dbec30ac678c80b796aecf7c2bb49cb97afeda663969f358af410eb69ebb5b575d63172e0926f000e5e097ed3979b9737e1ac8e43d1280e0bf09c7cb0c6d2a. ```
``` { "changed": true, "checksum_dest": null, "checksum_src": "2b98edfe0dc8b08934a513bca7e10c8d0bdaee23", "dest": "/root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm", "elapsed": 4, "msg": "The checksum for /root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm did not match 23eb31d4298080171107258cc1db872aea4f5083dd5888e2aecf268beacf3d1a4c411540b20ec5f0e642a71e42c83c618795fe74f8ca2362703e14857cac1913; it was 64dbec30ac678c80b796aecf7c2bb49cb97afeda663969f358af410eb69ebb5b575d63172e0926f000e5e097ed3979b9737e1ac8e43d1280e0bf09c7cb0c6d2a.", "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1623764102.24-38052876599583/tmpslo0Kj", "url": "https://storage.googleapis.com/apm-ci-artifacts/jobs/snapshots/apm-server-8.0.0-SNAPSHOT-x86_64.rpm" } ```
``` The checksum for /root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm did not match 23eb31d4298080171107258cc1db872aea4f5083dd5888e2aecf268beacf3d1a4c411540b20ec5f0e642a71e42c83c618795fe74f8ca2362703e14857cac1913; it was 64dbec30ac678c80b796aecf7c2bb49cb97afeda663969f358af410eb69ebb5b575d63172e0926f000e5e097ed3979b9737e1ac8e43d1280e0bf09c7cb0c6d2a. ```
``` { "changed": true, "checksum_dest": null, "checksum_src": "2b98edfe0dc8b08934a513bca7e10c8d0bdaee23", "dest": "/root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm", "elapsed": 7, "msg": "The checksum for /root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm did not match 23eb31d4298080171107258cc1db872aea4f5083dd5888e2aecf268beacf3d1a4c411540b20ec5f0e642a71e42c83c618795fe74f8ca2362703e14857cac1913; it was 64dbec30ac678c80b796aecf7c2bb49cb97afeda663969f358af410eb69ebb5b575d63172e0926f000e5e097ed3979b9737e1ac8e43d1280e0bf09c7cb0c6d2a.", "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1623764102.29-104827850587138/tmpbrn_eK", "url": "https://storage.googleapis.com/apm-ci-artifacts/jobs/snapshots/apm-server-8.0.0-SNAPSHOT-x86_64.rpm" } ```
``` The checksum for /tmp/apm-server-8.0.0-SNAPSHOT-linux-x86_64.tar.gz did not match 0f7ef4eadaa99931b18129e96cb4e08f17ad29da1d6536cd3201c2ad9aaa4cc9063ac023e2a8963a681570a39b4497c2e03a7a755f96230b1f0483f453ace515; it was c36a6fba4b318eff323c3a527f56077be677b6b19ef231b348966147d47d64c094c566cc604e651245c444618e72a1cc209a3780515b95d35f60ac73699faaaf. ```
``` { "changed": true, "checksum_dest": null, "checksum_src": "632c42f51401082308b4e9f2e70931a56bc0188d", "dest": "/tmp/apm-server-8.0.0-SNAPSHOT-linux-x86_64.tar.gz", "elapsed": 2, "msg": "The checksum for /tmp/apm-server-8.0.0-SNAPSHOT-linux-x86_64.tar.gz did not match 0f7ef4eadaa99931b18129e96cb4e08f17ad29da1d6536cd3201c2ad9aaa4cc9063ac023e2a8963a681570a39b4497c2e03a7a755f96230b1f0483f453ace515; it was c36a6fba4b318eff323c3a527f56077be677b6b19ef231b348966147d47d64c094c566cc604e651245c444618e72a1cc209a3780515b95d35f60ac73699faaaf.", "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1623764160.28-189918294340124/tmpSfMicL", "url": "https://storage.googleapis.com/apm-ci-artifacts/jobs/snapshots/apm-server-8.0.0-SNAPSHOT-linux-x86_64.tar.gz" } ```
``` The checksum for /root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm did not match 23eb31d4298080171107258cc1db872aea4f5083dd5888e2aecf268beacf3d1a4c411540b20ec5f0e642a71e42c83c618795fe74f8ca2362703e14857cac1913; it was 64dbec30ac678c80b796aecf7c2bb49cb97afeda663969f358af410eb69ebb5b575d63172e0926f000e5e097ed3979b9737e1ac8e43d1280e0bf09c7cb0c6d2a. ```
``` { "changed": true, "checksum_dest": null, "checksum_src": "2b98edfe0dc8b08934a513bca7e10c8d0bdaee23", "dest": "/root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm", "elapsed": 1, "msg": "The checksum for /root/apm-server-8.0.0-SNAPSHOT-x86_64.rpm did not match 23eb31d4298080171107258cc1db872aea4f5083dd5888e2aecf268beacf3d1a4c411540b20ec5f0e642a71e42c83c618795fe74f8ca2362703e14857cac1913; it was 64dbec30ac678c80b796aecf7c2bb49cb97afeda663969f358af410eb69ebb5b575d63172e0926f000e5e097ed3979b9737e1ac8e43d1280e0bf09c7cb0c6d2a.", "src": "/home/vagrant/.ansible/tmp/ansible-tmp-1623764321.11-230095515387926/tmpybJoVX", "url": "https://storage.googleapis.com/apm-ci-artifacts/jobs/snapshots/apm-server-8.0.0-SNAPSHOT-x86_64.rpm" } ```
``` Service 'apm-server (apm-server)' cannot be started due to the following error: Cannot start service apm-server on computer '.'. ```
``` { "can_pause_and_continue": false, "changed": false, "depended_by": [], "dependencies": [], "description": "", "desktop_interact": false, "display_name": "apm-server", "exists": true, "msg": "Service 'apm-server (apm-server)' cannot be started due to the following error: Cannot start service apm-server on computer '.'.", "name": "apm-server", "path": "\"C:\\Users\\Administrator\\apm-server-8.0.0-SNAPSHOT-windows-x86\\apm-server.exe\" --environment=windows_service -c \"C:\\Users\\Administrator\\apm-server-8.0.0-SNAPSHOT-windows-x86\\apm-server.yml\" --path.home \"C:\\Users\\Administrator\\apm-server-8.0.0-SNAPSHOT-windows-x86\" --path.data \"C:\\ProgramData\\apm-server\" --path.logs \"C:\\ProgramData\\apm-server\\logs\" -E logging.files.redirect_stderr=true", "start_mode": "delayed", "state": "stopped", "username": "LocalSystem" } ```
``` Path c:\ProgramData\apm-server\logs\output.json is not found ```
``` { "changed": false, "msg": "Path c:\\ProgramData\\apm-server\\logs\\output.json is not found" } ```
##### `make batch`
script returned exit code 2
``` [2021-06-15T13:41:12.071Z] changed: [tester-win12-64] [2021-06-15T13:41:12.071Z] [2021-06-15T13:41:12.071Z] TASK [test-beat : Replace configuration file with template (windows)] ********** [2021-06-15T13:41:15.784Z] changed: [tester-win12-64] [2021-06-15T13:41:15.784Z] [2021-06-15T13:41:15.784Z] TASK [test-beat : Start apm-server Windows service] **************************** [2021-06-15T13:41:17.237Z] fatal: [tester-win12-64]: FAILED! => {"can_pause_and_continue": false, "changed": false, "depended_by": [], "dependencies": [], "description": "", "desktop_interact": false, "display_name": "apm-server", "exists": true, "msg": "Service 'apm-server (apm-server)' cannot be started due to the following error: Cannot start service apm-server on computer '.'.", "name": "apm-server", "path": "\"C:\\Users\\Administrator\\apm-server-8.0.0-SNAPSHOT-windows-x86\\apm-server.exe\" --environment=windows_service -c \"C:\\Users\\Administrator\\apm-server-8.0.0-SNAPSHOT-windows-x86\\apm-server.yml\" --path.home \"C:\\Users\\Administrator\\apm-server-8.0.0-SNAPSHOT-windows-x86\" --path.data \"C:\\ProgramData\\apm-server\" --path.logs \"C:\\ProgramData\\apm-server\\logs\" -E logging.files.redirect_stderr=true", "start_mode": "delayed", "state": "stopped", "username": "LocalSystem"} [2021-06-15T13:41:17.237Z] [2021-06-15T13:41:17.237Z] TASK [test-beat : Save output to host] ***************************************** [2021-06-15T13:41:19.507Z] fatal: [tester-win12-64]: FAILED! => {"changed": false, "msg": "Path c:\\ProgramData\\apm-server\\logs\\output.json is not found"} [2021-06-15T13:41:19.507Z] [2021-06-15T13:41:19.507Z] PLAY RECAP ********************************************************************* [2021-06-15T13:41:19.507Z] tester-win12-64 : ok=18 changed=5 unreachable=0 failed=2 skipped=17 rescued=0 ignored=0 [2021-06-15T13:41:19.507Z] [2021-06-15T13:41:19.507Z] Makefile:51: recipe for target 'ansible-playbook-run-elastic' failed [2021-06-15T13:41:19.507Z] make[2]: *** [ansible-playbook-run-elastic] Error 2 [2021-06-15T13:41:19.507Z] make[2]: Leaving directory '/var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-193/src' [2021-06-15T13:41:19.507Z] Makefile:36: recipe for target 'run-group' failed [2021-06-15T13:41:19.507Z] make[1]: *** [run-group] Error 2 [2021-06-15T13:41:19.507Z] make[1]: Leaving directory '/var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-193/src' [2021-06-15T13:41:19.507Z] Makefile:29: recipe for target 'batch' failed [2021-06-15T13:41:19.507Z] make: *** [batch] Error 1 [2021-06-15T13:41:19.861Z] Post stage [2021-06-15T13:41:19.875Z] Running in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-193/src [2021-06-15T13:41:20.000Z] Recording test results [2021-06-15T13:41:20.296Z] [Checks API] No suitable checks publisher found. [2021-06-15T13:41:20.419Z] Archiving artifacts [2021-06-15T13:41:21.933Z] + make clean [2021-06-15T13:41:21.933Z] vagrant destroy -f [2021-06-15T13:41:28.325Z] ==> tester-ubuntu2004-64: VM not created. Moving on... [2021-06-15T13:41:28.325Z] ==> tester-debian10-64: VM not created. Moving on... [2021-06-15T13:41:28.325Z] ==> tester-win19-64: VM not created. Moving on... [2021-06-15T13:41:28.325Z] ==> tester-centos8-64: VM not created. Moving on... [2021-06-15T13:41:28.325Z] ==> tester-awslinux2: VM not created. Moving on... [2021-06-15T13:41:29.030Z] ==> tester-ubuntu1804-64: VM not created. Moving on... [2021-06-15T13:41:29.030Z] ==> tester-sles12-64: VM not created. Moving on... [2021-06-15T13:41:29.030Z] ==> tester-debian9-64: VM not created. Moving on... [2021-06-15T13:41:29.030Z] ==> tester-awslinux: VM not created. Moving on... [2021-06-15T13:41:29.732Z] ==> tester-win12-64: Forcing shutdown of VM... [2021-06-15T13:41:31.186Z] ==> tester-win12-64: Destroying VM and associated drives... [2021-06-15T13:41:32.642Z] ==> tester-centos7-64: VM not created. Moving on... [2021-06-15T13:41:32.642Z] ==> tester-debian8-64: VM not created. Moving on... [2021-06-15T13:41:32.642Z] Makefile:71: recipe for target 'clean' failed [2021-06-15T13:41:32.642Z] make: [clean] Error 2 (ignored) [2021-06-15T13:41:32.642Z] rm -r .vagrant [2021-06-15T13:41:33.719Z] Failed in branch Matrix - GROUPS = 'windows' [2021-06-15T13:41:34.343Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-193 [2021-06-15T13:41:34.572Z] [INFO] getVaultSecret: Getting secrets [2021-06-15T13:41:34.607Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-06-15T13:41:35.224Z] + chmod 755 generate-build-data.sh [2021-06-15T13:41:35.224Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4 FAILURE 759807 [2021-06-15T13:41:35.224Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/steps/?limit=10000 -o steps-info.json [2021-06-15T13:41:36.568Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/tests/?status=FAILED -o tests-errors.json [2021-06-15T13:41:36.818Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/log/ -o pipeline-log.txt [2021-06-15T13:41:36.818Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193// -o job-info.json [2021-06-15T13:41:37.069Z] jq: error (at job-info.json:0): Cannot index string with string "_links" [2021-06-15T13:41:37.069Z] jq: error (at job-info.json:0): Cannot index string with string "_class" [2021-06-15T13:41:37.069Z] jq: error (at job-info.json:0): Cannot index string with string "downloadable" [2021-06-15T13:41:37.069Z] jq: error (at job-info.json:0): Cannot index string with string "id" [2021-06-15T13:41:37.069Z] jq: error (at job-info.json:0): Cannot index string with string "url" [2021-06-15T13:41:37.069Z] jq: error (at job-info.json:21): Cannot index boolean with string "author" [2021-06-15T13:41:37.069Z] jq: error (at job-info.json:21): Cannot index boolean with string "author" [2021-06-15T13:41:37.069Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/changeSet/ -o changeSet-info.json [2021-06-15T13:41:37.319Z] jq: error (at changeSet-info.json:36): Cannot index array with string "_links" [2021-06-15T13:41:37.319Z] jq: error (at changeSet-info.json:36): Cannot index array with string "_class" [2021-06-15T13:41:37.319Z] jq: error (at changeSet-info.json:36): Cannot index array with string "actions" [2021-06-15T13:41:37.319Z] jq: error (at changeSet-info.json:36): Cannot index array with string "latestRun" [2021-06-15T13:41:37.319Z] jq: error (at changeSet-info.json:36): Cannot index array with string "permissions" [2021-06-15T13:41:37.319Z] jq: error (at changeSet-info.json:36): Cannot index array with string "parameters" [2021-06-15T13:41:37.319Z] INFO: fetchAndPrepareArtifactsInfo (see artifacts-info.json) [2021-06-15T13:41:37.319Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/artifacts/ -o artifacts-info.json [2021-06-15T13:41:37.319Z] INFO: fetchAndPrepareTestsInfo (see tests-info.json) [2021-06-15T13:41:37.319Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/tests/?limit=10000000 -o tests-info.json [2021-06-15T13:41:37.870Z] INFO: fetchAndPrepareTestSummaryReport (see tests-summary.json) [2021-06-15T13:41:37.870Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/blueTestSummary/ -o tests-summary.json [2021-06-15T13:41:37.870Z] INFO: fetchAndPrepareBuildInfo (see build-info.json) [2021-06-15T13:41:37.871Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/ -o build-info.json [2021-06-15T13:41:38.129Z] Archiving artifacts [2021-06-15T13:41:38.142Z] Timeout set to expire in 5 min 0 sec [2021-06-15T13:41:38.425Z] Archiving artifacts [2021-06-15T13:41:38.650Z] [WARN] notifyIfPossible: could not fetch the nextBuild. [2021-06-15T13:41:38.796Z] Copied 1 artifact from "Beats » Pipeline for beats-tester » PR-193" build number 3 [2021-06-15T13:41:39.800Z] Archiving artifacts [2021-06-15T13:41:39.834Z] Timeout set to expire in 5 min 0 sec [2021-06-15T13:41:39.898Z] [INFO] getVaultSecret: Getting secrets [2021-06-15T13:41:39.936Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-06-15T13:41:40.219Z] [INFO] sendDataToElasticsearch: sending data... [2021-06-15T13:41:41.033Z] [INFO] getVaultSecret: Getting secrets [2021-06-15T13:41:41.067Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-06-15T13:41:41.310Z] [INFO] sendDataToElasticsearch: sending data... [2021-06-15T13:41:41.618Z] [INFO] getVaultSecret: Getting secrets [2021-06-15T13:41:41.656Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-06-15T13:41:41.891Z] [INFO] sendDataToElasticsearch: sending data... [2021-06-15T13:41:42.062Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-193 [2021-06-15T13:41:42.088Z] [INFO] getVaultSecret: Getting secrets [2021-06-15T13:41:42.123Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-06-15T13:41:42.651Z] + chmod 755 generate-build-data.sh [2021-06-15T13:41:42.651Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4 FAILURE 767235 [2021-06-15T13:41:42.651Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/steps/?limit=10000 -o steps-info.json [2021-06-15T13:41:43.995Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-193/runs/4/tests/?status=FAILED -o tests-errors.json ```
Something is wrong with the apm-server
tests, unrelated to this PR. So I'll merge to remove the support for the EOL OS versions.
and I'll review what's going on with those tests
What
There were some OS versions that were already EOL, so let's tidy up the existing definitions and remove all those EOL versions.