Message11354

Author stefan.richthofer
Recipients stefan.richthofer
Date 2017-05-05.12:06:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493986003.97.0.5818655087.issue2587@psf.upfronthosting.co.za>
In-reply-to
Content
My usual development workspace on Linux (Mint 18 Cinnamon-64Bit) is hosted on an NTFS partition for better interoperability with Windows.
I observe test_dumbdbm and test_shutil to fail in this settings, while both pass if I move dist-folder to an ext4-partition. test_mailbox also suffers from this, but also fails for me on ext4 with less failures though. On Windows I don't observe any of these failures, but maybe they are just skipped (didn't yet check).

Outputs on NTFS are as follows:

test_dumbdbm:
======================================================================
FAIL: test_dumbdbm_creation_mode (__main__.DumbDBMTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_dumbdbm.py", line 67, in test_dumbdbm_creation_mode
    self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
AssertionError: 511 != 413

----------------------------------------------------------------------
Ran 9 tests in 0.923s

FAILED (failures=1)
Traceback (most recent call last):
  File "Lib/test/test_dumbdbm.py", line 190, in <module>
    test_main()
  File "Lib/test/test_dumbdbm.py", line 185, in test_main
    test_support.run_unittest(DumbDBMTestCase)
  File "/data/workspace/linux/Jython/ssh/jython/dist/Lib/test/test_support.py", line 1330, in run_unittest
    _run_suite(suite)
  File "/data/workspace/linux/Jython/ssh/jython/dist/Lib/test/test_support.py", line 1313, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "Lib/test/test_dumbdbm.py", line 67, in test_dumbdbm_creation_mode
    self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
AssertionError: 511 != 413




test_shutil:
======================================================================
FAIL: test_on_error (__main__.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_shutil.py", line 101, in test_on_error
    self.assertEqual(self.errorState, 2,
AssertionError: Expected call to onerror function did not happen.

----------------------------------------------------------------------
Ran 31 tests in 0.525s

FAILED (failures=1)
Traceback (most recent call last):
  File "Lib/test/test_shutil.py", line 816, in <module>
    test_main()
  File "Lib/test/test_shutil.py", line 813, in test_main
    test_support.run_unittest(TestShutil, TestMove, TestCopyFile)
  File "/data/workspace/linux/Jython/ssh/jython/dist/Lib/test/test_support.py", line 1330, in run_unittest
    _run_suite(suite)
  File "/data/workspace/linux/Jython/ssh/jython/dist/Lib/test/test_support.py", line 1313, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "Lib/test/test_shutil.py", line 101, in test_on_error
    self.assertEqual(self.errorState, 2,
AssertionError: Expected call to onerror function did not happen.



For test_mailbox see #2586.
History
Date User Action Args
2017-05-05 12:06:43stefan.richthofersetrecipients: + stefan.richthofer
2017-05-05 12:06:43stefan.richthofersetmessageid: <1493986003.97.0.5818655087.issue2587@psf.upfronthosting.co.za>
2017-05-05 12:06:43stefan.richthoferlinkissue2587 messages
2017-05-05 12:06:43stefan.richthofercreate