GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-104972: Ensure that line attributes in tokens in the tokenize module are correct by pablogsal · Pull Request #104975 · python/cpython

Conversation

@pablogsal

@pablogsal pablogsal commented May 26, 2023 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Issue: The lines in tokens from tokenize.generate_tokens incorrectly indicate multiple lines. #104972

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pablogsal
pablogsal requested review from lysnikolaou and terryjreedy as code owners May 26, 2023 13:09
@bedevere-bot bedevere-bot added the awaiting core review label May 26, 2023
@bedevere-bot bedevere-bot mentioned this pull request May 26, 2023
The lines in tokens from tokenize.generate_tokens incorrectly indicate multiple lines. #104972
Closed
@pablogsal
pablogsal force-pushed the gh-104972 branch 2 times, most recently from 0b23e0f to d477678 Compare May 26, 2023 13:12
@pablogsal
pythongh-104972: Ensure that line attributes in tokens in the tokeniz…
3d2f429
…e module are correct

Signed-off-by: Pablo Galindo <[email protected]>
@pablogsal
pablogsal force-pushed the gh-104972 branch from d477678 to 3d2f429 Compare May 26, 2023 13:22
@pablogsal pablogsal added the needs backport to 3.12 only security fixes label May 26, 2023
@pablogsal
pablogsal merged commit 3fdb55c into python:main May 26, 2023
@pablogsal
pablogsal deleted the gh-104972 branch May 26, 2023 14:46
@miss-islington

miss-islington commented May 26, 2023

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the awaiting core review label May 26, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 26, 2023
@pablogsal @miss-islington
pythongh-104972: Ensure that line attributes in tokens in the tokeniz…
25cf9f2
…e module are correct (pythonGH-104975)

(cherry picked from commit 3fdb55c)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

GH-104982 is a backport of this pull request to the 3.12 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label May 26, 2023
@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot s390x Debian 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 544, in test_mutually_left_recursive
    self.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", line 248, in test_repeat_0_simple
    self.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", line 733, in test_cut
    self.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", line 94, in test_gather
    self.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", line 354, in test_repeat_1_complex
    self.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", line 176, in test_optional_literal
    self.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", line 135, in test_optional_operator
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 440, in test_left_recursive
    self.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", line 208, in test_alt_optional_operator
    self.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", line 653, in test_lookahead
    self.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", line 119, in test_expr_grammar
    self.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", line 282, in test_repeat_0_complex
    self.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", line 327, in test_repeat_1_simple
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot ARM64 macOS 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 653, in test_lookahead
    self.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", line 94, in test_gather
    self.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", line 1993, in test_get_server_certificate_timeout
    with self.assertRaises(socket.timeout):
AssertionError: TimeoutError not raised


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", line 733, in test_cut
    self.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", line 282, in test_repeat_0_complex
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 119, in test_expr_grammar
    self.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", line 135, in test_optional_operator
    self.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", line 354, in test_repeat_1_complex
    self.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", line 327, in test_repeat_1_simple
    self.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", line 176, in test_optional_literal
    self.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", line 248, in test_repeat_0_simple
    self.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", line 208, in test_alt_optional_operator
    self.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", line 440, in test_left_recursive
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot ARM64 Windows 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 135, in test_optional_operator
    self.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", line 119, in test_expr_grammar
    self.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", line 282, in test_repeat_0_complex
    self.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", line 327, in test_repeat_1_simple
    self.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", line 208, in test_alt_optional_operator
    self.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", line 248, in test_repeat_0_simple
    self.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", line 94, in test_gather
    self.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", line 653, in test_lookahead
    self.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", line 733, in test_cut
    self.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", line 176, in test_optional_literal
    self.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", line 354, in test_repeat_1_complex
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 440, in test_left_recursive
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lysnikolaou

lysnikolaou commented May 26, 2023

Copy link
Copy Markdown
Member

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

terryjreedy pushed a commit that referenced this pull request May 26, 2023
@miss-islington @pablogsal
[3.12] gh-104972: Ensure that line attributes in tokens in the tokeni…
8ca2957
…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 commit 3fdb55c)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot x86 Gentoo Non-Debug with X 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 248, in test_repeat_0_simple
    self.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", line 94, in test_gather
    self.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", line 733, in test_cut
    self.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", line 327, in test_repeat_1_simple
    self.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", line 135, in test_optional_operator
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 653, in test_lookahead
    self.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", line 176, in test_optional_literal
    self.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", line 208, in test_alt_optional_operator
    self.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", line 354, in test_repeat_1_complex
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 440, in test_left_recursive
    self.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", line 282, in test_repeat_0_complex
    self.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", line 119, in test_expr_grammar
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 RHEL8 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 208, in test_alt_optional_operator
    self.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", line 176, in test_optional_literal
    self.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", line 282, in test_repeat_0_complex
    self.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", line 119, in test_expr_grammar
    self.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", line 354, in test_repeat_1_complex
    self.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", line 327, in test_repeat_1_simple
    self.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", line 248, in test_repeat_0_simple
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 135, in test_optional_operator
    self.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", line 94, in test_gather
    self.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", line 733, in test_cut
    self.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", line 440, in test_left_recursive
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 653, in test_lookahead
    self.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])]]]]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lysnikolaou lysnikolaou mentioned this pull request May 26, 2023
