Skip to content

[8.0](backport #30373) update windows matrix support#30383

Merged
v1v merged 1 commit into8.0from
mergify/bp/8.0/pr-30373
Feb 14, 2022
Merged

[8.0](backport #30373) update windows matrix support#30383
v1v merged 1 commit into8.0from
mergify/bp/8.0/pr-30373

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Feb 14, 2022

This is an automatic backport of pull request #30373 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.com

@mergify mergify bot requested review from a team as code owners February 14, 2022 18:08
@mergify mergify bot added the backport label Feb 14, 2022
@mergify mergify bot assigned v1v Feb 14, 2022
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 14, 2022
@botelastic
Copy link
Copy Markdown

botelastic bot commented Feb 14, 2022

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

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 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-02-14T18:08:56.046+0000

  • Duration: 136 min 45 sec

Test stats 🧪

Test Results
Failed 5
Passed 14651
Skipped 1300
Total 15956

Test errors 5

Expand to view the tests failures

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

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestServerID
    Found orphan containers (metricbeat_8_0_1_76a0510f51-snapshot_uwsgi_http_1, metricbeat_8_0_1_76a0510f51-snapshot_uwsgi_tcp_1, metricbeat_8_0_1_76a0510f51-snapshot_traefik_1, metricbeat_8_0_1_76a0510f51-snapshot_redis_1, metricbeat_8_0_1_76a0510f51-snapshot_prometheus_1, metricbeat_8_0_1_76a0510f51-snapshot_postgresql_1, metricbeat_8_0_1_76a0510f51-snapshot_phpfpm_1, metricbeat_8_0_1_76a0510f51-snapshot_logstash_1, metricbeat_8_0_1_76a0510f51-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_0_1_76a0510f51-snapshot_zookeeper_1 ... 
    Recreating metricbeat_8_0_1_76a0510f51-snapshot_zookeeper_1 ... done
        zookeeper_integration_test.go:36: 
            	Error Trace:	zookeeper_integration_test.go:36
            	Error:      	Received unexpected error:
            	            	no 'serverId' found in 'conf' response
            	            	github.com/elastic/beats/v7/metricbeat/module/zookeeper.ServerID
            	            		/go/src/github.com/elastic/beats/metricbeat/module/zookeeper/zookeeper.go:82
            	            	github.com/elastic/beats/v7/metricbeat/module/zookeeper.TestServerID
            	            		/go/src/github.com/elastic/beats/metricbeat/module/zookeeper/zookeeper_integration_test.go:35
            	            	testing.tRunner
            	            		/usr/local/go/src/testing/testing.go:1259
            	            	runtime.goexit
            	            		/usr/local/go/src/runtime/asm_amd64.s:1581
            	Test:       	TestServerID
    --- FAIL: TestServerID (10.59s)
     
    

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

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestFetch
        mntr_integration_test.go:39: 
            	Error Trace:	mntr_integration_test.go:39
            	Error:      	Should be empty, but was [error obtaining server id: no 'serverId' found in 'conf' response]
            	Test:       	TestFetch
        mntr_integration_test.go:40: 
            	Error Trace:	mntr_integration_test.go:40
            	Error:      	Should NOT be empty, but was []
            	Test:       	TestFetch
    --- FAIL: TestFetch (4.88s)
     
    

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

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestFetch
    {"log.level":"debug","@timestamp":"2022-02-14T20:12:50.812Z","log.logger":"docker","log.origin":{"file.name":"docker/client.go","file.line":49},"message":"Docker client will negotiate the API version on the first request.","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"2022-02-14T20:12:51.693Z","log.origin":{"file.name":"compose/project.go","file.line":262},"message":"/go/src/github.com/elastic/beats/metricbeat/module/zookeeper/docker-compose.yml.lock is locked, waiting","ecs.version":"1.6.0"}
    {"log.level":"info","@timestamp":"2022-02-14T20:12:56.695Z","log.origin":{"file.name":"compose/project.go","file.line":249},"message":"/go/src/github.com/elastic/beats/metricbeat/module/zookeeper/docker-compose.yml.lock lock acquired","ecs.version":"1.6.0"}
        server_integration_test.go:41: Expected 0 error, had 1. [error obtaining server id: no 'serverId' found in 'conf' response]
    --- FAIL: TestFetch (6.78s)
     
    

Build&Test / metricbeat-pythonIntegTest / test_connection – metricbeat.module.zookeeper.test_zookeeper.ZooKeeperMntrTest
    Expand to view the error details

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

    Expand to view the stacktrace

     self = <test_zookeeper.ZooKeeperMntrTest testMethod=test_connection>
    
        @unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test")
        @pytest.mark.tag('integration')
        def test_connection(self):
            """
            ZooKeeper server module outputs an event.
            """
            self.render_config_template(modules=[{
                "name": "zookeeper",
                "metricsets": ["connection"],
                "hosts": self.get_hosts(),
                "period": "5s"
            }])
            proc = self.start_beat()
            self.wait_until(lambda: self.output_lines() > 0)
            proc.check_kill_and_wait()
            self.assert_no_logged_warnings()
        
            output = self.read_output_json()
            self.assertEqual(len(output), 1)
            evt = output[0]
        
    >       self.assertCountEqual(self.de_dot(ZK_FIELDS + ["client"]), evt.keys())
    E       AssertionError: Element counts were not equal:
    E       First has 1, Second has 0:  'zookeeper'
    E       First has 1, Second has 0:  'client'
    E       First has 0, Second has 1:  'error'
    
    module/zookeeper/test_zookeeper.py:104: AssertionError 
    

Build&Test / metricbeat-pythonIntegTest / test_output – metricbeat.module.zookeeper.test_zookeeper.ZooKeeperMntrTest
    Expand to view the error details

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

    Expand to view the stacktrace

     self = <test_zookeeper.ZooKeeperMntrTest testMethod=test_output>
    
        @unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test")
        @pytest.mark.tag('integration')
        def test_output(self):
            """
            ZooKeeper server module outputs an event.
            """
            self.render_config_template(modules=[{
                "name": "zookeeper",
                "metricsets": ["server"],
                "hosts": self.get_hosts(),
                "period": "5s"
            }])
            proc = self.start_beat()
            self.wait_until(lambda: self.output_lines() > 0)
            proc.check_kill_and_wait()
            self.assert_no_logged_warnings()
        
            output = self.read_output_json()
            self.assertEqual(len(output), 1)
            evt = output[0]
        
    >       self.assertCountEqual(self.de_dot(ZK_FIELDS), evt.keys())
    E       AssertionError: Element counts were not equal:
    E       First has 1, Second has 0:  'zookeeper'
    E       First has 0, Second has 1:  'error'
    
    module/zookeeper/test_zookeeper.py:76: AssertionError 
    

Steps errors 8

Expand to view the steps failures

filebeat-goIntegTest - mage goIntegTest
  • Took 5 min 6 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 29 min 20 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 20 min 18 sec . View more details here
  • Description: mage goIntegTest
metricbeat-goIntegTest - mage goIntegTest
  • Took 20 min 11 sec . View more details here
  • Description: mage goIntegTest
metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 33 min 47 sec . View more details here
  • Description: mage pythonIntegTest
metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 23 min 4 sec . View more details here
  • Description: mage pythonIntegTest
metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 24 min 42 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 5

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

  • Name: Build&Test / metricbeat-goIntegTest / TestServerID – github.com/elastic/beats/v7/metricbeat/module/zookeeper
  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/zookeeper/mntr
  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/metricbeat/module/zookeeper/server
  • Name: Build&Test / metricbeat-pythonIntegTest / test_connection – metricbeat.module.zookeeper.test_zookeeper.ZooKeeperMntrTest
  • Name: Build&Test / metricbeat-pythonIntegTest / test_output – metricbeat.module.zookeeper.test_zookeeper.ZooKeeperMntrTest

🤖 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
Copy link
Copy Markdown
Member

v1v commented Feb 14, 2022

unrelated test failures, i'll merge this to remove the support for unsupported os versions

@v1v v1v merged commit c319a80 into 8.0 Feb 14, 2022
@mergify mergify bot deleted the mergify/bp/8.0/pr-30373 branch February 14, 2022 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants