Skip to content

Console Output

Pull request #21 updated
13:50:55 Connecting to https://api.github.com using GitHub Access Token
Connecting to https://api.github.com to check permissions of obtain list of ElMastro for OpenModelica/OMSens
Loading trusted files from base branch master at e3268e9e3ee9cf5129f6509351df084b2562be99 rather than dca6b0f7f973e0782ac689e309a2debb3aa1371e
Obtained Jenkinsfile from e3268e9e3ee9cf5129f6509351df084b2562be99
[Pipeline] Start of Pipeline
[Pipeline] stage
[Pipeline] { (test)
[Pipeline] parallel
[Pipeline] { (Branch: python3)
[Pipeline] stage
[Pipeline] { (python3)
[Pipeline] node
Running on ryzen-5950x-2-1 in /var/lib/jenkins1/ws/OMSens_PR-21
[Pipeline] {
[Pipeline] checkout
The recommended git tool is: git
using credential github
Fetching changes from the remote Git repository
Cleaning workspace
Fetching without tags
 > git rev-parse --resolve-git-dir /var/lib/jenkins1/ws/OMSens_PR-21/.git # timeout=10
 > git config remote.origin.url https://github.com/OpenModelica/OMSens.git # timeout=10
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/OpenModelica/OMSens.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials GitHub Access Token
 > git fetch --no-tags --force --progress -- https://github.com/OpenModelica/OMSens.git +refs/pull/21/head:refs/remotes/origin/PR-21 +refs/heads/master:refs/remotes/origin/master # timeout=10
Merging remotes/origin/master commit e3268e9e3ee9cf5129f6509351df084b2562be99 into PR head commit dca6b0f7f973e0782ac689e309a2debb3aa1371e
Merge succeeded, producing dca6b0f7f973e0782ac689e309a2debb3aa1371e
Checking out Revision dca6b0f7f973e0782ac689e309a2debb3aa1371e (PR-21)
Commit message: "Another try to fix build"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dca6b0f7f973e0782ac689e309a2debb3aa1371e # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials GitHub Access Token
 > git merge e3268e9e3ee9cf5129f6509351df084b2562be99 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dca6b0f7f973e0782ac689e309a2debb3aa1371e # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D PR-21 # timeout=10
 > git checkout -b PR-21 dca6b0f7f973e0782ac689e309a2debb3aa1371e # timeout=10
 > git rev-list --no-walk 0d0436e437377acbf2a34d5c4e3d7cb4fe1d712b # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
+ docker build -t a35c269f9b048081719b7333a5202c9ea0457b5b --pull -f .jenkins/python3/Dockerfile .jenkins/python3
Sending build context to Docker daemon   2.56kB

Step 1/3 : FROM docker.openmodelica.org/build-deps:v1.16.2
v1.16.2: Pulling from build-deps
Digest: sha256:ef85a65a4b895238f0080287981632dc1a0b144ee2d67b86a10e6cc9df150c9a
Status: Image is up to date for docker.openmodelica.org/build-deps:v1.16.2
 ---> 8c0f9eac200c
Step 2/3 : RUN apt-get update   && apt-get install -qy gnupg wget ca-certificates apt-transport-https sudo   && echo "deb https://build.openmodelica.org/omc/builds/linux/releases/1.14.2/ `lsb_release -sc`  release" > /etc/apt/sources.list.d/openmodelica.list   && wget https://build.openmodelica.org/apt/openmodelica.asc -O- | apt-key add -   && apt-get update   && apt-get install -qy --no-install-recommends omc omlib-modelica-3.2.2   && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 8ffa91edb98f
Step 3/3 : RUN pip3 install --no-cache pytest
 ---> Using cache
 ---> e665d8011078
Successfully built e665d8011078
Successfully tagged a35c269f9b048081719b7333a5202c9ea0457b5b:latest
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . a35c269f9b048081719b7333a5202c9ea0457b5b
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
ryzen-5950x-2-1 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -w /var/lib/jenkins1/ws/OMSens_PR-21 -v /var/lib/jenkins1/ws/OMSens_PR-21:/var/lib/jenkins1/ws/OMSens_PR-21:rw,z -v /var/lib/jenkins1/ws/OMSens_PR-21@tmp:/var/lib/jenkins1/ws/OMSens_PR-21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** a35c269f9b048081719b7333a5202c9ea0457b5b cat
$ docker top 0e8475dc5358c9b629e352108369d7dd292ca19ad7f1ed60e37a1dd1b211f80b -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ hostname
0e8475dc5358
[Pipeline] sh
+ HOME=/var/lib/jenkins1/ws/OMSens_PR-21 python3 setup.py install --user
running install
running bdist_egg
running egg_info
creating OMSens.egg-info
writing OMSens.egg-info/PKG-INFO
writing dependency_links to OMSens.egg-info/dependency_links.txt
writing requirements to OMSens.egg-info/requires.txt
writing top-level names to OMSens.egg-info/top_level.txt
writing manifest file 'OMSens.egg-info/SOURCES.txt'
reading manifest file 'OMSens.egg-info/SOURCES.txt'
writing manifest file 'OMSens.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying OMSens.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying OMSens.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying OMSens.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying OMSens.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying OMSens.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/OMSens-1.0.0-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing OMSens-1.0.0-py3.6.egg
Copying OMSens-1.0.0-py3.6.egg to /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages
Adding OMSens 1.0.0 to easy-install.pth file

Installed /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages/OMSens-1.0.0-py3.6.egg
Processing dependencies for OMSens==1.0.0
Searching for pandas==1.1.3
Reading https://pypi.org/simple/pandas/
Downloading https://files.pythonhosted.org/packages/a2/21/e10d65222d19a2537e3eb0df306686a9eabd08b3c98dd120e43720bf802d/pandas-1.1.3-cp36-cp36m-manylinux1_x86_64.whl#sha256=ca31ac8578d48da354cf66a473d4d5ff99277ca71d321dc7ea4e6fad3c6bb0fd
Best match: pandas 1.1.3
Processing pandas-1.1.3-cp36-cp36m-manylinux1_x86_64.whl
Installing pandas-1.1.3-cp36-cp36m-manylinux1_x86_64.whl to /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages
Adding pandas 1.1.3 to easy-install.pth file

Installed /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages/pandas-1.1.3-py3.6-linux-x86_64.egg
Searching for matplotlib==3.3
Reading https://pypi.org/simple/matplotlib/
Downloading https://files.pythonhosted.org/packages/93/ae/81b1c98ae97350711adb021ee12ea678b37f608ec2faa35c3a7db11795fa/matplotlib-3.3.0-1-cp36-cp36m-manylinux1_x86_64.whl#sha256=f9753c6292d5a1fe46828feb38d1de1820e3ea109a5fea0b6ea1dca6e9d0b220
Best match: matplotlib 3.3.0
Processing matplotlib-3.3.0-1-cp36-cp36m-manylinux1_x86_64.whl
Installing matplotlib-3.3.0-1-cp36-cp36m-manylinux1_x86_64.whl to /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages
Adding matplotlib 3.3.0 to easy-install.pth file

Installed /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages/matplotlib-3.3.0-py3.6-linux-x86_64.egg
Searching for cppy
Reading https://pypi.org/simple/cppy/
Downloading https://files.pythonhosted.org/packages/31/5e/b8faf2b2aeb679c0f4359fd1a4716fe90d65f72f72639413ffb95f3c3b46/cppy-1.2.1-py3-none-any.whl#sha256=c5b5eac3d3f42593a07d35275b0bc27f447b76b9ad8f27c62e3cfa286dc1988a
Best match: cppy 1.2.1
Processing cppy-1.2.1-py3-none-any.whl
Installing cppy-1.2.1-py3-none-any.whl to /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages
Adding cppy 1.2.1 to easy-install.pth file

Installed /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages/cppy-1.2.1-py3.6.egg
Searching for python-dateutil>=2.7.3
Reading https://pypi.org/simple/python-dateutil/
Downloading https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl#sha256=961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9
Best match: python-dateutil 2.8.2
Processing python_dateutil-2.8.2-py2.py3-none-any.whl
Installing python_dateutil-2.8.2-py2.py3-none-any.whl to /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages
Adding python-dateutil 2.8.2 to easy-install.pth file

Installed /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages/python_dateutil-2.8.2-py3.6.egg
Searching for pillow>=6.2.0
Reading https://pypi.org/simple/pillow/
Downloading https://files.pythonhosted.org/packages/8c/92/2975b464d9926dc667020ed1abfa6276e68c3571dcb77e43347e15ee9eed/Pillow-9.2.0.tar.gz#sha256=75e636fd3e0fb872693f23ccb8a5ff2cd578801251f3a4f6854c6a5d437d3c04
Best match: Pillow 9.2.0
Processing Pillow-9.2.0.tar.gz
Writing /tmp/easy_install-qz5f70ze/Pillow-9.2.0/setup.cfg
Running Pillow-9.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-qz5f70ze/Pillow-9.2.0/egg-dist-tmp-cpf2in9n
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no files found matching '*.txt'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.clang-format'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.ci'
--------------------------------------------------------------------
PIL SETUP SUMMARY
--------------------------------------------------------------------
version      Pillow 9.2.0
platform     linux 3.6.9 (default, Apr 18 2020, 01:56:04)
             [GCC 8.4.0]
--------------------------------------------------------------------
--- JPEG support available
*** OPENJPEG (JPEG2000) support not available
--- ZLIB (PNG/ZIP) support available
*** LIBIMAGEQUANT support not available
*** LIBTIFF support not available
*** FREETYPE2 support not available
*** RAQM (Text shaping) support not available
*** LITTLECMS2 support not available
*** WEBP support not available
*** WEBPMUX support not available
--- XCB (X protocol) support available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library and headers.
See https://pillow.readthedocs.io/en/latest/installation.html#building-from-source

To check the build, run the selftest.py script.

Moving Pillow-9.2.0-py3.6-linux-x86_64.egg to /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages
Adding Pillow 9.2.0 to easy-install.pth file

Installed /var/lib/jenkins1/ws/OMSens_PR-21/.local/lib/python3.6/site-packages/Pillow-9.2.0-py3.6-linux-x86_64.egg
Searching for kiwisolver>=1.0.1
Reading https://pypi.org/simple/kiwisolver/
Downloading https://files.pythonhosted.org/packages/5f/5c/272a7dd49a1914f35cd8d6d9f386defa8b047f6fbd06badd6b77b3ba24e7/kiwisolver-1.4.4.tar.gz#sha256=d41997519fcba4a1e46eb4a2fe31bc12f0ff957b2b81bac28db24744f333e955
Best match: kiwisolver 1.4.4
Processing kiwisolver-1.4.4.tar.gz
Writing /tmp/easy_install-tm4ooav7/kiwisolver-1.4.4/setup.cfg
Running kiwisolver-1.4.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tm4ooav7/kiwisolver-1.4.4/egg-dist-tmp-f04rzaym
  File "build/bdist.linux-x86_64/egg/PIL/_deprecate.py", line 1
    from __future__ import annotations
                                     ^
SyntaxError: future feature annotations is not defined

Traceback (most recent call last):
  File "/tmp/easy_install-tm4ooav7/kiwisolver-1.4.4/setup.py", line 13, in <module>
    THIS OSMC PUBLIC LICENSE (OSMC-PL) VERSION 1.2.
ModuleNotFoundError: No module named 'cppy'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 154, in save_modules
    yield saved
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 195, in setup_context
    yield
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-tm4ooav7/kiwisolver-1.4.4/setup.py", line 18, in <module>
    The OpenModelica software and the Open Source Modelica
RuntimeError: Missing setup required dependencies: cppy. Installing through pip as recommended ensure one never hits this issue.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 58, in <module>
    'pandas==1.1.3'
  File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 144, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py", line 117, in do_egg_install
    cmd.run(show_deprecation=False)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 425, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 674, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 721, in install_item
    self.process_distribution(spec, dist, deps)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 766, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 783, in resolve
    replace_conflicting=replace_conflicting
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1066, in best_match
    return self.obtain(req, installer)
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1078, in obtain
    return installer(requirement)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 693, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 719, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 904, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 1172, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/easy_install.py", line 1158, in run_setup
    run_setup(setup_script, args)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 253, in run_setup
    raise
  File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 195, in setup_context
    yield
  File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 166, in save_modules
    saved_exc.resume()
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 141, in resume
    six.reraise(type, exc, self._tb)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 154, in save_modules
    yield saved
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 195, in setup_context
    yield
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-tm4ooav7/kiwisolver-1.4.4/setup.py", line 18, in <module>
    The OpenModelica software and the Open Source Modelica
RuntimeError: Missing setup required dependencies: cppy. Installing through pip as recommended ensure one never hits this issue.
[Pipeline] }
$ docker stop --time=1 0e8475dc5358c9b629e352108369d7dd292ca19ad7f1ed60e37a1dd1b211f80b
$ docker rm -f 0e8475dc5358c9b629e352108369d7dd292ca19ad7f1ed60e37a1dd1b211f80b
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch python3
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
ERROR: script returned exit code 1

GitHub has been notified of this commit’s build result

Finished: FAILURE