[artix-build-failures] [galaxy-goblins] Failure: python-sh

jenkins at artixlinux.org jenkins at artixlinux.org
Thu Nov 12 12:37:45 CET 2020


   Failure

   Build: x86_64/community-staging

   Packages:

   python-sh-1.14.1-3-any.pkg.tar.zst

   author: alium

   email: alium at artixlinux.org

   [1]https://orion.artixlinux.org/job/packagesPython/job/python-sh/job/ma
   ster/3/

References

   1. https://orion.artixlinux.org/job/packagesPython/job/python-sh/job/master/3/
-------------- next part --------------
Started by user alium
Restarted from build #2, stage Prepare
Querying the current revision of branch master...
Current revision of branch master is f7d8e459b9267c9712a443120d7bebdebd870122
Obtained Jenkinsfile from f7d8e459b9267c9712a443120d7bebdebd870122
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor
Running on Jenkins in /var/lib/jenkins/workspace/packagesPython_python-sh_master
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] catchError
[Pipeline] {
[Pipeline] checkout
[2020-11-12T11:36:43.694Z] The recommended git tool is: NONE
[2020-11-12T11:36:43.694Z] Warning: CredentialId "jenkins-gotea-token" could not be found.
[2020-11-12T11:36:43.695Z]  > git rev-parse --is-inside-work-tree # timeout=10
[2020-11-12T11:36:43.700Z] Fetching changes from the remote Git repository
[2020-11-12T11:36:43.700Z]  > git config remote.origin.url https://237b7412742b4068af4173944de150f12959f4d3@gitea.artixlinux.org/packagesPython/python-sh.git # timeout=10
[2020-11-12T11:36:43.705Z] Cleaning workspace
[2020-11-12T11:36:43.705Z]  > git rev-parse --verify HEAD # timeout=10
[2020-11-12T11:36:43.710Z] Resetting working tree
[2020-11-12T11:36:43.710Z]  > git reset --hard # timeout=10
[2020-11-12T11:36:43.716Z]  > git clean -fdx # timeout=10
[2020-11-12T11:36:43.722Z] Fetching without tags
[2020-11-12T11:36:43.722Z] Fetching upstream changes from https://237b7412742b4068af4173944de150f12959f4d3@gitea.artixlinux.org/packagesPython/python-sh.git
[2020-11-12T11:36:43.722Z]  > git --version # timeout=10
[2020-11-12T11:36:43.728Z]  > git --version # 'git version 2.27.0'
[2020-11-12T11:36:43.728Z]  > git fetch --no-tags --force --progress -- https://237b7412742b4068af4173944de150f12959f4d3@gitea.artixlinux.org/packagesPython/python-sh.git +refs/heads/master:refs/remotes/origin/master # timeout=10
[2020-11-12T11:36:43.826Z] Checking out Revision f7d8e459b9267c9712a443120d7bebdebd870122 (master)
[2020-11-12T11:36:43.827Z]  > git config core.sparsecheckout # timeout=10
[2020-11-12T11:36:43.831Z]  > git checkout -f f7d8e459b9267c9712a443120d7bebdebd870122 # timeout=10
[2020-11-12T11:36:43.839Z] Commit message: "[trunk] -> [community-staging] 'python-sh-1.14.1-3' add"
[2020-11-12T11:36:43.839Z]  > git rev-list --no-walk f7d8e459b9267c9712a443120d7bebdebd870122 # timeout=10
[2020-11-12T11:36:43.850Z] Cleaning workspace
[2020-11-12T11:36:43.850Z]  > git rev-parse --verify HEAD # timeout=10
[2020-11-12T11:36:43.855Z] Resetting working tree
[2020-11-12T11:36:43.855Z]  > git reset --hard # timeout=10
[2020-11-12T11:36:43.861Z]  > git clean -fdx # timeout=10
[2020-11-12T11:36:43.867Z] [Gitea] Notifying branch build status: PENDING Build started...
[2020-11-12T11:36:43.996Z] [Gitea] Notified
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] sh
[2020-11-12T11:36:44.314Z] + git show -s --format=%an f7d8e459b9267c9712a443120d7bebdebd870122
[Pipeline] sh
[2020-11-12T11:36:44.589Z] + git show -s --format=%ae f7d8e459b9267c9712a443120d7bebdebd870122
[Pipeline] sh
[2020-11-12T11:36:44.868Z] + git show --pretty=format: --name-status f7d8e459b9267c9712a443120d7bebdebd870122
[Pipeline] fileExists
[Pipeline] sh
[2020-11-12T11:36:45.170Z] + pkg2yaml -d x86_64/community-staging
[Pipeline] readYaml
[Pipeline] }
[Pipeline] // catchError
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] withCredentials
[2020-11-12T11:36:45.457Z] Masking supported pattern matches of $BUILDBOT_GPGP
[Pipeline] {
[Pipeline] echo
[2020-11-12T11:36:45.509Z] isLibBump: false
[Pipeline] dir
[2020-11-12T11:36:45.527Z] Running in /var/lib/jenkins/workspace/packagesPython_python-sh_master/x86_64/community-staging
[Pipeline] {
[Pipeline] catchError
[Pipeline] {
[Pipeline] sh
[2020-11-12T11:36:45.843Z] + buildpkg -C -d galaxy-goblins
[2020-11-12T11:36:49.070Z] :: Synchronizing package databases...
[2020-11-12T11:36:49.070Z]  goblins is up to date
[2020-11-12T11:36:49.070Z]  gremlins is up to date
[2020-11-12T11:36:49.070Z]  system is up to date
[2020-11-12T11:36:49.070Z]  world is up to date
[2020-11-12T11:36:49.070Z]  galaxy-goblins is up to date
[2020-11-12T11:36:49.070Z]  galaxy-gremlins is up to date
[2020-11-12T11:36:49.070Z]  galaxy is up to date
[2020-11-12T11:36:49.070Z]  extra is up to date
[2020-11-12T11:36:49.070Z]  community-staging is up to date
[2020-11-12T11:36:49.070Z]  community-testing is up to date
[2020-11-12T11:36:49.070Z]  community is up to date
[2020-11-12T11:36:49.070Z] :: Starting full system upgrade...
[2020-11-12T11:36:49.321Z]  there is nothing to do
[2020-11-12T11:36:50.664Z] ==> Building in chroot for [goblins] (x86_64)...
[2020-11-12T11:36:50.921Z] ==> Synchronizing chroot copy [/build/buildpkg/goblins-x86_64/root] -> [jenkins]...done
[2020-11-12T11:36:51.832Z] ==> Making package: python-sh 1.14.1-3 (Thu Nov 12 12:36:51 2020)
[2020-11-12T11:36:51.832Z] ==> Retrieving sources...
[2020-11-12T11:36:51.832Z]   -> Found sh-1.14.1.tar.gz
[2020-11-12T11:36:51.832Z] ==> Validating source files with sha512sums...
[2020-11-12T11:36:51.832Z]     sh-1.14.1.tar.gz ... Passed
[2020-11-12T11:36:51.832Z] ==> Validating source files with b2sums...
[2020-11-12T11:36:51.832Z]     sh-1.14.1.tar.gz ... Passed
[2020-11-12T11:36:57.026Z] ==> Making package: python-sh 1.14.1-3 (Thu 12 Nov 2020 11:36:56 AM UTC)
[2020-11-12T11:36:57.026Z] ==> Checking runtime dependencies...
[2020-11-12T11:36:57.026Z] ==> Installing missing dependencies...
[2020-11-12T11:36:57.026Z] resolving dependencies...
[2020-11-12T11:36:57.026Z] looking for conflicting packages...
[2020-11-12T11:36:57.026Z] 
[2020-11-12T11:36:57.026Z] Package (2)     New Version  Net Change
[2020-11-12T11:36:57.026Z] 
[2020-11-12T11:36:57.026Z] system/libnsl   1.3.0-1        0.19 MiB
[2020-11-12T11:36:57.026Z] goblins/python  3.9.0-1       80.76 MiB
[2020-11-12T11:36:57.026Z] 
[2020-11-12T11:36:57.026Z] Total Installed Size:  80.96 MiB
[2020-11-12T11:36:57.026Z] 
[2020-11-12T11:36:57.026Z] :: Proceed with installation? [Y/n] 
[2020-11-12T11:36:57.026Z] checking keyring...
[2020-11-12T11:36:57.026Z] checking package integrity...
[2020-11-12T11:36:57.026Z] loading package files...
[2020-11-12T11:36:57.277Z] checking for file conflicts...
[2020-11-12T11:36:57.277Z] checking available disk space...
[2020-11-12T11:36:57.277Z] :: Processing package changes...
[2020-11-12T11:36:57.277Z] installing libnsl...
[2020-11-12T11:36:57.277Z] installing python...
[2020-11-12T11:36:57.527Z] Optional dependencies for python
[2020-11-12T11:36:57.527Z]     python-setuptools
[2020-11-12T11:36:57.527Z]     python-pip
[2020-11-12T11:36:57.527Z]     sqlite [installed]
[2020-11-12T11:36:57.527Z]     mpdecimal: for decimal
[2020-11-12T11:36:57.527Z]     xz: for lzma [installed]
[2020-11-12T11:36:57.527Z]     tk: for tkinter
[2020-11-12T11:36:57.527Z] ==> Checking buildtime dependencies...
[2020-11-12T11:36:57.527Z] ==> Installing missing dependencies...
[2020-11-12T11:36:58.078Z] resolving dependencies...
[2020-11-12T11:36:58.078Z] looking for conflicting packages...
[2020-11-12T11:36:58.078Z] 
[2020-11-12T11:36:58.078Z] Package (17)                              New Version  Net Change
[2020-11-12T11:36:58.078Z] 
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-apipkg              1.5-4          0.02 MiB
[2020-11-12T11:36:58.078Z] goblins/python-appdirs                    1.4.4-2        0.07 MiB
[2020-11-12T11:36:58.078Z] goblins/python-attrs                      20.3.0-2       0.37 MiB
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-importlib-metadata  2.0.0-2        0.19 MiB
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-iniconfig           1.0.1-2        0.02 MiB
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-more-itertools      8.6.0-2        0.27 MiB
[2020-11-12T11:36:58.078Z] goblins/python-ordered-set                4.0.2-2        0.06 MiB
[2020-11-12T11:36:58.078Z] goblins/python-packaging                  20.4-3         0.17 MiB
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-pluggy              0.13.1-3       0.12 MiB
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-py                  1.9.0-2        0.72 MiB
[2020-11-12T11:36:58.078Z] goblins/python-pyparsing                  2.4.7-2        0.73 MiB
[2020-11-12T11:36:58.078Z] goblins/python-six                        1.15.0-2       0.09 MiB
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-toml                0.10.2-2       0.14 MiB
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-zipp                3.4.0-2        0.03 MiB
[2020-11-12T11:36:58.078Z] world/lsof                                4.93.2-3       0.20 MiB
[2020-11-12T11:36:58.078Z] galaxy-goblins/python-pytest              6.1.2-2        2.40 MiB
[2020-11-12T11:36:58.078Z] goblins/python-setuptools                 1:50.3.2-3     2.98 MiB
[2020-11-12T11:36:58.078Z] 
[2020-11-12T11:36:58.078Z] Total Installed Size:  8.58 MiB
[2020-11-12T11:36:58.078Z] 
[2020-11-12T11:36:58.078Z] :: Proceed with installation? [Y/n] 
[2020-11-12T11:36:58.078Z] checking keyring...
[2020-11-12T11:36:58.078Z] checking package integrity...
[2020-11-12T11:36:58.629Z] loading package files...
[2020-11-12T11:36:58.629Z] checking for file conflicts...
[2020-11-12T11:36:58.629Z] checking available disk space...
[2020-11-12T11:36:58.629Z] :: Processing package changes...
[2020-11-12T11:36:58.629Z] installing python-appdirs...
[2020-11-12T11:36:58.629Z] installing python-pyparsing...
[2020-11-12T11:36:58.629Z] installing python-six...
[2020-11-12T11:36:58.629Z] installing python-packaging...
[2020-11-12T11:36:58.629Z] installing python-ordered-set...
[2020-11-12T11:36:58.629Z] installing python-setuptools...
[2020-11-12T11:36:58.629Z] installing lsof...
[2020-11-12T11:36:58.629Z] installing python-attrs...
[2020-11-12T11:36:58.629Z] installing python-iniconfig...
[2020-11-12T11:36:58.629Z] installing python-more-itertools...
[2020-11-12T11:36:58.629Z] installing python-zipp...
[2020-11-12T11:36:58.629Z] installing python-importlib-metadata...
[2020-11-12T11:36:58.629Z] installing python-pluggy...
[2020-11-12T11:36:58.629Z] installing python-apipkg...
[2020-11-12T11:36:58.880Z] installing python-py...
[2020-11-12T11:36:58.880Z] installing python-toml...
[2020-11-12T11:36:58.880Z] installing python-pytest...
[2020-11-12T11:36:58.880Z] ==> Retrieving sources...
[2020-11-12T11:36:58.880Z]   -> Found sh-1.14.1.tar.gz
[2020-11-12T11:36:58.880Z] ==> WARNING: Skipping all source file integrity checks.
[2020-11-12T11:36:58.880Z] ==> Extracting sources...
[2020-11-12T11:36:58.880Z]   -> Extracting sh-1.14.1.tar.gz with bsdtar
[2020-11-12T11:36:58.880Z] ==> Starting build()...
[2020-11-12T11:36:59.130Z] running build
[2020-11-12T11:36:59.130Z] running build_py
[2020-11-12T11:36:59.130Z] creating build
[2020-11-12T11:36:59.130Z] creating build/lib
[2020-11-12T11:36:59.130Z] copying sh.py -> build/lib
[2020-11-12T11:36:59.130Z] ==> Starting check()...
[2020-11-12T11:36:59.681Z] ============================= test session starts ==============================
[2020-11-12T11:36:59.681Z] platform linux -- Python 3.9.0, pytest-6.1.2, py-1.9.0, pluggy-0.13.1
[2020-11-12T11:36:59.681Z] rootdir: /build/python-sh/src/sh-1.14.1
[2020-11-12T11:36:59.681Z] collected 171 items / 1 deselected / 170 selected
[2020-11-12T11:36:59.681Z] 
[2020-11-12T11:37:14.385Z] test.py ...............................s................................ [ 37%]
[2020-11-12T11:37:40.022Z] ...............................F........................................ [ 80%]
[2020-11-12T11:37:44.595Z] ..................................                                       [100%]
[2020-11-12T11:37:44.595Z] 
[2020-11-12T11:37:44.596Z] =================================== FAILURES ===================================
[2020-11-12T11:37:44.596Z] ____________________ FunctionalTests.test_piped_exception1 _____________________
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z] self = <test.FunctionalTests testMethod=test_piped_exception1>
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z]         def test_piped_exception1(self):
[2020-11-12T11:37:44.596Z]             from sh import ErrorReturnCode_2
[2020-11-12T11:37:44.596Z]     
[2020-11-12T11:37:44.596Z]             py = create_tmp_test("""
[2020-11-12T11:37:44.596Z]     import sys
[2020-11-12T11:37:44.596Z]     sys.stdout.write("line1\\n")
[2020-11-12T11:37:44.596Z]     sys.stdout.write("line2\\n")
[2020-11-12T11:37:44.596Z]     exit(2)
[2020-11-12T11:37:44.596Z]     """)
[2020-11-12T11:37:44.596Z]     
[2020-11-12T11:37:44.596Z]             py2 = create_tmp_test("")
[2020-11-12T11:37:44.596Z]     
[2020-11-12T11:37:44.596Z]             def fn():
[2020-11-12T11:37:44.596Z]                 list(python(python(py.name, _piped=True), "-u", py2.name, _iter=True))
[2020-11-12T11:37:44.596Z]     
[2020-11-12T11:37:44.596Z] >           self.assertRaises(ErrorReturnCode_2, fn)
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/test.py:742: 
[2020-11-12T11:37:44.596Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/test.py:740: in fn
[2020-11-12T11:37:44.596Z]     list(python(python(py.name, _piped=True), "-u", py2.name, _iter=True))
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/sh.py:883: in __len__
[2020-11-12T11:37:44.596Z]     return len(str(self))
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/sh.py:930: in __str__
[2020-11-12T11:37:44.596Z]     return self.__unicode__()
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/sh.py:937: in __unicode__
[2020-11-12T11:37:44.596Z]     if self.process and self.stdout:
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/sh.py:869: in stdout
[2020-11-12T11:37:44.596Z]     self.wait()
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/sh.py:848: in wait
[2020-11-12T11:37:44.596Z]     self.process._stdin_process.command.wait()
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/sh.py:841: in wait
[2020-11-12T11:37:44.596Z]     self.handle_command_exit_code(exit_code)
[2020-11-12T11:37:44.596Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z]     def handle_command_exit_code(self, code):
[2020-11-12T11:37:44.596Z]         """ here we determine if we had an exception, or an error code that we
[2020-11-12T11:37:44.596Z]         weren't expecting to see.  if we did, we create and raise an exception
[2020-11-12T11:37:44.596Z]         """
[2020-11-12T11:37:44.596Z]         ca = self.call_args
[2020-11-12T11:37:44.596Z]         exc_class = get_exc_exit_code_would_raise(code, ca["ok_code"], ca["piped"])
[2020-11-12T11:37:44.596Z]         if exc_class:
[2020-11-12T11:37:44.596Z]             exc = exc_class(self.ran, self.process.stdout, self.process.stderr, ca["truncate_exc"])
[2020-11-12T11:37:44.596Z] >           raise exc
[2020-11-12T11:37:44.596Z] E           sh.ErrorReturnCode_120: 
[2020-11-12T11:37:44.596Z] E           
[2020-11-12T11:37:44.596Z] E             RAN: /usr/bin/python /tmp/tmpz8vtzekb
[2020-11-12T11:37:44.596Z] E           
[2020-11-12T11:37:44.596Z] E             STDOUT:
[2020-11-12T11:37:44.596Z] E           
[2020-11-12T11:37:44.596Z] E           
[2020-11-12T11:37:44.596Z] E             STDERR:
[2020-11-12T11:37:44.596Z] E           Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
[2020-11-12T11:37:44.596Z] E           BrokenPipeError: [Errno 32] Broken pipe
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z] /build/python-sh/src/sh-1.14.1/sh.py:865: ErrorReturnCode_120
[2020-11-12T11:37:44.596Z] ----------------------------- Captured stderr call -----------------------------
[2020-11-12T11:37:44.596Z] Exception in thread background thread for pid 2338:
[2020-11-12T11:37:44.596Z] Traceback (most recent call last):
[2020-11-12T11:37:44.596Z]   File "/usr/lib/python3.9/threading.py", line 950, in _bootstrap_inner
[2020-11-12T11:37:44.596Z]     self.run()
[2020-11-12T11:37:44.596Z]   File "/usr/lib/python3.9/threading.py", line 888, in run
[2020-11-12T11:37:44.596Z]     self._target(*self._args, **self._kwargs)
[2020-11-12T11:37:44.596Z]   File "/build/python-sh/src/sh-1.14.1/sh.py", line 1637, in wrap
[2020-11-12T11:37:44.596Z]     fn(*rgs, **kwargs)
[2020-11-12T11:37:44.596Z]   File "/build/python-sh/src/sh-1.14.1/sh.py", line 2561, in background_thread
[2020-11-12T11:37:44.596Z]     handle_exit_code(exit_code)
[2020-11-12T11:37:44.596Z]   File "/build/python-sh/src/sh-1.14.1/sh.py", line 2265, in fn
[2020-11-12T11:37:44.596Z]     return self.command.handle_command_exit_code(exit_code)
[2020-11-12T11:37:44.596Z]   File "/build/python-sh/src/sh-1.14.1/sh.py", line 865, in handle_command_exit_code
[2020-11-12T11:37:44.596Z]     raise exc
[2020-11-12T11:37:44.596Z] sh.ErrorReturnCode_120: 
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z]   RAN: /usr/bin/python /tmp/tmpz8vtzekb
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z]   STDOUT:
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z]   STDERR:
[2020-11-12T11:37:44.596Z] Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
[2020-11-12T11:37:44.596Z] BrokenPipeError: [Errno 32] Broken pipe
[2020-11-12T11:37:44.596Z] 
[2020-11-12T11:37:44.596Z] =========================== short test summary info ============================
[2020-11-12T11:37:44.596Z] FAILED test.py::FunctionalTests::test_piped_exception1 - sh.ErrorReturnCode_1...
[2020-11-12T11:37:44.596Z] =========== 1 failed, 168 passed, 1 skipped, 1 deselected in 45.25s ============
[2020-11-12T11:37:44.596Z] ==> ERROR: A failure occurred in check().
[2020-11-12T11:37:44.847Z]     Aborting...
[2020-11-12T11:37:45.758Z] ==> ERROR: Build failed, check /build/buildpkg/goblins-x86_64/jenkins/build
[Pipeline] }
[2020-11-12T11:37:45.782Z] ERROR: Failed to build source
[2020-11-12T11:37:45.782Z] ERROR: script returned exit code 255
[Pipeline] // catchError
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] emailext
[2020-11-12T11:37:45.910Z] Sending email to: artix-build-failures at artixlinux.org


More information about the artix-build-failures mailing list