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
3/
References
1. https://orion.artixlinux.org/job/packages/job/python-sh/job/master/13/
-------------- next part --------------
Started by user marzosh
Replayed python-sh-2.0.7-2
[Gitea] Notifying branch build status: PENDING Build started...
[Gitea] Notified
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
Replacing contents of vars/BuildPkg.groovy
Replacing contents of vars/TopicRemove.groovy
Replacing contents of src/org/artixlinux/RepoPackage.groovy
Replacing contents of vars/SignPkg.groovy
Replacing contents of vars/NotifyRepoSuccess.groovy
Replacing contents of vars/CheckOut.groovy
Replacing contents of vars/RepoRemove.groovy
Replacing contents of vars/RunCheckAndSign.groovy
Replacing contents of vars/PackagePipeline.groovy
Replacing contents of vars/NotifyRepoUnsuccessful.groovy
Replacing contents of vars/TopicAdd.groovy
Replacing contents of vars/RepoAdd.groovy
Replacing contents of vars/NotifyBuildFailure.groovy
Replacing contents of vars/RunAdd.groovy
Replacing contents of vars/LoadConfig.groovy
Replacing contents of vars/NotifyBuildFixed.groovy
Replacing contents of vars/CheckPkg.groovy
[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-24T00:20:39.382Z]
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] checkout
[2024-11-24T00:20:39.421Z] The recommended git tool is: NONE
[2024-11-24T00:20:39.421Z] using credential jenkins-gotea-token
[2024-11-24T00:20:39.520Z] > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/packages_python-sh_master/.git # timeout=10
[2024-11-24T00:20:39.526Z] Fetching changes from the remote Git repository
[2024-11-24T00:20:39.527Z] > git config remote.origin.url https://gitea.artixlinux.org/packages/python-sh.git # timeout=10
[2024-11-24T00:20:39.533Z] Cleaning workspace
[2024-11-24T00:20:39.533Z] > git rev-parse --verify HEAD # timeout=10
[2024-11-24T00:20:39.537Z] Resetting working tree
[2024-11-24T00:20:39.538Z] > git reset --hard # timeout=10
[2024-11-24T00:20:39.543Z] > git clean -fdx # timeout=10
[2024-11-24T00:20:39.550Z] Fetching without tags
[2024-11-24T00:20:39.550Z] Fetching upstream changes from https://gitea.artixlinux.org/packages/python-sh.git
[2024-11-24T00:20:39.550Z] > git --version # timeout=10
[2024-11-24T00:20:39.553Z] > git --version # 'git version 2.47.0'
[2024-11-24T00:20:39.553Z] using GIT_ASKPASS to set credentials jenkins gitea token
[2024-11-24T00:20:39.558Z] > 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-24T00:20:39.688Z] Checking out Revision ef89610bdce5a01d42eebd74e97a4e02879eccad (master)
[2024-11-24T00:20:39.688Z] > git config core.sparsecheckout # timeout=10
[2024-11-24T00:20:39.694Z] > git checkout -f ef89610bdce5a01d42eebd74e97a4e02879eccad # timeout=10
[2024-11-24T00:20:39.704Z] Commit message: "[world-goblins] 'python-sh-2.0.7-2' add"
[2024-11-24T00:20:39.704Z] > git rev-list --no-walk ef89610bdce5a01d42eebd74e97a4e02879eccad # timeout=10
[2024-11-24T00:20:39.718Z] [Gitea] Notifying branch build status: PENDING Build started...
[2024-11-24T00:20:39.871Z] [Gitea] Notified
[Pipeline] readYaml
[Pipeline] sh
[2024-11-24T00:20:40.138Z] + git show -s --format=%an ef89610bdce5a01d42eebd74e97a4e02879eccad
[Pipeline] sh
[2024-11-24T00:20:40.396Z] + git show -s --format=%ae ef89610bdce5a01d42eebd74e97a4e02879eccad
[Pipeline] echo
[2024-11-24T00:20:40.420Z] addRepo=world-goblins
[Pipeline] echo
[2024-11-24T00:20:40.425Z] removeRepo=null
[Pipeline] echo
[2024-11-24T00:20:40.430Z] triggersBuild=true
[Pipeline] echo
[2024-11-24T00:20:40.435Z] triggersRebuild=false
[Pipeline] echo
[2024-11-24T00:20:40.439Z] triggersRepoAdd=true
[Pipeline] echo
[2024-11-24T00:20:40.444Z] triggersRepoRemove=false
[Pipeline] echo
[2024-11-24T00:20:40.448Z] triggersNoCheck=false
[Pipeline] echo
[2024-11-24T00:20:40.453Z] name=LemonPie
[Pipeline] echo
[2024-11-24T00:20:40.458Z] email=lemonpie at artixlinux.org
[Pipeline] echo
[2024-11-24T00:20:40.463Z] credentialsId=BUILDBOT_GPGP
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] catchError
[Pipeline] {
[Pipeline] sh
[2024-11-24T00:20:40.780Z] + buildpkg -n -a x86_64 -d world-goblins -e 'LemonPie <lemonpie at artixlinux.org>'
[2024-11-24T00:20:44.902Z] :: Synchronizing package databases...
[2024-11-24T00:20:44.902Z] system-goblins downloading...
[2024-11-24T00:20:44.902Z] system-gremlins downloading...
[2024-11-24T00:20:44.902Z] system downloading...
[2024-11-24T00:20:44.902Z] world-goblins downloading...
[2024-11-24T00:20:44.902Z] world-gremlins downloading...
[2024-11-24T00:20:44.902Z] world downloading...
[2024-11-24T00:20:44.902Z] :: Starting full system upgrade...
[2024-11-24T00:20:44.902Z] there is nothing to do
[2024-11-24T00:20:47.384Z] ==> Building in chroot for [world-goblins] (x86_64)...
[2024-11-24T00:20:47.935Z] ==> Synchronizing chroot copy [/build/buildpkg/world-goblins-x86_64/root] -> [jenkins]...done
[2024-11-24T00:20:48.846Z] ==> Making package: python-sh 2.0.7-2 (Sun Nov 24 01:20:48 2024)
[2024-11-24T00:20:48.846Z] ==> Retrieving sources...
[2024-11-24T00:20:48.846Z] -> Updating sh git repo...
[2024-11-24T00:20:49.396Z] ==> Validating source files with sha512sums...
[2024-11-24T00:20:49.396Z] sh ... Passed
[2024-11-24T00:20:49.396Z] ==> Validating source files with b2sums...
[2024-11-24T00:20:49.396Z] sh ... Passed
[2024-11-24T00:20:55.876Z] ==> Making package: python-sh 2.0.7-2 (Sun Nov 24 00:20:54 2024)
[2024-11-24T00:20:55.876Z] ==> Checking runtime dependencies...
[2024-11-24T00:20:55.876Z] ==> Checking buildtime dependencies...
[2024-11-24T00:20:55.876Z] ==> Installing missing dependencies...
[2024-11-24T00:20:55.876Z] resolving dependencies...
[2024-11-24T00:20:55.876Z] looking for conflicting packages...
[2024-11-24T00:20:55.876Z]
[2024-11-24T00:20:55.876Z] Package (25) New Version Net Change
[2024-11-24T00:20:55.876Z]
[2024-11-24T00:20:55.876Z] world/perl-error 0.17029-7 0.04 MiB
[2024-11-24T00:20:55.876Z] world/perl-mailtools 2.21-9 0.10 MiB
[2024-11-24T00:20:55.876Z] world/perl-timedate 2.33-7 0.08 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-autocommand 2.2.2-7 0.08 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-fastjsonschema 2.20.0-2 0.26 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-iniconfig 2.0.0-6 0.04 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-jaraco.collections 5.0.1-2 0.10 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-jaraco.context 5.3.0-2 0.04 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-jaraco.functools 4.0.2-2 0.07 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-jaraco.text 4.0.0-2 0.08 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-lark-parser 1.2.2-2 1.24 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-more-itertools 10.3.0-2 0.62 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-packaging 24.2-3 0.66 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-platformdirs 4.3.6-2 0.24 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-pluggy 1.5.0-3 0.20 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-pyproject-hooks 1.2.0-3 0.10 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-typing_extensions 4.12.2-2 0.42 MiB
[2024-11-24T00:20:55.876Z] world/git 2.47.0-1 28.26 MiB
[2024-11-24T00:20:55.876Z] world/lsof 4.99.4-1 0.36 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-build 1.2.2-3 0.20 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-installer 0.7.0-10 0.17 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-poetry-core 1.9.0-6 1.28 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-pytest 1:8.3.3-2.1 3.91 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-setuptools 1:75.2.0-4 8.05 MiB
[2024-11-24T00:20:55.876Z] world-goblins/python-wheel 0.45.0-3 0.28 MiB
[2024-11-24T00:20:55.876Z]
[2024-11-24T00:20:55.876Z] Total Installed Size: 46.90 MiB
[2024-11-24T00:20:55.876Z]
[2024-11-24T00:20:55.876Z] :: Proceed with installation? [Y/n]
[2024-11-24T00:20:55.876Z] checking keyring...
[2024-11-24T00:20:55.876Z] checking package integrity...
[2024-11-24T00:20:55.876Z] loading package files...
[2024-11-24T00:20:55.876Z] checking for file conflicts...
[2024-11-24T00:20:55.876Z] :: Processing package changes...
[2024-11-24T00:20:55.876Z] installing perl-error...
[2024-11-24T00:20:55.876Z] installing perl-timedate...
[2024-11-24T00:20:55.876Z] installing perl-mailtools...
[2024-11-24T00:20:55.876Z] installing git...
[2024-11-24T00:20:56.126Z] Optional dependencies for git
[2024-11-24T00:20:56.126Z] tk: gitk and git gui
[2024-11-24T00:20:56.126Z] openssh: ssh transport and crypto
[2024-11-24T00:20:56.126Z] perl-libwww: git svn
[2024-11-24T00:20:56.126Z] perl-term-readkey: git svn and interactive.singlekey setting
[2024-11-24T00:20:56.126Z] perl-io-socket-ssl: git send-email TLS support
[2024-11-24T00:20:56.126Z] perl-authen-sasl: git send-email TLS support
[2024-11-24T00:20:56.126Z] perl-mediawiki-api: git mediawiki support
[2024-11-24T00:20:56.126Z] perl-datetime-format-iso8601: git mediawiki support
[2024-11-24T00:20:56.126Z] perl-lwp-protocol-https: git mediawiki https support
[2024-11-24T00:20:56.126Z] perl-cgi: gitweb (web interface) support
[2024-11-24T00:20:56.126Z] python: git svn & git p4 [installed]
[2024-11-24T00:20:56.126Z] subversion: git svn
[2024-11-24T00:20:56.126Z] org.freedesktop.secrets: keyring credential helper
[2024-11-24T00:20:56.126Z] libsecret: libsecret credential helper [installed]
[2024-11-24T00:20:56.126Z] installing python-more-itertools...
[2024-11-24T00:20:56.126Z] installing python-jaraco.functools...
[2024-11-24T00:20:56.126Z] installing python-jaraco.context...
[2024-11-24T00:20:56.127Z] installing python-autocommand...
[2024-11-24T00:20:56.127Z] installing python-jaraco.text...
[2024-11-24T00:20:56.127Z] Optional dependencies for python-jaraco.text
[2024-11-24T00:20:56.127Z] python-inflect: for show-newlines script
[2024-11-24T00:20:56.127Z] installing python-jaraco.collections...
[2024-11-24T00:20:56.127Z] installing python-packaging...
[2024-11-24T00:20:56.127Z] installing python-platformdirs...
[2024-11-24T00:20:56.127Z] installing python-wheel...
[2024-11-24T00:20:56.127Z] Optional dependencies for python-wheel
[2024-11-24T00:20:56.127Z] python-keyring: for wheel.signatures
[2024-11-24T00:20:56.127Z] python-xdg: for wheel.signatures
[2024-11-24T00:20:56.127Z] python-setuptools: for legacy bdist_wheel subcommand [pending]
[2024-11-24T00:20:56.127Z] installing python-setuptools...
[2024-11-24T00:20:56.127Z] installing python-pyproject-hooks...
[2024-11-24T00:20:56.127Z] installing python-build...
[2024-11-24T00:20:56.127Z] Optional dependencies for python-build
[2024-11-24T00:20:56.127Z] python-pip: to use as the Python package installer (default)
[2024-11-24T00:20:56.127Z] python-uv: to use as the Python package installer
[2024-11-24T00:20:56.127Z] python-virtualenv: to use virtualenv for build isolation
[2024-11-24T00:20:56.127Z] installing python-installer...
[2024-11-24T00:20:56.127Z] installing python-fastjsonschema...
[2024-11-24T00:20:56.127Z] installing python-typing_extensions...
[2024-11-24T00:20:56.127Z] installing python-lark-parser...
[2024-11-24T00:20:56.127Z] Optional dependencies for python-lark-parser
[2024-11-24T00:20:56.127Z] python-atomicwrites: for atomic_cache
[2024-11-24T00:20:56.127Z] python-regex: for regex support
[2024-11-24T00:20:56.127Z] python-js2py: for nearley support
[2024-11-24T00:20:56.127Z] installing python-poetry-core...
[2024-11-24T00:20:56.127Z] installing lsof...
[2024-11-24T00:20:56.127Z] installing python-iniconfig...
[2024-11-24T00:20:56.127Z] installing python-pluggy...
[2024-11-24T00:20:56.127Z] installing python-pytest...
[2024-11-24T00:20:56.377Z] :: Running post-transaction hooks...
[2024-11-24T00:20:56.377Z] (1/2) Creating system user accounts...
[2024-11-24T00:20:56.377Z] Creating group 'git' with GID 978.
[2024-11-24T00:20:56.377Z] Creating user 'git' (git daemon user) with UID 978 and GID 978.
[2024-11-24T00:20:56.377Z] (2/2) Warn about old perl modules
[2024-11-24T00:20:56.627Z] ==> Retrieving sources...
[2024-11-24T00:20:56.627Z] ==> WARNING: Skipping all source file integrity checks.
[2024-11-24T00:20:56.627Z] ==> Extracting sources...
[2024-11-24T00:20:56.627Z] -> Creating working copy of sh git repo...
[2024-11-24T00:20:56.627Z] Cloning into 'sh'...
[2024-11-24T00:20:56.627Z] done.
[2024-11-24T00:20:56.627Z] Switched to a new branch 'makepkg'
[2024-11-24T00:20:56.627Z] ==> Starting build()...
[2024-11-24T00:20:56.878Z] * Getting build dependencies for wheel...
[2024-11-24T00:20:56.878Z] * Building wheel...
[2024-11-24T00:20:57.428Z] Successfully built sh-2.0.7-py3-none-any.whl
[2024-11-24T00:20:57.428Z] ==> Starting check()...
[2024-11-24T00:20:57.678Z] ============================= test session starts ==============================
[2024-11-24T00:20:57.678Z] platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0
[2024-11-24T00:20:57.678Z] rootdir: /build/python-sh/src/sh
[2024-11-24T00:20:57.678Z] configfile: pyproject.toml
[2024-11-24T00:20:57.678Z] collected 179 items / 1 deselected / 178 selected
[2024-11-24T00:20:57.678Z]
[2024-11-24T00:21:17.370Z] tests/sh_test.py ........F.............................................. [ 30%]
[2024-11-24T00:21:50.394Z] ................................................................s....... [ 71%]
[2024-11-24T00:21:57.832Z] ................................................... [100%]
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] =================================== FAILURES ===================================
[2024-11-24T00:21:57.832Z] __________________ FunctionalTests.test_custom_timeout_signal __________________
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] self = <tests.sh_test.FunctionalTests testMethod=test_custom_timeout_signal>
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] def test_custom_timeout_signal(self):
[2024-11-24T00:21:57.832Z] import signal
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] from sh import TimeoutException
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] py = create_tmp_test(
[2024-11-24T00:21:57.832Z] """
[2024-11-24T00:21:57.832Z] import time
[2024-11-24T00:21:57.832Z] time.sleep(3)
[2024-11-24T00:21:57.832Z] """
[2024-11-24T00:21:57.832Z] )
[2024-11-24T00:21:57.832Z] try:
[2024-11-24T00:21:57.832Z] > python(py.name, _timeout=1, _timeout_signal=signal.SIGHUP)
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] tests/sh_test.py:2939:
[2024-11-24T00:21:57.832Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-24T00:21:57.832Z] sh.py:1508: in __call__
[2024-11-24T00:21:57.832Z] rc = self.__class__.RunningCommandCls(cmd, call_args, stdin, stdout, stderr)
[2024-11-24T00:21:57.832Z] sh.py:737: in __init__
[2024-11-24T00:21:57.832Z] self.wait()
[2024-11-24T00:21:57.832Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] self = , timeout = None
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] def wait(self, timeout=None):
[2024-11-24T00:21:57.832Z] """waits for the running command to finish. this is called on all
[2024-11-24T00:21:57.832Z] running commands, eventually, except for ones that run in the background
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] if timeout is a number, it is the number of seconds to wait for the process to
[2024-11-24T00:21:57.832Z] resolve. otherwise block on wait.
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] this function can raise a TimeoutException, either because of a `_timeout` on
[2024-11-24T00:21:57.832Z] the command itself as it was
[2024-11-24T00:21:57.832Z] launched, or because of a timeout passed into this method.
[2024-11-24T00:21:57.832Z] """
[2024-11-24T00:21:57.832Z] if not self._waited_until_completion:
[2024-11-24T00:21:57.832Z] # if we've been given a timeout, we need to poll is_alive()
[2024-11-24T00:21:57.832Z] if timeout is not None:
[2024-11-24T00:21:57.832Z] waited_for = 0
[2024-11-24T00:21:57.832Z] sleep_amt = 0.1
[2024-11-24T00:21:57.832Z] alive = False
[2024-11-24T00:21:57.832Z] exit_code = None
[2024-11-24T00:21:57.832Z] if timeout < 0:
[2024-11-24T00:21:57.832Z] raise RuntimeError("timeout cannot be negative")
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] # while we still have time to wait, run this loop
[2024-11-24T00:21:57.832Z] # notice that alive and exit_code are only defined in this loop, but
[2024-11-24T00:21:57.832Z] # the loop is also guaranteed to run, defining them, given the
[2024-11-24T00:21:57.832Z] # constraints that timeout is non-negative
[2024-11-24T00:21:57.832Z] while waited_for <= timeout:
[2024-11-24T00:21:57.832Z] alive, exit_code = self.process.is_alive()
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] # if we're alive, we need to wait some more, but let's sleep
[2024-11-24T00:21:57.832Z] # before we poll again
[2024-11-24T00:21:57.832Z] if alive:
[2024-11-24T00:21:57.832Z] time.sleep(sleep_amt)
[2024-11-24T00:21:57.832Z] waited_for += sleep_amt
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] # but if we're not alive, we're done waiting
[2024-11-24T00:21:57.832Z] else:
[2024-11-24T00:21:57.832Z] break
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] # if we've made it this far, and we're still alive, then it means we
[2024-11-24T00:21:57.832Z] # timed out waiting
[2024-11-24T00:21:57.832Z] if alive:
[2024-11-24T00:21:57.832Z] raise TimeoutException(None, self.ran)
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] # if we didn't time out, we fall through and let the rest of the code
[2024-11-24T00:21:57.832Z] # handle exit_code. notice that we set _waited_until_completion here,
[2024-11-24T00:21:57.832Z] # only if we didn't time out. this allows us to re-wait again on
[2024-11-24T00:21:57.832Z] # timeout, if we catch the TimeoutException in the parent frame
[2024-11-24T00:21:57.832Z] self._waited_until_completion = True
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] else:
[2024-11-24T00:21:57.832Z] exit_code = self.process.wait()
[2024-11-24T00:21:57.832Z] self._waited_until_completion = True
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] if self.process.timed_out:
[2024-11-24T00:21:57.832Z] # if we timed out, our exit code represents a signal, which is
[2024-11-24T00:21:57.832Z] # negative, so let's make it positive to store in our
[2024-11-24T00:21:57.832Z] # TimeoutException
[2024-11-24T00:21:57.832Z] > raise TimeoutException(-exit_code, self.ran)
[2024-11-24T00:21:57.832Z] E sh.TimeoutException
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] sh.py:796: TimeoutException
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] During handling of the above exception, another exception occurred:
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] self = <tests.sh_test.FunctionalTests testMethod=test_custom_timeout_signal>
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] def test_custom_timeout_signal(self):
[2024-11-24T00:21:57.832Z] import signal
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] from sh import TimeoutException
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] py = create_tmp_test(
[2024-11-24T00:21:57.832Z] """
[2024-11-24T00:21:57.832Z] import time
[2024-11-24T00:21:57.832Z] time.sleep(3)
[2024-11-24T00:21:57.832Z] """
[2024-11-24T00:21:57.832Z] )
[2024-11-24T00:21:57.832Z] try:
[2024-11-24T00:21:57.832Z] python(py.name, _timeout=1, _timeout_signal=signal.SIGHUP)
[2024-11-24T00:21:57.832Z] except TimeoutException as e:
[2024-11-24T00:21:57.832Z] > self.assertEqual(e.exit_code, signal.SIGHUP)
[2024-11-24T00:21:57.832Z] E AssertionError: 0 != <Signals.SIGHUP: 1>
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] tests/sh_test.py:2941: AssertionError
[2024-11-24T00:21:57.832Z] =============================== warnings summary ===============================
[2024-11-24T00:21:57.832Z] tests/sh_test.py::FunctionalTests::test_async_iter_exc
[2024-11-24T00:21:57.832Z] /build/python-sh/src/sh/tests/sh_test.py:1786: DeprecationWarning: There is no current event loop
[2024-11-24T00:21:57.832Z] loop = asyncio.get_event_loop()
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] tests/sh_test.py::FunctionalTests::test_unchecked_producer_failure
[2024-11-24T00:21:57.832Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2675
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] Traceback (most recent call last):
[2024-11-24T00:21:57.832Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.832Z] self.run()
[2024-11-24T00:21:57.832Z] ~~~~~~~~^^
[2024-11-24T00:21:57.832Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.832Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.832Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.832Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.832Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.832Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.832Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.832Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.832Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.832Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.832Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.832Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.832Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.832Z] raise exc
[2024-11-24T00:21:57.832Z] sh.ErrorReturnCode_2:
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] RAN: /usr/bin/python /tmp/tmpnugyua4x
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] STDOUT:
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] STDERR:
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] tests/sh_test.py::FunctionalTests::test_stdout_callback_terminate
[2024-11-24T00:21:57.832Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2737
[2024-11-24T00:21:57.832Z]
[2024-11-24T00:21:57.832Z] Traceback (most recent call last):
[2024-11-24T00:21:57.832Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.832Z] self.run()
[2024-11-24T00:21:57.833Z] ~~~~~~~~^^
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.833Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.833Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.833Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.833Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.833Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.833Z] raise exc
[2024-11-24T00:21:57.833Z] sh.SignalException_SIGTERM:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] RAN: /usr/bin/python -u /tmp/tmpr2y5s_1a
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDOUT:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDERR:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] tests/sh_test.py: 93 warnings
[2024-11-24T00:21:57.833Z] /build/python-sh/src/sh/sh.py:1980: DeprecationWarning: This process (pid=2590) is multi-threaded, use of fork() may lead to deadlocks in the child.
[2024-11-24T00:21:57.833Z] self.pid = os.fork()
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] tests/sh_test.py::FunctionalTests::test_stdout_callback_kill
[2024-11-24T00:21:57.833Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 2974
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] Traceback (most recent call last):
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.833Z] self.run()
[2024-11-24T00:21:57.833Z] ~~~~~~~~^^
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.833Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.833Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.833Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.833Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.833Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.833Z] raise exc
[2024-11-24T00:21:57.833Z] sh.SignalException_SIGKILL:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] RAN: /usr/bin/python -u /tmp/tmp_hutji_4
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDOUT:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDERR:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] tests/sh_test.py::FunctionalTests::test_unchecked_pipeline_failure
[2024-11-24T00:21:57.833Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3000
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] Traceback (most recent call last):
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.833Z] self.run()
[2024-11-24T00:21:57.833Z] ~~~~~~~~^^
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.833Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.833Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.833Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.833Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.833Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.833Z] raise exc
[2024-11-24T00:21:57.833Z] sh.ErrorReturnCode_2:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] RAN: /usr/bin/python /tmp/tmpgxhoed5d
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDOUT:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDERR:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] tests/sh_test.py::FunctionalTests::test_fg_env
[2024-11-24T00:21:57.833Z] tests/sh_test.py::FunctionalTests::test_fg
[2024-11-24T00:21:57.833Z] <frozen os>:890: DeprecationWarning: This process (pid=2590) is multi-threaded, use of fork() may lead to deadlocks in the child.
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] tests/sh_test.py::FunctionalTests::test_done_cb_exc
[2024-11-24T00:21:57.833Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3109
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] Traceback (most recent call last):
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.833Z] self.run()
[2024-11-24T00:21:57.833Z] ~~~~~~~~^^
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.833Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.833Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.833Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.833Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.833Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.833Z] raise exc
[2024-11-24T00:21:57.833Z] sh.ErrorReturnCode_1:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] RAN: /usr/bin/python /tmp/tmp4g39_70t
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDOUT:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDERR:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] tests/sh_test.py::FunctionalTests::test_piped_exception2
[2024-11-24T00:21:57.833Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3139
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] Traceback (most recent call last):
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.833Z] self.run()
[2024-11-24T00:21:57.833Z] ~~~~~~~~^^
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.833Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.833Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.833Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.833Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.833Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.833Z] raise exc
[2024-11-24T00:21:57.833Z] sh.ErrorReturnCode_2:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] RAN: /usr/bin/python /tmp/tmpbrtq5orw
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDOUT:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDERR:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] tests/sh_test.py::FunctionalTests::test_signal_group
[2024-11-24T00:21:57.833Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3257
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] Traceback (most recent call last):
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.833Z] self.run()
[2024-11-24T00:21:57.833Z] ~~~~~~~~^^
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.833Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.833Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.833Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.833Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.833Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.833Z] raise exc
[2024-11-24T00:21:57.833Z] sh.SignalException_SIGKILL:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] RAN: /usr/bin/python /tmp/tmpaav1mbvi
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDOUT:
[2024-11-24T00:21:57.833Z] 3264
[2024-11-24T00:21:57.833Z] 3257
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] STDERR:
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] tests/sh_test.py::FunctionalTests::test_timeout_wait_overstep
[2024-11-24T00:21:57.833Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 3269
[2024-11-24T00:21:57.833Z]
[2024-11-24T00:21:57.833Z] Traceback (most recent call last):
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.833Z] self.run()
[2024-11-24T00:21:57.833Z] ~~~~~~~~^^
[2024-11-24T00:21:57.833Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.833Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.833Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.833Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.833Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.833Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.833Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.833Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.834Z] raise exc
[2024-11-24T00:21:57.834Z] sh.SignalException_SIGKILL:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] RAN: /usr/bin/python /tmp/tmpaav1mbvi
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] STDOUT:
[2024-11-24T00:21:57.834Z] 3274
[2024-11-24T00:21:57.834Z] 3269
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] STDERR:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] tests/sh_test.py::FunctionalTests::test_fg_alternative
[2024-11-24T00:21:57.834Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread STDIN thread for pid 4414
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] Traceback (most recent call last):
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.834Z] self.run()
[2024-11-24T00:21:57.834Z] ~~~~~~~~^^
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.834Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.834Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.834Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2591, in input_thread
[2024-11-24T00:21:57.834Z] done = stdin.write()
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2904, in write
[2024-11-24T00:21:57.834Z] chunk = self.get_chunk()
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2845, in fn
[2024-11-24T00:21:57.834Z] chunk = stdin.read(bufsize)
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/site-packages/_pytest/capture.py", line 209, in read
[2024-11-24T00:21:57.834Z] raise OSError(
[2024-11-24T00:21:57.834Z] "pytest: reading from stdin while output is captured! Consider using `-s`."
[2024-11-24T00:21:57.834Z] )
[2024-11-24T00:21:57.834Z] OSError: pytest: reading from stdin while output is captured! Consider using `-s`.
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] tests/sh_test.py::FunctionalTests::test_exit_code_with_hasattr
[2024-11-24T00:21:57.834Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 4445
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] Traceback (most recent call last):
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.834Z] self.run()
[2024-11-24T00:21:57.834Z] ~~~~~~~~^^
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.834Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.834Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.834Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.834Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.834Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.834Z] raise exc
[2024-11-24T00:21:57.834Z] sh.ErrorReturnCode_3:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] RAN: /usr/bin/python /tmp/tmp2eq3pe3c
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] STDOUT:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] STDERR:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] tests/sh_test.py::FunctionalTests::test_signal_exception
[2024-11-24T00:21:57.834Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 4483
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] Traceback (most recent call last):
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.834Z] self.run()
[2024-11-24T00:21:57.834Z] ~~~~~~~~^^
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.834Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.834Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.834Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.834Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.834Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.834Z] raise exc
[2024-11-24T00:21:57.834Z] sh.SignalException_SIGTERM:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] RAN: /usr/bin/python /tmp/tmp9uvvb663
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] STDOUT:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] STDERR:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] tests/sh_test.py::FunctionalTests::test_piped_exception1
[2024-11-24T00:21:57.834Z] /usr/lib/python3.13/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread background thread for pid 4498
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] Traceback (most recent call last):
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
[2024-11-24T00:21:57.834Z] self.run()
[2024-11-24T00:21:57.834Z] ~~~~~~~~^^
[2024-11-24T00:21:57.834Z] File "/usr/lib/python3.13/threading.py", line 992, in run
[2024-11-24T00:21:57.834Z] self._target(*self._args, **self._kwargs)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 1639, in wrap
[2024-11-24T00:21:57.834Z] fn(*rgs, **kwargs)
[2024-11-24T00:21:57.834Z] ~~^^^^^^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2641, in background_thread
[2024-11-24T00:21:57.834Z] handle_exit_code(exit_code)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 2332, in fn
[2024-11-24T00:21:57.834Z] return self.command.handle_command_exit_code(exit_code)
[2024-11-24T00:21:57.834Z] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
[2024-11-24T00:21:57.834Z] File "/build/python-sh/src/sh/sh.py", line 826, in handle_command_exit_code
[2024-11-24T00:21:57.834Z] raise exc
[2024-11-24T00:21:57.834Z] sh.ErrorReturnCode_2:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] RAN: /usr/bin/python /tmp/tmpw2doizpy
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] STDOUT:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] STDERR:
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
[2024-11-24T00:21:57.834Z]
[2024-11-24T00:21:57.834Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[2024-11-24T00:21:57.834Z] =========================== short test summary info ============================
[2024-11-24T00:21:57.834Z] FAILED tests/sh_test.py::FunctionalTests::test_custom_timeout_signal - Assert...
[2024-11-24T00:21:57.834Z] = 1 failed, 176 passed, 1 skipped, 1 deselected, 108 warnings in 60.23s (0:01:00) =
[2024-11-24T00:21:57.834Z] ==> ERROR: A failure occurred in check().
[2024-11-24T00:21:57.834Z] Aborting...
[2024-11-24T00:22:00.317Z] ==> ERROR: Build failed, check /build/buildpkg/world-goblins-x86_64/jenkins/build
[Pipeline] }
[2024-11-24T00:22:00.319Z] ERROR: Failed to build source
[2024-11-24T00:22:00.319Z] ERROR: script returned exit code 255
[2024-11-24T00:22:00.319Z] 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-24T00:22:00.487Z] Sending email to: artix-build-failures at artixlinux.org
More information about the artix-build-failures
mailing list