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

action: checks for metricbeat and x-pack/metricbeat #32748

Merged
merged 7 commits into from
Aug 25, 2022

Conversation

v1v
Copy link
Member

@v1v v1v commented Aug 22, 2022

What does this PR do?

Use GitHub actions to run the check stage for metricbeat and x-pack/metricbeat

What's the check stage?

  • make check
  • make update
  • make check-no-changes
  • mage check
  • mage update

Why is it important?

Faster builds by running linting/checks outside of the main CI Pipeline.

Errors

Further details

The existing checks in Jenkins are replaced with GitHub checks, hence the union of these 2 new Github workflows substitutes each former check. Therefore, the same commands will run for the same scenarios.

Results

Nearly 10 minutes since they build was triggered in Jenkins and still waiting for workers to be assigned, while the new GitHub checks finished relatively much faster

Related issues

Similar to #32711

@v1v v1v added automation Team:Automation Label for the Observability productivity team backport-7.17 Automated backport to the 7.17 branch with mergify backport-v8.4.0 Automated backport with mergify labels Aug 22, 2022
@v1v v1v self-assigned this Aug 22, 2022
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Aug 22, 2022
@v1v v1v requested a review from a team August 22, 2022 16:33
@v1v v1v marked this pull request as ready for review August 22, 2022 16:33
@v1v v1v requested a review from a team as a code owner August 22, 2022 16:33
@v1v v1v requested review from cmacknz and faec and removed request for a team August 22, 2022 16:33
@elasticmachine
Copy link
Collaborator

elasticmachine commented Aug 22, 2022

💚 Build Succeeded

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: 2022-08-24T16:31:53.550+0000

  • Duration: 129 min 14 sec

Test stats 🧪

Test Results
Failed 0
Passed 4507
Skipped 1055
Total 5562

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

use v3 and avoid latest in favour of go.sum
@mergify
Copy link
Contributor

mergify bot commented Aug 24, 2022

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b feature/check-actions-metricbeat-modules upstream/feature/check-actions-metricbeat-modules
git merge upstream/main
git push upstream feature/check-actions-metricbeat-modules

@v1v v1v merged commit 44fbc57 into elastic:main Aug 25, 2022
mergify bot pushed a commit that referenced this pull request Aug 25, 2022
(cherry picked from commit 44fbc57)

# Conflicts:
#	metricbeat/Jenkinsfile.yml
#	x-pack/metricbeat/Jenkinsfile.yml
mergify bot pushed a commit that referenced this pull request Aug 25, 2022
@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 preview

Expand to view the summary

Build stats

  • Start Time: 2022-08-25T08:39:39.825+0000

  • Duration: 100 min 30 sec

Test stats 🧪

Test Results
Failed 8
Passed 3978
Skipped 981
Total 4967

Test errors 8

