[artix-build-failures] [world-goblins] Failure: python-sh-2.0.7-2

jenkins at artixlinux.org jenkins at artixlinux.org
Sun Nov 24 02:56:38 CET 2024


   Build: world-goblins

   Name: python-sh-2.0.7-2

   maintainer: LemonPie

   email: lemonpie at artixlinux.org

   [1]https://orion.artixlinux.org/job/packages/job/python-sh/job/master/1
   5/

References

   1. https://orion.artixlinux.org/job/packages/job/python-sh/job/master/15/
-------------- next part --------------
Started by user dudemanguy
Looking up repository packages/python-sh
Querying the current revision of branch master...
Current revision of branch master is ef89610bdce5a01d42eebd74e97a4e02879eccad
Obtained .artixlinux/Jenkinsfile from ef89610bdce5a01d42eebd74e97a4e02879eccad
Loading library artix-ci at orion
Attempting to resolve orion from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.47.0'
using GIT_ASKPASS to set credentials jenkins gitea token
 > git ls-remote -- https://gitea.artixlinux.org/artix/pipeline-libs.git # timeout=10
Found match: refs/heads/orion revision 880bd3745db54fd7d2bc517b1ce67190bee429ae
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential jenkins-gotea-token
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/packages_python-sh_master at libs/d1b6e538991d6cf27c1f72e8cf4d6e290b22a9c93094b0e97e3a05b8d58db898/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitea.artixlinux.org/artix/pipeline-libs.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitea.artixlinux.org/artix/pipeline-libs.git
 > git --version # timeout=10
 > git --version # 'git version 2.47.0'
using GIT_ASKPASS to set credentials jenkins gitea token
 > git fetch --no-tags --force --progress -- https://gitea.artixlinux.org/artix/pipeline-libs.git +refs/heads/orion:refs/remotes/origin/orion # timeout=10
