The Buildbot has detected a new failure on builder aarch64 Fedora Rawhide Refleaks 3.13 while building Python. Full details are available at: https://buildbot.python.org/all/#/builders/1462/builds/20
Buildbot URL: https://buildbot.python.org/all/ Worker for this Build: cstratak-fedora-rawhide-aarch64 Build Reason: <unknown> Blamelist: BUILD FAILED: failed test (failure) Summary of the results of the build (if available): =================================================== == Captured traceback ================== Traceback (most recent call last): ZeroDivisionError: integer division or modulo by zero ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) k Trying: def f(x): ''' >>> x = 12 >>> print('pre-exception output', x//0) pre-exception output Traceback (most recent call last): ZeroDivisionError: integer division or modulo by zero ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 4, in f Failed example: print('pre-exception output', x//0) Exception raised: ... ZeroDivisionError: integer division or modulo by zero TestResults(failed=1, attempted=2) k Trying: def f(x): r''' >>> raise ValueError('multi\nline\nmessage') Traceback (most recent call last): ValueError: multi line message ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) k Trying: def f(x): r''' >>> raise ValueError('message') Traceback (most recent call last): ValueError: wrong message ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: raise ValueError('message') Expected: Traceback (most recent call last): ValueError: wrong message Got: Traceback (most recent call last): ... ValueError: message TestResults(failed=1, attempted=1) k Trying: def f(x): r''' >>> raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): ValueError: wrong message ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) k Trying: def f(x): r''' >>> from http.client import HTTPException >>> raise HTTPException('message') Traceback (most recent call last): HTTPException: message ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 4, in f Failed example: raise HTTPException('message') Expected: Traceback (most recent call last): HTTPException: message Got: Traceback (most recent call last): ... http.client.HTTPException: message TestResults(failed=1, attempted=2) k Trying: def f(x): r''' >>> from http.client import HTTPException >>> raise HTTPException('message') Traceback (most recent call last): http.client.HTTPException: message ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) k Trying: def f(x): r''' >>> from http.client import HTTPException >>> raise HTTPException('message') #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): HTTPException: message ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) k Trying: def f(x): r''' >>> from http.client import HTTPException >>> raise HTTPException('message') #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): foo.bar.HTTPException: message ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) k Trying: def f(x): r''' >>> raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): TypeError: wrong type ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL Expected: Traceback (most recent call last): TypeError: wrong type Got: Traceback (most recent call last): ... ValueError: message TestResults(failed=1, attempted=1) k Trying: def f(x): r''' >>> from http.client import HTTPException >>> raise HTTPException() #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): foo.bar.HTTPException ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) k Trying: def f(x): r''' >>> from http.client import HTTPException >>> raise HTTPException() #doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): foo.bar.HTTPException: ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=2) k Trying: def f(x): r''' >>> 1//0 0 ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: 1//0 Exception raised: Traceback (most recent call last): ... ZeroDivisionError: integer division or modulo by zero TestResults(failed=1, attempted=1) k Trying: _colorize.COLORIZE = save_colorize Expecting nothing k doctest (test_zipped_doctest) ... 42 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestRunner.option_directives Trying: save_colorize = _colorize.COLORIZE Expecting nothing k Trying: _colorize.COLORIZE = False Expecting nothing k Trying: def f(x): r''' >>> print(list(range(10))) # should fail: no ellipsis [0, 1, ..., 9] Traceback (most recent call last): ValueError: line 1 of the doctest for s has an invalid option: '+BADOPTION' k Trying: s = '>>> print(12) #doctest: ELLIPSIS' Expecting nothing k Trying: test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) Expecting: Traceback (most recent call last): ValueError: line 1 of the doctest for s has an invalid option: 'ELLIPSIS' k Trying: s = '>>> # doctest: +ELLIPSIS' Expecting nothing k Trying: test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0) Expecting: Traceback (most recent call last): ValueError: line 0 of the doctest for s has an option directive on a line with no example: '# doctest: +ELLIPSIS' k Trying: _colorize.COLORIZE = save_colorize Expecting nothing k doctest (test_zipped_doctest) ... 36 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestRunner.optionflags Trying: save_colorize = _colorize.COLORIZE Expecting nothing k Trying: _colorize.COLORIZE = False Expecting nothing k Trying: def f(x): '>>> True\n1\n' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.DONT_ACCEPT_TRUE_FOR_1 Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: True Expected: 1 Got: True TestResults(failed=1, attempted=1) k Trying: def f(x): '>>> print("a\\n\\nb")\na\n<BLANKLINE>\nb\n' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) Expecting: TestResults(failed=0, attempted=1) k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.DONT_ACCEPT_BLANKLINE Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print("a\n\nb") Expected: a <BLANKLINE> b Got: a <BLANKLINE> b TestResults(failed=1, attempted=1) k Trying: def f(x): '\n>>> print(1, 2, 3)\n 1 2\n 3' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print(1, 2, 3) Expected: 1 2 3 Got: 1 2 3 TestResults(failed=1, attempted=1) k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.NORMALIZE_WHITESPACE Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) Expecting: TestResults(failed=0, attempted=1) k Trying: print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE Expecting: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] k Trying: def f(x): '>>> print(list(range(15)))\n[0, 1, 2, ..., 14]\n' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 2, in f Failed example: print(list(range(15))) Expected: [0, 1, 2, ..., 14] Got: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] TestResults(failed=1, attempted=1) k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.ELLIPSIS Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) Expecting: TestResults(failed=0, attempted=1) k Trying: if 1: for i in range(100): print(i**2, end=' ') #doctest: +ELLIPSIS print('!') Expecting: 0 1...4...9 16 ... 36 49 64 ... 9801 ! k Trying: if 1: #doctest: +ELLIPSIS for i in range(20): print(i, end=' ') print(20) Expecting: 0 1 2 ...1...2...0 k Trying: print(list(range(20))) # doctest:+ELLIPSIS Expecting: [0, 1, ..., 18, 19] k Trying: print(list(range(20))) # doctest: +ELLIPSIS # doctest: +NORMALIZE_WHITESPACE Expecting: [0, 1, ..., 18, 19] k Trying: import random Expecting nothing k Trying: def f(x): r''' >>> print('\n'.join('abcdefg')) a B c d f g h ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=False).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print('\n'.join('abcdefg')) Expected: a B c d f g h Got: a b c d e f g TestResults(failed=1, attempted=1) k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.REPORT_UDIFF Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print('\n'.join('abcdefg')) Differences (unified diff with -expected +actual): @@ -1,7 +1,7 @@ a -B +b c d +e f g -h TestResults(failed=1, attempted=1) k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.REPORT_CDIFF Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print('\n'.join('abcdefg')) Differences (context diff with expected followed by actual): *************** *** 1,7 **** a ! B c d f g - h --- 1,7 ---- a ! b c d + e f g TestResults(failed=1, attempted=1) k Trying: def f(x): r''' >>> print("a b c d e f g h i j k l m") a b c d e f g h i j k 1 m ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.REPORT_NDIFF Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 3, in f Failed example: print("a b c d e f g h i j k l m") Differences (ndiff with -expected +actual): - a b c d e f g h i j k 1 m ? ^ + a b c d e f g h i j k l m ? + ++ ^ TestResults(failed=1, attempted=1) k Trying: def f(x): r''' >>> print(1) # first success 1 >>> print(2) # first failure 200 >>> print(3) # second failure 300 >>> print(4) # second success 4 >>> print(5) # third failure 500 ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.REPORT_ONLY_FIRST_FAILURE Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: print(2) # first failure Expected: 200 Got: 2 TestResults(failed=3, attempted=5) k Trying: doctest.DocTestRunner(verbose=True, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: Trying: print(1) # first success Expecting: 1 ok Trying: print(2) # first failure Expecting: 200 ********************************************************************** File ..., line 5, in f Failed example: print(2) # first failure Expected: 200 Got: 2 TestResults(failed=3, attempted=5) k Trying: flags = doctest.FAIL_FAST Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: print(2) # first failure Expected: 200 Got: 2 TestResults(failed=1, attempted=2) k Trying: flags = doctest.FAIL_FAST | doctest.REPORT_ONLY_FIRST_FAILURE Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: print(2) # first failure Expected: 200 Got: 2 TestResults(failed=1, attempted=2) k Trying: def f(x): r''' >>> print(1) # first success 1 >>> raise ValueError(2) # first failure 200 >>> print(3) # second failure 300 >>> print(4) # second success 4 >>> print(5) # third failure 500 ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: flags = doctest.REPORT_ONLY_FIRST_FAILURE Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: raise ValueError(2) # first failure Exception raised: ... ValueError: 2 TestResults(failed=3, attempted=5) k Trying: flags = doctest.FAIL_FAST Expecting nothing k Trying: doctest.DocTestRunner(verbose=False, optionflags=flags).run(test) # doctest: +ELLIPSIS Expecting: ********************************************************************** File ..., line 5, in f Failed example: raise ValueError(2) # first failure Exception raised: ... ValueError: 2 TestResults(failed=1, attempted=2) k Trying: unlikely = "UNLIKELY_OPTION_NAME" Expecting nothing k Trying: unlikely in doctest.OPTIONFLAGS_BY_NAME Expecting: False k Trying: new_flag_value = doctest.register_optionflag(unlikely) Expecting nothing k Trying: unlikely in doctest.OPTIONFLAGS_BY_NAME Expecting: True k Trying: redundant_flag_value = doctest.register_optionflag(unlikely) Expecting nothing k Trying: redundant_flag_value == new_flag_value Expecting: True k Trying: del doctest.OPTIONFLAGS_BY_NAME[unlikely] Expecting nothing k Trying: _colorize.COLORIZE = save_colorize Expecting nothing k doctest (test_zipped_doctest) ... 72 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestRunner.verbose_flag Trying: def f(x): ''' >>> x = 12 >>> print(x) 12 >>> x//2 6 ''' Expecting nothing k Trying: test = doctest.DocTestFinder().find(f)[0] Expecting nothing k Trying: doctest.DocTestRunner(verbose=True).run(test) Expecting: Trying: x = 12 Expecting nothing ok Trying: print(x) Expecting: 12 ok Trying: x//2 Expecting: 6 ok TestResults(failed=0, attempted=3) k Trying: old_argv = sys.argv Expecting nothing k Trying: sys.argv = ['test'] Expecting nothing k Trying: doctest.DocTestRunner().run(test) Expecting: TestResults(failed=0, attempted=3) k Trying: sys.argv = ['test', '-v'] Expecting nothing k Trying: doctest.DocTestRunner().run(test) Expecting: Trying: x = 12 Expecting nothing ok Trying: print(x) Expecting: 12 ok Trying: x//2 Expecting: 6 ok TestResults(failed=0, attempted=3) k Trying: sys.argv = old_argv Expecting nothing k doctest (test_zipped_doctest) ... 9 tests with zero failures Finding tests in test_zipped_doctest.test_Example Trying: example = doctest.Example('print(1)', '1\n') Expecting nothing k Trying: (example.source, example.want, example.exc_msg, example.lineno, example.indent, example.options) Expecting: ('print(1)\n', '1\n', None, 0, 0, {}) k Trying: exc_msg = 'IndexError: pop from an empty list' Expecting nothing k Trying: example = doctest.Example('[].pop()', '', exc_msg, lineno=5, indent=4, options={doctest.ELLIPSIS: True}) Expecting nothing k Trying: (example.source, example.want, example.exc_msg, example.lineno, example.indent, example.options) Expecting: ('[].pop()\n', '', 'IndexError: pop from an empty list\n', 5, 4, {8: True}) k Trying: e = doctest.Example('print(1)', '1\n') Expecting nothing k Trying: e.source, e.want Expecting: ('print(1)\n', '1\n') k Trying: e = doctest.Example('print(1)\n', '1\n') Expecting nothing k Trying: e.source, e.want Expecting: ('print(1)\n', '1\n') k Trying: e = doctest.Example('print(1);\nprint(2)\n', '1\n2\n') Expecting nothing k Trying: e.source, e.want Expecting: ('print(1);\nprint(2)\n', '1\n2\n') k Trying: e = doctest.Example('print(1);\nprint(2)', '1\n2\n') Expecting nothing k Trying: e.source, e.want Expecting: ('print(1);\nprint(2)\n', '1\n2\n') k Trying: e = doctest.Example('', '') Expecting nothing k Trying: e.source, e.want Expecting: ('\n', '') k Trying: e = doctest.Example('print(1)', '1\n') Expecting nothing k Trying: e.source, e.want Expecting: ('print(1)\n', '1\n') k Trying: e = doctest.Example('print(1)', '1') Expecting nothing k Trying: e.source, e.want Expecting: ('print(1)\n', '1\n') k Trying: e = doctest.Example('print', '') Expecting nothing k Trying: e.source, e.want Expecting: ('print\n', '') k Trying: exc_msg = 'IndexError: pop from an empty list' Expecting nothing k Trying: e = doctest.Example('[].pop()', '', exc_msg) Expecting nothing k Trying: e.exc_msg Expecting: 'IndexError: pop from an empty list\n' k Trying: exc_msg = 'IndexError: pop from an empty list\n' Expecting nothing k Trying: e = doctest.Example('[].pop()', '', exc_msg) Expecting nothing k Trying: e.exc_msg Expecting: 'IndexError: pop from an empty list\n' k Trying: exc_msg = 'ValueError: 1\n 2' Expecting nothing k Trying: e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg) Expecting nothing k Trying: e.exc_msg Expecting: 'ValueError: 1\n 2\n' k Trying: exc_msg = 'ValueError: 1\n 2\n' Expecting nothing k Trying: e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg) Expecting nothing k Trying: e.exc_msg Expecting: 'ValueError: 1\n 2\n' k Trying: exc_msg = '' Expecting nothing k Trying: e = doctest.Example('raise X()', '', exc_msg) Expecting nothing k Trying: e.exc_msg Expecting: '\n' k Trying: example = doctest.Example('print 1', '1\n') Expecting nothing k Trying: same_example = doctest.Example('print 1', '1\n') Expecting nothing k Trying: other_example = doctest.Example('print 42', '42\n') Expecting nothing k Trying: example == same_example Expecting: True k Trying: example != same_example Expecting: False k Trying: hash(example) == hash(same_example) Expecting: True k Trying: example == other_example Expecting: False k Trying: example != other_example Expecting: True k doctest (test_zipped_doctest) ... 44 tests with zero failures Finding tests in test_zipped_doctest.test_debug Trying: s = ''' >>> x = 12 >>> print(x) 12 ''' Expecting nothing k Trying: real_stdin = sys.stdin Expecting nothing k Trying: sys.stdin = FakeInput(['next', 'print(x)', 'continue']) Expecting nothing k Trying: try: doctest.debug_src(s) finally: sys.stdin = real_stdin Expecting: > <string>(1)<module>() (Pdb) next 12 --Return-- > <string>(1)<module>()->None (Pdb) print(x) 12 (Pdb) continue k doctest (test_zipped_doctest) ... 4 tests with zero failures Finding tests in test_zipped_doctest.test_testsource Trying: import test_zipped_doctest as test_doctest Expecting nothing k Trying: name = 'test_zipped_doctest.sample_func' Expecting nothing k Trying: print(doctest.testsource(test_doctest, name)) Expecting: # Blah blah # print(sample_func(22)) # Expected: ## 44 # # Yee ha! <BLANKLINE> k Trying: name = 'test_zipped_doctest.SampleNewStyleClass' Expecting nothing k Trying: print(doctest.testsource(test_doctest, name)) Expecting: print('1\n2\n3') # Expected: ## 1 ## 2 ## 3 <BLANKLINE> k Trying: name = 'test_zipped_doctest.SampleClass.a_classmethod' Expecting nothing k Trying: print(doctest.testsource(test_doctest, name)) Expecting: print(SampleClass.a_classmethod(10)) # Expected: ## 12 print(SampleClass(0).a_classmethod(10)) # Expected: ## 12 <BLANKLINE> k doctest (test_zipped_doctest) ... 7 tests with zero failures Finding tests in test_zipped_doctest.test_trailing_space_in_test Trying: x, y = 'foo', '' Expecting nothing k Trying: print(x, y) Expecting: foo k doctest (test_zipped_doctest) ... 2 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestSuite Trying: import unittest Expecting nothing k Trying: import sample_zipped_doctest Expecting nothing k Trying: suite = doctest.DocTestSuite(sample_zipped_doctest) Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=4> k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest') Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=4> k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest_no_doctests') Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=0 errors=0 failures=0> k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest_no_docstrings') Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=0 errors=0 failures=0> k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest_skip') Expecting nothing k Trying: result = suite.run(unittest.TestResult()) Expecting nothing k Trying: result Expecting: <unittest.result.TestResult run=6 errors=0 failures=2> k Trying: len(result.skipped) Expecting: 2 k Trying: suite = sample_zipped_doctest.test_suite() Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=4> k Trying: finder = doctest.DocTestFinder() Expecting nothing k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', test_finder=finder) Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=4> k Trying: finder = doctest.DocTestFinder() Expecting nothing k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest_no_docstrings', test_finder=finder) Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=0 errors=0 failures=0> k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', globs={}) Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=5> k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', extraglobs={'y': 1}) Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=3> k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', optionflags=doctest.DONT_ACCEPT_BLANKLINE) Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=5> k Trying: def setUp(t): import test_zipped_doctest as test_doctest test_doctest.sillySetup = True Expecting nothing k Trying: def tearDown(t): import test_zipped_doctest as test_doctest del test_doctest.sillySetup Expecting nothing k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', setUp=setUp, tearDown=tearDown) Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=3> k Trying: import test_zipped_doctest as test_doctest Expecting nothing k Trying: test_doctest.sillySetup Expecting: Traceback (most recent call last): ... AttributeError: module 'test_zipped_doctest' has no attribute 'sillySetup' k Trying: def setUp(test): test.globs['y'] = 1 Expecting nothing k Trying: suite = doctest.DocTestSuite('sample_zipped_doctest', setUp=setUp) Expecting nothing k Trying: suite.run(unittest.TestResult()) Expecting: <unittest.result.TestResult run=9 errors=0 failures=3> k doctest (test_zipped_doctest) ... 37 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestFinder doctest (test_zipped_doctest) ... 0 tests with zero failures k Traceback (most recent call last): ValueError: line 4 of the docstring for some_test has inconsistent leading whitespace: 'indentation' k Trying: docstring = r''' >>> print(('bad indentation', ... 2)) ('bad', 'indentation') ''' Expecting nothing k Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 2 of the docstring for some_test has inconsistent leading whitespace: '... 2))' k Trying: docstring = '>>>print(1)\n1' Expecting nothing k Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 1 of the docstring for some_test lacks blank after >>>: '>>>print(1)' k Trying: docstring = '>>> if 1:\n...print(1)\n1' Expecting nothing k Trying: parser.get_doctest(docstring, globs, 'some_test', 'filename', 0) Expecting: Traceback (most recent call last): ValueError: line 2 of the docstring for some_test lacks blank after ...: '...print(1)' k Trying: docstring = ''' >>> print 12 12 ''' Expecting nothing k Trying: test = parser.get_doctest(docstring, globs, 'some_test', 'some_test', 20) Expecting nothing k Trying: same_test = parser.get_doctest(docstring, globs, 'some_test', 'some_test', 20) Expecting nothing k Trying: test == same_test Expecting: True k Trying: test != same_test Expecting: False k Trying: hash(test) == hash(same_test) Expecting: True k Trying: docstring = ''' >>> print 42 42 ''' Expecting nothing k Trying: other_test = parser.get_doctest(docstring, globs, 'other_test', 'other_file', 10) Expecting nothing k Trying: test == other_test Expecting: False k Trying: test != other_test Expecting: True k Trying: test < other_test Expecting: False k Trying: other_test < test Expecting: True k Trying: no_lineno = parser.get_doctest(docstring, globs, 'some_test', 'some_test', None) Expecting nothing k Trying: test.lineno is None Expecting: False k Trying: no_lineno.lineno is None Expecting: True k Trying: test < no_lineno Expecting: False k Trying: no_lineno < test Expecting: True k Trying: DocTestCase = doctest.DocTestCase Expecting nothing k Trying: test_case = DocTestCase(test) Expecting nothing k Trying: same_test_case = DocTestCase(same_test) Expecting nothing k Trying: other_test_case = DocTestCase(other_test) Expecting nothing k Trying: test_case == same_test_case Expecting: True k Trying: test_case != same_test_case Expecting: False k Trying: hash(test_case) == hash(same_test_case) Expecting: True k Trying: test == other_test_case Expecting: False k Trying: test != other_test_case Expecting: True k doctest (test_zipped_doctest) ... 46 tests with zero failures Finding tests in test_zipped_doctest.test_DocTestParser Trying: s = ''' >>> x, y = 2, 3 # no output expected >>> if 1: ... print(x) ... print(y) 2 3 Test report =========== Failed tests: - test_zipimport_support - test.test_asyncio.test_futures - test_operator - test_sqlite3 - test_pyrepl - test_idle - test.test_asyncio.test_subprocess - test_tabnanny - test.test_pydoc.test_pydoc - test_trace - test_enum - test_tokenize - test.test_asyncio.test_unix_events - test_getpass - test_functools - test_decimal - test_zoneinfo - test_unittest - test.test_inspect.test_inspect - test_curses - test_dataclasses - test_types - test_pdb - test_rlcompleter Test leaking resources: - test_tabnanny: memory blocks - test_trace: references - test_zoneinfo: references - test_types: references - test_tabnanny: references - test_enum: references - test_pdb: memory blocks - test_rlcompleter: memory blocks - test_rlcompleter: references - test_pdb: references - test_unittest: memory blocks - test_idle: memory blocks - test_unix_events: memory blocks - test_getpass: memory blocks - test_functools: memory blocks - test_pyrepl: memory blocks - test_subprocess: references - test_unittest: references - test_futures: memory blocks - test_curses: memory blocks - test_idle: references - test_unix_events: references - test_getpass: references - test_operator: memory blocks - test_pyrepl: references - test_tokenize: memory blocks - test_functools: references - test_pydoc: memory blocks - test_inspect: memory blocks - test_dataclasses: memory blocks - test_zipimport_support: memory blocks - test_futures: references - test_decimal: memory blocks - test_curses: references - test_subprocess: memory blocks - test_operator: references - test_pydoc: references - test_tokenize: references - test_sqlite3: memory blocks - test_trace: memory blocks - test_inspect: references - test_decimal: references - test_dataclasses: references - test_zoneinfo: memory blocks - test_types: memory blocks - test_zipimport_support: references - test_sqlite3: references - test_enum: memory blocks Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder AMD64 CentOS9 Refleaks 3.13 while building Python. Full details are available at: https://buildbot.python.org/all/#/builders/1446/builds/20 Buildbot URL: https://buildbot.python.org/all/ Worker for this Build: cstratak-CentOS9-x86_64 Build Reason: <unknown> Blamelist: BUILD FAILED: failed test (failure) Summary of the results of the build (if available): =================================================== == Captured traceback ================== remote: Enumerating objects: 74, done. remote: Counting objects: 1% (1/59) remote: Counting objects: 3% (2/59) remote: Counting objects: 5% (3/59) remote: Counting objects: 6% (4/59) remote: Counting objects: 8% (5/59) remote: Counting objects: 10% (6/59) remote: Counting objects: 11% (7/59) remote: Counting objects: 13% (8/59) remote: Counting objects: 15% (9/59) remote: Counting objects: 16% (10/59) remote: Counting objects: 18% (11/59) remote: Counting objects: 20% (12/59) remote: Counting objects: 22% (13/59) remote: Counting objects: 23% (14/59) remote: Counting objects: 25% (15/59) remote: Counting objects: 27% (16/59) remote: Counting objects: 28% (17/59) remote: Counting objects: 30% (18/59) remote: Counting objects: 32% (19/59) remote: Counting objects: 33% (20/59) remote: Counting objects: 35% (21/59) remote: Counting objects: 37% (22/59) remote: Counting objects: 38% (23/59) remote: Counting objects: 40% (24/59) remote: Counting objects: 42% (25/59) remote: Counting objects: 44% (26/59) remote: Counting objects: 45% (27/59) remote: Counting objects: 47% (28/59) remote: Counting objects: 49% (29/59) remote: Counting objects: 50% (30/59) remote: Counting objects: 52% (31/59) remote: Counting objects: 54% (32/59) remote: Counting objects: 55% (33/59) remote: Counting objects: 57% (34/59) remote: Counting objects: 59% (35/59) remote: Counting objects: 61% (36/59) remote: Counting objects: 62% (37/59) remote: Counting objects: 64% (38/59) remote: Counting objects: 66% (39/59) remote: Counting objects: 67% (40/59) remote: Counting objects: 69% (41/59) remote: Counting objects: 71% (42/59) remote: Counting objects: 72% (43/59) remote: Counting objects: 74% (44/59) remote: Counting objects: 76% (45/59) remote: Counting objects: 77% (46/59) remote: Counting objects: 79% (47/59) remote: Counting objects: 81% (48/59) remote: Counting objects: 83% (49/59) remote: Counting objects: 84% (50/59) remote: Counting objects: 86% (51/59) remote: Counting objects: 88% (52/59) remote: Counting objects: 89% (53/59) remote: Counting objects: 91% (54/59) remote: Counting objects: 93% (55/59) remote: Counting objects: 94% (56/59) remote: Counting objects: 96% (57/59) remote: Counting objects: 98% (58/59) remote: Counting objects: 100% (59/59) remote: Counting objects: 100% (59/59), done. remote: Compressing objects: 6% (1/15) remote: Compressing objects: 13% (2/15) remote: Compressing objects: 20% (3/15) remote: Compressing objects: 26% (4/15) remote: Compressing objects: 33% (5/15) remote: Compressing objects: 40% (6/15) remote: Compressing objects: 46% (7/15) remote: Compressing objects: 53% (8/15) remote: Compressing objects: 60% (9/15) remote: Compressing objects: 66% (10/15) remote: Compressing objects: 73% (11/15) remote: Compressing objects: 80% (12/15) remote: Compressing objects: 86% (13/15) remote: Compressing objects: 93% (14/15) remote: Compressing objects: 100% (15/15) remote: Compressing objects: 100% (15/15), done. remote: Total 74 (delta 44), reused 50 (delta 44), pack-reused 15 >From https://github.com/python/cpython * branch 3.13 -> FETCH_HEAD Note: switching to 'FETCH_HEAD'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 9216a5336f [3.13] gh-117398: Revert gh-119636, Add multiphase support to _datetime (#119639) Switched to and reset branch '3.13' configure: WARNING: no system libmpdecimal found; falling back to bundled libmpdecimal (deprecated and scheduled for removal in Python 3.15) make: *** [Makefile:2244: buildbottest] Error 2 Test report =========== Failed tests: - test_typing Test leaking resources: - test_typing: memory blocks Sincerely, -The Buildbot _______________________________________________ Buildbot-status mailing list -- buildbot-status@python.org To unsubscribe send an email to buildbot-status-le...@python.org https://mail.python.org/mailman3/lists/buildbot-status.python.org/ Member address: arch...@mail-archive.com