elastic / beats-tester

E2E tests for the Beats
18 stars 22 forks source link

Use force=True for cache-control #205

Closed cachedout closed 3 years ago

cachedout commented 3 years ago

The previous attempt to fix this issue was not successful.

We're going to try again but this time set the cache-control header using the Ansible option.

elasticmachine commented 3 years ago

:broken_heart: Tests Failed

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

Expand to view the summary

#### Build stats * Start Time: 2021-08-18T08:13:02.773+0000 * Duration: 25 min 12 sec * Commit: 6561943b37c14781efb9b6b38ac941443aa2c9ca #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 5 | | Passed | 2051 | | Skipped | 1855 | | Total | 3911 | #### Trends :test_tube: ![Image of Build Times](https://beats-ci.elastic.co/job/Beats/job/beats-tester-mbp/job/PR-205/buildTimeGraph/png) ![Image of Tests](https://beats-ci.elastic.co/job/Beats/job/beats-tester-mbp/job/PR-205/1/testReport/history/countGraph/png?start=0&end=25)

Test errors 5

Expand to view the tests failures

##### `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-awslinux] Packaging tests Heartbeat: test-linux-binary : Wait for the output file to be created, should contain HTTP pinging search_regex="scheme":"http", path={{workdir}}/output/heartbeat, timeout=5 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205/src/roles/test-linux-binary/tasks/main.yml:74`

    Expand to view the error details

    ``` Timeout when waiting for search string "scheme":"http" in /tmp/output/heartbeat ```

    Expand to view the stacktrace

    ``` { "changed": false, "elapsed": 5, "msg": "Timeout when waiting for search string \"scheme\":\"http\" in /tmp/output/heartbeat" } ```

##### `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-awslinux2] Packaging tests Heartbeat: test-linux-binary : Wait for the output file to be created, should contain HTTP pinging search_regex="scheme":"http", path={{workdir}}/output/heartbeat, timeout=5 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205/src/roles/test-linux-binary/tasks/main.yml:74`
    Expand to view the error details

    ``` Timeout when waiting for search string "scheme":"http" in /tmp/output/heartbeat ```

    Expand to view the stacktrace

    ``` { "changed": false, "elapsed": 5, "msg": "Timeout when waiting for search string \"scheme\":\"http\" in /tmp/output/heartbeat" } ```

##### `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-centos7-64] Packaging tests Heartbeat: test-linux-binary : Wait for the output file to be created, should contain HTTP pinging search_regex="scheme":"http", path={{workdir}}/output/heartbeat, timeout=5 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205/src/roles/test-linux-binary/tasks/main.yml:74`
    Expand to view the error details

    ``` Timeout when waiting for search string "scheme":"http" in /tmp/output/heartbeat ```

    Expand to view the stacktrace

    ``` { "changed": false, "elapsed": 5, "msg": "Timeout when waiting for search string \"scheme\":\"http\" in /tmp/output/heartbeat" } ```

##### `Test Hosts / Matrix - GROUPS = 'centos' / Test / [tester-centos8-64] Packaging tests Heartbeat: test-linux-binary : Wait for the output file to be created, should contain HTTP pinging search_regex="scheme":"http", path={{workdir}}/output/heartbeat, timeout=5 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205/src/roles/test-linux-binary/tasks/main.yml:74`
    Expand to view the error details

    ``` Timeout when waiting for search string "scheme":"http" in /tmp/output/heartbeat ```

    Expand to view the stacktrace

    ``` { "changed": false, "elapsed": 5, "msg": "Timeout when waiting for search string \"scheme\":\"http\" in /tmp/output/heartbeat" } ```

##### `Test Hosts / Matrix - GROUPS = 'sles' / Test / [tester-sles12-64] Packaging tests Heartbeat: test-linux-binary : Wait for the output file to be created, should contain HTTP pinging search_regex="scheme":"http", path={{workdir}}/output/heartbeat, timeout=5 – /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205/src/roles/test-linux-binary/tasks/main.yml:74`
    Expand to view the error details

    ``` Timeout when waiting for search string "scheme":"http" in /tmp/output/heartbeat ```

    Expand to view the stacktrace

    ``` { "changed": false, "elapsed": 5, "msg": "Timeout when waiting for search string \"scheme\":\"http\" in /tmp/output/heartbeat" } ```

Steps errors 4

Expand to view the steps failures

##### `make batch`

  • Took 8 min 35 sec . View more details on here
##### `make batch`
  • Took 3 min 30 sec . View more details on here
##### `make batch`
  • Took 5 min 47 sec . View more details on here
##### `Recursively delete the current directory from the workspace`
  • Took 0 min 1 sec . View more details on here
  • Description: script returned exit code 2