Checking out Revision 880bd3745db54fd7d2bc517b1ce67190bee429ae (orion)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 880bd3745db54fd7d2bc517b1ce67190bee429ae # timeout=10
Commit message: "Merge pull request 'fix check args' (#69) from master into orion"
[Gitea] Notifying branch build status: PENDING Build started...
[Gitea] Notified
[Pipeline] Start of Pipeline
[Pipeline] catchError
[Pipeline] {
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] }
[Pipeline] // catchError
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/packages_python-sh_master
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] ansiColor
[Pipeline] {
[2024-11-24T01:55:16.888Z] 
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
[2024-11-24T01:55:16.921Z] The recommended git tool is: NONE
[2024-11-24T01:55:16.921Z] using credential jenkins-gotea-token
[2024-11-24T01:55:16.983Z]  > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/packages_python-sh_master/.git # timeout=10
[2024-11-24T01:55:16.988Z] Fetching changes from the remote Git repository
[2024-11-24T01:55:16.989Z]  > git config remote.origin.url https://gitea.artixlinux.org/packages/python-sh.git # timeout=10
[2024-11-24T01:55:16.995Z] Cleaning workspace
[2024-11-24T01:55:16.995Z]  > git rev-parse --verify HEAD # timeout=10
[2024-11-24T01:55:17.000Z] Resetting working tree
[2024-11-24T01:55:17.000Z]  > git reset --hard # timeout=10
[2024-11-24T01:55:17.007Z]  > git clean -fdx # timeout=10
[2024-11-24T01:55:17.012Z] Fetching without tags
[2024-11-24T01:55:17.012Z] Fetching upstream changes from https://gitea.artixlinux.org/packages/python-sh.git
[2024-11-24T01:55:17.012Z]  > git --version # timeout=10
[2024-11-24T01:55:17.017Z]  > git --version # 'git version 2.47.0'
[2024-11-24T01:55:17.017Z] using GIT_ASKPASS to set credentials jenkins gitea token
[2024-11-24T01:55:17.021Z]  > git fetch --no-tags --force --progress -- https://gitea.artixlinux.org/packages/python-sh.git +refs/heads/master:refs/remotes/origin/master # timeout=10
[2024-11-24T01:55:17.153Z] Checking out Revision ef89610bdce5a01d42eebd74e97a4e02879eccad (master)
[2024-11-24T01:55:17.153Z]  > git config core.sparsecheckout # timeout=10
[2024-11-24T01:55:17.159Z]  > git checkout -f ef89610bdce5a01d42eebd74e97a4e02879eccad # timeout=10
[2024-11-24T01:55:17.168Z] Commit message: "[world-goblins] 'python-sh-2.0.7-2' add"
[2024-11-24T01:55:17.169Z]  > git rev-list --no-walk ef89610bdce5a01d42eebd74e97a4e02879eccad # timeout=10
[2024-11-24T01:55:17.181Z] [Gitea] Notifying branch build status: PENDING Build started...
[2024-11-24T01:55:17.338Z] [Gitea] Notified
[Pipeline] readYaml
[Pipeline] sh
[2024-11-24T01:55:17.600Z] + git show -s --format=%an ef89610bdce5a01d42eebd74e97a4e02879eccad
[Pipeline] sh
[2024-11-24T01:55:17.858Z] + git show -s --format=%ae ef89610bdce5a01d42eebd74e97a4e02879eccad
[Pipeline] echo
[2024-11-24T01:55:17.881Z] addRepo=world-goblins
[Pipeline] echo
[2024-11-24T01:55:17.886Z] removeRepo=null
[Pipeline] echo
[2024-11-24T01:55:17.890Z] triggersBuild=true
[Pipeline] echo
[2024-11-24T01:55:17.896Z] triggersRebuild=false
[Pipeline] echo
[2024-11-24T01:55:17.900Z] triggersRepoAdd=true
[Pipeline] echo
[2024-11-24T01:55:17.906Z] triggersRepoRemove=false
[Pipeline] echo
[2024-11-24T01:55:17.910Z] triggersNoCheck=false
[Pipeline] echo
[2024-11-24T01:55:17.916Z] name=LemonPie
[Pipeline] echo
[2024-11-24T01:55:17.921Z] email=lemonpie at artixlinux.org
[Pipeline] echo
[2024-11-24T01:55:17.926Z] credentialsId=BUILDBOT_GPGP
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] catchError
[Pipeline] {
[Pipeline] sh
[2024-11-24T01:55:18.243Z] + buildpkg -n -a x86_64 -d world-goblins -e 'LemonPie <lemonpie at artixlinux.org>'
[2024-11-24T01:55:22.365Z] :: Synchronizing package databases...
[2024-11-24T01:55:22.365Z]  system-goblins downloading...
[2024-11-24T01:55:22.365Z]  system-gremlins downloading...
[2024-11-24T01:55:22.365Z]  system downloading...
[2024-11-24T01:55:22.365Z]  world-goblins downloading...
[2024-11-24T01:55:22.365Z]  world-gremlins downloading...
[2024-11-24T01:55:22.365Z]  world downloading...
[2024-11-24T01:55:22.365Z] :: Starting full system upgrade...
[2024-11-24T01:55:22.365Z]  there is nothing to do
[2024-11-24T01:55:24.847Z] ==> Building in chroot for [world-goblins] (x86_64)...
[2024-11-24T01:55:25.097Z] ==> Synchronizing chroot copy [/build/buildpkg/world-goblins-x86_64/root] -> [jenkins]...done
[2024-11-24T01:55:26.008Z] ==> Making package: python-sh 2.0.7-2 (Sun Nov 24 02:55:25 2024)
[2024-11-24T01:55:26.008Z] ==> Retrieving sources...
[2024-11-24T01:55:26.008Z]   -> Cloning sh git repo...
[2024-11-24T01:55:26.008Z] Cloning into bare repository '/build/src/sh'...
[2024-11-24T01:55:27.351Z] ==> Validating source files with sha512sums...
[2024-11-24T01:55:27.351Z]     sh ... Passed
[2024-11-24T01:55:27.351Z] ==> Validating source files with b2sums...
[2024-11-24T01:55:27.351Z]     sh ... Passed
[2024-11-24T01:55:33.831Z] ==> Making package: python-sh 2.0.7-2 (Sun Nov 24 01:55:32 2024)
[2024-11-24T01:55:33.831Z] ==> Checking runtime dependencies...
[2024-11-24T01:55:33.831Z] ==> Checking buildtime dependencies...
[2024-11-24T01:55:33.831Z] ==> Installing missing dependencies...
[2024-11-24T01:55:33.831Z] resolving dependencies...
[2024-11-24T01:55:33.832Z] looking for conflicting packages...
[2024-11-24T01:55:33.832Z] 
[2024-11-24T01:55:33.832Z] Package (25)                             New Version  Net Change
[2024-11-24T01:55:33.832Z] 
[2024-11-24T01:55:33.832Z] world/perl-error                         0.17029-7      0.04 MiB
[2024-11-24T01:55:33.832Z] world/perl-mailtools                     2.21-9         0.10 MiB
[2024-11-24T01:55:33.832Z] world/perl-timedate                      2.33-7         0.08 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-autocommand         2.2.2-7        0.08 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-fastjsonschema      2.20.0-2       0.26 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-iniconfig           2.0.0-6        0.04 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-jaraco.collections  5.0.1-2        0.10 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-jaraco.context      5.3.0-2        0.04 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-jaraco.functools    4.0.2-2        0.07 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-jaraco.text         4.0.0-2        0.08 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-lark-parser         1.2.2-2        1.24 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-more-itertools      10.3.0-2       0.62 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-packaging           24.2-3         0.66 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-platformdirs        4.3.6-2        0.24 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-pluggy              1.5.0-3        0.20 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-pyproject-hooks     1.2.0-3        0.10 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-typing_extensions   4.12.2-2       0.42 MiB
[2024-11-24T01:55:33.832Z] world/git                                2.47.0-1      28.26 MiB
[2024-11-24T01:55:33.832Z] world/lsof                               4.99.4-1       0.36 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-build               1.2.2-3        0.20 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-installer           0.7.0-10       0.17 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-poetry-core         1.9.0-6        1.28 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-pytest              1:8.3.3-2.1    3.91 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-setuptools          1:75.2.0-4     8.05 MiB
[2024-11-24T01:55:33.832Z] world-goblins/python-wheel               0.45.0-3       0.28 MiB
[2024-11-24T01:55:33.832Z] 
[2024-11-24T01:55:33.832Z] Total Installed Size:  46.90 MiB
[2024-11-24T01:55:33.832Z] 
[2024-11-24T01:55:33.832Z] :: Proceed with installation? [Y/n] 
[2024-11-24T01:55:33.832Z] checking keyring...
[2024-11-24T01:55:33.832Z] checking package integrity...
[2024-11-24T01:55:33.832Z] loading package files...
[2024-11-24T01:55:34.082Z] checking for file conflicts...
[2024-11-24T01:55:34.082Z] :: Processing package changes...
[2024-11-24T01:55:34.082Z] installing perl-error...
[2024-11-24T01:55:34.082Z] installing perl-timedate...
[2024-11-24T01:55:34.082Z] installing perl-mailtools...
[2024-11-24T01:55:34.082Z] installing git...
[2024-11-24T01:55:34.082Z] Optional dependencies for git
[2024-11-24T01:55:34.082Z]     tk: gitk and git gui
[2024-11-24T01:55:34.082Z]     openssh: ssh transport and crypto
[2024-11-24T01:55:34.082Z]     perl-libwww: git svn
[2024-11-24T01:55:34.082Z]     perl-term-readkey: git svn and interactive.singlekey setting
[2024-11-24T01:55:34.082Z]     perl-io-socket-ssl: git send-email TLS support
[2024-11-24T01:55:34.082Z]     perl-authen-sasl: git send-email TLS support
[2024-11-24T01:55:34.082Z]     perl-mediawiki-api: git mediawiki support
[2024-11-24T01:55:34.082Z]     perl-datetime-format-iso8601: git mediawiki support
[2024-11-24T01:55:34.082Z]     perl-lwp-protocol-https: git mediawiki https support
[2024-11-24T01:55:34.082Z]     perl-cgi: gitweb (web interface) support
[2024-11-24T01:55:34.082Z]     python: git svn & git p4 [installed]
[2024-11-24T01:55:34.082Z]     subversion: git svn
[2024-11-24T01:55:34.082Z]     org.freedesktop.secrets: keyring credential helper
[2024-11-24T01:55:34.082Z]     libsecret: libsecret credential helper [installed]
[2024-11-24T01:55:34.082Z] installing python-more-itertools...
[2024-11-24T01:55:34.082Z] installing python-jaraco.functools...
[2024-11-24T01:55:34.082Z] installing python-jaraco.context...
[2024-11-24T01:55:34.082Z] installing python-autocommand...
[2024-11-24T01:55:34.082Z] installing python-jaraco.text...
[2024-11-24T01:55:34.082Z] Optional dependencies for python-jaraco.text
[2024-11-24T01:55:34.082Z]     python-inflect: for show-newlines script
[2024-11-24T01:55:34.082Z] installing python-jaraco.collections...
[2024-11-24T01:55:34.082Z] installing python-packaging...
[2024-11-24T01:55:34.082Z] installing python-platformdirs...
[2024-11-24T01:55:34.082Z] installing python-wheel...
[2024-11-24T01:55:34.082Z] Optional dependencies for python-wheel
[2024-11-24T01:55:34.082Z]     python-keyring: for wheel.signatures
[2024-11-24T01:55:34.082Z]     python-xdg: for wheel.signatures
[2024-11-24T01:55:34.082Z]     python-setuptools: for legacy bdist_wheel subcommand [pending]
[2024-11-24T01:55:34.082Z] installing python-setuptools...
[2024-11-24T01:55:34.332Z] installing python-pyproject-hooks...
[2024-11-24T01:55:34.332Z] installing python-build...
[2024-11-24T01:55:34.332Z] Optional dependencies for python-build
[2024-11-24T01:55:34.332Z]     python-pip: to use as the Python package installer (default)
[2024-11-24T01:55:34.332Z]     python-uv: to use as the Python package installer
[2024-11-24T01:55:34.332Z]     python-virtualenv: to use virtualenv for build isolation
[2024-11-24T01:55:34.332Z] installing python-installer...
[2024-11-24T01:55:34.332Z] installing python-fastjsonschema...
[2024-11-24T01:55:34.332Z] installing python-typing_extensions...
[2024-11-24T01:55:34.332Z] installing python-lark-parser...
[2024-11-24T01:55:34.332Z] Optional dependencies for python-lark-parser
[2024-11-24T01:55:34.332Z]     python-atomicwrites: for atomic_cache
[2024-11-24T01:55:34.332Z]     python-regex: for regex support
[2024-11-24T01:55:34.332Z]     python-js2py: for nearley support
[2024-11-24T01:55:34.332Z] installing python-poetry-core...
[2024-11-24T01:55:34.332Z] installing lsof...
[2024-11-24T01:55:34.332Z] installing python-iniconfig...
[2024-11-24T01:55:34.332Z] installing python-pluggy...
[2024-11-24T01:55:34.332Z] installing python-pytest...
[2024-11-24T01:55:34.583Z] :: Running post-transaction hooks...
[2024-11-24T01:55:34.583Z] (1/2) Creating system user accounts...
[2024-11-24T01:55:34.583Z] Creating group 'git' with GID 978.
[2024-11-24T01:55:34.583Z] Creating user 'git' (git daemon user) with UID 978 and GID 978.
[2024-11-24T01:55:34.583Z] (2/2) Warn about old perl modules
[2024-11-24T01:55:34.833Z] ==> Retrieving sources...
[2024-11-24T01:55:34.833Z] ==> WARNING: Skipping all source file integrity checks.
[2024-11-24T01:55:34.833Z] ==> Extracting sources...
[2024-11-24T01:55:34.833Z]   -> Creating working copy of sh git repo...
[2024-11-24T01:55:34.833Z] Cloning into 'sh'...
[2024-11-24T01:55:34.833Z] done.
[2024-11-24T01:55:34.833Z] Switched to a new branch 'makepkg'
[2024-11-24T01:55:34.833Z] ==> Starting build()...
[2024-11-24T01:55:34.833Z] * Getting build dependencies for wheel...
[2024-11-24T01:55:35.083Z] * Building wheel...
[2024-11-24T01:55:35.333Z] Successfully built sh-2.0.7-py3-none-any.whl
[2024-11-24T01:55:35.584Z] ==> Starting check()...
[2024-11-24T01:55:35.834Z] ============================= test session starts ==============================
[2024-11-24T01:55:35.834Z] platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0
[2024-11-24T01:55:35.834Z] rootdir: /build/python-sh/src/sh
[2024-11-24T01:55:35.834Z] configfile: pyproject.toml
[2024-11-24T01:55:35.834Z] collected 179 items / 1 deselected / 178 selected
[2024-11-24T01:55:35.834Z] 
[2024-11-24T01:55:52.912Z] tests/sh_test.py ....................................................... [ 30%]
[2024-11-24T01:56:21.396Z] .....................s.................................................. [ 71%]
[2024-11-24T01:56:35.787Z] .......................F...........................                      [100%]
[2024-11-24T01:56:35.787Z] 
[2024-11-24T01:56:35.787Z] =================================== FAILURES ===================================
[2024-11-24T01:56:35.787Z] __________________ FunctionalTests.test_custom_timeout_signal __________________
[2024-11-24T01:56:35.787Z] 
[2024-11-24T01:56:35.787Z] self = <tests.sh_test.FunctionalTests testMethod=test_custom_timeout_signal>
[2024-11-24T01:56:35.787Z] 
[2024-11-24T01:56:35.787Z]         def test_custom_timeout_signal(self):
[2024-11-24T01:56:35.787Z]             import signal
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]             from sh import TimeoutException
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]             py = create_tmp_test(
[2024-11-24T01:56:35.787Z]                 """
[2024-11-24T01:56:35.787Z]     import time
[2024-11-24T01:56:35.787Z]     time.sleep(3)
[2024-11-24T01:56:35.787Z]     """
[2024-11-24T01:56:35.787Z]             )
[2024-11-24T01:56:35.787Z]             try:
[2024-11-24T01:56:35.787Z] >               python(py.name, _timeout=1, _timeout_signal=signal.SIGHUP)
[2024-11-24T01:56:35.787Z] 
[2024-11-24T01:56:35.787Z] tests/sh_test.py:2939: 
[2024-11-24T01:56:35.787Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[2024-11-24T01:56:35.787Z] sh.py:1508: in __call__
[2024-11-24T01:56:35.787Z]     rc = self.__class__.RunningCommandCls(cmd, call_args, stdin, stdout, stderr)
[2024-11-24T01:56:35.787Z] sh.py:737: in __init__
[2024-11-24T01:56:35.787Z]     self.wait()
[2024-11-24T01:56:35.787Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[2024-11-24T01:56:35.787Z] 
[2024-11-24T01:56:35.787Z] self = , timeout = None
[2024-11-24T01:56:35.787Z] 
[2024-11-24T01:56:35.787Z]     def wait(self, timeout=None):
[2024-11-24T01:56:35.787Z]         """waits for the running command to finish.  this is called on all
[2024-11-24T01:56:35.787Z]         running commands, eventually, except for ones that run in the background
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]         if timeout is a number, it is the number of seconds to wait for the process to
[2024-11-24T01:56:35.787Z]         resolve. otherwise block on wait.
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]         this function can raise a TimeoutException, either because of a `_timeout` on
[2024-11-24T01:56:35.787Z]         the command itself as it was
[2024-11-24T01:56:35.787Z]         launched, or because of a timeout passed into this method.
[2024-11-24T01:56:35.787Z]         """
[2024-11-24T01:56:35.787Z]         if not self._waited_until_completion:
[2024-11-24T01:56:35.787Z]             # if we've been given a timeout, we need to poll is_alive()
[2024-11-24T01:56:35.787Z]             if timeout is not None:
[2024-11-24T01:56:35.787Z]                 waited_for = 0
[2024-11-24T01:56:35.787Z]                 sleep_amt = 0.1
[2024-11-24T01:56:35.787Z]                 alive = False
[2024-11-24T01:56:35.787Z]                 exit_code = None
[2024-11-24T01:56:35.787Z]                 if timeout < 0:
[2024-11-24T01:56:35.787Z]                     raise RuntimeError("timeout cannot be negative")
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]                 # while we still have time to wait, run this loop
[2024-11-24T01:56:35.787Z]                 # notice that alive and exit_code are only defined in this loop, but
[2024-11-24T01:56:35.787Z]                 # the loop is also guaranteed to run, defining them, given the
[2024-11-24T01:56:35.787Z]                 # constraints that timeout is non-negative
[2024-11-24T01:56:35.787Z]                 while waited_for <= timeout:
[2024-11-24T01:56:35.787Z]                     alive, exit_code = self.process.is_alive()
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]                     # if we're alive, we need to wait some more, but let's sleep
[2024-11-24T01:56:35.787Z]                     # before we poll again
[2024-11-24T01:56:35.787Z]                     if alive:
[2024-11-24T01:56:35.787Z]                         time.sleep(sleep_amt)
[2024-11-24T01:56:35.787Z]                         waited_for += sleep_amt
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]                     # but if we're not alive, we're done waiting
[2024-11-24T01:56:35.787Z]                     else:
[2024-11-24T01:56:35.787Z]                         break
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]                 # if we've made it this far, and we're still alive, then it means we
[2024-11-24T01:56:35.787Z]                 # timed out waiting
[2024-11-24T01:56:35.787Z]                 if alive:
[2024-11-24T01:56:35.787Z]                     raise TimeoutException(None, self.ran)
[2024-11-24T01:56:35.787Z]     
[2024-11-24T01:56:35.787Z]                 # if we didn't time out, we fall through and let the rest of the code
[2024-11-24T01:56:35.787Z]                 # handle exit_code. notice that we set _waited_until_completion here,
[2024-11-24T01:56:35.787Z]                 # only if we didn't time out. this allows us to re-wait again on
[2024-11-24T01:56:35.788Z]                 # timeout, if we catch the TimeoutException in the parent frame
[2024-11-24T01:56:35.788Z]                 self._waited_until_completion = True
[2024-11-24T01:56:35.788Z]     
[2024-11-24T01:56:35.788Z]             else:
[2024-11-24T01:56:35.788Z]                 exit_code = self.process.wait()
[2024-11-24T01:56:35.788Z]                 self._waited_until_completion = True
[2024-11-24T01:56:35.788Z]     
[2024-11-24T01:56:35.788Z]             if self.process.timed_out:
[2024-11-24T01:56:35.788Z]                 # if we timed out, our exit code represents a signal, which is
[2024-11-24T01:56:35.788Z]                 # negative, so let's make it positive to store in our
[2024-11-24T01:56:35.788Z]                 # TimeoutException
[2024-11-24T01:56:35.788Z] >               raise TimeoutException(-exit_code, self.ran)
[2024-11-24T01:56:35.788Z] E               sh.TimeoutException
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] sh.py:796: TimeoutException
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] During handling of the above exception, another exception occurred:
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] self = <tests.sh_test.FunctionalTests testMethod=test_custom_timeout_signal>
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z]         def test_custom_timeout_signal(self):
[2024-11-24T01:56:35.788Z]             import signal
[2024-11-24T01:56:35.788Z]     
[2024-11-24T01:56:35.788Z]             from sh import TimeoutException
[2024-11-24T01:56:35.788Z]     
[2024-11-24T01:56:35.788Z]             py = create_tmp_test(
[2024-11-24T01:56:35.788Z]                 """
[2024-11-24T01:56:35.788Z]     import time
[2024-11-24T01:56:35.788Z]     time.sleep(3)
[2024-11-24T01:56:35.788Z]     """
[2024-11-24T01:56:35.788Z]             )
[2024-11-24T01:56:35.788Z]             try:
[2024-11-24T01:56:35.788Z]                 python(py.name, _timeout=1, _timeout_signal=signal.SIGHUP)
[2024-11-24T01:56:35.788Z]             except TimeoutException as e:
[2024-11-24T01:56:35.788Z] >               self.assertEqual(e.exit_code, signal.SIGHUP)
[2024-11-24T01:56:35.788Z] E               AssertionError: 0 != <Signals.SIGHUP: 1>
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] tests/sh_test.py:2941: AssertionError
[2024-11-24T01:56:35.788Z] =============================== warnings summary ===============================
[2024-11-24T01:56:35.788Z] tests/sh_test.py::FunctionalTests::test_piped_exception2
[2024-11-24T01:56:35.788Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2316
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.788Z]       self.run()
[2024-11-24T01:56:35.788Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.788Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.788Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.788Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.788Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.788Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.788Z]       raise exc
[2024-11-24T01:56:35.788Z]   sh.ErrorReturnCode_2: 
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     RAN: /usr/bin/python /tmp/tmpqc4ohw3z
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDOUT:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDERR:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] tests/sh_test.py::FunctionalTests::test_async_exc
[2024-11-24T01:56:35.788Z]   /build/python-sh/src/sh/tests/sh_test.py:1736: DeprecationWarning: There is no current event loop
[2024-11-24T01:56:35.788Z]     loop = asyncio.get_event_loop()
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] tests/sh_test.py: 66 warnings
[2024-11-24T01:56:35.788Z]   /build/python-sh/src/sh/sh.py:1980: DeprecationWarning: This process (pid=2305) is multi-threaded, use of fork() may lead to deadlocks in the child.
[2024-11-24T01:56:35.788Z]     self.pid = os.fork()
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] tests/sh_test.py::FunctionalTests::test_stdout_callback_kill
[2024-11-24T01:56:35.788Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2401
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.788Z]       self.run()
[2024-11-24T01:56:35.788Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.788Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.788Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.788Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.788Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.788Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.788Z]       raise exc
[2024-11-24T01:56:35.788Z]   sh.SignalException_SIGKILL: 
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     RAN: /usr/bin/python -u /tmp/tmpznmoa54b
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDOUT:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDERR:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure
[2024-11-24T01:56:35.788Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2463
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.788Z]       self.run()
[2024-11-24T01:56:35.788Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.788Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.788Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.788Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.788Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.788Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.788Z]       raise exc
[2024-11-24T01:56:35.788Z]   sh.ErrorReturnCode_2: 
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     RAN: /usr/bin/python /tmp/tmpiad2dcef
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDOUT:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDERR:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] tests/sh_test.py::FunctionalTests::test_done_cb_exc
[2024-11-24T01:56:35.788Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2483
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.788Z]       self.run()
[2024-11-24T01:56:35.788Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.788Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.788Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.788Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.788Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.788Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.788Z]       raise exc
[2024-11-24T01:56:35.788Z]   sh.ErrorReturnCode_1: 
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     RAN: /usr/bin/python /tmp/tmp2kfa2rpp
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDOUT:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDERR:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure
[2024-11-24T01:56:35.788Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2693
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.788Z]       self.run()
[2024-11-24T01:56:35.788Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.788Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.788Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.788Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.788Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.788Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.788Z]       raise exc
[2024-11-24T01:56:35.788Z]   sh.ErrorReturnCode_2: 
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     RAN: /usr/bin/python /tmp/tmpint7gvku
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDOUT:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDERR:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.788Z] 
[2024-11-24T01:56:35.788Z] tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr
[2024-11-24T01:56:35.788Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2707
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.788Z]       self.run()
[2024-11-24T01:56:35.788Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.788Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.788Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.788Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.788Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.788Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.788Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.788Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.788Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.788Z]       raise exc
[2024-11-24T01:56:35.788Z]   sh.ErrorReturnCode_3: 
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     RAN: /usr/bin/python /tmp/tmputm3bhtb
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDOUT:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]     STDERR:
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.788Z]   
[2024-11-24T01:56:35.789Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.789Z] 
[2024-11-24T01:56:35.789Z] tests/sh_test.py::FunctionalTests::test_fg_alternative
[2024-11-24T01:56:35.789Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 2770
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.789Z]       self.run()
[2024-11-24T01:56:35.789Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.789Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.789Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.789Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2591, in input_thread
[2024-11-24T01:56:35.789Z]       done = stdin.write()
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2904, in write
[2024-11-24T01:56:35.789Z]       chunk = self.get_chunk()
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2845, in fn
[2024-11-24T01:56:35.789Z]       chunk = stdin.read(bufsize)
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/site-packages/_pytest/capture.py", line 209, in read
[2024-11-24T01:56:35.789Z]       raise OSError(
[2024-11-24T01:56:35.789Z]           "pytest: reading from stdin while output is captured!  Consider using `-s`."
[2024-11-24T01:56:35.789Z]       )
[2024-11-24T01:56:35.789Z]   OSError: pytest: reading from stdin while output is captured!  Consider using `-s`.
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.789Z] 
[2024-11-24T01:56:35.789Z] tests/sh_test.py::FunctionalTests::test_signal_group
[2024-11-24T01:56:35.789Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2775
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.789Z]       self.run()
[2024-11-24T01:56:35.789Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.789Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.789Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.789Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.789Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.789Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.789Z]       raise exc
[2024-11-24T01:56:35.789Z]   sh.SignalException_SIGKILL: 
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     RAN: /usr/bin/python /tmp/tmplva1_vc7
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDOUT:
[2024-11-24T01:56:35.789Z]   2779
[2024-11-24T01:56:35.789Z]   2775
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDERR:
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.789Z] 
[2024-11-24T01:56:35.789Z] tests/sh_test.py::FunctionalTests::test_new_session_new_group
[2024-11-24T01:56:35.789Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2784
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.789Z]       self.run()
[2024-11-24T01:56:35.789Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.789Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.789Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.789Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.789Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.789Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.789Z]       raise exc
[2024-11-24T01:56:35.789Z]   sh.SignalException_SIGKILL: 
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     RAN: /usr/bin/python /tmp/tmplva1_vc7
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDOUT:
[2024-11-24T01:56:35.789Z]   2789
[2024-11-24T01:56:35.789Z]   2784
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDERR:
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.789Z] 
[2024-11-24T01:56:35.789Z] tests/sh_test.py::FunctionalTests::test_piped_exception1
[2024-11-24T01:56:35.789Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2880
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.789Z]       self.run()
[2024-11-24T01:56:35.789Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.789Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.789Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.789Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.789Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.789Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.789Z]       raise exc
[2024-11-24T01:56:35.789Z]   sh.ErrorReturnCode_2: 
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     RAN: /usr/bin/python /tmp/tmpo3nf786j
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDOUT:
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDERR:
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.789Z] 
[2024-11-24T01:56:35.789Z] tests/sh_test.py::FunctionalTests::test_signal_exception
[2024-11-24T01:56:35.789Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2913
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.789Z]       self.run()
[2024-11-24T01:56:35.789Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.789Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.789Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.789Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.789Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.789Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.789Z]       raise exc
[2024-11-24T01:56:35.789Z]   sh.SignalException_SIGTERM: 
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     RAN: /usr/bin/python /tmp/tmp705vihcq
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDOUT:
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDERR:
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.789Z] 
[2024-11-24T01:56:35.789Z] tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate
[2024-11-24T01:56:35.789Z]   /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3182
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   Traceback (most recent call last):
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:56:35.789Z]       self.run()
[2024-11-24T01:56:35.789Z]       ~~~~~~~~^^
[2024-11-24T01:56:35.789Z]     File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:56:35.789Z]       self._target(*self._args, **self._kwargs)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:56:35.789Z]       fn(*rgs, **kwargs)
[2024-11-24T01:56:35.789Z]       ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:56:35.789Z]       handle_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]       ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:56:35.789Z]       return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:56:35.789Z]              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:56:35.789Z]     File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:56:35.789Z]       raise exc
[2024-11-24T01:56:35.789Z]   sh.SignalException_SIGTERM: 
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     RAN: /usr/bin/python -u /tmp/tmps98aeb_p
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDOUT:
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     STDERR:
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]   
[2024-11-24T01:56:35.789Z]     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:56:35.789Z] 
[2024-11-24T01:56:35.789Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[2024-11-24T01:56:35.789Z] =========================== short test summary info ============================
[2024-11-24T01:56:35.789Z] FAILED tests/sh_test.py::FunctionalTests::test_custom_timeout_signal - Assert...
[2024-11-24T01:56:35.789Z] ===== 1 failed, 176 passed, 1 skipped, 1 deselected, 79 warnings in 59.99s =====
[2024-11-24T01:56:35.789Z] ==> ERROR: A failure occurred in check().
[2024-11-24T01:56:35.789Z]     Aborting...
[2024-11-24T01:56:38.272Z] ==> ERROR: Build failed, check /build/buildpkg/world-goblins-x86_64/jenkins/build
[Pipeline] }
[2024-11-24T01:56:38.274Z] ERROR: Failed to build source
[2024-11-24T01:56:38.274Z] ERROR: script returned exit code 255
[2024-11-24T01:56:38.274Z] Setting overall build result to FAILURE
[Pipeline] // catchError
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Check)
Stage "Check" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Sign)
Stage "Sign" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Add)
Stage "Add" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Remove)
Stage "Remove" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] emailext
[2024-11-24T01:56:38.431Z] Sending email to: artix-build-failures at artixlinux.org


More information about the artix-build-failures mailing list