New submission from STINNER Victor <vstin...@python.org>:

https://buildbot.python.org/all/#/builders/244/builds/931
At commit 9b999479c0022edfc9835a8a1f06e046f3881048

(...)
test_reindent_file_with_bad_encoding 
(test.test_tools.test_reindent.ReindentTests) ... FAIL
(...)

======================================================================
FAIL: test_reindent_file_with_bad_encoding 
(test.test_tools.test_reindent.ReindentTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/test_tools/test_reindent.py",
 line 29, in test_reindent_file_with_bad_encoding
    rc, out, err = assert_python_ok(self.script, '-r', bad_coding_path)
  File 
"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/support/script_helper.py",
 line 160, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File 
"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/support/script_helper.py",
 line 145, in _assert_python
    res.fail(cmd_line)
  File 
"/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/support/script_helper.py",
 line 72, in fail
    raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: 
['/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/python', '-X', 
'faulthandler', '-I', 
'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Tools/scripts/reindent.py',
 '-r', 
'/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z.lto-pgo/build/Lib/test/bad_coding.py']

stdout:
---

---

stderr:
---
SyntaxError: encoding problem: encoding
---




Can it be related to the following change?

commit 261a452a1300eeeae1428ffd6e6623329c085e2c
Author: Pablo Galindo <pablog...@gmail.com>
Date:   Sun Mar 28 23:48:05 2021 +0100

    bpo-25643: Refactor the C tokenizer into smaller, logical units (GH-25050)

----------
components: Tests
messages: 389739
nosy: pablogsal, vstinner
priority: normal
severity: normal
status: open
title: test_tools: test_reindent_file_with_bad_encoding() fails on s390x RHEL7 
LTO + PGO 3.x
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43662>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to