Log output

Expand to view the last 100 lines of log output

``` [2021-08-18T08:37:36.386Z] [2021-08-18T08:37:36.386Z] TASK [test-uninstall : Uninstall auditbeat rpm] ******************************** [2021-08-18T08:37:36.386Z] skipping: [tester-win12-64] [2021-08-18T08:37:36.386Z] [2021-08-18T08:37:36.386Z] TASK [test-uninstall : Delete directory (darwin)] ****************************** [2021-08-18T08:37:36.386Z] skipping: [tester-win12-64] [2021-08-18T08:37:36.386Z] [2021-08-18T08:37:36.386Z] TASK [test-uninstall : Delete directory (windows)] ***************************** [2021-08-18T08:37:37.083Z] changed: [tester-win12-64] [2021-08-18T08:37:37.083Z] [2021-08-18T08:37:37.083Z] PLAY RECAP ********************************************************************* [2021-08-18T08:37:37.083Z] tester-win12-64 : ok=281 changed=114 unreachable=0 failed=0 skipped=480 rescued=0 ignored=0 [2021-08-18T08:37:37.083Z] [2021-08-18T08:37:37.780Z] make[2]: Leaving directory '/var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205/src' [2021-08-18T08:37:37.780Z] vagrant destroy -f tester-win12-64 [2021-08-18T08:37:40.047Z] ==> tester-win12-64: Forcing shutdown of VM... [2021-08-18T08:37:41.496Z] ==> tester-win12-64: Destroying VM and associated drives... [2021-08-18T08:37:42.944Z] make[1]: Leaving directory '/var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205/src' [2021-08-18T08:37:43.327Z] Post stage [2021-08-18T08:37:43.361Z] Running in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205/src [2021-08-18T08:37:43.516Z] Recording test results [2021-08-18T08:37:44.716Z] [Checks API] No suitable checks publisher found. [2021-08-18T08:37:44.883Z] Archiving artifacts [2021-08-18T08:37:46.585Z] + make clean [2021-08-18T08:37:46.585Z] vagrant destroy -f [2021-08-18T08:37:52.957Z] ==> tester-ubuntu2004-64: VM not created. Moving on... [2021-08-18T08:37:52.957Z] ==> tester-debian10-64: VM not created. Moving on... [2021-08-18T08:37:52.957Z] ==> tester-win19-64: VM not created. Moving on... [2021-08-18T08:37:52.957Z] ==> tester-centos8-64: VM not created. Moving on... [2021-08-18T08:37:53.654Z] ==> tester-awslinux2: VM not created. Moving on... [2021-08-18T08:37:53.654Z] ==> tester-ubuntu1804-64: VM not created. Moving on... [2021-08-18T08:37:53.654Z] ==> tester-sles12-64: VM not created. Moving on... [2021-08-18T08:37:53.654Z] ==> tester-debian9-64: VM not created. Moving on... [2021-08-18T08:37:53.654Z] ==> tester-awslinux: VM not created. Moving on... [2021-08-18T08:37:53.654Z] ==> tester-win12-64: VM not created. Moving on... [2021-08-18T08:37:53.654Z] ==> tester-centos7-64: VM not created. Moving on... [2021-08-18T08:37:53.654Z] ==> tester-debian8-64: VM not created. Moving on... [2021-08-18T08:37:53.654Z] rm -r .vagrant [2021-08-18T08:37:54.594Z] Terminated [2021-08-18T08:37:55.585Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205 [2021-08-18T08:37:55.745Z] [INFO] getVaultSecret: Getting secrets [2021-08-18T08:37:55.792Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-08-18T08:37:56.777Z] + chmod 755 generate-build-data.sh [2021-08-18T08:37:56.777Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1 FAILURE 1493724 [2021-08-18T08:37:56.777Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/steps/?limit=10000 -o steps-info.json [2021-08-18T08:37:58.120Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/tests/?status=FAILED -o tests-errors.json [2021-08-18T08:37:58.370Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/log/ -o pipeline-log.txt [2021-08-18T08:37:58.370Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205// -o job-info.json [2021-08-18T08:37:58.621Z] jq: error (at job-info.json:0): Cannot index string with string "_links" [2021-08-18T08:37:58.621Z] jq: error (at job-info.json:0): Cannot index string with string "_class" [2021-08-18T08:37:58.621Z] jq: error (at job-info.json:0): Cannot index string with string "downloadable" [2021-08-18T08:37:58.621Z] jq: error (at job-info.json:0): Cannot index string with string "id" [2021-08-18T08:37:58.621Z] jq: error (at job-info.json:0): Cannot index string with string "url" [2021-08-18T08:37:58.621Z] jq: error (at job-info.json:21): Cannot index boolean with string "author" [2021-08-18T08:37:58.621Z] jq: error (at job-info.json:21): Cannot index boolean with string "author" [2021-08-18T08:37:58.621Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/changeSet/ -o changeSet-info.json [2021-08-18T08:37:58.621Z] jq: error (at changeSet-info.json:1): Cannot index array with string "_links" [2021-08-18T08:37:58.621Z] jq: error (at changeSet-info.json:1): Cannot index array with string "_class" [2021-08-18T08:37:58.621Z] jq: error (at changeSet-info.json:1): Cannot index array with string "actions" [2021-08-18T08:37:58.621Z] jq: error (at changeSet-info.json:1): Cannot index array with string "latestRun" [2021-08-18T08:37:58.621Z] jq: error (at changeSet-info.json:1): Cannot index array with string "permissions" [2021-08-18T08:37:58.621Z] jq: error (at changeSet-info.json:1): Cannot index array with string "parameters" [2021-08-18T08:37:58.872Z] INFO: fetchAndPrepareArtifactsInfo (see artifacts-info.json) [2021-08-18T08:37:58.872Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/artifacts/ -o artifacts-info.json [2021-08-18T08:37:58.872Z] INFO: fetchAndPrepareTestsInfo (see tests-info.json) [2021-08-18T08:37:58.872Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/tests/?limit=10000000 -o tests-info.json [2021-08-18T08:38:02.994Z] INFO: fetchAndPrepareTestSummaryReport (see tests-summary.json) [2021-08-18T08:38:02.994Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/blueTestSummary/ -o tests-summary.json [2021-08-18T08:38:02.994Z] INFO: fetchAndPrepareTestCoverageReport (see tests-coverage.json) [2021-08-18T08:38:02.994Z] INFO: curl https://beats-ci.elastic.co/job/Beats/job/beats-tester-mbp/job/PR-205/1//cobertura/api/json?tree=results\[elements\[name,ratio,denominator,numerator\]\]&depth=3 -o tests-coverage.json [2021-08-18T08:38:02.994Z] Retry 1/3 exited 22, retrying in 1 seconds... [2021-08-18T08:38:03.905Z] Retry 2/3 exited 22, retrying in 2 seconds... [2021-08-18T08:38:05.767Z] Retry 3/3 exited 22, no more retries left. [2021-08-18T08:38:05.767Z] jq: error: Could not open file tests-coverage.json: No such file or directory [2021-08-18T08:38:05.767Z] INFO: fetchAndPrepareBuildInfo (see build-info.json) [2021-08-18T08:38:05.767Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/ -o build-info.json [2021-08-18T08:38:06.338Z] Archiving artifacts [2021-08-18T08:38:06.374Z] Timeout set to expire in 5 min 0 sec [2021-08-18T08:38:06.977Z] Archiving artifacts [2021-08-18T08:38:07.602Z] [WARN] notifyIfPossible: could not fetch the nextBuild. [2021-08-18T08:38:07.819Z] Unable to find a build for artifact copy from: Beats/beats-tester-mbp/PR-205 [2021-08-18T08:38:07.961Z] Masking supported pattern matches of $GITHUB_TOKEN [2021-08-18T08:38:08.226Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/beats-tester/issues/205/comments return 0 elements [2021-08-18T08:38:09.433Z] Archiving artifacts [2021-08-18T08:38:09.538Z] Timeout set to expire in 5 min 0 sec [2021-08-18T08:38:09.660Z] [INFO] getVaultSecret: Getting secrets [2021-08-18T08:38:09.720Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-08-18T08:38:10.616Z] [INFO] sendDataToElasticsearch: sending data... [2021-08-18T08:38:12.594Z] [INFO] getVaultSecret: Getting secrets [2021-08-18T08:38:12.645Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-08-18T08:38:13.102Z] [INFO] sendDataToElasticsearch: sending data... [2021-08-18T08:38:13.328Z] [INFO] getVaultSecret: Getting secrets [2021-08-18T08:38:13.379Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-08-18T08:38:13.793Z] [INFO] sendDataToElasticsearch: sending data... [2021-08-18T08:38:14.110Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-205 [2021-08-18T08:38:14.190Z] [INFO] getVaultSecret: Getting secrets [2021-08-18T08:38:14.244Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID [2021-08-18T08:38:15.035Z] + chmod 755 generate-build-data.sh [2021-08-18T08:38:15.035Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1 FAILURE 1511984 [2021-08-18T08:38:15.035Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-205/runs/1/steps/?limit=10000 -o steps-info.json ```

cachedout commented 3 years ago

Same set as failures as upstream so I'm going to merge this.