This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: macOS test failures
Type: behavior Stage: resolved
Components: macOS, Tests Versions: Python 3.9
process
Status: closed Resolution: duplicate
Dependencies: Superseder: importlib: PYTHONCASEOK should be ignored when using python3 -E
View: 38691
Assigned To: Nosy List: lukasz.langa, ned.deily, ronaldoussoren, terry.reedy, vstinner, xtreak
Priority: normal Keywords:

Created on 2020-02-18 03:27 by terry.reedy, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg362170 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-02-18 03:27
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.
msg362172 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-02-18 03:32
Same failures for pr-18539.
msg362173 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2020-02-18 03:44
The importlib test failures have been showing up on the buildbots but haven't yet been triaged:

https://mail.python.org/archives/list/buildbot-status@python.org/thread/XMDX3AVR3HALZIPKBWB4WUV3FOAYHGUV/

It is referred here:
https://mail.python.org/archives/list/python-committers@python.org/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.
msg362213 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-02-18 13:51
It's bpo-38691. Let's discuss it there.
History
Date User Action Args
2022-04-11 14:59:26adminsetgithub: 83850
2020-02-18 13:51:45vstinnersetstatus: open -> closed
superseder: importlib: PYTHONCASEOK should be ignored when using python3 -E
messages: + msg362213

resolution: duplicate
stage: resolved
2020-02-18 03:44:43ned.deilysetmessages: + msg362173
2020-02-18 03:38:02xtreaksetnosy: + xtreak
2020-02-18 03:32:35terry.reedysetnosy: + vstinner
messages: + msg362172
2020-02-18 03:27:33terry.reedycreate