Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-104972: Ensure that line attributes in tokens in the tokenize module are correct#104975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
pablogsal merged 1 commit intopython:mainfrompablogsal:gh-104972
May 26, 2023

Conversation

pablogsal
Copy link
Member

@pablogsalpablogsal commentedMay 26, 2023
edited by bedevere-bot
Loading

…e module are correctSigned-off-by: Pablo Galindo <pablogsal@gmail.com>
@pablogsalpablogsal added the needs backport to 3.12only security fixes labelMay 26, 2023
@pablogsalpablogsal merged commit3fdb55c intopython:mainMay 26, 2023
@pablogsalpablogsal deleted the gh-104972 branchMay 26, 2023 14:46
@miss-islington
Copy link
Contributor

Thanks@pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 26, 2023
…e module are correct (pythonGH-104975)(cherry picked from commit3fdb55c)Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
@bedevere-bot
Copy link

GH-104982 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelMay 26, 2023
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbots390x Debian 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/49/builds/5473) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/49/builds/5473

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

430 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 18 sec
  • test_tools: 1 min 59 sec
  • test_multiprocessing_spawn: 1 min 53 sec
  • test_math: 1 min 33 sec
  • test_multiprocessing_forkserver: 1 min 30 sec
  • test_gdb: 1 min 6 sec
  • test_multiprocessing_fork: 1 min 6 sec
  • test_capi: 56.7 sec
  • test_signal: 50.4 sec
  • test_unparse: 37.1 sec

1 test failed:
test_peg_generator

17 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_dbm_ndbm test_devpoll
test_ioctl test_kqueue test_launcher test_perf_profiler
test_startfile test_tix test_tkinter test_ttk test_winconsoleio
test_winreg test_winsound test_wmi test_zipfile64

1 re-run test:
test_peg_generator

Total duration: 6 min 23 sec

Click to see traceback logs
Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotARM64 macOS 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/725/builds/4605) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/725/builds/4605

Failed tests:

  • test_peg_generator
  • test_ssl

Failed subtests:

  • test_get_server_certificate_timeout - test.test_ssl.SimpleBackgroundTests.test_get_server_certificate_timeout
  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

421 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 35 sec
  • test_multiprocessing_spawn: 2 min 11 sec
  • test_ssl: 1 min 45 sec
  • test_multiprocessing_forkserver: 1 min 39 sec
  • test_math: 1 min 29 sec
  • test_logging: 54.6 sec
  • test_capi: 51.0 sec
  • test_signal: 46.6 sec
  • test_io: 42.5 sec
  • test_tokenize: 35.8 sec

1 test failed:
test_peg_generator

23 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_epoll
test_gdb test_idle test_ioctl test_launcher
test_multiprocessing_fork test_perf_profiler test_perfmaps
test_startfile test_tcl test_tix test_tkinter test_ttk
test_ttk_textonly test_turtle test_winconsoleio test_winreg
test_winsound test_wmi test_zipfile64

2 re-run tests:
test_peg_generator test_ssl

Total duration: 8 min 9 sec

Click to see traceback logs
Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_ssl.py", line1993, intest_get_server_certificate_timeoutwithself.assertRaises(socket.timeout):AssertionError:TimeoutError not raisedTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.x.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotARM64 Windows 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/729/builds/4592) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/729/builds/4592

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

413 tests OK.

10 slowest tests:

  • test_math: 7 min 13 sec
  • test_peg_generator: 4 min 35 sec
  • test_multiprocessing_spawn: 4 min 33 sec
  • test_tokenize: 2 min 38 sec
  • test_unparse: 2 min 26 sec
  • test_tarfile: 2 min 22 sec
  • test_capi: 2 min 5 sec
  • test_unicodedata: 1 min 54 sec
  • test_fstring: 1 min 45 sec
  • test_concurrent_futures: 1 min 45 sec

1 test failed:
test_peg_generator

34 tests skipped:
test.test_asyncio.test_unix_events test_curses test_dbm_gnu
test_dbm_ndbm test_devpoll test_epoll test_fcntl test_fork1
test_gdb test_grp test_ioctl test_kqueue test_multiprocessing_fork
test_multiprocessing_forkserver test_openpty test_perf_profiler
test_perfmaps test_poll test_posix test_pty test_pwd test_readline
test_resource test_syslog test_threadsignals test_tix test_tkinter
test_ttk test_wait3 test_wait4 test_xxlimited test_xxtestfuzz
test_zipfile64 test_zoneinfo

1 re-run test:
test_peg_generator

Total duration: 25 min 6 sec

Click to see traceback logs
Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\test_peg_generator\test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]

@lysnikolaou
Copy link
Member

The newlines intest_peg_generator, introduced in#104798, probably need to reworked. I'll check this and open a PR shortly.

terryjreedy pushed a commit that referenced this pull requestMay 26, 2023
…ze module are correct (GH-104975) (#104982)gh-104972: Ensure that line attributes in tokens in the tokenize module are correct (GH-104975)(cherry picked from commit3fdb55c)Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotx86 Gentoo Non-Debug with X 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/58/builds/4715) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/58/builds/4715

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

433 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 5 sec
  • test_multiprocessing_spawn: 1 min 20 sec
  • test_signal: 1 min 9 sec
  • test_multiprocessing_forkserver: 1 min 6 sec
  • test_multiprocessing_fork: 1 min 2 sec
  • test_hashlib: 34.9 sec
  • test_io: 34.5 sec
  • test_imaplib: 30.9 sec
  • test_socket: 29.8 sec
  • test_xmlrpc: 27.3 sec

1 test failed:
test_peg_generator

14 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_gdb
test_ioctl test_kqueue test_launcher test_perf_profiler
test_startfile test_winconsoleio test_winreg test_winsound
test_wmi test_zipfile64

1 re-run test:
test_peg_generator

Total duration: 9 min 29 sec

Click to see traceback logs
Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 RHEL8 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/185/builds/4178) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/185/builds/4178

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

432 tests OK.

10 slowest tests:

  • test_gdb: 6 min 24 sec
  • test_concurrent_futures: 2 min 37 sec
  • test_multiprocessing_spawn: 2 min 34 sec
  • test_capi: 2 min 4 sec
  • test_math: 1 min 55 sec
  • test_multiprocessing_forkserver: 1 min 26 sec
  • test_multiprocessing_fork: 1 min 18 sec
  • test_signal: 57.7 sec
  • test_unparse: 48.4 sec
  • test_tokenize: 47.7 sec

1 test failed:
test_peg_generator

15 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_ioctl
test_kqueue test_launcher test_startfile test_tix test_tkinter
test_ttk test_winconsoleio test_winreg test_winsound test_wmi
test_zipfile64

1 re-run test:
test_peg_generator

Total duration: 6 min 51 sec

Click to see traceback logs
Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Windows10 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/146/builds/5338) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/146/builds/5338

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

416 tests OK.

10 slowest tests:

  • test_math: 5 min 54 sec
  • test_multiprocessing_spawn: 4 min 20 sec
  • test_peg_generator: 3 min 3 sec
  • test_capi: 2 min 47 sec
  • test_unparse: 2 min 33 sec
  • test_wmi: 2 min 32 sec
  • test_tokenize: 2 min 31 sec
  • test_io: 2 min 7 sec
  • test_concurrent_futures: 1 min 50 sec
  • test_compileall: 1 min 43 sec

1 test failed:
test_peg_generator

31 tests skipped:
test.test_asyncio.test_unix_events test_curses test_dbm_gnu
test_dbm_ndbm test_devpoll test_epoll test_fcntl test_fork1
test_gdb test_grp test_ioctl test_kqueue test_multiprocessing_fork
test_multiprocessing_forkserver test_openpty test_perf_profiler
test_perfmaps test_poll test_posix test_pty test_pwd test_readline
test_resource test_syslog test_threadsignals test_wait3 test_wait4
test_xxlimited test_xxtestfuzz test_zipfile64 test_zoneinfo

1 re-run test:
test_peg_generator

Total duration: 20 min 42 sec

Click to see traceback logs
Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_peg_generator\test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 RHEL8 LTO + PGO 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/568/builds/4037) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/568/builds/4037

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

431 tests OK.

10 slowest tests:

  • test_concurrent_futures: 2 min 11 sec
  • test_multiprocessing_spawn: 1 min 31 sec
  • test_multiprocessing_forkserver: 1 min 11 sec
  • test_signal: 1 min 4 sec
  • test_multiprocessing_fork: 1 min 2 sec
  • test_io: 34.7 sec
  • test_socket: 34.6 sec
  • test_imaplib: 30.3 sec
  • test_subprocess: 28.0 sec
  • test_xmlrpc: 27.5 sec