buildbots fail because of test_peg_generator #104983
Closed
@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Windows10 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 208, in test_alt_optional_operator
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 176, in test_optional_literal
    self.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", line 119, in test_expr_grammar
    self.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", line 94, in test_gather
    self.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", line 282, in test_repeat_0_complex
    self.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", line 653, in test_lookahead
    self.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", line 440, in test_left_recursive
    self.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", line 135, in test_optional_operator
    self.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", line 248, in test_repeat_0_simple
    self.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", line 733, in test_cut
    self.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", line 327, in test_repeat_1_simple
    self.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", line 354, in test_repeat_1_complex
    self.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", line 401, in test_repeat_with_sep_simple
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 RHEL8 LTO + PGO 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 248, in test_repeat_0_simple
    self.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", line 440, in test_left_recursive
    self.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", line 119, in test_expr_grammar
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 354, in test_repeat_1_complex
    self.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", line 94, in test_gather
    self.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", line 176, in test_optional_literal
    self.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", line 208, in test_alt_optional_operator
    self.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", line 733, in test_cut
    self.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", line 327, in test_repeat_1_simple
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 135, in test_optional_operator
    self.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", line 282, in test_repeat_0_complex
    self.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", line 653, in test_lookahead
    self.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])]]]]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot ARM64 Windows Non-Debug 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 208, in test_alt_optional_operator
    self.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", line 653, in test_lookahead
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 354, in test_repeat_1_complex
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 94, in test_gather
    self.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", line 135, in test_optional_operator
    self.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", line 119, in test_expr_grammar
    self.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", line 327, in test_repeat_1_simple
    self.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", line 440, in test_left_recursive
    self.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", line 176, in test_optional_literal
    self.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", line 282, in test_repeat_0_complex
    self.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", line 248, in test_repeat_0_simple
    self.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", line 733, in test_cut
    self.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)')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 RHEL7 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 327, in test_repeat_1_simple
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 653, in test_lookahead
    self.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", line 176, in test_optional_literal
    self.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", line 135, in test_optional_operator
    self.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", line 208, in test_alt_optional_operator
    self.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", line 354, in test_repeat_1_complex
    self.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", line 440, in test_left_recursive
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 733, in test_cut
    self.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", line 119, in test_expr_grammar
    self.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", line 94, in test_gather
    self.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", line 282, in test_repeat_0_complex
    self.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", line 248, in test_repeat_0_simple
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Debian root 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 176, in test_optional_literal
    self.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", line 135, in test_optional_operator
    self.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", line 354, in test_repeat_1_complex
    self.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", line 119, in test_expr_grammar
    self.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", line 653, in test_lookahead
    self.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", line 94, in test_gather
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 440, in test_left_recursive
    self.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", line 248, in test_repeat_0_simple
    self.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", line 327, in test_repeat_1_simple
    self.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", line 208, in test_alt_optional_operator
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 282, in test_repeat_0_complex
    self.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", line 733, in test_cut
    self.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)')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot ARM Raspbian 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 327, in test_repeat_1_simple
    self.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", line 440, in test_left_recursive
    self.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", line 176, in test_optional_literal
    self.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", line 208, in test_alt_optional_operator
    self.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", line 248, in test_repeat_0_simple
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 653, in test_lookahead
    self.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", line 733, in test_cut
    self.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", line 142, in test_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", line 1209, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/subprocess.py", line 2109, in _communicate
    self._check_timeout(endtime, orig_timeout, stdout, stderr)
  File "/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/subprocess.py", line 1253, in _check_timeout
    raise 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 seconds


Traceback (most recent call last):
  File "/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_peg_generator/test_pegen.py", line 354, in test_repeat_1_complex
    self.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", line 135, in test_optional_operator
    self.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", line 282, in test_repeat_0_complex
    self.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", line 119, in test_expr_grammar
    self.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", line 94, in test_gather
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Ubuntu Shared 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 401, in test_repeat_with_sep_simple
    self.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", line 208, in test_alt_optional_operator
    self.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", line 327, in test_repeat_1_simple
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 248, in test_repeat_0_simple
    self.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", line 282, in test_repeat_0_complex
    self.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", line 354, in test_repeat_1_complex
    self.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", line 440, in test_left_recursive
    self.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", line 135, in test_optional_operator
    self.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", line 176, in test_optional_literal
    self.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", line 653, in test_lookahead
    self.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", line 733, in test_cut
    self.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", line 94, in test_gather
    self.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", line 119, in test_expr_grammar
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented May 26, 2023

Copy link
Copy Markdown

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

Hi! The buildbot s390x RHEL7 LTO 3.x has failed when building commit 3fdb55c.

What do you need to do:

  1. Don't panic.
  2. Check the 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", line 440, in test_left_recursive
    self.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", line 282, in test_repeat_0_complex
    self.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", line 544, in test_mutually_left_recursive
    self.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", line 788, in test_subprocess_consistent_callbacks
    self.loop.run_until_complete(main())
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/asyncio/base_events.py", line 664, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto/build/Lib/test/test_asyncio/test_subprocess.py", line 780, in main
    self.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", line 119, in test_expr_grammar
    self.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", line 176, in test_optional_literal
    self.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", line 248, in test_repeat_0_simple
    self.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", line 94, in test_gather
    self.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", line 733, in test_cut
    self.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", line 208, in test_alt_optional_operator
    self.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", line 653, in test_lookahead
    self.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", line 354, in test_repeat_1_complex
    self.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", line 401, in test_repeat_with_sep_simple
    self.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", line 327, in test_repeat_1_simple
    self.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", line 135, in test_optional_operator
    self.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')]
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland erlend-aasland mentioned this pull request Jun 6, 2023
3.12 backport gh 105236 #105358
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@terryjreedy terryjreedy Awaiting requested review from terryjreedy terryjreedy is a code owner
@lysnikolaou lysnikolaou Awaiting requested review from lysnikolaou lysnikolaou is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@pablogsal @miss-islington @bedevere-bot @lysnikolaou
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.