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

[Auditbeat] test with ubuntu-22 #33863

Closed
wants to merge 1 commit into from

Conversation

andrewkroh
Copy link
Member

@andrewkroh andrewkroh commented Nov 29, 2022

What does this PR do?

Relates #33840

Why is it important?

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Nov 29, 2022
@botelastic
Copy link

botelastic bot commented Nov 29, 2022

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

@andrewkroh
Copy link
Member Author

/test auditbeat for ubuntu-22

@mergify
Copy link
Contributor

mergify bot commented Nov 29, 2022

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @andrewkroh? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v8./d.0 is the label to automatically backport to the 8./d branch. /d is the digit

@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 29, 2022

💔 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-11-29T14:19:10.031+0000

  • Duration: 33 min 18 sec

Test stats 🧪

Test Results
Failed 10
Passed 429
Skipped 47
Total 486

Test errors 10

Expand to view the tests failures

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_config – x-pack.auditbeat.tests.system.test_exports.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_export_config>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_ilm_policy – x-pack.auditbeat.tests.system.test_exports.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_export_ilm_policy>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_index_pattern – x-pack.auditbeat.tests.system.test_exports.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_export_index_pattern>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_index_pattern_migration – x-pack.auditbeat.tests.system.test_exports.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_export_index_pattern_migration>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_template – x-pack.auditbeat.tests.system.test_exports.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_export_template>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_host – x-pack.auditbeat.tests.system.test_metricsets.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_metricset_host>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_login – x-pack.auditbeat.tests.system.test_metricsets.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_metricset_login>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_package – x-pack.auditbeat.tests.system.test_metricsets.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_metricset_package>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_process – x-pack.auditbeat.tests.system.test_metricsets.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_metricset_process>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_user – x-pack.auditbeat.tests.system.test_metricsets.Test
    Expand to view the error details

     AttributeError: 'NoneType' object has no attribute 'get_current' 
    

    Expand to view the stacktrace

     item = <TestCaseFunction test_metricset_user>
    
        @pytest.hookimpl(hookwrapper=True)
        def pytest_runtest_call(item):
            global outcome, session_name, spans
            with tracer.start_as_current_span(
                "Running {}".format(item.name),
    >           context=trace.set_span_in_context(spans[session_name]),
                record_exception=True,
                set_status_on_exception=True,
            ) as span:
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/trace/propagation/__init__.py:34: in set_span_in_context
        ctx = set_value(_SPAN_KEY, span, context=context)
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:116: in set_value
        context = get_current()
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:67: in wrapper
        return func(*args, **kwargs)  # type: ignore[misc]
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
        @_load_runtime_context  # type: ignore
        def get_current() -> Context:
            """To access the context associated with program execution,
            the Context API provides a function which takes no arguments
            and returns a Context.
        
            Returns:
                The current `Context` object.
            """
    >       return _RUNTIME_CONTEXT.get_current()  # type:ignore
    E       AttributeError: 'NoneType' object has no attribute 'get_current'
    
    ../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/opentelemetry/context/__init__.py:131: AttributeError 
    

Steps errors 4

Expand to view the steps failures

x-pack/auditbeat-ubuntu-22-ubuntu-22 - mage build test
  • Took 4 min 42 sec . View more details here
  • Description: mage build test
x-pack/auditbeat-ubuntu-22-ubuntu-22 - mage build test
  • Took 1 min 36 sec . View more details here
  • Description: mage build test
x-pack/auditbeat-ubuntu-22-ubuntu-22 - mage build test
  • Took 1 min 34 sec . View more details here
  • Description: mage build test
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 10

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

  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_config – x-pack.auditbeat.tests.system.test_exports.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_ilm_policy – x-pack.auditbeat.tests.system.test_exports.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_index_pattern – x-pack.auditbeat.tests.system.test_exports.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_index_pattern_migration – x-pack.auditbeat.tests.system.test_exports.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_export_template – x-pack.auditbeat.tests.system.test_exports.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_host – x-pack.auditbeat.tests.system.test_metricsets.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_login – x-pack.auditbeat.tests.system.test_metricsets.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_package – x-pack.auditbeat.tests.system.test_metricsets.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_process – x-pack.auditbeat.tests.system.test_metricsets.Test
  • Name: Extended / x-pack/auditbeat-ubuntu-22-ubuntu-22 / test_metricset_user – x-pack.auditbeat.tests.system.test_metricsets.Test

🤖 GitHub comments

Expand to view the 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!)

@andrewkroh
Copy link
Member Author

/test auditbeat for ubuntu-22

@andrewkroh
Copy link
Member Author

The tests are failing in python otel:

AttributeError: 'NoneType' object has no attribute 'get_current'

../../../../../../python-env/build/ve/linux/lib/python3.10/site-packages/pytest_otel/__init__.py:290:

@andrewkroh
Copy link
Member Author

I have opened issues to investigate the otel related CI failures. Closing this until that is addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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