1 test failed:
test_peg_generator

16 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_gdb
test_ioctl test_kqueue test_launcher test_startfile test_tix
test_tkinter test_ttk test_winconsoleio test_winreg test_winsound
test_wmi test_zipfile64

1 re-run test:
test_peg_generator

Total duration: 3 min 19 sec

Click to see traceback logs
Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64.lto-pgo/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotARM64 Windows Non-Debug 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/730/builds/8035) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/730/builds/8035

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

414 tests OK.

10 slowest tests:

  • test_peg_generator: 4 min 3 sec
  • test_multiprocessing_spawn: 2 min 9 sec
  • test_concurrent_futures: 1 min 16 sec
  • test_socket: 1 min 7 sec
  • test_math: 50.9 sec
  • test_hashlib: 49.3 sec
  • test_mmap: 46.0 sec
  • test_urllib2_localnet: 44.6 sec
  • test_io: 42.8 sec
  • test_compileall: 35.2 sec

1 test failed:
test_peg_generator

33 tests skipped:
test.test_asyncio.test_unix_events test_curses test_dbm_gnu
test_dbm_ndbm test_devpoll test_epoll test_fcntl test_fork1
test_gdb test_grp test_ioctl test_kqueue test_multiprocessing_fork
test_multiprocessing_forkserver test_openpty test_perf_profiler
test_perfmaps test_poll test_posix test_pty test_pwd test_readline
test_resource test_syslog test_threadsignals test_tix test_tkinter
test_ttk test_wait3 test_wait4 test_xxtestfuzz test_zipfile64
test_zoneinfo

1 re-run test:
test_peg_generator

Total duration: 9 min 49 sec

Click to see traceback logs
Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_peg_generator\test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 RHEL7 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/15/builds/4721) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/15/builds/4721

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

425 tests OK.

10 slowest tests:

  • test_multiprocessing_spawn: 2 min 29 sec
  • test_concurrent_futures: 2 min 22 sec
  • test_capi: 1 min 51 sec
  • test_math: 1 min 49 sec
  • test_multiprocessing_forkserver: 1 min 23 sec
  • test_multiprocessing_fork: 1 min 18 sec
  • test_hashlib: 1 min 5 sec
  • test_signal: 55.6 sec
  • test_tokenize: 54.3 sec
  • test_unparse: 49.3 sec

1 test failed:
test_peg_generator

22 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_gdb
test_idle test_ioctl test_kqueue test_launcher test_smtpnet
test_ssl test_startfile test_tcl test_tix test_tkinter test_ttk
test_ttk_textonly test_turtle test_winconsoleio test_winreg
test_winsound test_wmi test_zipfile64

1 re-run test:
test_peg_generator

Total duration: 5 min 31 sec

Click to see traceback logs
Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Debian root 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/345/builds/4940) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/345/builds/4940

Failed tests:

  • test__xxsubinterpreters
  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotARM Raspbian 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/424/builds/4075) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/424/builds/4075

Failed tests:

  • test_peg_generator
  • test_sqlite3

Failed subtests:

  • test_interact_on_disk_file - test.test_sqlite3.test_cli.InteractiveSession.test_interact_on_disk_file
  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

427 tests OK.

10 slowest tests:

  • test_multiprocessing_spawn: 12 min 58 sec
  • test_venv: 11 min 35 sec
  • test_largefile: 9 min 38 sec
  • test_math: 4 min 24 sec
  • test_multiprocessing_forkserver: 3 min 29 sec
  • test_concurrent_futures: 3 min 12 sec
  • test_shelve: 2 min 36 sec
  • test_zipfile: 2 min 34 sec
  • test_regrtest: 2 min 28 sec
  • test_cppext: 2 min 20 sec

1 test failed:
test_peg_generator

20 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_idle
test_ioctl test_kqueue test_launcher test_perf_profiler
test_startfile test_tcl test_tix test_tkinter test_ttk
test_ttk_textonly test_turtle test_winconsoleio test_winreg
test_winsound test_wmi test_zipfile64

2 re-run tests:
test_peg_generator test_sqlite3

Total duration: 42 min 42 sec

Click to see traceback logs
Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_sqlite3/test_cli.py", line142, intest_interact_on_disk_file    out, err= proc.communicate(input="create table t(t);",^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/subprocess.py", line1209, incommunicate    stdout, stderr=self._communicate(input, endtime, timeout)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/subprocess.py", line2109, in_communicateself._check_timeout(endtime, orig_timeout, stdout, stderr)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/subprocess.py", line1253, in_check_timeoutraise TimeoutExpired(subprocess.TimeoutExpired:Command '['/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/python', '-Xutf8', '-m', 'sqlite3', '@test_18132_tmpæ']' timed out after 5.25 secondsTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Ubuntu Shared 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/506/builds/4909) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/506/builds/4909

Failed tests:

  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

428 tests OK.

10 slowest tests:

  • test_tools: 6 min 34 sec
  • test_multiprocessing_spawn: 3 min 47 sec
  • test_math: 3 min 41 sec
  • test_concurrent_futures: 3 min
  • test_gdb: 2 min 10 sec
  • test_capi: 2 min 5 sec
  • test_multiprocessing_forkserver: 1 min 50 sec
  • test_unparse: 1 min 33 sec
  • test_multiprocessing_fork: 1 min 21 sec
  • test_tarfile: 1 min 9 sec

1 test failed:
test_peg_generator

19 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_idle
test_ioctl test_kqueue test_launcher test_startfile test_tcl
test_tix test_tkinter test_ttk test_ttk_textonly test_turtle
test_winconsoleio test_winreg test_winsound test_wmi
test_zipfile64

1 re-run test:
test_peg_generator

Total duration: 29 min 19 sec

Click to see traceback logs
Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbots390x RHEL7 LTO 3.x has failed when building commit3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/402/builds/4549) and take a look at the build logs.
  4. Check if the failure is related to this commit (3fdb55c) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/402/builds/4549

Failed tests:

  • test.test_asyncio.test_subprocess
  • test_peg_generator

Failed subtests:

  • test_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_left_recursive
  • test_optional_literal - test.test_peg_generator.test_pegen.TestPegen.test_optional_literal
  • test_repeat_1_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_complex
  • test_gather - test.test_peg_generator.test_pegen.TestPegen.test_gather
  • test_subprocess_consistent_callbacks - test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_subprocess_consistent_callbacks
  • test_repeat_with_sep_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_with_sep_simple
  • test_expr_grammar - test.test_peg_generator.test_pegen.TestPegen.test_expr_grammar
  • test_mutually_left_recursive - test.test_peg_generator.test_pegen.TestPegen.test_mutually_left_recursive
  • test_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_optional_operator
  • test_lookahead - test.test_peg_generator.test_pegen.TestPegen.test_lookahead
  • test_repeat_0_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_simple
  • test_repeat_0_complex - test.test_peg_generator.test_pegen.TestPegen.test_repeat_0_complex
  • test_repeat_1_simple - test.test_peg_generator.test_pegen.TestPegen.test_repeat_1_simple
  • test_alt_optional_operator - test.test_peg_generator.test_pegen.TestPegen.test_alt_optional_operator
  • test_cut - test.test_peg_generator.test_pegen.TestPegen.test_cut

Summary of the results of the build (if available):

== Tests result: FAILURE then FAILURE ==

424 tests OK.

10 slowest tests:

  • test_tools: 3 min 46 sec
  • test_concurrent_futures: 2 min 22 sec
  • test_hashlib: 2 min 20 sec
  • test_multiprocessing_spawn: 1 min 57 sec
  • test_multiprocessing_forkserver: 1 min 37 sec
  • test_math: 1 min 27 sec
  • test_signal: 1 min 9 sec
  • test_multiprocessing_fork: 1 min 9 sec
  • test_peg_generator: 55.3 sec
  • test_socket: 38.0 sec

1 test failed:
test_peg_generator

23 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_gdb
test_idle test_ioctl test_kqueue test_launcher test_perf_profiler
test_smtpnet test_ssl test_startfile test_tcl test_tix
test_tkinter test_ttk test_ttk_textonly test_turtle
test_winconsoleio test_winreg test_winsound test_wmi
test_zipfile64

2 re-run tests:
test.test_asyncio.test_subprocess test_peg_generator

Total duration: 8 min 11 sec

