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
4/
References
1. https://orion.artixlinux.org/job/packages/job/python-sh/job/master/14/
-------------- 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:49:38.733Z]
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
[2024-11-24T01:49:38.780Z] The recommended git tool is: NONE
[2024-11-24T01:49:38.780Z] using credential jenkins-gotea-token
[2024-11-24T01:49:38.859Z] > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/packages_python-sh_master/.git # timeout=10
[2024-11-24T01:49:38.865Z] Fetching changes from the remote Git repository
[2024-11-24T01:49:38.866Z] > git config remote.origin.url https://gitea.artixlinux.org/packages/python-sh.git # timeout=10
[2024-11-24T01:49:38.873Z] Cleaning workspace
[2024-11-24T01:49:38.873Z] > git rev-parse --verify HEAD # timeout=10
[2024-11-24T01:49:38.878Z] Resetting working tree
[2024-11-24T01:49:38.878Z] > git reset --hard # timeout=10
[2024-11-24T01:49:38.884Z] > git clean -fdx # timeout=10
[2024-11-24T01:49:38.888Z] Fetching without tags
[2024-11-24T01:49:38.888Z] Fetching upstream changes from https://gitea.artixlinux.org/packages/python-sh.git
[2024-11-24T01:49:38.888Z] > git --version # timeout=10
[2024-11-24T01:49:38.892Z] > git --version # 'git version 2.47.0'
[2024-11-24T01:49:38.893Z] using GIT_ASKPASS to set credentials jenkins gitea token
[2024-11-24T01:49:38.896Z] > 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:49:39.017Z] Checking out Revision ef89610bdce5a01d42eebd74e97a4e02879eccad (master)
[2024-11-24T01:49:39.017Z] > git config core.sparsecheckout # timeout=10
[2024-11-24T01:49:39.021Z] > git checkout -f ef89610bdce5a01d42eebd74e97a4e02879eccad # timeout=10
[2024-11-24T01:49:39.030Z] Commit message: "[world-goblins] 'python-sh-2.0.7-2' add"
[2024-11-24T01:49:39.031Z] > git rev-list --no-walk ef89610bdce5a01d42eebd74e97a4e02879eccad # timeout=10
[2024-11-24T01:49:39.043Z] [Gitea] Notifying branch build status: PENDING Build started...
[2024-11-24T01:49:39.198Z] [Gitea] Notified
[Pipeline] readYaml
[Pipeline] sh
[2024-11-24T01:49:39.463Z] + git show -s --format=%an ef89610bdce5a01d42eebd74e97a4e02879eccad
[Pipeline] sh
[2024-11-24T01:49:39.721Z] + git show -s --format=%ae ef89610bdce5a01d42eebd74e97a4e02879eccad
[Pipeline] echo
[2024-11-24T01:49:39.743Z] addRepo=world-goblins
[Pipeline] echo
[2024-11-24T01:49:39.748Z] removeRepo=null
[Pipeline] echo
[2024-11-24T01:49:39.753Z] triggersBuild=true
[Pipeline] echo
[2024-11-24T01:49:39.758Z] triggersRebuild=false
[Pipeline] echo
[2024-11-24T01:49:39.763Z] triggersRepoAdd=true
[Pipeline] echo
[2024-11-24T01:49:39.768Z] triggersRepoRemove=false
[Pipeline] echo
[2024-11-24T01:49:39.772Z] triggersNoCheck=false
[Pipeline] echo
[2024-11-24T01:49:39.778Z] name=LemonPie
[Pipeline] echo
[2024-11-24T01:49:39.783Z] email=lemonpie at artixlinux.org
[Pipeline] echo
[2024-11-24T01:49:39.787Z] credentialsId=BUILDBOT_GPGP
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] catchError
[Pipeline] {
[Pipeline] sh
[2024-11-24T01:49:40.114Z] + buildpkg -n -a x86_64 -d world-goblins -e 'LemonPie <lemonpie at artixlinux.org>'
[2024-11-24T01:49:44.236Z] :: Synchronizing package databases...
[2024-11-24T01:49:44.236Z] system-goblins downloading...
[2024-11-24T01:49:44.236Z] system-gremlins downloading...
[2024-11-24T01:49:44.236Z] system downloading...
[2024-11-24T01:49:44.236Z] world-goblins downloading...
[2024-11-24T01:49:44.236Z] world-gremlins downloading...
[2024-11-24T01:49:44.236Z] world downloading...
[2024-11-24T01:49:44.236Z] :: Starting full system upgrade...
[2024-11-24T01:49:44.236Z] there is nothing to do
[2024-11-24T01:49:46.718Z] ==> Building in chroot for [world-goblins] (x86_64)...
[2024-11-24T01:49:46.968Z] ==> Synchronizing chroot copy [/build/buildpkg/world-goblins-x86_64/root] -> [jenkins]...done
[2024-11-24T01:49:48.311Z] ==> Making package: python-sh 2.0.7-2 (Sun Nov 24 02:49:47 2024)
[2024-11-24T01:49:48.311Z] ==> Retrieving sources...
[2024-11-24T01:49:48.311Z] -> Updating sh git repo...
[2024-11-24T01:49:48.562Z] ==> Validating source files with sha512sums...
[2024-11-24T01:49:48.562Z] sh ... Passed
[2024-11-24T01:49:48.562Z] ==> Validating source files with b2sums...
[2024-11-24T01:49:48.562Z] sh ... Passed
[2024-11-24T01:49:55.042Z] ==> Making package: python-sh 2.0.7-2 (Sun Nov 24 01:49:53 2024)
[2024-11-24T01:49:55.042Z] ==> Checking runtime dependencies...
[2024-11-24T01:49:55.042Z] ==> Checking buildtime dependencies...
[2024-11-24T01:49:55.042Z] ==> Installing missing dependencies...
[2024-11-24T01:49:55.042Z] resolving dependencies...
[2024-11-24T01:49:55.042Z] looking for conflicting packages...
[2024-11-24T01:49:55.042Z]
[2024-11-24T01:49:55.042Z] Package (25) New Version Net Change
[2024-11-24T01:49:55.042Z]
[2024-11-24T01:49:55.042Z] world/perl-error 0.17029-7 0.04 MiB
[2024-11-24T01:49:55.042Z] world/perl-mailtools 2.21-9 0.10 MiB
[2024-11-24T01:49:55.042Z] world/perl-timedate 2.33-7 0.08 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-autocommand 2.2.2-7 0.08 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-fastjsonschema 2.20.0-2 0.26 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-iniconfig 2.0.0-6 0.04 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-jaraco.collections 5.0.1-2 0.10 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-jaraco.context 5.3.0-2 0.04 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-jaraco.functools 4.0.2-2 0.07 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-jaraco.text 4.0.0-2 0.08 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-lark-parser 1.2.2-2 1.24 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-more-itertools 10.3.0-2 0.62 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-packaging 24.2-3 0.66 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-platformdirs 4.3.6-2 0.24 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-pluggy 1.5.0-3 0.20 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-pyproject-hooks 1.2.0-3 0.10 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-typing_extensions 4.12.2-2 0.42 MiB
[2024-11-24T01:49:55.042Z] world/git 2.47.0-1 28.26 MiB
[2024-11-24T01:49:55.042Z] world/lsof 4.99.4-1 0.36 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-build 1.2.2-3 0.20 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-installer 0.7.0-10 0.17 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-poetry-core 1.9.0-6 1.28 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-pytest 1:8.3.3-2.1 3.91 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-setuptools 1:75.2.0-4 8.05 MiB
[2024-11-24T01:49:55.042Z] world-goblins/python-wheel 0.45.0-3 0.28 MiB
[2024-11-24T01:49:55.042Z]
[2024-11-24T01:49:55.042Z] Total Installed Size: 46.90 MiB
[2024-11-24T01:49:55.042Z]
[2024-11-24T01:49:55.042Z] :: Proceed with installation? [Y/n]
[2024-11-24T01:49:55.042Z] checking keyring...
[2024-11-24T01:49:55.042Z] checking package integrity...
[2024-11-24T01:49:55.042Z] loading package files...
[2024-11-24T01:49:55.042Z] checking for file conflicts...
[2024-11-24T01:49:55.042Z] :: Processing package changes...
[2024-11-24T01:49:55.042Z] installing perl-error...
[2024-11-24T01:49:55.042Z] installing perl-timedate...
[2024-11-24T01:49:55.042Z] installing perl-mailtools...
[2024-11-24T01:49:55.042Z] installing git...
[2024-11-24T01:49:55.042Z] Optional dependencies for git
[2024-11-24T01:49:55.042Z] tk: gitk and git gui
[2024-11-24T01:49:55.042Z] openssh: ssh transport and crypto
[2024-11-24T01:49:55.042Z] perl-libwww: git svn
[2024-11-24T01:49:55.042Z] perl-term-readkey: git svn and interactive.singlekey setting
[2024-11-24T01:49:55.042Z] perl-io-socket-ssl: git send-email TLS support
[2024-11-24T01:49:55.042Z] perl-authen-sasl: git send-email TLS support
[2024-11-24T01:49:55.042Z] perl-mediawiki-api: git mediawiki support
[2024-11-24T01:49:55.042Z] perl-datetime-format-iso8601: git mediawiki support
[2024-11-24T01:49:55.042Z] perl-lwp-protocol-https: git mediawiki https support
[2024-11-24T01:49:55.042Z] perl-cgi: gitweb (web interface) support
[2024-11-24T01:49:55.042Z] python: git svn & git p4 [installed]
[2024-11-24T01:49:55.042Z] subversion: git svn
[2024-11-24T01:49:55.042Z] org.freedesktop.secrets: keyring credential helper
[2024-11-24T01:49:55.042Z] libsecret: libsecret credential helper [installed]
[2024-11-24T01:49:55.042Z] installing python-more-itertools...
[2024-11-24T01:49:55.042Z] installing python-jaraco.functools...
[2024-11-24T01:49:55.042Z] installing python-jaraco.context...
[2024-11-24T01:49:55.042Z] installing python-autocommand...
[2024-11-24T01:49:55.042Z] installing python-jaraco.text...
[2024-11-24T01:49:55.042Z] Optional dependencies for python-jaraco.text
[2024-11-24T01:49:55.042Z] python-inflect: for show-newlines script
[2024-11-24T01:49:55.042Z] installing python-jaraco.collections...
[2024-11-24T01:49:55.042Z] installing python-packaging...
[2024-11-24T01:49:55.042Z] installing python-platformdirs...
[2024-11-24T01:49:55.042Z] installing python-wheel...
[2024-11-24T01:49:55.042Z] Optional dependencies for python-wheel
[2024-11-24T01:49:55.042Z] python-keyring: for wheel.signatures
[2024-11-24T01:49:55.042Z] python-xdg: for wheel.signatures
[2024-11-24T01:49:55.042Z] python-setuptools: for legacy bdist_wheel subcommand [pending]
[2024-11-24T01:49:55.042Z] installing python-setuptools...
[2024-11-24T01:49:55.042Z] installing python-pyproject-hooks...
[2024-11-24T01:49:55.042Z] installing python-build...
[2024-11-24T01:49:55.042Z] Optional dependencies for python-build
[2024-11-24T01:49:55.042Z] python-pip: to use as the Python package installer (default)
[2024-11-24T01:49:55.042Z] python-uv: to use as the Python package installer
[2024-11-24T01:49:55.042Z] python-virtualenv: to use virtualenv for build isolation
[2024-11-24T01:49:55.042Z] installing python-installer...
[2024-11-24T01:49:55.042Z] installing python-fastjsonschema...
[2024-11-24T01:49:55.042Z] installing python-typing_extensions...
[2024-11-24T01:49:55.042Z] installing python-lark-parser...
[2024-11-24T01:49:55.293Z] Optional dependencies for python-lark-parser
[2024-11-24T01:49:55.293Z] python-atomicwrites: for atomic_cache
[2024-11-24T01:49:55.293Z] python-regex: for regex support
[2024-11-24T01:49:55.293Z] python-js2py: for nearley support
[2024-11-24T01:49:55.293Z] installing python-poetry-core...
[2024-11-24T01:49:55.293Z] installing lsof...
[2024-11-24T01:49:55.293Z] installing python-iniconfig...
[2024-11-24T01:49:55.293Z] installing python-pluggy...
[2024-11-24T01:49:55.293Z] installing python-pytest...
[2024-11-24T01:49:55.293Z] :: Running post-transaction hooks...
[2024-11-24T01:49:55.293Z] (1/2) Creating system user accounts...
[2024-11-24T01:49:55.293Z] Creating group 'git' with GID 978.
[2024-11-24T01:49:55.293Z] Creating user 'git' (git daemon user) with UID 978 and GID 978.
[2024-11-24T01:49:55.293Z] (2/2) Warn about old perl modules
[2024-11-24T01:49:55.543Z] ==> Retrieving sources...
[2024-11-24T01:49:55.543Z] ==> WARNING: Skipping all source file integrity checks.
[2024-11-24T01:49:55.543Z] ==> Extracting sources...
[2024-11-24T01:49:55.543Z] -> Creating working copy of sh git repo...
[2024-11-24T01:49:55.543Z] Cloning into 'sh'...
[2024-11-24T01:49:55.543Z] done.
[2024-11-24T01:49:55.543Z] Switched to a new branch 'makepkg'
[2024-11-24T01:49:55.543Z] ==> Starting build()...
[2024-11-24T01:49:55.543Z] * Getting build dependencies for wheel...
[2024-11-24T01:49:55.793Z] * Building wheel...
[2024-11-24T01:49:56.043Z] Successfully built sh-2.0.7-py3-none-any.whl
[2024-11-24T01:49:56.043Z] ==> Starting check()...
[2024-11-24T01:49:56.594Z] ============================= test session starts ==============================
[2024-11-24T01:49:56.594Z] platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0
[2024-11-24T01:49:56.594Z] rootdir: /build/python-sh/src/sh
[2024-11-24T01:49:56.594Z] configfile: pyproject.toml
[2024-11-24T01:49:56.594Z] collected 179 items / 1 deselected / 178 selected
[2024-11-24T01:49:56.594Z]
[2024-11-24T01:50:07.795Z] tests/sh_test.py ................s...................................... [ 30%]
[2024-11-24T01:50:40.139Z] ........................................................................ [ 71%]
[2024-11-24T01:50:56.249Z] .................F................................. [100%]
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] =================================== FAILURES ===================================
[2024-11-24T01:50:56.249Z] __________________ FunctionalTests.test_custom_timeout_signal __________________
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] self = <tests.sh_test.FunctionalTests testMethod=test_custom_timeout_signal>
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] def test_custom_timeout_signal(self):
[2024-11-24T01:50:56.249Z] import signal
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] from sh import TimeoutException
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] py = create_tmp_test(
[2024-11-24T01:50:56.249Z] """
[2024-11-24T01:50:56.249Z] import time
[2024-11-24T01:50:56.249Z] time.sleep(3)
[2024-11-24T01:50:56.249Z] """
[2024-11-24T01:50:56.249Z] )
[2024-11-24T01:50:56.249Z] try:
[2024-11-24T01:50:56.249Z] > python(py.name, _timeout=1, _timeout_signal=signal.SIGHUP)
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] tests/sh_test.py:2939:
[2024-11-24T01:50:56.249Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-24T01:50:56.249Z] sh.py:1508: in __call__
[2024-11-24T01:50:56.249Z] rc = self.__class__.RunningCommandCls(cmd, call_args, stdin, stdout, stderr)
[2024-11-24T01:50:56.249Z] sh.py:737: in __init__
[2024-11-24T01:50:56.249Z] self.wait()
[2024-11-24T01:50:56.249Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] self = , timeout = None
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] def wait(self, timeout=None):
[2024-11-24T01:50:56.249Z] """waits for the running command to finish. this is called on all
[2024-11-24T01:50:56.249Z] running commands, eventually, except for ones that run in the background
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] if timeout is a number, it is the number of seconds to wait for the process to
[2024-11-24T01:50:56.249Z] resolve. otherwise block on wait.
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] this function can raise a TimeoutException, either because of a `_timeout` on
[2024-11-24T01:50:56.249Z] the command itself as it was
[2024-11-24T01:50:56.249Z] launched, or because of a timeout passed into this method.
[2024-11-24T01:50:56.249Z] """
[2024-11-24T01:50:56.249Z] if not self._waited_until_completion:
[2024-11-24T01:50:56.249Z] # if we've been given a timeout, we need to poll is_alive()
[2024-11-24T01:50:56.249Z] if timeout is not None:
[2024-11-24T01:50:56.249Z] waited_for = 0
[2024-11-24T01:50:56.249Z] sleep_amt = 0.1
[2024-11-24T01:50:56.249Z] alive = False
[2024-11-24T01:50:56.249Z] exit_code = None
[2024-11-24T01:50:56.249Z] if timeout < 0:
[2024-11-24T01:50:56.249Z] raise RuntimeError("timeout cannot be negative")
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] # while we still have time to wait, run this loop
[2024-11-24T01:50:56.249Z] # notice that alive and exit_code are only defined in this loop, but
[2024-11-24T01:50:56.249Z] # the loop is also guaranteed to run, defining them, given the
[2024-11-24T01:50:56.249Z] # constraints that timeout is non-negative
[2024-11-24T01:50:56.249Z] while waited_for <= timeout:
[2024-11-24T01:50:56.249Z] alive, exit_code = self.process.is_alive()
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] # if we're alive, we need to wait some more, but let's sleep
[2024-11-24T01:50:56.249Z] # before we poll again
[2024-11-24T01:50:56.249Z] if alive:
[2024-11-24T01:50:56.249Z] time.sleep(sleep_amt)
[2024-11-24T01:50:56.249Z] waited_for += sleep_amt
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] # but if we're not alive, we're done waiting
[2024-11-24T01:50:56.249Z] else:
[2024-11-24T01:50:56.249Z] break
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] # if we've made it this far, and we're still alive, then it means we
[2024-11-24T01:50:56.249Z] # timed out waiting
[2024-11-24T01:50:56.249Z] if alive:
[2024-11-24T01:50:56.249Z] raise TimeoutException(None, self.ran)
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] # if we didn't time out, we fall through and let the rest of the code
[2024-11-24T01:50:56.249Z] # handle exit_code. notice that we set _waited_until_completion here,
[2024-11-24T01:50:56.249Z] # only if we didn't time out. this allows us to re-wait again on
[2024-11-24T01:50:56.249Z] # timeout, if we catch the TimeoutException in the parent frame
[2024-11-24T01:50:56.249Z] self._waited_until_completion = True
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] else:
[2024-11-24T01:50:56.249Z] exit_code = self.process.wait()
[2024-11-24T01:50:56.249Z] self._waited_until_completion = True
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] if self.process.timed_out:
[2024-11-24T01:50:56.249Z] # if we timed out, our exit code represents a signal, which is
[2024-11-24T01:50:56.249Z] # negative, so let's make it positive to store in our
[2024-11-24T01:50:56.249Z] # TimeoutException
[2024-11-24T01:50:56.249Z] > raise TimeoutException(-exit_code, self.ran)
[2024-11-24T01:50:56.249Z] E sh.TimeoutException
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] sh.py:796: TimeoutException
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] During handling of the above exception, another exception occurred:
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] self = <tests.sh_test.FunctionalTests testMethod=test_custom_timeout_signal>
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] def test_custom_timeout_signal(self):
[2024-11-24T01:50:56.249Z] import signal
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] from sh import TimeoutException
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] py = create_tmp_test(
[2024-11-24T01:50:56.249Z] """
[2024-11-24T01:50:56.249Z] import time
[2024-11-24T01:50:56.249Z] time.sleep(3)
[2024-11-24T01:50:56.249Z] """
[2024-11-24T01:50:56.249Z] )
[2024-11-24T01:50:56.249Z] try:
[2024-11-24T01:50:56.249Z] python(py.name, _timeout=1, _timeout_signal=signal.SIGHUP)
[2024-11-24T01:50:56.249Z] except TimeoutException as e:
[2024-11-24T01:50:56.249Z] > self.assertEqual(e.exit_code, signal.SIGHUP)
[2024-11-24T01:50:56.249Z] E AssertionError: 0 != <Signals.SIGHUP: 1>
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] tests/sh_test.py:2941: AssertionError
[2024-11-24T01:50:56.249Z] =============================== warnings summary ===============================
[2024-11-24T01:50:56.249Z] tests/sh_test.py: 81 warnings
[2024-11-24T01:50:56.249Z] /build/python-sh/src/sh/sh.py:1980: DeprecationWarning: This process (pid=27966) is multi-threaded, use of fork() may lead to deadlocks in the child.
[2024-11-24T01:50:56.249Z] self.pid = os.fork()
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] tests/sh_test.py::FunctionalTests::test_piped_exception1
[2024-11-24T01:50:56.249Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 27996
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] Traceback (most recent call last):
[2024-11-24T01:50:56.249Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.249Z] self.run()
[2024-11-24T01:50:56.249Z] ~~~~~~~~^^
[2024-11-24T01:50:56.249Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.249Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.249Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.249Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.249Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.249Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.249Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.249Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.249Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.249Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.249Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.249Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.249Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.249Z] raise exc
[2024-11-24T01:50:56.249Z] sh.ErrorReturnCode_2:
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] RAN: /usr/bin/python /tmp/tmp8htwkxy1
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] STDOUT:
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] STDERR:
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] tests/sh_test.py::FunctionalTests::test_signal_group
[2024-11-24T01:50:56.249Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 28001
[2024-11-24T01:50:56.249Z]
[2024-11-24T01:50:56.249Z] Traceback (most recent call last):
[2024-11-24T01:50:56.249Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.249Z] self.run()
[2024-11-24T01:50:56.249Z] ~~~~~~~~^^
[2024-11-24T01:50:56.249Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.249Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.249Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.249Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.249Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.249Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.250Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.250Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.250Z] raise exc
[2024-11-24T01:50:56.250Z] sh.SignalException_SIGKILL:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] RAN: /usr/bin/python /tmp/tmp88r9x7fg
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDOUT:
[2024-11-24T01:50:56.250Z] 28007
[2024-11-24T01:50:56.250Z] 28001
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDERR:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_signal_exception
[2024-11-24T01:50:56.250Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 28050
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] Traceback (most recent call last):
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.250Z] self.run()
[2024-11-24T01:50:56.250Z] ~~~~~~~~^^
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.250Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.250Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.250Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.250Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.250Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.250Z] raise exc
[2024-11-24T01:50:56.250Z] sh.SignalException_SIGTERM:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] RAN: /usr/bin/python /tmp/tmpqvg3mt0v
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDOUT:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDERR:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_new_session_new_group
[2024-11-24T01:50:56.250Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 28012
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] Traceback (most recent call last):
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.250Z] self.run()
[2024-11-24T01:50:56.250Z] ~~~~~~~~^^
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.250Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.250Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.250Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.250Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.250Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.250Z] raise exc
[2024-11-24T01:50:56.250Z] sh.SignalException_SIGKILL:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] RAN: /usr/bin/python /tmp/tmp88r9x7fg
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDOUT:
[2024-11-24T01:50:56.250Z] 28016
[2024-11-24T01:50:56.250Z] 28012
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDERR:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure
[2024-11-24T01:50:56.250Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 32299
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] Traceback (most recent call last):
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.250Z] self.run()
[2024-11-24T01:50:56.250Z] ~~~~~~~~^^
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.250Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.250Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.250Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.250Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.250Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.250Z] raise exc
[2024-11-24T01:50:56.250Z] sh.ErrorReturnCode_2:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] RAN: /usr/bin/python /tmp/tmpfon_n2k4
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDOUT:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDERR:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_async_iter_exc
[2024-11-24T01:50:56.250Z] /build/python-sh/src/sh/tests/sh_test.py:1786: DeprecationWarning: There is no current event loop
[2024-11-24T01:50:56.250Z] loop = asyncio.get_event_loop()
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure
[2024-11-24T01:50:56.250Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 771
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] Traceback (most recent call last):
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.250Z] self.run()
[2024-11-24T01:50:56.250Z] ~~~~~~~~^^
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.250Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.250Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.250Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.250Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.250Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.250Z] raise exc
[2024-11-24T01:50:56.250Z] sh.ErrorReturnCode_2:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] RAN: /usr/bin/python /tmp/tmp60y2vz6z
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDOUT:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDERR:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_fg
[2024-11-24T01:50:56.250Z] <frozen os>:890: DeprecationWarning: This process (pid=27966) is multi-threaded, use of fork() may lead to deadlocks in the child.
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_fg_alternative
[2024-11-24T01:50:56.250Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 7790
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] Traceback (most recent call last):
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.250Z] self.run()
[2024-11-24T01:50:56.250Z] ~~~~~~~~^^
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.250Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.250Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.250Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2591, in input_thread
[2024-11-24T01:50:56.250Z] done = stdin.write()
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2904, in write
[2024-11-24T01:50:56.250Z] chunk = self.get_chunk()
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2845, in fn
[2024-11-24T01:50:56.250Z] chunk = stdin.read(bufsize)
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/site-packages/_pytest/capture.py", line 209, in read
[2024-11-24T01:50:56.250Z] raise OSError(
[2024-11-24T01:50:56.250Z] "pytest: reading from stdin while output is captured! Consider using `-s`."
[2024-11-24T01:50:56.250Z] )
[2024-11-24T01:50:56.250Z] OSError: pytest: reading from stdin while output is captured! Consider using `-s`.
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate
[2024-11-24T01:50:56.250Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 7827
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] Traceback (most recent call last):
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.250Z] self.run()
[2024-11-24T01:50:56.250Z] ~~~~~~~~^^
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.250Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.250Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.250Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.250Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.250Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.250Z] raise exc
[2024-11-24T01:50:56.250Z] sh.SignalException_SIGTERM:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] RAN: /usr/bin/python -u /tmp/tmptqxz5qkc
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDOUT:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] STDERR:
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] tests/sh_test.py::FunctionalTests::test_piped_exception2
[2024-11-24T01:50:56.250Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 9664
[2024-11-24T01:50:56.250Z]
[2024-11-24T01:50:56.250Z] Traceback (most recent call last):
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.250Z] self.run()
[2024-11-24T01:50:56.250Z] ~~~~~~~~^^
[2024-11-24T01:50:56.250Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.250Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.250Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.250Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.250Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.250Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.250Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.251Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.251Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.251Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.251Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.251Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.251Z] raise exc
[2024-11-24T01:50:56.251Z] sh.ErrorReturnCode_2:
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] RAN: /usr/bin/python /tmp/tmphuwubkkj
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] STDOUT:
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] STDERR:
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] tests/sh_test.py::FunctionalTests::test_stdout_callback_kill
[2024-11-24T01:50:56.251Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 12622
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] Traceback (most recent call last):
[2024-11-24T01:50:56.251Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.251Z] self.run()
[2024-11-24T01:50:56.251Z] ~~~~~~~~^^
[2024-11-24T01:50:56.251Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.251Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.251Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.251Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.251Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.251Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.251Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.251Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.251Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.251Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.251Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.251Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.251Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.251Z] raise exc
[2024-11-24T01:50:56.251Z] sh.SignalException_SIGKILL:
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] RAN: /usr/bin/python -u /tmp/tmpwmnb0pve
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] STDOUT:
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z] STDERR:
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.251Z]
[2024-11-24T01:50:56.501Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] tests/sh_test.py::FunctionalTests::test_done_cb_exc
[2024-11-24T01:50:56.501Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 14051
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] Traceback (most recent call last):
[2024-11-24T01:50:56.501Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.501Z] self.run()
[2024-11-24T01:50:56.501Z] ~~~~~~~~^^
[2024-11-24T01:50:56.501Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.501Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.501Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.501Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.501Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.501Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.501Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.501Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.501Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.501Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.501Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.501Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.501Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.501Z] raise exc
[2024-11-24T01:50:56.501Z] sh.ErrorReturnCode_1:
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] RAN: /usr/bin/python /tmp/tmpi5jbp940
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] STDOUT:
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] STDERR:
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr
[2024-11-24T01:50:56.501Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 16010
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] Traceback (most recent call last):
[2024-11-24T01:50:56.501Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T01:50:56.501Z] self.run()
[2024-11-24T01:50:56.501Z] ~~~~~~~~^^
[2024-11-24T01:50:56.501Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T01:50:56.501Z] self._target(*self._args, **self._kwargs)
[2024-11-24T01:50:56.501Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.501Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T01:50:56.501Z] fn(*rgs, **kwargs)
[2024-11-24T01:50:56.501Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T01:50:56.501Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T01:50:56.501Z] handle_exit_code(exit_code)
[2024-11-24T01:50:56.501Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.501Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T01:50:56.501Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T01:50:56.501Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T01:50:56.501Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T01:50:56.501Z] raise exc
[2024-11-24T01:50:56.501Z] sh.ErrorReturnCode_3:
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] RAN: /usr/bin/python /tmp/tmpvfov19_g
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] STDOUT:
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] STDERR:
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T01:50:56.501Z]
[2024-11-24T01:50:56.501Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[2024-11-24T01:50:56.501Z] =========================== short test summary info ============================
[2024-11-24T01:50:56.501Z] FAILED tests/sh_test.py::FunctionalTests::test_custom_timeout_signal - Assert...
[2024-11-24T01:50:56.501Z] ===== 1 failed, 176 passed, 1 skipped, 1 deselected, 95 warnings in 59.99s =====
[2024-11-24T01:50:56.501Z] ==> ERROR: A failure occurred in check().
[2024-11-24T01:50:56.502Z] Aborting...
[2024-11-24T01:50:58.984Z] ==> ERROR: Build failed, check /build/buildpkg/world-goblins-x86_64/jenkins/build
[Pipeline] }
[2024-11-24T01:50:58.986Z] ERROR: Failed to build source
[2024-11-24T01:50:58.986Z] ERROR: script returned exit code 255
[2024-11-24T01:50:58.986Z] 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:50:59.159Z] Sending email to: artix-build-failures at artixlinux.org
More information about the artix-build-failures
mailing list