Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834954 - dev-python/trio-0.20.0 fails tests on MUSL
Summary: dev-python/trio-0.20.0 fails tests on MUSL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-11 08:40 UTC by Agostino Sarubbo
Modified: 2022-04-07 08:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,221.56 KB, text/plain)
2022-03-11 08:40 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-03-11 08:40:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/trio-0.20.0 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-11 08:40:10 UTC
Created attachment 766761 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-11 08:40:11 UTC
Error(s) that match a know pattern:


        completed  = CompletedProcess(args=['/var/tmp/portage/dev-python/trio-0.20.0/work/trio-0.20.0-python3_8/install/usr/bin/python3.8', '-u', '-m', 'IPython', '--quick', '--TerminalIPythonApp.code_to_run=import _common
        raise KeyError
        raise ValueError
        return exc
      raise KeyError
      raise ValueError
    File "<ipython-input-1-952b69e207e8>", line 15, in exc2_fn
    File "<ipython-input-1-952b69e207e8>", line 8, in exc1_fn
    except Exception as exc:
    exec(code_obj, self.user_global_ns, self.user_ns)
    raise trio.MultiError([exc1_fn(), exc2_fn()])
    try:
  File "/usr/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3340, in run_code
  File "<ipython-input-1-952b69e207e8>", line 21, in <cell line: 21>
  KeyError
  Traceback (most recent call last):
  ValueError
 'trio.MultiError: ValueError(), KeyError()
# This should be printed nicely, because Trio overrode sys.excepthook
'
')
Details of embedded exception 1:
Details of embedded exception 2:
FAILED trio/_core/tests/test_multierror.py::test_ipython_exc_handler - assert...
completed  = CompletedProcess(args=['/var/tmp/portage/dev-python/trio-0.20.0/work/trio-0.20.0-python3_8/install/usr/bin/python3.8', '-u', '-m', 'IPython', '--quick', '--TerminalIPythonApp.code_to_run=import _common
def exc1_fn():
def exc2_fn():
exit()'], returncode=1, stdout=b'Traceback (most recent call last):
import trio
raise trio.MultiError([exc1_fn(), exc2_fn()])
trio.MultiError: ValueError(), KeyError()
Comment 3 Larry the Git Cow gentoo-dev 2022-04-07 08:45:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84c0461f155282edcb097156914767b4fac4d36e

commit 84c0461f155282edcb097156914767b4fac4d36e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-04-07 08:40:54 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-04-07 08:45:05 +0000

    dev-python/trio: Fix tests
    
    Closes: https://bugs.gentoo.org/834954
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/trio/trio-0.20.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)