Skip to content

python3Packages.sh fails to build on Hydra (aarch64-darwin) #199438

@wegank

Description

@wegank

Steps To Reproduce

Steps to reproduce the behavior:

  1. build python3Packages.sh

Build log

======================================================================
ERROR: test_piped_exception2 (test.FunctionalTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/test.py", line 737, in test_piped_exception2
    self.assertRaises(ErrorReturnCode_2, fn)
  File "/nix/store/14sv2h3nag638062j87lg3ic4z8ipgis-python3-3.10.8/lib/python3.10/unittest/case.py", line 738, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/nix/store/14sv2h3nag638062j87lg3ic4z8ipgis-python3-3.10.8/lib/python3.10/unittest/case.py", line 201, in handle
    callable_obj(*args, **kwargs)
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/test.py", line 735, in fn
    python(python(py.name, _piped=True), "-u", py2.name)
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 1524, in __call__
    return RunningCommand(cmd, call_args, stdin, stdout, stderr)
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 788, in __init__
    self.wait()
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 852, in wait
    self.process._stdin_process.command.wait()
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 845, in wait
    self.handle_command_exit_code(exit_code)
  File "/private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/sh-1.14.3/sh.py", line 869, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_120: 

  RAN: /nix/store/14sv2h3nag638062j87lg3ic4z8ipgis-python3-3.10.8/bin/python3.10 /private/tmp/nix-build-python3.10-sh-1.14.3.drv-0/tmp3xh8eh1c

  STDOUT:


  STDERR:
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

Additional context

amoffat/sh#541

Notify maintainers

@siriobalmelli

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions