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

Fix regression with the elastic-agent release #24011

Merged

Conversation

v1v
Copy link
Member

@v1v v1v commented Feb 11, 2021

What does this PR do?

Fix regression #23975 since the elastic-agent release process uses some scripting from different locations:

      './dev-tools/run_with_go_ver make mage',
      'cd x-pack/elastic-agent',
      './../../dev-tools/run_with_go_ver mage package',
      'cd ../..',

Instead the make release-manager goals

Why is it important?

Fix the snapshots

Tests

From the root folder

➜  beats git:(feature/detect-where-dev-tools-is-called-from) ✗ dev-tools/run_with_go_ver mage package        
+ MSG='environment variable missing'
+ GO_VERSION=1.15.8
+ PROPERTIES_FILE=go_env.properties


From the elatic-agent location

➜  elastic-agent git:(feature/detect-where-dev-tools-is-called-from) ✗ ./../../dev-tools/run_with_go_ver mage package
+ MSG='environment variable missing'
+ GO_VERSION=1.15.8
+ PROPERTIES_FILE=go_env.properties
+ HOME=/Users/vmartinez
++ uname -s


@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 11, 2021
@botelastic
Copy link

botelastic bot commented Feb 11, 2021

This pull request doesn't have a Team:<team> label.

@v1v v1v requested review from ph, kvch and a team February 11, 2021 16:50
@v1v v1v self-assigned this Feb 11, 2021
Copy link
Contributor

@ph ph left a comment

Choose a reason for hiding this comment

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

Will do a followup to make sure we use the same entry point.

@v1v v1v merged commit 934d978 into elastic:master Feb 11, 2021
@v1v v1v deleted the feature/detect-where-dev-tools-is-called-from branch February 11, 2021 18:20
v1v added a commit to v1v/beats that referenced this pull request Feb 11, 2021
@elasticmachine
Copy link
Collaborator

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

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

Expand to view the summary

Build stats

  • Build Cause: Pull request #24011 opened

  • Start Time: 2021-02-11T16:50:26.032+0000

  • Duration: 182 min 47 sec

  • Commit: 6ea6000

Test stats 🧪

Test Results
Failed 0
Passed 45834
Skipped 4762
Total 50596

Trends 🧪

Image of Build Times

Image of Tests

Log output

Expand to view the last 100 lines of log output

[2021-02-11T18:13:05.203Z] 55.35s setup    metricbeat/module/kafka/test_kafka.py::KafkaTest_2::test_kafka_jmx_0_consumer
[2021-02-11T18:13:05.203Z] 54.48s setup    metricbeat/module/kafka/test_kafka.py::KafkaTest_4::test_kafka_jmx_0_consumer
[2021-02-11T18:13:05.203Z] 52.14s setup    metricbeat/module/logstash/test_logstash.py::Test::test_node
[2021-02-11T18:13:05.203Z] 42.49s setup    metricbeat/module/ceph/test_ceph.py::Test_1::test_ceph_0_cluster_disk
[2021-02-11T18:13:05.203Z] 40.87s call     metricbeat/tests/system/test_base.py::Test::test_dashboards
[2021-02-11T18:13:05.203Z] 26.33s setup    metricbeat/module/vsphere/test_vsphere.py::TestVsphere_0::test_datastore
[2021-02-11T18:13:05.203Z] 24.41s setup    metricbeat/module/mysql/test_mysql.py::Test_3::test_status
[2021-02-11T18:13:05.203Z] 24.19s setup    metricbeat/module/kibana/test_kibana.py::Test::test_status
[2021-02-11T18:13:05.203Z] 23.76s setup    metricbeat/module/mysql/test_mysql.py::Test_6::test_status
[2021-02-11T18:13:05.203Z] 22.30s setup    metricbeat/tests/system/test_base.py::Test::test_dashboards
[2021-02-11T18:13:05.203Z] 20.84s setup    metricbeat/module/aerospike/test_aerospike.py::Test::test_namespace
[2021-02-11T18:13:05.203Z] 20.68s setup    metricbeat/module/mysql/test_mysql.py::Test_1::test_status
[2021-02-11T18:13:05.203Z] 20.57s setup    metricbeat/module/munin/test_munin.py::Test::test_munin_node
[2021-02-11T18:13:05.203Z] 19.43s setup    metricbeat/tests/system/test_beat.py::Test::test_metricsets_0_stats
[2021-02-11T18:13:05.203Z] 19.32s call     metricbeat/tests/system/test_beat.py::Test::test_xpack
[2021-02-11T18:13:05.203Z] =========== 216 passed, 12 skipped, 1 warning in 1501.09s (0:25:01) ============
[2021-02-11T18:13:05.203Z] >> python test: Integration Testing Complete
[2021-02-11T18:13:07.367Z] Client: Docker Engine - Community
[2021-02-11T18:13:07.368Z]  Version:           20.10.3
[2021-02-11T18:13:07.368Z]  API version:       1.41
[2021-02-11T18:13:07.368Z]  Go version:        go1.13.15
[2021-02-11T18:13:07.368Z]  Git commit:        48d30b5
[2021-02-11T18:13:07.368Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-02-11T18:13:07.368Z]  OS/Arch:           linux/amd64
[2021-02-11T18:13:07.368Z]  Context:           default
[2021-02-11T18:13:07.368Z]  Experimental:      true
[2021-02-11T18:13:07.368Z] 
[2021-02-11T18:13:07.368Z] Server: Docker Engine - Community
[2021-02-11T18:13:07.368Z]  Engine:
[2021-02-11T18:13:07.368Z]   Version:          20.10.3
[2021-02-11T18:13:07.368Z]   API version:      1.41 (minimum version 1.12)
[2021-02-11T18:13:07.368Z]   Go version:       go1.13.15
[2021-02-11T18:13:07.368Z]   Git commit:       46229ca
[2021-02-11T18:13:07.368Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-02-11T18:13:07.368Z]   OS/Arch:          linux/amd64
[2021-02-11T18:13:07.368Z]   Experimental:     false
[2021-02-11T18:13:07.368Z]  containerd:
[2021-02-11T18:13:07.368Z]   Version:          1.4.3
[2021-02-11T18:13:07.368Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-02-11T18:13:07.368Z]  runc:
[2021-02-11T18:13:07.368Z]   Version:          1.0.0-rc92
[2021-02-11T18:13:07.368Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-02-11T18:13:07.368Z]  docker-init:
[2021-02-11T18:13:07.368Z]   Version:          0.19.0
[2021-02-11T18:13:07.368Z]   GitCommit:        de40ad0
[2021-02-11T18:13:07.368Z] Unable to find image 'alpine:3.4' locally
[2021-02-11T18:13:08.298Z] 3.4: Pulling from library/alpine
[2021-02-11T18:13:08.298Z] c1e54eec4b57: Pulling fs layer
[2021-02-11T18:13:08.555Z] c1e54eec4b57: Verifying Checksum
[2021-02-11T18:13:08.555Z] c1e54eec4b57: Download complete
[2021-02-11T18:13:08.813Z] c1e54eec4b57: Pull complete
[2021-02-11T18:13:08.813Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-02-11T18:13:08.813Z] Status: Downloaded newer image for alpine:3.4
[2021-02-11T18:13:11.019Z] + python .ci/scripts/pre_archive_test.py
[2021-02-11T18:13:11.586Z] Copy ./metricbeat/build into build/metricbeat/build
[2021-02-11T18:13:11.635Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24011/src/github.com/elastic/beats/build
[2021-02-11T18:13:12.004Z] + rm -rf ve
[2021-02-11T18:13:12.004Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-02-11T18:13:12.051Z] Recording test results
[2021-02-11T18:13:15.370Z] [Checks API] No suitable checks publisher found.
[2021-02-11T18:13:16.032Z] Client: Docker Engine - Community
[2021-02-11T18:13:16.033Z]  Version:           20.10.3
[2021-02-11T18:13:16.033Z]  API version:       1.41
[2021-02-11T18:13:16.033Z]  Go version:        go1.13.15
[2021-02-11T18:13:16.033Z]  Git commit:        48d30b5
[2021-02-11T18:13:16.033Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-02-11T18:13:16.033Z]  OS/Arch:           linux/amd64
[2021-02-11T18:13:16.033Z]  Context:           default
[2021-02-11T18:13:16.033Z]  Experimental:      true
[2021-02-11T18:13:16.033Z] 
[2021-02-11T18:13:16.033Z] Server: Docker Engine - Community
[2021-02-11T18:13:16.033Z]  Engine:
[2021-02-11T18:13:16.033Z]   Version:          20.10.3
[2021-02-11T18:13:16.033Z]   API version:      1.41 (minimum version 1.12)
[2021-02-11T18:13:16.033Z]   Go version:       go1.13.15
[2021-02-11T18:13:16.033Z]   Git commit:       46229ca
[2021-02-11T18:13:16.033Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-02-11T18:13:16.033Z]   OS/Arch:          linux/amd64
[2021-02-11T18:13:16.033Z]   Experimental:     false
[2021-02-11T18:13:16.033Z]  containerd:
[2021-02-11T18:13:16.033Z]   Version:          1.4.3
[2021-02-11T18:13:16.033Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-02-11T18:13:16.033Z]  runc:
[2021-02-11T18:13:16.033Z]   Version:          1.0.0-rc92
[2021-02-11T18:13:16.033Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-02-11T18:13:16.033Z]  docker-init:
[2021-02-11T18:13:16.033Z]   Version:          0.19.0
[2021-02-11T18:13:16.033Z]   GitCommit:        de40ad0
[2021-02-11T19:52:06.855Z] Cancelling nested steps due to timeout
[2021-02-11T19:52:06.896Z] Failed in branch generator-metricbeat-test
[2021-02-11T19:52:07.027Z] Failed in branch heartbeat-packaging-linux
[2021-02-11T19:52:11.306Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-02-11T19:52:11.436Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24011/src/github.com/elastic/beats
[2021-02-11T19:52:11.812Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-24011
[2021-02-11T19:52:11.920Z] [INFO] getVaultSecret: Getting secrets
[2021-02-11T19:52:12.027Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-11T19:52:12.998Z] + chmod 755 generate-build-data.sh
[2021-02-11T19:52:12.998Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24011/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24011/runs/1 ABORTED 10906693
[2021-02-11T19:52:13.249Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24011/runs/1/steps/?limit=10000 -o steps-info.json
[2021-02-11T19:52:18.443Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24011/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
needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants