Skip to content

macOS test failures #83850

Closed
Closed

Description

@terryjreedy
BPO 39669
Nosy @terryjreedy, @ronaldoussoren, @vstinner, @ned-deily, @ambv, @tirkarthi
Superseder
  • bpo-38691: importlib: PYTHONCASEOK should be ignored when using python3 -E
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2020-02-18.13:51:45.266>
    created_at = <Date 2020-02-18.03:27:33.890>
    labels = ['OS-mac', 'type-bug', 'tests', '3.9']
    title = 'macOS test failures'
    updated_at = <Date 2020-02-18.13:51:45.265>
    user = 'https://github.com/terryjreedy'

    bugs.python.org fields:

    activity = <Date 2020-02-18.13:51:45.265>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-02-18.13:51:45.266>
    closer = 'vstinner'
    components = ['macOS', 'Tests']
    creation = <Date 2020-02-18.03:27:33.890>
    creator = 'terry.reedy'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39669
    keywords = []
    message_count = 4.0
    messages = ['362170', '362172', '362173', '362213']
    nosy_count = 6.0
    nosy_names = ['terry.reedy', 'ronaldoussoren', 'vstinner', 'ned.deily', 'lukasz.langa', 'xtreak']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '38691'
    type = 'behavior'
    url = 'https://bugs.python.org/issue39669'
    versions = ['Python 3.9']

    Activity

    1. terryjreedy commented on Feb 18, 2020

      @terryjreedy
      MemberAuthor

      macOS test failed twice for PR-18536, for reasons unrelated to the IDLE test additions. Two pages gave completely different reasons.

      https://github.com/python/cpython/pull/18536/checks?check_run_id=451798955

      clang: warning: -framework Tk: 'linker' input unused [-Wunused-command-line-argument]
      In file included from /Users/runner/runners/2.164.0/work/cpython/cpython/Modules/_tkinter.c:48:
      /Applications/Xcode_11.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/tk.h:86:11: fatal error: 'X11/Xlib.h' file not found
      # include <X11/Xlib.h>
      ^~~~~~~~~~~~
      1 error generated.

      Python build finished successfully!

      But no tests are listed.

      From clicking '...' on above page, View raw logs,
      https://pipelines.actions.githubusercontent.com/E9sxbx8BNoRYbzXilV3t7ZRT2AjSeiVsTIIDUiDv0jTXfwuZPt/_apis/pipelines/1/runs/4122/signedlogcontent/6?urlExpires=2020-02-18T02%3A39%3A17.4773408Z&urlSigningMethod=HMACV1&urlSignature=ZpdM7bjMgqeUyUCyD4TLVZRYpMxqvYw%2BA9bEs0qCKfE%3D

      2020-02-18T02:24:55.9857810Z ======================================================================
      2020-02-18T02:24:55.9858110Z FAIL: test_case_insensitivity (test.test_importlib.extension.test_case_sensitivity.Source_ExtensionModuleCaseSensitivityTest)
      2020-02-18T02:24:55.9858780Z ----------------------------------------------------------------------

      2020-02-18T02:24:55.9858930Z Traceback (most recent call last):
      2020-02-18T02:24:55.9859090Z   File "/Users/runner/runners/2.164.0/work/cpython/cpython/Lib/test/test_importlib/extension/test_case_sensitivity.py", line 36, in test_case_insensitivity
      2020-02-18T02:24:55.9859680Z     self.assertTrue(hasattr(loader, 'load_module'))
      2020-02-18T02:24:55.9859810Z AssertionError: False is not true

      This happened with 2 subtests.

      ======================================================================
      2020-02-18T02:24:55.9860160Z FAIL: test_insensitive (test.test_importlib.source.test_case_sensitivity.Frozen_CaseSensitivityTestPEP302)
      2020-02-18T02:24:55.9860780Z ----------------------------------------------------------------------

      2020-02-18T02:24:55.9860940Z Traceback (most recent call last):
      2020-02-18T02:24:55.9861090Z   File "/Users/runner/runners/2.164.0/work/cpython/cpython/Lib/test/test_importlib/source/test_case_sensitivity.py", line 57, in test_insensitive
      2020-02-18T02:24:55.9861400Z     self.assertIsNotNone(insensitive)
      2020-02-18T02:24:55.9861530Z AssertionError: unexpectedly None

      4 subtests failed.

    2. terryjreedy commented on Feb 18, 2020

      @terryjreedy
      MemberAuthor

      Same failures for pr-18539.

    3. ned-deily commented on Feb 18, 2020

      @ned-deily
      Member

      The importlib test failures have been showing up on the buildbots but haven't yet been triaged:

      https://mail.python.org/archives/list/[email protected]/thread/XMDX3AVR3HALZIPKBWB4WUV3FOAYHGUV/

      It is referred here:
      https://mail.python.org/archives/list/[email protected]/message/7HTKJO4APMRTLGUB2N5TGJ6CJBVR3UZX/

      The initial messages are a build warning just indicating that tkinter can't be built on this system with the current Apple-supplied Tk, a long-standing issue.

    4. vstinner commented on Feb 18, 2020

      @vstinner
      Member

      It's bpo-38691. Let's discuss it there.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifeOS-mactestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions