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.x](backport #28030) [CI] use obltGitHubComments #28051

Merged
merged 1 commit into from
Sep 23, 2021
Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 22, 2021

This is an automatic backport of pull request #28030 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/

(cherry picked from commit a14f3ac)
@mergify mergify bot added the backport label Sep 22, 2021
@mergify mergify bot assigned v1v Sep 22, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 22, 2021
@botelastic
Copy link

botelastic bot commented Sep 22, 2021

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

@elasticmachine
Copy link
Collaborator

elasticmachine commented Sep 22, 2021

💔 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: 2021-09-23T13:26:28.705+0000

  • Duration: 74 min 1 sec

  • Commit: 621cfcd

Test stats 🧪

Test Results
Failed 2
Passed 20610
Skipped 1515
Total 22127

Test errors 2

Expand to view the tests failures

Build&Test / x-pack/metricbeat-pythonIntegTest / test_qmgr – x-pack.metricbeat.module.ibmmq.test_ibmmq.Test
    Expand to view the error details

     failed on setup with "compose.service.BuildError: (<Service: ibmmq>, 'manifest for ibmcom/mq:9.1.4.0-r1-amd64 not found: manifest unknown: manifest unknown')" 
    

    Expand to view the stacktrace

     self = <Service: ibmmq>, no_cache = False, pull = False, force_rm = False
    memory = None, build_args_override = None, gzip = False, rm = True
    silent = False, cli = False, progress = None
    
        def build(self, no_cache=False, pull=False, force_rm=False, memory=None, build_args_override=None,
                  gzip=False, rm=True, silent=False, cli=False, progress=None):
            output_stream = open(os.devnull, 'w')
            if not silent:
                output_stream = sys.stdout
                log.info('Building %s' % self.name)
        
            build_opts = self.options.get('build', {})
        
            build_args = build_opts.get('args', {}).copy()
            if build_args_override:
                build_args.update(build_args_override)
        
            for k, v in self._parse_proxy_config().items():
                build_args.setdefault(k, v)
        
            path = rewrite_build_path(build_opts.get('context'))
            if self.platform and version_lt(self.client.api_version, '1.35'):
                raise OperationFailedError(
                    'Impossible to perform platform-targeted builds for API version < 1.35'
                )
        
            builder = self.client if not cli else _CLIBuilder(progress)
            build_output = builder.build(
                path=path,
                tag=self.image_name,
                rm=rm,
                forcerm=force_rm,
                pull=pull,
                nocache=no_cache,
                dockerfile=build_opts.get('dockerfile', None),
                cache_from=self.get_cache_from(build_opts),
                labels=build_opts.get('labels', None),
                buildargs=build_args,
                network_mode=build_opts.get('network', None),
                target=build_opts.get('target', None),
                shmsize=parse_bytes(build_opts.get('shm_size')) if build_opts.get('shm_size') else None,
                extra_hosts=build_opts.get('extra_hosts', None),
                container_limits={
                    'memory': parse_bytes(memory) if memory else None
                },
                gzip=gzip,
                isolation=build_opts.get('isolation', self.options.get('isolation', None)),
                platform=self.platform,
            )
        
            try:
    >           all_events = list(stream_output(build_output, output_stream))
    
    ../../build/ve/docker/lib/python3.7/site-packages/compose/service.py:1110: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
    output = <generator object APIClient._stream_helper at 0x7fde934049a8>
    stream = <_io.TextIOWrapper name="<_io.FileIO name=6 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'>
    
        def stream_output(output, stream):
            is_terminal = hasattr(stream, 'isatty') and stream.isatty()
            stream = utils.get_output_stream(stream)
            lines = {}
            diff = 0
        
            for event in utils.json_stream(output):
                yield event
                is_progress_event = 'progress' in event or 'progressDetail' in event
        
                if not is_progress_event:
    >               print_output_event(event, stream, is_terminal)
    
    ../../build/ve/docker/lib/python3.7/site-packages/compose/progress_stream.py:30: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
    event = {'error': 'manifest for ibmcom/mq:9.1.4.0-r1-amd64 not found: manifest unknown: manifest unknown', 'errorDetail': {'message': 'manifest for ibmcom/mq:9.1.4.0-r1-amd64 not found: manifest unknown: manifest unknown'}}
    stream = <_io.TextIOWrapper name="<_io.FileIO name=6 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'>
    is_terminal = False
    
        def print_output_event(event, stream, is_terminal):
            if 'errorDetail' in event:
    >           raise StreamOutputError(event['errorDetail']['message'])
    E           compose.progress_stream.StreamOutputError: manifest for ibmcom/mq:9.1.4.0-r1-amd64 not found: manifest unknown: manifest unknown
    
    ../../build/ve/docker/lib/python3.7/site-packages/compose/progress_stream.py:62: StreamOutputError
    
    During handling of the above exception, another exception occurred:
    
    self = <class 'test_ibmmq.Test'>
    
        @classmethod
        def setUpClass(self):
            self.beat_name = "metricbeat"
            self.beat_path = os.path.abspath(
                os.path.join(os.path.dirname(__file__), "../../"))
        
            self.template_paths = [
                os.path.abspath(os.path.join(self.beat_path, "../../metricbeat")),
                os.path.abspath(os.path.join(self.beat_path, "../../libbeat")),
            ]
        
    >       super(XPackTest, self).setUpClass()
    
    tests/system/xpack_metricbeat.py:19: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../metricbeat/tests/system/metricbeat.py:28: in setUpClass
        super(BaseTest, self).setUpClass()
    ../../libbeat/tests/system/beat/beat.py:148: in setUpClass
        self.compose_up_with_retries()
    ../../libbeat/tests/system/beat/beat.py:163: in compose_up_with_retries
        raise e
    ../../libbeat/tests/system/beat/beat.py:159: in compose_up_with_retries
        self.compose_up()
    ../../libbeat/tests/system/beat/compose.py:69: in compose_up
        timeout=30)
    ../../build/ve/docker/lib/python3.7/site-packages/compose/project.py:548: in up
        svc.ensure_image_exists(do_build=do_build, silent=silent, cli=cli)
    ../../build/ve/docker/lib/python3.7/site-packages/compose/service.py:367: in ensure_image_exists
        self.build(cli=cli)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
    self = <Service: ibmmq>, no_cache = False, pull = False, force_rm = False
    memory = None, build_args_override = None, gzip = False, rm = True
    silent = False, cli = False, progress = None
    
        def build(self, no_cache=False, pull=False, force_rm=False, memory=None, build_args_override=None,
                  gzip=False, rm=True, silent=False, cli=False, progress=None):
            output_stream = open(os.devnull, 'w')
            if not silent:
                output_stream = sys.stdout
                log.info('Building %s' % self.name)
        
            build_opts = self.options.get('build', {})
        
            build_args = build_opts.get('args', {}).copy()
            if build_args_override:
                build_args.update(build_args_override)
        
            for k, v in self._parse_proxy_config().items():
                build_args.setdefault(k, v)
        
            path = rewrite_build_path(build_opts.get('context'))
            if self.platform and version_lt(self.client.api_version, '1.35'):
                raise OperationFailedError(
                    'Impossible to perform platform-targeted builds for API version < 1.35'
                )
        
            builder = self.client if not cli else _CLIBuilder(progress)
            build_output = builder.build(
                path=path,
                tag=self.image_name,
                rm=rm,
                forcerm=force_rm,
                pull=pull,
                nocache=no_cache,
                dockerfile=build_opts.get('dockerfile', None),
                cache_from=self.get_cache_from(build_opts),
                labels=build_opts.get('labels', None),
                buildargs=build_args,
                network_mode=build_opts.get('network', None),
                target=build_opts.get('target', None),
                shmsize=parse_bytes(build_opts.get('shm_size')) if build_opts.get('shm_size') else None,
                extra_hosts=build_opts.get('extra_hosts', None),
                container_limits={
                    'memory': parse_bytes(memory) if memory else None
                },
                gzip=gzip,
                isolation=build_opts.get('isolation', self.options.get('isolation', None)),
                platform=self.platform,
            )
        
            try:
                all_events = list(stream_output(build_output, output_stream))
            except StreamOutputError as e:
    >           raise BuildError(self, six.text_type(e))
    E           compose.service.BuildError: (<Service: ibmmq>, 'manifest for ibmcom/mq:9.1.4.0-r1-amd64 not found: manifest unknown: manifest unknown')
    
    ../../build/ve/docker/lib/python3.7/site-packages/compose/service.py:1112: BuildError 
    

