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_site: test_s_option() failed on AMD64 Fedora Rawhide Refleaks 2.7 and AMD64 Fedora Stable Refleaks 3.7
Type: Stage: resolved
Components: Tests Versions: Python 3.7, Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords:

Created on 2019-09-16 07:47 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg352525 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-09-16 07:47
https://buildbot.python.org/all/#/builders/190/builds/151

Re-running test 'test_site' in verbose mode
beginning 6 repetitions
123456

(...)

test_aliasing_mbcs (test.test_site.ImportSideEffectTests) ... ok
test_no_duplicate_paths (test.test_site.ImportSideEffectTests) ... ok
test_setdefaultencoding_removed (test.test_site.ImportSideEffectTests) ... ok
test_setting_copyright (test.test_site.ImportSideEffectTests) ... ok
test_setting_help (test.test_site.ImportSideEffectTests) ... ok
test_setting_quit (test.test_site.ImportSideEffectTests) ... ok
test test_site failed -- Traceback (most recent call last):
  File "/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib/test/test_site.py", line 191, in test_s_option
    self.assertIn(usersite, sys.path)
AssertionError: '/root/.local/lib/python2.7/site-packages' not found in ['/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/target/lib/python27.zip', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib/plat-linux2', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib/lib-tk', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib/lib-old', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/build/lib.linux-x86_64-2.7-pydebug']

test_sitecustomize_executed (test.test_site.ImportSideEffectTests) ... ok

======================================================================
FAIL: test_s_option (test.test_site.HelperFunctionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib/test/test_site.py", line 191, in test_s_option
    self.assertIn(usersite, sys.path)
AssertionError: '/root/.local/lib/python2.7/site-packages' not found in ['/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/target/lib/python27.zip', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib/plat-linux2', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib/lib-tk', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/Lib/lib-old', '/home/buildbot/buildarea/2.7.cstratak-fedora-rawhide-x86_64.refleak/build/build/lib.linux-x86_64-2.7-pydebug']

----------------------------------------------------------------------
Ran 21 tests in 0.017s

FAILED (failures=1, skipped=1)
1 test failed again:
    test_site
msg353010 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-09-23 12:22
Same error on AMD64 Fedora Stable Refleaks 2.7:
https://buildbot.python.org/all/#/builders/291/builds/2
msg353011 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-09-23 12:23
Fail on AMD64 Fedora Stable Refleaks 3.7:
https://buildbot.python.org/all/#/builders/261/builds/2

FAIL: test_s_option (test.test_site.HelperFunctionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.7.cstratak-fedora-stable-x86_64.refleak/build/Lib/test/test_site.py", line 204, in test_s_option
    self.assertIn(usersite, sys.path)
AssertionError: '/home/buildbot/.local/lib/python3.7/site-packages' not found in ['/home/buildbot/buildarea/3.7.cstratak-fedora-stable-x86_64.refleak/build', '/home/buildbot/buildarea/3.7.cstratak-fedora-stable-x86_64.refleak/build/target/lib/python37.zip', '/home/buildbot/buildarea/3.7.cstratak-fedora-stable-x86_64.refleak/build/Lib', '/home/buildbot/buildarea/3.7.cstratak-fedora-stable-x86_64.refleak/build/build/lib.linux-x86_64-3.7-pydebug']
msg361567 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-02-07 10:49
I didn't see the failure recently, I close it.
History
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82365
2020-02-07 10:49:54vstinnersetstatus: open -> closed
resolution: out of date
messages: + msg361567

stage: resolved
2019-09-23 12:23:58vstinnersettitle: [2.7] test_site: test_s_option() failed on AMD64 Fedora Rawhide Refleaks 2.7 -> test_site: test_s_option() failed on AMD64 Fedora Rawhide Refleaks 2.7 and AMD64 Fedora Stable Refleaks 3.7
messages: + msg353011
versions: + Python 3.7
2019-09-23 12:22:45vstinnersetmessages: + msg353010
2019-09-16 07:47:49vstinnercreate