Click to see traceback logs
Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line440, intest_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[To[73 chars]2 + 3\n'), TokenInfo(type=55 (OP), string='+',[388 chars]\n')] != [[[To[73 chars]2 + 3'), TokenInfo(type=55 (OP), string='+', s[376 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line282, intest_repeat_0_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line544, intest_mutually_left_recursiveself.assertEqual(AssertionError:Lists differ: [[[[T[72 chars]C A E\n'), TokenInfo(type=1 (NAME), string='A'[298 chars]\n')] != [[[[T[72 chars]C A E'), TokenInfo(type=1 (NAME), string='A', [288 chars] E')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_asyncio/test_subprocess.py", line788, intest_subprocess_consistent_callbacksself.loop.run_until_complete(main())  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/asyncio/base_events.py", line664, inrun_until_completereturn future.result()^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_asyncio/test_subprocess.py", line780, inmainself.assertEqual(events, [AssertionError:Lists differ: [('pi[29 chars]t'), 'pipe_connection_lost', ('pipe_data_recei[57 chars]ted'] != [('pi[29 chars]t'), ('pipe_data_received', 2, b'stderr'), 'pi[57 chars]ted']Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line119, intest_expr_grammarself.assertEqual(AssertionError:Lists differ: [Toke[65 chars]e='42\n'), TokenInfo(type=4 (NEWLINE), string=[40 chars]\n')] != [Toke[65 chars]e='42'), TokenInfo(type=4 (NEWLINE), string='\[36 chars]42')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line176, intest_optional_literalself.assertEqual(AssertionError:Lists differ: [[Tok[65 chars]e='1+\n'), TokenInfo(type=55 (OP), string='+',[117 chars]\n')] != [[Tok[65 chars]e='1+'), TokenInfo(type=55 (OP), string='+', s[111 chars]1+')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line248, intest_repeat_0_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line94, intest_gatherself.assertEqual(AssertionError:Lists differ: [[Tok[67 chars]'1, 2\n'), TokenInfo(type=2 (NUMBER), string='[124 chars]\n')] != [[Tok[67 chars]'1, 2'), TokenInfo(type=2 (NUMBER), string='2'[118 chars] 2')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line733, intest_cutself.assertEqual(AssertionError:Lists differ: [Toke[62 chars]='(1)\n'), TokenInfo(type=2 (NUMBER), string='[116 chars]\n')] != [Toke[62 chars]='(1)'), TokenInfo(type=2 (NUMBER), string='1'[110 chars]1)')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line208, intest_alt_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line653, intest_lookaheadself.assertEqual(AssertionError:Lists differ: [Toke[77 chars] 12 .\n'), TokenInfo(type=55 (OP), string='=',[332 chars])]]]] != [Toke[77 chars] 12 .'), TokenInfo(type=55 (OP), string='=', s[322 chars])]]]]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line354, intest_repeat_1_complexself.assertEqual(AssertionError:Lists differ: [Toke[71 chars]2 + 3\n'), [[TokenInfo(type=55 (OP), string='+[392 chars]\n')] != [Toke[71 chars]2 + 3'), [[TokenInfo(type=55 (OP), string='+',[380 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line401, intest_repeat_with_sep_simpleself.assertEqual(AssertionError:Lists differ: [[Tok[70 chars] 2, 3\n'), TokenInfo(type=2 (NUMBER), string='[214 chars]\n')] != [[Tok[70 chars] 2, 3'), TokenInfo(type=2 (NUMBER), string='2'[206 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line327, intest_repeat_1_simpleself.assertEqual(AssertionError:Lists differ: [Toke[67 chars]1 2 3\n'), [TokenInfo(type=2 (NUMBER), string=[209 chars]\n')] != [Toke[67 chars]1 2 3'), [TokenInfo(type=2 (NUMBER), string='2[201 chars] 3')]Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_peg_generator/test_pegen.py", line135, intest_optional_operatorself.assertEqual(AssertionError:Lists differ: [[Tok[68 chars]1 + 2\n'), [TokenInfo(type=55 (OP), string='+'[207 chars]\n')] != [[Tok[68 chars]1 + 2'), [TokenInfo(type=55 (OP), string='+', [199 chars] 2')]

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@terryjreedyterryjreedyAwaiting requested review from terryjreedyterryjreedy is a code owner

@lysnikolaoulysnikolaouAwaiting requested review from lysnikolaoulysnikolaou is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@pablogsal@miss-islington@bedevere-bot@lysnikolaou

[8]ページ先頭

©2009-2025 Movatter.jp