Skip to content

test___all__.AllTest.test_all is failing on every PR #105821

Description

@AlexWaygood

Bug report

Following #105801, test___all__.AllTest.test_all is failing on every non-docs PR on the "Hypothesis tests on Ubuntu" CI job.

The traceback is:

======================================================================
FAIL: test_all (test.test___all__.AllTest.test_all)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test___all__.py", line 129, in test_all
    self.check_all(modname)
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test___all__.py", line 43, in check_all
    with warnings_helper.check_warnings(
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/support/warnings_helper.py", line 185, in _filterwarnings
    raise AssertionError("unhandled warning %s" % reraise[0])
AssertionError: unhandled warning {message : SyntaxWarning("invalid escape sequence '\\?'"), category : 'SyntaxWarning', filename : '/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_httpservers.py', lineno : 445, line : None}

Example failures:

This failure was visible in the CI for #105801 FYI

Linked PRs

Activity

  1. pablogsal commented on Jun 15, 2023

    @pablogsal
    Member

    This failure was visible in the CI for #105801 FYI

    But then how is possible that we could land that PR?

  2. pablogsal commented on Jun 15, 2023

    @pablogsal
    Member

    Ah, because hypothesis tests are not mandatory. Well, this is what I feared that would happen having non-mandatory tests that are already failing for other reasons 😞

  3. AlexWaygood commented on Jun 15, 2023

    @AlexWaygood
    MemberAuthor

    Ah, because hypothesis tests are not mandatory.

    Indeed

    Well, this is what I feared that would happen having non-mandatory tests that are already failing for other reasons 😞

    FWIW, I haven't seen any failures on the "hypothesis tests" job since @ericsnowcurrently fixed the test__xxsubinterpreter and test_threading crashes. We could probably make it a "required" CI check at this point.

  4. pablogsal commented on Jun 15, 2023

    @pablogsal
    Member

    We could probably make it a "required" CI check at this point.

    I think we should

  5. AlexWaygood commented on Jun 15, 2023

    @AlexWaygood
    MemberAuthor

    We could probably make it a "required" CI check at this point.

    I think we should

    We should probably continue discussion on the matter at #86275

  6. added a commit that references this issue on Jun 15, 2023
  7. added a commit that references this issue on Jun 15, 2023
  8. added a commit that references this issue on Jun 15, 2023
  9. AlexWaygood commented on Jun 15, 2023

    @AlexWaygood
    MemberAuthor

    Thanks for the quick fix @pablogsal!!

  10. added a commit that references this issue on Jun 15, 2023
  11. added 2 commits that reference this issue on Jul 19, 2023
  12. added 2 commits that reference this issue on Aug 25, 2023
  13. added a commit that references this issue on Aug 28, 2023
  14. added a commit that references this issue on Aug 28, 2023
  15. added a commit that references this issue on Feb 15, 2024
  16. added a commit that references this issue on Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions