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: test_launcher fails on win-arm64 buildbot
Type: behavior Stage: resolved
Components: Windows Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2022-03-30 17:38 by steve.dower, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg416389 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-03-30 17:38
Test failures: https://buildbot.python.org/all/#/builders/730/builds/4307

======================================================================
FAIL: test_filter_to_company (test.test_launcher.TestLauncher)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_launcher.py", line 311, in test_filter_to_company
    self.assertEqual("X.Y.exe", data["LaunchCommand"])
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'X.Y.exe' != 'C:\\Workspace\\buildarea\\venv_310\\Scripts\\python.exe'
- X.Y.exe
+ C:\Workspace\buildarea\venv_310\Scripts\python.exe
======================================================================
FAIL: test_py_default (test.test_launcher.TestLauncher)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_launcher.py", line 370, in test_py_default
    self.assertEqual("PythonTestSuite", data["SearchInfo.company"])
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'PythonTestSuite' != '(null)'
- PythonTestSuite
+ (null)
======================================================================
FAIL: test_py_shebang (test.test_launcher.TestLauncher)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_launcher.py", line 392, in test_py_shebang
    self.assertEqual("PythonTestSuite", data["SearchInfo.company"])
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'PythonTestSuite' != '(null)'
- PythonTestSuite
+ (null)
msg416390 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-03-30 17:39
Oh, I wonder if the VIRTUAL_ENV environment variable is interfering with search (as it's meant to, but the tests weren't written expecting to be run inside a venv).
msg416395 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-03-30 19:36
The fix in PR 32204 also clears out VIRTUAL_ENV, so that may be enough. It's running on buildbots to see whether it helps.
msg416400 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-03-30 21:21
Looks like that probably fixed it. Will let the buildbot run again to be sure:

https://buildbot.python.org/all/#/builders/729/builds/1191
https://buildbot.python.org/all/#/builders/730/builds/4322
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91329
2022-03-30 22:07:56steve.dowersetstatus: open -> closed
resolution: fixed
stage: needs patch -> resolved
2022-03-30 21:21:14steve.dowersetmessages: + msg416400
2022-03-30 19:36:04steve.dowersetmessages: + msg416395
2022-03-30 17:39:11steve.dowersetmessages: + msg416390
2022-03-30 17:38:03steve.dowercreate