Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert #105 #196

Merged
merged 1 commit into from
Jun 15, 2021
Merged

Revert #105 #196

merged 1 commit into from
Jun 15, 2021

Conversation

ChrsMark
Copy link
Member

This PR reverts #105 cause enroll command was removed with elastic/beats#25696.

Related to #195.

@ChrsMark ChrsMark requested a review from adriansr June 15, 2021 10:16
@ChrsMark ChrsMark self-assigned this Jun 15, 2021
@ChrsMark ChrsMark requested a review from v1v June 15, 2021 10:25
Copy link
Member

@v1v v1v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 💯

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 15, 2021

💔 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

Expand to view the summary

Build stats

  • Build Cause: Pull request #196 opened

  • Start Time: 2021-06-15T10:16:36.216+0000

  • Duration: 43 min 15 sec

  • Commit: 12cdbf6

Test stats 🧪

Test Results
Failed 17
Passed 4199
Skipped 2712
Total 6928

Trends 🧪

Image of Build Times

Image of Tests

Test errors 17

Expand to view the tests failures

> Show only the first 10 test 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-196/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-196/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-centos6-32] 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-196/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-centos6-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-196/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-196/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-196/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-196/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 = 'debian' / Test / [tester-debian9-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-196/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 = 'debian' / Test / [tester-debian8-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-196/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 = 'debian' / Test / [tester-debian10-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-196/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 5

Expand to view the steps failures

make batch
  • Took 12 min 50 sec . View more details on here
make batch
  • Took 18 min 38 sec . View more details on here
make batch
  • Took 5 min 56 sec . View more details on here
make batch
  • Took 2 min 14 sec . View more details on here
Recursively delete the current directory from the workspace
  • Took 0 min 0 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-06-15T10:59:12.570Z] 
[2021-06-15T10:59:12.570Z] TASK [test-beat : Save output to host] *****************************************
[2021-06-15T10:59:14.836Z] fatal: [tester-win12-64]: FAILED! => {"changed": false, "msg": "Path c:\\ProgramData\\apm-server\\logs\\output.json is not found"}
[2021-06-15T10:59:14.836Z] 
[2021-06-15T10:59:14.836Z] PLAY RECAP *********************************************************************
[2021-06-15T10:59:14.836Z] tester-win12-64            : ok=18   changed=5    unreachable=0    failed=2    skipped=17   rescued=0    ignored=0   
[2021-06-15T10:59:14.836Z] 
[2021-06-15T10:59:15.197Z] Makefile:51: recipe for target 'ansible-playbook-run-elastic' failed
[2021-06-15T10:59:15.197Z] make[2]: *** [ansible-playbook-run-elastic] Error 2
[2021-06-15T10:59:15.197Z] make[2]: Leaving directory '/var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-196/src'
[2021-06-15T10:59:15.197Z] Makefile:36: recipe for target 'run-group' failed
[2021-06-15T10:59:15.197Z] make[1]: *** [run-group] Error 2
[2021-06-15T10:59:15.197Z] make[1]: Leaving directory '/var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-196/src'
[2021-06-15T10:59:15.197Z] Makefile:29: recipe for target 'batch' failed
[2021-06-15T10:59:15.197Z] make: *** [batch] Error 1
[2021-06-15T10:59:15.249Z] Post stage
[2021-06-15T10:59:15.273Z] Running in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-196/src
[2021-06-15T10:59:15.427Z] Recording test results
[2021-06-15T10:59:15.913Z] [Checks API] No suitable checks publisher found.
[2021-06-15T10:59:16.047Z] Archiving artifacts
[2021-06-15T10:59:17.685Z] + make clean
[2021-06-15T10:59:17.685Z] vagrant destroy -f
[2021-06-15T10:59:25.418Z] ==> tester-ubuntu2004-64: VM not created. Moving on...
[2021-06-15T10:59:25.418Z] ==> tester-debian10-64: VM not created. Moving on...
[2021-06-15T10:59:26.120Z] ==> tester-win19-64: VM not created. Moving on...
[2021-06-15T10:59:26.120Z] ==> tester-centos8-64: VM not created. Moving on...
[2021-06-15T10:59:26.120Z] ==> tester-awslinux2: VM not created. Moving on...
[2021-06-15T10:59:26.120Z] ==> tester-ubuntu1804-64: VM not created. Moving on...
[2021-06-15T10:59:26.120Z] ==> tester-ubuntu1404-64: VM not created. Moving on...
[2021-06-15T10:59:26.120Z] ==> tester-sles12-64: VM not created. Moving on...
[2021-06-15T10:59:27.282Z] ==> tester-debian9-64: VM not created. Moving on...
[2021-06-15T10:59:27.282Z] ==> tester-awslinux: VM not created. Moving on...
[2021-06-15T10:59:27.282Z] ==> tester-ubuntu1604-64: VM not created. Moving on...
[2021-06-15T10:59:28.001Z] ==> tester-win12-64: Forcing shutdown of VM...
[2021-06-15T10:59:28.703Z] ==> tester-win12-64: Destroying VM and associated drives...
[2021-06-15T10:59:30.155Z] ==> tester-centos7-64: VM not created. Moving on...
[2021-06-15T10:59:30.155Z] ==> tester-debian8-64: VM not created. Moving on...
[2021-06-15T10:59:30.857Z] ==> tester-ubuntu1204-32: VM not created. Moving on...
[2021-06-15T10:59:30.857Z] ==> tester-centos6-64: VM not created. Moving on...
[2021-06-15T10:59:30.857Z] ==> tester-centos6-32: VM not created. Moving on...
[2021-06-15T10:59:30.857Z] Makefile:71: recipe for target 'clean' failed
[2021-06-15T10:59:30.857Z] make: [clean] Error 2 (ignored)
[2021-06-15T10:59:30.857Z] rm -r .vagrant
[2021-06-15T10:59:31.932Z] Failed in branch Matrix - GROUPS = 'windows'
[2021-06-15T10:59:32.951Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-196
[2021-06-15T10:59:33.246Z] [INFO] getVaultSecret: Getting secrets
[2021-06-15T10:59:33.297Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-15T10:59:34.186Z] + chmod 755 generate-build-data.sh
[2021-06-15T10:59:34.186Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1 FAILURE 2577693
[2021-06-15T10:59:34.186Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-15T10:59:35.529Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-06-15T10:59:35.779Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/log/ -o pipeline-log.txt
[2021-06-15T10:59:35.779Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196// -o job-info.json
[2021-06-15T10:59:36.030Z] jq: error (at job-info.json:0): Cannot index string with string "_links"
[2021-06-15T10:59:36.030Z] jq: error (at job-info.json:0): Cannot index string with string "_class"
[2021-06-15T10:59:36.030Z] jq: error (at job-info.json:0): Cannot index string with string "downloadable"
[2021-06-15T10:59:36.030Z] jq: error (at job-info.json:0): Cannot index string with string "id"
[2021-06-15T10:59:36.030Z] jq: error (at job-info.json:0): Cannot index string with string "url"
[2021-06-15T10:59:36.030Z] jq: error (at job-info.json:21): Cannot index boolean with string "author"
[2021-06-15T10:59:36.030Z] jq: error (at job-info.json:21): Cannot index boolean with string "author"
[2021-06-15T10:59:36.030Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/changeSet/ -o changeSet-info.json
[2021-06-15T10:59:36.280Z] jq: error (at changeSet-info.json:1): Cannot index array with string "_links"
[2021-06-15T10:59:36.280Z] jq: error (at changeSet-info.json:1): Cannot index array with string "_class"
[2021-06-15T10:59:36.280Z] jq: error (at changeSet-info.json:1): Cannot index array with string "actions"
[2021-06-15T10:59:36.280Z] jq: error (at changeSet-info.json:1): Cannot index array with string "latestRun"
[2021-06-15T10:59:36.280Z] jq: error (at changeSet-info.json:1): Cannot index array with string "permissions"
[2021-06-15T10:59:36.281Z] jq: error (at changeSet-info.json:1): Cannot index array with string "parameters"
[2021-06-15T10:59:36.281Z] INFO: fetchAndPrepareArtifactsInfo (see artifacts-info.json)
[2021-06-15T10:59:36.281Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/artifacts/ -o artifacts-info.json
[2021-06-15T10:59:36.531Z] INFO: fetchAndPrepareTestsInfo (see tests-info.json)
[2021-06-15T10:59:36.531Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/tests/?limit=10000000 -o tests-info.json
[2021-06-15T10:59:43.012Z] INFO: fetchAndPrepareTestSummaryReport (see tests-summary.json)
[2021-06-15T10:59:43.012Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/blueTestSummary/ -o tests-summary.json
[2021-06-15T10:59:43.012Z] INFO: fetchAndPrepareBuildInfo (see build-info.json)
[2021-06-15T10:59:43.012Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/ -o build-info.json
[2021-06-15T10:59:43.036Z] Archiving artifacts
[2021-06-15T10:59:43.070Z] Timeout set to expire in 5 min 0 sec
[2021-06-15T10:59:43.568Z] Archiving artifacts
[2021-06-15T10:59:44.100Z] [WARN] notifyIfPossible: could not fetch the nextBuild.
[2021-06-15T10:59:44.256Z] Unable to find a build for artifact copy from: Beats/beats-tester-mbp/PR-196
[2021-06-15T10:59:44.373Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-06-15T10:59:44.614Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/beats-tester/issues/196/comments return 0 elements
[2021-06-15T10:59:45.881Z] Archiving artifacts
[2021-06-15T10:59:45.975Z] Timeout set to expire in 5 min 0 sec
[2021-06-15T10:59:46.148Z] [INFO] getVaultSecret: Getting secrets
[2021-06-15T10:59:46.195Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-15T10:59:47.119Z] [INFO] sendDataToElasticsearch: sending data...
[2021-06-15T10:59:49.307Z] [INFO] getVaultSecret: Getting secrets
[2021-06-15T10:59:49.352Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-15T10:59:49.811Z] [INFO] sendDataToElasticsearch: sending data...
[2021-06-15T10:59:50.033Z] [INFO] getVaultSecret: Getting secrets
[2021-06-15T10:59:50.076Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-15T10:59:50.499Z] [INFO] sendDataToElasticsearch: sending data...
[2021-06-15T10:59:50.797Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-tester-mbp_PR-196
[2021-06-15T10:59:50.869Z] [INFO] getVaultSecret: Getting secrets
[2021-06-15T10:59:50.923Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-15T10:59:51.711Z] + chmod 755 generate-build-data.sh
[2021-06-15T10:59:51.711Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1 FAILURE 2595222
[2021-06-15T10:59:51.711Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-15T10:59:53.055Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-tester-mbp/PR-196/runs/1/tests/?status=FAILED -o tests-errors.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants