This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Jan Niklas Hasse, Sworddragon, abarry, akira, barry, ezio.melotti, lemburg, methane, ncoghlan, ned.deily, r.david.murray, ronaldoussoren, vstinner, xdegaye, yan12125
Date 2017-06-13.09:17:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497345474.17.0.0551892260313.issue28180@psf.upfronthosting.co.za>
In-reply-to
Content
It seems like this change:

     def test_forced_io_encoding(self):
         # Checks forced configuration of embedded interpreter IO streams
-        out, err = self.run_embedded_interpreter("forced_io_encoding")
-        if support.verbose:
+        env = {"PYTHONIOENCODING": "utf-8:surrogateescape"}
+        out, err = self.run_embedded_interpreter("forced_io_encoding", env=env)
(...)

Caused a failure on the "shared" buildbot (./configure --enable-shared):

http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/877/steps/test/logs/stdio

======================================================================
FAIL: test_forced_io_encoding (test.test_capi.EmbeddingTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_capi.py", line 484, in test_forced_io_encoding
    out, err = self.run_embedded_interpreter("forced_io_encoding", env=env)
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_capi.py", line 392, in run_embedded_interpreter
    (p.returncode, err))
AssertionError: 127 != 0 : bad returncode 127, stderr is '/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Programs/_testembed: error while loading shared libraries: libpython3.7dm.so.1.0: cannot open shared object file: No such file or directory\n'
History
Date User Action Args
2017-06-13 09:17:54vstinnersetrecipients: + vstinner, lemburg, barry, ronaldoussoren, ncoghlan, ned.deily, ezio.melotti, r.david.murray, methane, akira, Sworddragon, xdegaye, yan12125, abarry, Jan Niklas Hasse
2017-06-13 09:17:54vstinnersetmessageid: <1497345474.17.0.0551892260313.issue28180@psf.upfronthosting.co.za>
2017-06-13 09:17:54vstinnerlinkissue28180 messages
2017-06-13 09:17:53vstinnercreate