Expand to view the tests failures

Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_cluster_disk
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestData
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":661710,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:56:58.869667317Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":0,"Log":[]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":700551,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:59:08.571655289Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":1,"Log":[{"Start":"2022-08-25T09:59:09.572251276Z","End":"2022-08-25T09:59:10.437164573Z","ExitCode":1,"Output":"no valid command found; 10 closest matches:\nmon dump {\u003cint[0-]\u003e}\nmon stat\nfs set-default \u003cfs_name\u003e\nfs add_data_pool \u003cfs_name\u003e \u003cpool\u003e\nfs rm_data_pool \u003cfs_name\u003e \u003cpool\u003e\nfs set \u003cfs_name\u003e max_mds|max_file_size|allow_new_snaps|inline_data|cluster_down|allow_dirfrags|balancer|standby_count_wanted|session_timeout|session_autoclose|allow_standby_replay|down|joinable|min_compat_client \u003cval\u003e {--yes-i-really-mean-it}\nfs flag set enable_multiple \u003cval\u003e {--yes-i-really-mean-it}\nfs ls\nfs get \u003cfs_name\u003e\nosd tree-from {\u003cint[0-]\u003e} \u003cbucket\u003e {up|down|in|out|destroyed [up|down|in|out|destroyed...]}\nError EINVAL: invalid command\n"}]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"exited","Running":false,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":0,"ExitCode":137,"Error":"","StartedAt":"2022-08-25T09:59:13.789496981Z","FinishedAt":"2022-08-25T10:00:53.706937221Z","Health":{"Status":"unhealthy","FailingStreak":51,"Log":[{"Start":"2022-08-25T10:00:46.163104891Z","End":"2022-08-25T10:00:46.994561488Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:48.001000358Z","End":"2022-08-25T10:00:48.970056863Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:49.975895084Z","End":"2022-08-25T10:00:50.894865723Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:51.900840731Z","End":"2022-08-25T10:00:52.655394132Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:53.661678726Z","End":"2022-08-25T10:00:53.695124685Z","ExitCode":-1,"Output":"OCI runtime exec failed: exec failed: unable to start container process: error executing setns process: exit status 1: unknown"}]}}
        compose.go:124: timeout waiting for services to be healthy
        compose.go:124: getting host for ceph: unknown host:port for service
    --- FAIL: TestData (399.26s)
     
    

Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_cluster_health
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestData
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":656294,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:56:44.070630762Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":0,"Log":[]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":693027,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:58:47.893209891Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":1,"Log":[{"Start":"2022-08-25T09:58:48.894491633Z","End":"2022-08-25T09:58:49.883881746Z","ExitCode":1,"Output":"no valid command found; 10 closest matches:\nmon dump {\u003cint[0-]\u003e}\nmon stat\nfs set-default \u003cfs_name\u003e\nfs add_data_pool \u003cfs_name\u003e \u003cpool\u003e\nfs rm_data_pool \u003cfs_name\u003e \u003cpool\u003e\nfs set \u003cfs_name\u003e max_mds|max_file_size|allow_new_snaps|inline_data|cluster_down|allow_dirfrags|balancer|standby_count_wanted|session_timeout|session_autoclose|allow_standby_replay|down|joinable|min_compat_client \u003cval\u003e {--yes-i-really-mean-it}\nfs flag set enable_multiple \u003cval\u003e {--yes-i-really-mean-it}\nfs ls\nfs get \u003cfs_name\u003e\nosd tree-from {\u003cint[0-]\u003e} \u003cbucket\u003e {up|down|in|out|destroyed [up|down|in|out|destroyed...]}\nError EINVAL: invalid command\n"}]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"exited","Running":false,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":0,"ExitCode":137,"Error":"","StartedAt":"2022-08-25T09:59:13.789496981Z","FinishedAt":"2022-08-25T10:00:53.706937221Z","Health":{"Status":"unhealthy","FailingStreak":51,"Log":[{"Start":"2022-08-25T10:00:46.163104891Z","End":"2022-08-25T10:00:46.994561488Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:48.001000358Z","End":"2022-08-25T10:00:48.970056863Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:49.975895084Z","End":"2022-08-25T10:00:50.894865723Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:51.900840731Z","End":"2022-08-25T10:00:52.655394132Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:53.661678726Z","End":"2022-08-25T10:00:53.695124685Z","ExitCode":-1,"Output":"OCI runtime exec failed: exec failed: unable to start container process: error executing setns process: exit status 1: unknown"}]}}
        compose.go:124: timeout waiting for services to be healthy
        compose.go:124: getting host for ceph: unknown host:port for service
    --- FAIL: TestData (382.09s)
     
    

Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_perf
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestData
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_redis_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":619928,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:54:40.226945757Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":62,"Log":[{"Start":"2022-08-25T09:56:32.785182749Z","End":"2022-08-25T09:56:33.727216124Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T09:56:34.733264173Z","End":"2022-08-25T09:56:35.601893432Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T09:56:36.607711249Z","End":"2022-08-25T09:56:37.426939421Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T09:56:38.432708054Z","End":"2022-08-25T09:56:39.294978823Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T09:56:40.300770701Z","End":"2022-08-25T09:56:41.227885463Z","ExitCode":1,"Output":""}]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":663280,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:57:02.76438117Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":52,"Log":[{"Start":"2022-08-25T09:58:36.627253371Z","End":"2022-08-25T09:58:37.554060807Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T09:58:38.560214482Z","End":"2022-08-25T09:58:39.460192118Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T09:58:40.46668547Z","End":"2022-08-25T09:58:41.38844676Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T09:58:42.39422643Z","End":"2022-08-25T09:58:43.151035667Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T09:58:44.155788366Z","End":"2022-08-25T09:58:45.111823549Z","ExitCode":1,"Output":""}]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":702393,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:59:13.789496981Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":50,"Log":[{"Start":"2022-08-25T10:00:44.321554223Z","End":"2022-08-25T10:00:45.157421044Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:46.163104891Z","End":"2022-08-25T10:00:46.994561488Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:48.001000358Z","End":"2022-08-25T10:00:48.970056863Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:49.975895084Z","End":"2022-08-25T10:00:50.894865723Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:51.900840731Z","End":"2022-08-25T10:00:52.655394132Z","ExitCode":1,"Output":""}]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:124: getting host for ceph: unknown host:port for service
    --- FAIL: TestData (378.89s)
     
    

Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_pool_stats
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestData
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":660498,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:56:55.380881495Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":0,"Log":[]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":698804,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:59:03.959115371Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":0,"Log":[]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"exited","Running":false,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":0,"ExitCode":137,"Error":"","StartedAt":"2022-08-25T09:59:13.789496981Z","FinishedAt":"2022-08-25T10:00:53.706937221Z","Health":{"Status":"unhealthy","FailingStreak":51,"Log":[{"Start":"2022-08-25T10:00:46.163104891Z","End":"2022-08-25T10:00:46.994561488Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:48.001000358Z","End":"2022-08-25T10:00:48.970056863Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:49.975895084Z","End":"2022-08-25T10:00:50.894865723Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:51.900840731Z","End":"2022-08-25T10:00:52.655394132Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:53.661678726Z","End":"2022-08-25T10:00:53.695124685Z","ExitCode":-1,"Output":"OCI runtime exec failed: exec failed: unable to start container process: error executing setns process: exit status 1: unknown"}]}}
        compose.go:124: timeout waiting for services to be healthy
        compose.go:124: getting host for ceph: unknown host:port for service
    --- FAIL: TestData (394.27s)
     
    

Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_tree
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestData
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":659309,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:56:52.015738636Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":0,"Log":[]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":695214,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:58:54.452814923Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":1,"Log":[{"Start":"2022-08-25T09:58:55.454045035Z","End":"2022-08-25T09:58:56.337550976Z","ExitCode":1,"Output":"no valid command found; 10 closest matches:\nmon dump {\u003cint[0-]\u003e}\nmon stat\nfs set-default \u003cfs_name\u003e\nfs add_data_pool \u003cfs_name\u003e \u003cpool\u003e\nfs rm_data_pool \u003cfs_name\u003e \u003cpool\u003e\nfs set \u003cfs_name\u003e max_mds|max_file_size|allow_new_snaps|inline_data|cluster_down|allow_dirfrags|balancer|standby_count_wanted|session_timeout|session_autoclose|allow_standby_replay|down|joinable|min_compat_client \u003cval\u003e {--yes-i-really-mean-it}\nfs flag set enable_multiple \u003cval\u003e {--yes-i-really-mean-it}\nfs ls\nfs get \u003cfs_name\u003e\nosd tree-from {\u003cint[0-]\u003e} \u003cbucket\u003e {up|down|in|out|destroyed [up|down|in|out|destroyed...]}\nError EINVAL: invalid command\n"}]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"exited","Running":false,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":0,"ExitCode":137,"Error":"","StartedAt":"2022-08-25T09:59:13.789496981Z","FinishedAt":"2022-08-25T10:00:53.706937221Z","Health":{"Status":"unhealthy","FailingStreak":51,"Log":[{"Start":"2022-08-25T10:00:46.163104891Z","End":"2022-08-25T10:00:46.994561488Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:48.001000358Z","End":"2022-08-25T10:00:48.970056863Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:49.975895084Z","End":"2022-08-25T10:00:50.894865723Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:51.900840731Z","End":"2022-08-25T10:00:52.655394132Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:53.661678726Z","End":"2022-08-25T10:00:53.695124685Z","ExitCode":-1,"Output":"OCI runtime exec failed: exec failed: unable to start container process: error executing setns process: exit status 1: unknown"}]}}
        compose.go:124: timeout waiting for services to be healthy
        compose.go:124: getting host for ceph: unknown host:port for service
    --- FAIL: TestData (387.71s)
     
    

Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_pool_disk
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestData
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":657611,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:56:47.69692706Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":0,"Log":[]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"running","Running":true,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":697060,"ExitCode":0,"Error":"","StartedAt":"2022-08-25T09:58:59.515672288Z","FinishedAt":"0001-01-01T00:00:00Z","Health":{"Status":"starting","FailingStreak":0,"Log":[]}}
        compose.go:124: timeout waiting for services to be healthy
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Killing metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_apache_1, metricbeat_8_5_0_a148268aab-snapshot_zookeeper_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_http_1, metricbeat_8_5_0_a148268aab-snapshot_uwsgi_tcp_1, metricbeat_8_5_0_a148268aab-snapshot_traefik_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... 
    Recreating metricbeat_8_5_0_a148268aab-snapshot_ceph_1 ... done
        compose.go:89: Container state (service: 'ceph'): {"Status":"exited","Running":false,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":0,"ExitCode":137,"Error":"","StartedAt":"2022-08-25T09:59:13.789496981Z","FinishedAt":"2022-08-25T10:00:53.706937221Z","Health":{"Status":"unhealthy","FailingStreak":51,"Log":[{"Start":"2022-08-25T10:00:46.163104891Z","End":"2022-08-25T10:00:46.994561488Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:48.001000358Z","End":"2022-08-25T10:00:48.970056863Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:49.975895084Z","End":"2022-08-25T10:00:50.894865723Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:51.900840731Z","End":"2022-08-25T10:00:52.655394132Z","ExitCode":1,"Output":""},{"Start":"2022-08-25T10:00:53.661678726Z","End":"2022-08-25T10:00:53.695124685Z","ExitCode":-1,"Output":"OCI runtime exec failed: exec failed: unable to start container process: error executing setns process: exit status 1: unknown"}]}}
        compose.go:124: timeout waiting for services to be healthy
        compose.go:124: getting host for ceph: unknown host:port for service
    --- FAIL: TestData (387.94s)
     
    

Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/jolokia/jmx
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestFetch
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_http_1, metricbeat_8_5_0_a148268aab-snapshot_haproxy_1, metricbeat_8_5_0_a148268aab-snapshot_golang_1, metricbeat_8_5_0_a148268aab-snapshot_etcd_1, metricbeat_8_5_0_a148268aab-snapshot_envoyproxy_1, metricbeat_8_5_0_a148268aab-snapshot_dropwizard_1, metricbeat_8_5_0_a148268aab-snapshot_couchdb_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building jolokia
    Step 1/14 : FROM java:8-jdk-alpine
    Service 'jolokia' failed to build: manifest for java:8-jdk-alpine not found: manifest unknown: manifest unknown
        jmx_integration_test.go:33: failed to start service 'jolokia: exit status 1
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_http_1, metricbeat_8_5_0_a148268aab-snapshot_haproxy_1, metricbeat_8_5_0_a148268aab-snapshot_golang_1, metricbeat_8_5_0_a148268aab-snapshot_etcd_1, metricbeat_8_5_0_a148268aab-snapshot_envoyproxy_1, metricbeat_8_5_0_a148268aab-snapshot_dropwizard_1, metricbeat_8_5_0_a148268aab-snapshot_couchdb_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building jolokia
    Step 1/14 : FROM java:8-jdk-alpine
    Service 'jolokia' failed to build: manifest for java:8-jdk-alpine not found: manifest unknown: manifest unknown
        jmx_integration_test.go:33: failed to start service 'jolokia: exit status 1
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_http_1, metricbeat_8_5_0_a148268aab-snapshot_haproxy_1, metricbeat_8_5_0_a148268aab-snapshot_golang_1, metricbeat_8_5_0_a148268aab-snapshot_etcd_1, metricbeat_8_5_0_a148268aab-snapshot_envoyproxy_1, metricbeat_8_5_0_a148268aab-snapshot_dropwizard_1, metricbeat_8_5_0_a148268aab-snapshot_couchdb_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building jolokia
    Step 1/14 : FROM java:8-jdk-alpine
    Service 'jolokia' failed to build: manifest for java:8-jdk-alpine not found: manifest unknown: manifest unknown
        jmx_integration_test.go:33: failed to start service 'jolokia: exit status 1
        jmx_integration_test.go:33: getting host for jolokia: no container running for service
    --- FAIL: TestFetch (9.29s)
     
    

Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/jolokia/jmx
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestData
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_http_1, metricbeat_8_5_0_a148268aab-snapshot_haproxy_1, metricbeat_8_5_0_a148268aab-snapshot_golang_1, metricbeat_8_5_0_a148268aab-snapshot_etcd_1, metricbeat_8_5_0_a148268aab-snapshot_envoyproxy_1, metricbeat_8_5_0_a148268aab-snapshot_dropwizard_1, metricbeat_8_5_0_a148268aab-snapshot_couchdb_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building jolokia
    Step 1/14 : FROM java:8-jdk-alpine
    Service 'jolokia' failed to build: manifest for java:8-jdk-alpine not found: manifest unknown: manifest unknown
        jmx_integration_test.go:45: failed to start service 'jolokia: exit status 1
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_http_1, metricbeat_8_5_0_a148268aab-snapshot_haproxy_1, metricbeat_8_5_0_a148268aab-snapshot_golang_1, metricbeat_8_5_0_a148268aab-snapshot_etcd_1, metricbeat_8_5_0_a148268aab-snapshot_envoyproxy_1, metricbeat_8_5_0_a148268aab-snapshot_dropwizard_1, metricbeat_8_5_0_a148268aab-snapshot_couchdb_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building jolokia
    Step 1/14 : FROM java:8-jdk-alpine
    Service 'jolokia' failed to build: manifest for java:8-jdk-alpine not found: manifest unknown: manifest unknown
        jmx_integration_test.go:45: failed to start service 'jolokia: exit status 1
    Found orphan containers (metricbeat_8_5_0_a148268aab-snapshot_http_1, metricbeat_8_5_0_a148268aab-snapshot_haproxy_1, metricbeat_8_5_0_a148268aab-snapshot_golang_1, metricbeat_8_5_0_a148268aab-snapshot_etcd_1, metricbeat_8_5_0_a148268aab-snapshot_envoyproxy_1, metricbeat_8_5_0_a148268aab-snapshot_dropwizard_1, metricbeat_8_5_0_a148268aab-snapshot_couchdb_1, metricbeat_8_5_0_a148268aab-snapshot_logstash_1, metricbeat_8_5_0_a148268aab-snapshot_kafka_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
    Building jolokia
    Step 1/14 : FROM java:8-jdk-alpine
    Service 'jolokia' failed to build: manifest for java:8-jdk-alpine not found: manifest unknown: manifest unknown
        jmx_integration_test.go:45: failed to start service 'jolokia: exit status 1
        jmx_integration_test.go:45: getting host for jolokia: no container running for service
    --- FAIL: TestData (6.81s)
     
    

Steps errors 7

Expand to view the steps failures

metricbeat-goIntegTest - mage goIntegTest
  • Took 29 min 57 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 19 min 22 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 25 min 35 sec . View more details here
  • Description: mage goIntegTest
metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 2 min 13 sec . View more details here
  • Description: mage pythonIntegTest
metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 0 min 24 sec . View more details here
  • Description: mage pythonIntegTest
metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 0 min 24 sec . View more details here
  • Description: mage pythonIntegTest
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 8

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

  • Name: Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_cluster_disk
  • Name: Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_cluster_health
  • Name: Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_perf
  • Name: Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_pool_stats
  • Name: Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_osd_tree
  • Name: Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/ceph/mgr_pool_disk
  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/jolokia/jmx
  • Name: Build&Test / metricbeat-goIntegTest / TestData – github.com/elastic/beats/v7/metricbeat/module/jolokia/jmx

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

v1v pushed a commit that referenced this pull request Aug 25, 2022
v1v added a commit to v1v/beats that referenced this pull request Sep 1, 2022
…ackaging

* upstream/main: (109 commits)
  Add cap_net_raw requirements to heartbeat docs (elastic#32816)
  apply a quick hotfix for having main working properly (elastic#32934)
  action: checks for x-pack/libbeat and libbeat (elastic#32754)
  Update to Go 1.18 in go.mod. (elastic#32940)
  [heartbeat] disable browser code on windows via build tags (elastic#32939)
  action: checks for heartbeat and x-pack/heartbeat (elastic#32749)
  Make event acknowledgment asynchronous in shipper output (elastic#32785)
  [Automation] Update elastic stack version to 8.5.0-fedc3e60 for testing (elastic#32930)
  Preallocate memory to reduce GC load (elastic#32905)
  [Automation] Update elastic stack version to 8.5.0-440e0896 for testing (elastic#32919)
  Skip broken ceph tests. (elastic#32912)
  Use non-deprecated docker image for testing jolokia (elastic#32885)
  update ironbank image product name (elastic#32867)
  ci: pre-commit stage within Jenkins (elastic#32839)
  Fix a couple of bugs in the logic for how AWS metric periods are calculated (elastic#32724)
  [Filebeat] [httpjson] Add support for single string containing multiple relation-types in getRFC5988Link (elastic#32811)
  [Heartbeat] Update HB k8s template to use <Mi> metric (elastic#32801)
  action: checks for metricbeat and x-pack/metricbeat (elastic#32748)
  action: checks for filebeat and x-pack/filebeat (elastic#32746)
  allow for json/ndjson content type with charset (elastic#32767)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation backport-7.17 Automated backport to the 7.17 branch with mergify backport-v8.4.0 Automated backport with mergify Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants