Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test_profiling: test_run_failed_module_live() fails on AMD64 Arch Linux Asan 3.x #150966

Copy link
Copy link
@vstinner

Description

@vstinner
Issue body actions

Bug report

======================================================================
FAIL: test_run_failed_module_live (test.test_profiling.test_sampling_profiler.test_live_collector_ui.TestLiveModeErrors.test_run_failed_module_live)
Test that running a existing module that fails exits with clean error.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/test_profiling/test_sampling_profiler/test_live_collector_ui.py", line 859, in test_run_failed_module_live
    self.assertIn(
    ~~~~~~~~~~~~~^
        'test test_asdasd crashed -- Traceback (most recent call last):',
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        fake_stderr.getvalue()
        ^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
AssertionError: 'test test_asdasd crashed -- Traceback (most recent call last):' not found in ''

======================================================================
FAIL: test_run_failed_script_live (test.test_profiling.test_sampling_profiler.test_live_collector_ui.TestLiveModeErrors.test_run_failed_script_live)
Test that running a failing script exits with clean error.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/test_profiling/test_sampling_profiler/test_live_collector_ui.py", line 885, in test_run_failed_script_live
    self.assertIn('ZeroDivisionError', stderr)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'ZeroDivisionError' not found in ''

----------------------------------------------------------------------

Python is built with ./configure --without-pymalloc --with-address-sanitizer.

ASAN_OPTIONS=detect_leaks=0:allocator_may_return_null=1:handle_segv=0 env var is used to build Python and run the test suite.

Linked PRs

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirTests in the Lib/test dirtopic-profilingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.