[issue41736] test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7

2021-05-26 Thread STINNER Victor


STINNER Victor  added the comment:

I didn't see this issue recently, I close the issue (again!).

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41736] test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7

2020-10-26 Thread STINNER Victor


STINNER Victor  added the comment:

> Unless refleaks are considered security holes,

This issue is unrelated to reference leak. It's just that when you run 
test_site multiple times, it fails sometimes. It looks like a race condition in 
the test.

My notes on unstable tests:
https://pythondev.readthedocs.io/unstable_tests.html


> On Windows 10 and master, I ran 12 copies of test_site in parallel 10 times.  
> Then I ran -R 3:100 3 times.  All pass.  

Maybe test_site only fails when other tests are run in parallel.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41736] test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7

2020-10-20 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

On Windows 10 and master, I ran 12 copies of test_site in parallel 10 times.  
Then I ran -R 3:100 3 times.  All pass.  

Unless refleaks are considered security holes, perhaps this should be closed 
until it re-occurs in a normally maintained branch.

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41736] test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7

2020-09-08 Thread hai shi


Change by hai shi :


--
nosy: +shihai1991

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41736] test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7

2020-09-07 Thread STINNER Victor


New submission from STINNER Victor :

It's not the first time that I see this error, but it looks random:

* 2009-11-08: bpo-7283: "test_site failure when 
.local/lib/pythonX.Y/site-packages hasn't been created yet": x86-64 Ubuntu 
14.04 ICC Debug 3.5, AppVeyor (Windows)
* 2017-11-20: bpo-32091: "test_s_option() of test_site.HelperFunctionsTests 
failed on x86 Gentoo Refleaks 3.6"
* 2018-07-21: bpo-34177: "test_site fails in macOS-PR VSTS builds for 3.7 
branch"
* 2019-09-16: bpo-38184: "test_site: test_s_option() failed on AMD64 Fedora 
Rawhide Refleaks 2.7 and AMD64 Fedora Stable Refleaks 3.7"
* etc.

Usually, I close the issue since it only occurs once and then hides for 1 
year...

---

AMD64 Windows8.1 Refleaks 3.7:
https://buildbot.python.org/all/#/builders/63/builds/21

0:50:59 load avg: 4.70 [345/416/1] test_site failed -- running: 
test_multiprocessing_spawn (9 min 23 sec), test_importlib (1 min 11 sec)
beginning 6 repetitions
123456
.test test_site failed -- Traceback (most recent call last):
  File 
"D:\buildarea\3.7.ware-win81-release.refleak\build\lib\test\test_site.py", line 
205, in test_s_option
self.assertIn(usersite, sys.path)
AssertionError: 
'C:\\Users\\buildworker\\AppData\\Roaming\\Python\\Python37\\site-packages' not 
found in ['D:\\buildarea\\3.7.ware-win81-release.refleak\\build', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\PCbuild\\amd64\\python37_d.zip',
 'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\DLLs', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\lib', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\PCbuild\\amd64', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\lib\\site-packages']
(...)
1:10:20 load avg: 0.08 Re-running test_site in verbose mode
beginning 6 repetitions
123456
..
beginning 6 repetitions
123456
test__getuserbase (test.test_site.HelperFunctionsTests) ... ok
(...)
test_no_home_directory (test.test_site.HelperFunctionsTests) ... ok
test_s_option (test.test_site.HelperFunctionsTests) ... FAIL
test_abs_paths (test.test_site.ImportSideEffectTests) ... ok
(...)
test_underpth_nosite_file (test.test_site._pthFileTests) ... ok

==
FAIL: test_s_option (test.test_site.HelperFunctionsTests)
--
Traceback (most recent call last):
  File 
"D:\buildarea\3.7.ware-win81-release.refleak\build\lib\test\test_site.py", line 
205, in test_s_option
self.assertIn(usersite, sys.path)
AssertionError: 
'C:\\Users\\buildworker\\AppData\\Roaming\\Python\\Python37\\site-packages' not 
found in ['D:\\buildarea\\3.7.ware-win81-release.refleak\\build', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\PCbuild\\amd64\\python37_d.zip',
 'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\DLLs', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\lib', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\PCbuild\\amd64', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build', 
'D:\\buildarea\\3.7.ware-win81-release.refleak\\build\\lib\\site-packages']

--

Ran 30 tests in 1.172s
(...)

--
components: Tests
messages: 376496
nosy: corona10, pablogsal, vstinner
priority: normal
severity: normal
status: open
title: test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com