Build&Test / x-pack/metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/x-pack/metricbeat/module/ibmmq/qmgr
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestFetch
    Found orphan containers (metricbeat_7_16_0_ff646edf98-snapshot_coredns_1, metricbeat_7_16_0_ff646edf98-snapshot_cockroachdb_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 ibmmq
    Step 1/7 : ARG IBMMQ_VERSION
    Step 2/7 : FROM ibmcom/mq:${IBMMQ_VERSION}
    Service 'ibmmq' failed to build: manifest for ibmcom/mq:9.1.4.0-r1-amd64 not found: manifest unknown: manifest unknown
        qmgr_integration_test.go:31: failed to start service 'ibmmq: exit status 1
    Found orphan containers (metricbeat_7_16_0_ff646edf98-snapshot_coredns_1, metricbeat_7_16_0_ff646edf98-snapshot_cockroachdb_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 ibmmq
    Step 1/7 : ARG IBMMQ_VERSION
    Step 2/7 : FROM ibmcom/mq:${IBMMQ_VERSION}
    Service 'ibmmq' failed to build: manifest for ibmcom/mq:9.1.4.0-r1-amd64 not found: manifest unknown: manifest unknown
        qmgr_integration_test.go:31: failed to start service 'ibmmq: exit status 1
    Found orphan containers (metricbeat_7_16_0_ff646edf98-snapshot_coredns_1, metricbeat_7_16_0_ff646edf98-snapshot_cockroachdb_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 ibmmq
    Step 1/7 : ARG IBMMQ_VERSION
    Step 2/7 : FROM ibmcom/mq:${IBMMQ_VERSION}
    Service 'ibmmq' failed to build: manifest for ibmcom/mq:9.1.4.0-r1-amd64 not found: manifest unknown: manifest unknown
        qmgr_integration_test.go:31: failed to start service 'ibmmq: exit status 1
        qmgr_integration_test.go:31: getting host for ibmmq: no container running for service
    --- FAIL: TestFetch (6.48s)
     
    

Steps errors 9

Expand to view the steps failures

x-pack/metricbeat-goIntegTest - mage goIntegTest
  • Took 14 min 4 sec . View more details here
  • Description: mage goIntegTest
x-pack/metricbeat-goIntegTest - mage goIntegTest
  • Took 11 min 51 sec . View more details here
  • Description: mage goIntegTest
x-pack/metricbeat-goIntegTest - mage goIntegTest
  • Took 10 min 38 sec . View more details here
  • Description: mage goIntegTest
List files to upload
  • Took 0 min 0 sec . View more details here
  • Description: ls -l src/github.com/elastic/beats/build/system-tests-*.tar.gz
x-pack/metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 12 min 51 sec . View more details here
  • Description: mage pythonIntegTest
x-pack/metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 7 min 33 sec . View more details here
  • Description: mage pythonIntegTest
x-pack/metricbeat-pythonIntegTest - mage pythonIntegTest
  • Took 7 min 37 sec . View more details here
  • Description: mage pythonIntegTest
List files to upload
  • Took 0 min 0 sec . View more details here
  • Description: ls -l src/github.com/elastic/beats/build/system-tests-*.tar.gz
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 2

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

  • Name: Build&Test / x-pack/metricbeat-pythonIntegTest / test_qmgr – x-pack.metricbeat.module.ibmmq.test_ibmmq.Test
  • Name: Build&Test / x-pack/metricbeat-goIntegTest / TestFetch – github.com/elastic/beats/v7/x-pack/metricbeat/module/ibmmq/qmgr

🤖 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.

@v1v
Copy link
Member

v1v commented Sep 23, 2021

/test

1 similar comment
@v1v
Copy link
Member

v1v commented Sep 23, 2021

/test

@v1v
Copy link
Member

v1v commented Sep 23, 2021

Unrelated errors to this particular change that was done to be able to listen for specific GitHub commands/comments

@v1v v1v merged commit 9d52690 into 7.x Sep 23, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-28030 branch September 23, 2021 16:22
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