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

[7.13](backport #26291) chore: pass BEAT_VERSION when running E2E tests #26450

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 23, 2021

This is an automatic backport of pull request #26291 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

@mergify mergify bot added the backport label Jun 23, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 23, 2021
@elasticmachine
Copy link
Collaborator

💔 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 #26450 opened

  • Start Time: 2021-06-23T16:45:00.956+0000

  • Duration: 108 min 27 sec

  • Commit: c67203f

Test stats 🧪

Test Results
Failed 1
Passed 47326
Skipped 5190
Total 52517

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests failures

Build&Test / metricbeat-pythonIntegTest / test_node_stats – metricbeat.module.logstash.test_logstash.Test
    Expand to view the error details

     AssertionError: Element counts were not equal: First has 1, Second has 0:  'logstash' First has 0, Second has 1:  'error' 
    

    Expand to view the stacktrace

     self = <test_logstash.Test testMethod=test_node_stats>
    
        @unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test")
        def test_node_stats(self):
            """
            logstash node_stats metricset test
            """
    >       self.check_metricset("logstash", "node_stats", self.get_hosts(), self.FIELDS)
    
    module/logstash/test_logstash.py:30: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    tests/system/metricbeat.py:105: in check_metricset
        self.assertCountEqual(self.de_dot(fields), evt.keys())
    E   AssertionError: Element counts were not equal:
    E   First has 1, Second has 0:  'logstash'
    E   First has 0, Second has 1:  'error' 
    

Steps errors 2

Expand to view the steps failures

metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 33 min 23 sec . View more details on here
  • Description: mage pythonIntegTest
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2021-06-23T18:32:10.081Z]  Git commit:        48d30b5
[2021-06-23T18:32:10.081Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-06-23T18:32:10.081Z]  OS/Arch:           linux/amd64
[2021-06-23T18:32:10.081Z]  Context:           default
[2021-06-23T18:32:10.081Z]  Experimental:      true
[2021-06-23T18:32:10.081Z] 
[2021-06-23T18:32:10.081Z] Server: Docker Engine - Community
[2021-06-23T18:32:10.081Z]  Engine:
[2021-06-23T18:32:10.081Z]   Version:          20.10.3
[2021-06-23T18:32:10.081Z]   API version:      1.41 (minimum version 1.12)
[2021-06-23T18:32:10.081Z]   Go version:       go1.13.15
[2021-06-23T18:32:10.081Z]   Git commit:       46229ca
[2021-06-23T18:32:10.081Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-06-23T18:32:10.081Z]   OS/Arch:          linux/amd64
[2021-06-23T18:32:10.081Z]   Experimental:     false
[2021-06-23T18:32:10.081Z]  containerd:
[2021-06-23T18:32:10.081Z]   Version:          1.4.3
[2021-06-23T18:32:10.082Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-06-23T18:32:10.082Z]  runc:
[2021-06-23T18:32:10.082Z]   Version:          1.0.0-rc92
[2021-06-23T18:32:10.082Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-06-23T18:32:10.082Z]  docker-init:
[2021-06-23T18:32:10.082Z]   Version:          0.19.0
[2021-06-23T18:32:10.082Z]   GitCommit:        de40ad0
[2021-06-23T18:32:10.082Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-06-23T18:32:10.082Z] Unable to find image 'alpine:3.4' locally
[2021-06-23T18:32:11.019Z] 3.4: Pulling from library/alpine
[2021-06-23T18:32:11.019Z] c1e54eec4b57: Pulling fs layer
[2021-06-23T18:32:11.278Z] c1e54eec4b57: Verifying Checksum
[2021-06-23T18:32:11.278Z] c1e54eec4b57: Download complete
[2021-06-23T18:32:11.540Z] c1e54eec4b57: Pull complete
[2021-06-23T18:32:11.540Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-06-23T18:32:11.540Z] Status: Downloaded newer image for alpine:3.4
[2021-06-23T18:32:13.457Z] Change permissions with write access of all files inside the specific folder
[2021-06-23T18:32:14.437Z] Running in /var/lib/jenkins/workspace/PR-26450-1-2e379fe6-f41a-452a-8200-1432f9e2c8e8/src/github.com/elastic/beats/build
[2021-06-23T18:32:14.789Z] + rm -rf ve
[2021-06-23T18:32:14.789Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-06-23T18:32:15.235Z] + python .ci/scripts/pre_archive_test.py
[2021-06-23T18:32:16.177Z] Copy ./metricbeat/build into build/metricbeat/build
[2021-06-23T18:32:16.241Z] Running in /var/lib/jenkins/workspace/PR-26450-1-2e379fe6-f41a-452a-8200-1432f9e2c8e8/src/github.com/elastic/beats/build
[2021-06-23T18:32:16.312Z] Recording test results
[2021-06-23T18:32:19.281Z] [Checks API] No suitable checks publisher found.
[2021-06-23T18:32:19.642Z] + tar --version
[2021-06-23T18:32:20.047Z] + tar --exclude=test-build-artifacts-metricbeat-pythonIntegTest-tgz -czf test-build-artifacts-metricbeat-pythonIntegTest-tgz .
[2021-06-23T18:32:47.292Z] + gsutil --version
[2021-06-23T18:32:51.540Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-23T18:32:51.955Z] + gcloud auth activate-service-account --key-file ****
[2021-06-23T18:32:52.892Z] Activated service account credentials for: [[email protected]]
[2021-06-23T18:32:53.571Z] + gsutil -m -q cp -a public-read test-build-artifacts-metricbeat-pythonIntegTest-tgz gs://beats-ci-temp/Beats/beats/PR-26450-1
[2021-06-23T18:32:57.466Z] + python .ci/scripts/search_system_tests.py
[2021-06-23T18:32:57.517Z] [INFO] system-tests='build/metricbeat/build/system-tests'. If no empty then let's create a tarball
[2021-06-23T18:32:57.878Z] + tar --version
[2021-06-23T18:32:58.321Z] + tar --exclude=metricbeat--system-tests-linux-tgz -czf metricbeat--system-tests-linux-tgz build/metricbeat/build/system-tests
[2021-06-23T18:33:07.045Z] + gsutil --version
[2021-06-23T18:33:08.477Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-23T18:33:08.856Z] + gcloud auth activate-service-account --key-file ****
[2021-06-23T18:33:09.423Z] Activated service account credentials for: [[email protected]]
[2021-06-23T18:33:10.111Z] + gsutil -m -q cp -a public-read metricbeat--system-tests-linux-tgz gs://beats-ci-temp/Beats/beats/PR-26450-1
[2021-06-23T18:33:13.351Z] + go clean -modcache
[2021-06-23T18:33:16.972Z] Cleaning up /var/lib/jenkins/workspace/PR-26450-1-2e379fe6-f41a-452a-8200-1432f9e2c8e8
[2021-06-23T18:33:16.972Z] Client: Docker Engine - Community
[2021-06-23T18:33:16.972Z]  Version:           20.10.3
[2021-06-23T18:33:16.972Z]  API version:       1.41
[2021-06-23T18:33:16.972Z]  Go version:        go1.13.15
[2021-06-23T18:33:16.972Z]  Git commit:        48d30b5
[2021-06-23T18:33:16.972Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-06-23T18:33:16.972Z]  OS/Arch:           linux/amd64
[2021-06-23T18:33:16.972Z]  Context:           default
[2021-06-23T18:33:16.972Z]  Experimental:      true
[2021-06-23T18:33:16.973Z] 
[2021-06-23T18:33:16.973Z] Server: Docker Engine - Community
[2021-06-23T18:33:16.973Z]  Engine:
[2021-06-23T18:33:16.973Z]   Version:          20.10.3
[2021-06-23T18:33:16.973Z]   API version:      1.41 (minimum version 1.12)
[2021-06-23T18:33:16.973Z]   Go version:       go1.13.15
[2021-06-23T18:33:16.973Z]   Git commit:       46229ca
[2021-06-23T18:33:16.973Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-06-23T18:33:16.973Z]   OS/Arch:          linux/amd64
[2021-06-23T18:33:16.973Z]   Experimental:     false
[2021-06-23T18:33:16.973Z]  containerd:
[2021-06-23T18:33:16.973Z]   Version:          1.4.3
[2021-06-23T18:33:16.973Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-06-23T18:33:16.973Z]  runc:
[2021-06-23T18:33:16.973Z]   Version:          1.0.0-rc92
[2021-06-23T18:33:16.973Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-06-23T18:33:16.973Z]  docker-init:
[2021-06-23T18:33:16.973Z]   Version:          0.19.0
[2021-06-23T18:33:16.973Z]   GitCommit:        de40ad0
[2021-06-23T18:33:16.973Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-06-23T18:33:17.913Z] Change permissions with write access of all files inside the specific folder
[2021-06-23T18:33:18.223Z] Running in /var/lib/jenkins/workspace/PR-26450-1-2e379fe6-f41a-452a-8200-1432f9e2c8e8
[2021-06-23T18:33:21.882Z] Failed in branch metricbeat-pythonIntegTest
[2021-06-23T18:33:26.820Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-06-23T18:33:26.963Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26450/src/github.com/elastic/beats
[2021-06-23T18:33:27.291Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26450
[2021-06-23T18:33:27.394Z] [INFO] getVaultSecret: Getting secrets
[2021-06-23T18:33:27.458Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-23T18:33:28.496Z] + chmod 755 generate-build-data.sh
[2021-06-23T18:33:28.496Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26450/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26450/runs/1 FAILURE 6507262
[2021-06-23T18:33:28.496Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26450/runs/1/steps/?limit=10000 -o steps-info.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 1
Passed 47326
Skipped 5190
Total 52517

Genuine test errors 1

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Build&Test / metricbeat-pythonIntegTest / test_node_stats – metricbeat.module.logstash.test_logstash.Test

@jsoriano jsoriano added the Team:Automation Label for the Observability productivity team label Jun 24, 2021
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jun 24, 2021
@v1v v1v merged commit be3075b into 7.13 Jul 14, 2021
@mergify mergify bot deleted the mergify/bp/7.13/pr-26291 branch July 14, 2021 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants