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

Skip x-pack/filebeat pythonUnitTest target #18151

Conversation

andrewkroh
Copy link
Member

What does this PR do?

When starting the Python tests under Jenkins (Linux with Python 3.5) it's failing as per #18150.

So as a work-around I'm skipping this test target. Everyone of the python tests in the package
requires the integration environment so we want be losing any test coverage. But we need to
figure out why this suddenly stopped working.

Why is it important?

We want our builds to be green.

When starting the Python tests under Jenkins (Linux with Python 3.5) it's failing as per elastic#18150.

So as a work-around I'm skipping this test target. Everyone of the python tests in the package
requires the integration environment so we want be losing any test coverage. But we need to
figure out why this suddenly stopped working.
@andrewkroh andrewkroh added the ci label May 1, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 1, 2020
@elasticmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 8
Passed 7680
Skipped 1094
Total 8782

Test errors

Expand to view the tests failures

  • Name: Build and Test / Filebeat Mac OS X / test_file_disappear – test_crawler.Test

    • Status: FAILED
    • Age: 1
    • Duration: 1.998
    • Error Details:
  • Name: Build and Test / Filebeat Mac OS X / test_symlink_rotated – test_harvester.Test

    • Status: FAILED
    • Age: 1
    • Duration: 2.006
    • Error Details: expected to see 2 entries, got '[{'source': '/private/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/filebeat/build/system-tests/run/test_harvester.Test.test_symlink_rotated/log/symlink.log', 'offset': 13, 'timestamp': '2020-05-01T15:37:30.963524-07:00', 'ttl': -1, 'type': 'log', 'meta': None, 'FileStateOS': {'inode': 779258814, 'device': 16777217}}]'
  • Name: Build and Test / Filebeat Mac OS X / test_clean_removed_with_clean_inactive – test_registrar.Test

    • Status: FAILED
    • Age: 1
    • Duration: 2.375
    • Error Details:
      -------------------- >> begin captured stdout << ---------------------
      registry size: 2
      registry size after remove: 2

--------------------- >> end captured stdout << ----------------------

  • Name: Build and Test / Filebeat Mac OS X / test_registrar_files_with_input_level_processors – test_registrar.Test

    • Status: FAILED
    • Age: 1
    • Duration: 3.761
    • Error Details: Mismatched values: 'offset', expected: 60, actual: 48
  • Name: Build and Test / Filebeat Mac OS X / test_rotating_file_with_restart – test_registrar.Test

    • Status: FAILED
    • Age: 1
    • Duration: 6.29
    • Error Details:
  • Name: Build and Test / Filebeat Mac OS X / test_upgrade_from_6_3_0 – test_registrar_upgrade.Test

    • Status: FAILED
    • Age: 1
    • Duration: 2.544
    • Error Details:
  • Name: Build and Test / Filebeat Mac OS X / test_upgrade_from_latest – test_registrar_upgrade.Test

    • Status: FAILED
    • Age: 1
    • Duration: 2.373
    • Error Details:
  • Name: Build and Test / Filebeat Mac OS X / test_upgrade_from_single_file_to_folder_hierarchy – test_registrar_upgrade.Test

    • Status: FAILED
    • Age: 1
    • Duration: 2.585
    • Error Details:

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Result: FAILURE

    • Duration: 19 min 31 sec<

    • Start Time: 2020-05-01T22:24:51.656+0000

  • Name: Make -C generator/_templates/metricbeat test

    • Description: make -C generator/_templates/metricbeat test

    • Result: FAILURE

    • Duration: 2 min 24 sec<

    • Start Time: 2020-05-01T22:24:55.673+0000

  • Name: Make -C generator/_templates/beat test

    • Description: make -C generator/_templates/beat test

    • Result: FAILURE

    • Duration: 1 min 52 sec<

    • Start Time: 2020-05-01T22:28:10.637+0000

  • Name: Make -C generator/_templates/metricbeat test

    • Description: make -C generator/_templates/metricbeat test

    • Result: FAILURE

    • Duration: 2 min 1 sec<

    • Start Time: 2020-05-01T22:30:37.144+0000

  • Name: Make -C generator/_templates/beat test

    • Description: make -C generator/_templates/beat test

    • Result: FAILURE

    • Duration: 2 min 38 sec<

    • Start Time: 2020-05-01T22:34:07.830+0000

Log output

Expand to view the last 100 lines of log output

[2020-05-01T23:14:11.839Z] + FILE=libbeat/build/coverage/full.cov
[2020-05-01T23:14:11.839Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-05-01T23:14:11.839Z] + FILE=metricbeat/build/coverage/full.cov
[2020-05-01T23:14:11.839Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-05-01T23:14:11.839Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-01T23:14:11.839Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-01T23:14:11.839Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-01T23:14:11.839Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-01T23:14:11.839Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-01T23:14:11.839Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-01T23:14:14.434Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats
[2020-05-01T23:14:14.784Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-01T23:14:14.823Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Lint
[2020-05-01T23:14:15.016Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-05-01T23:14:15.264Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-05-01T23:14:15.471Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Winlogbeat-oss
[2020-05-01T23:14:15.699Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-05-01T23:14:15.934Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-05-01T23:14:16.208Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Dockerlogbeat
[2020-05-01T23:14:16.413Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Journalbeat-oss
[2020-05-01T23:14:16.637Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-05-01T23:14:16.886Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-05-01T23:14:17.104Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-05-01T23:14:17.340Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-05-01T23:14:17.571Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-05-01T23:14:17.813Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-05-01T23:14:18.029Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Heartbeat-oss
[2020-05-01T23:14:18.243Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-05-01T23:14:18.532Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-05-01T23:14:18.750Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-05-01T23:14:18.972Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Libbeat-x-pack
[2020-05-01T23:14:19.245Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-05-01T23:14:19.473Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Auditbeat-Linux
[2020-05-01T23:14:19.678Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Filebeat-Windows
[2020-05-01T23:14:20.010Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Packetbeat-oss
[2020-05-01T23:14:20.368Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-05-01T23:14:20.618Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-Windows
[2020-05-01T23:14:20.839Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-05-01T23:14:21.032Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-05-01T23:14:21.218Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-05-01T23:14:21.402Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Filebeat-x-pack
[2020-05-01T23:14:21.584Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Auditbeat-Mac-OS-X
[2020-05-01T23:14:21.763Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Filebeat-oss
[2020-05-01T23:14:21.943Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Functionbeat-Windows
[2020-05-01T23:14:22.169Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Libbeat-oss
[2020-05-01T23:14:22.328Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Heartbeat-Windows
[2020-05-01T23:14:22.579Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-05-01T23:14:22.804Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-05-01T23:14:22.977Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-05-01T23:14:23.168Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Auditbeat-Windows
[2020-05-01T23:14:23.357Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-05-01T23:14:23.566Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-05-01T23:14:24.053Z] + cat
[2020-05-01T23:14:24.053Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-01T23:14:24.053Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-01T23:14:30.663Z] runbld>>> runbld started
[2020-05-01T23:14:30.663Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-01T23:14:32.051Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18151' in order of occurrence in the config (last value wins).
[2020-05-01T23:14:33.001Z] runbld>>> Debug logging enabled.
[2020-05-01T23:14:33.001Z] runbld>>> Storing result
[2020-05-01T23:14:33.271Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-01T23:14:33.271Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200501231432-5DD49504
[2020-05-01T23:14:33.271Z] runbld>>> Adding system facts.
[2020-05-01T23:14:34.214Z] runbld>>> Adding vcs info for the latest commit:  9d63029da643a83b27d45a710fa913dbdd3df04c
[2020-05-01T23:14:34.478Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-01T23:14:34.478Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-01T23:14:34.478Z] Processing JUnit reports with runbld...
[2020-05-01T23:14:34.478Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-01T23:14:35.051Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-01T23:14:35.052Z] runbld>>> DURATION: 7ms
[2020-05-01T23:14:35.052Z] runbld>>> STDOUT: 40 bytes
[2020-05-01T23:14:35.052Z] runbld>>> STDERR: 49 bytes
[2020-05-01T23:14:35.052Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-01T23:14:35.052Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats
[2020-05-01T23:14:36.445Z] runbld>>> Storing build metadata: 
[2020-05-01T23:14:36.445Z] runbld>>> Adding test report.
[2020-05-01T23:14:36.445Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats
[2020-05-01T23:14:37.384Z] runbld>>> Found 101 test output files
[2020-05-01T23:14:37.958Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-05-01T23:14:37.958Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-05-01T23:14:37.958Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-05-01T23:14:37.958Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-05-01T23:14:37.958Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-05-01T23:14:37.958Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-05-01T23:14:38.896Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-05-01T23:14:38.896Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-05-01T23:14:39.155Z] runbld>>> Test output logs contained: Errors: 0 Failures: 8 Tests: 8632 Skipped: 890
[2020-05-01T23:14:39.415Z] runbld>>> Storing result
[2020-05-01T23:14:39.415Z] runbld>>> FAILURES: 8
[2020-05-01T23:14:41.320Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-01T23:14:41.320Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200501231432-5DD49504
[2020-05-01T23:14:41.320Z] runbld>>> Email notification disabled by environment variable.
[2020-05-01T23:14:41.320Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-01T23:14:47.450Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18151
[2020-05-01T23:14:47.801Z] [INFO] getVaultSecret: Getting secrets
[2020-05-01T23:14:47.873Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-01T23:14:49.056Z] + chmod 755 generate-build-data.sh
[2020-05-01T23:14:49.056Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18151/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18151/runs/1 FAILURE 4766239
[2020-05-01T23:14:49.607Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18151/runs/1/steps/?limit=10000 -o steps-info.json
[2020-05-01T23:14:50.158Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18151/runs/1/tests/?status=FAILED -o tests-errors.json

@andrewkroh
Copy link
Member Author

Closing in favor of #18152.

@andrewkroh andrewkroh closed this May 2, 2020
@andresrc andresrc removed the needs_team Indicates that the issue/PR needs a Team:* label label May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants