Started by upstream project "CE_gpkit_PR_unit_tests" build number 3227
originally caused by:
GitHub pull request #1577 of commit 13dc8a4e2a60db93dc818cf7c16a5b853f320ffc, no merge conflicts.
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on reynolds in workspace /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek
The recommended git tool is: NONE
using credential 3614a4cf-01de-4393-97de-73734b7dd5a2
Wiping out workspace first.
Cloning the remote Git repository
> JGit fetch # timeout=10
remote: Enumerating objects
remote: Counting objects
remote: Compressing objects
Receiving objects
Resolving deltas
> JGit fetch # timeout=10
Merging Revision 7ebc09fb647afc5a50c45ffc85b92b536d134c9e (refs/remotes/origin/pr/1577/merge) to origin/master, UserMergeOptions{mergeRemote='origin', mergeTarget='master', mergeStrategy='DEFAULT', fastForwardMode='FF'}
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script
Checking out Revision 7ebc09fb647afc5a50c45ffc85b92b536d134c9e (HEAD, origin/pr/1577/merge, origin/master)
Commit message: "Merge 13dc8a4e2a60db93dc818cf7c16a5b853f320ffc into 647ef0a2a0ff625026943bfd7fb5ca560100898b"
Using 'Changelog to branch' strategy.
The recommended git tool is: NONE
using credential 3614a4cf-01de-4393-97de-73734b7dd5a2
The recommended git tool is: NONE
using credential 3614a4cf-01de-4393-97de-73734b7dd5a2
[GitCheckoutListener] Recording commits of 'git https://github.com/convexengineering/gpkit'
[GitCheckoutListener] Found previous build 'CE_gpkit_PR_unit_tests/buildnode=reynolds,optimizer=mosek #3226' that contains recorded Git commits
[GitCheckoutListener] -> Starting recording of new commits since '7ebc09f'
[GitCheckoutListener] -> Multiple parent commits found - storing latest commit of local merge '7ebc09f'
[GitCheckoutListener] -> Using parent commit '647ef0a' of local merge as starting point
[GitCheckoutListener] -> Storing target branch head '13dc8a4' (second parent of local merge)
[GitCheckoutListener] -> Recorded 200 new commits
[GitCheckoutListener] -> The latest commit '7ebc09fb647afc5a50c45ffc85b92b536d134c9e' is a merge commit
[GitCheckoutListener] -> Git commit decorator successfully obtained 'hudson.plugins.git.browser.GithubWeb@5f286f2e' to render commit links
Run condition [Execution node ] enabling prebuild for step [Execute shell]
Run condition [Execution node ] enabling prebuild for step [Execute Windows batch command]
[description-setter] Description set: PR 1577: Fresh install fixes
[Execution node] check if [reynolds] is in [[macys, macys_VM, reynolds, reynolds-ubuntu16]]
Run condition [Execution node ] enabling perform for step [Execute shell]
[mosek] $ /bin/bash -xe /tmp/jenkins6589114689728874126.sh
+ git clone ssh://acdl.mit.edu/home/svnroot/JenkinsGPkit
Cloning into 'JenkinsGPkit'...
+ source /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/JenkinsGPkit/gpkit_PR_unit_tests.sh
++ source /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/JenkinsGPkit/all_machines.sh
+++ export PYTHONHASHSEED=0
+++ PYTHONHASHSEED=0
+++ echo 'Python hash seed set to: 0'
Python hash seed set to: 0
+++ [[ reynolds == *macys* ]]
+++ [[ reynolds == *reynolds* ]]
+++ export CVXOPT_SUITESPARSE_INC_DIR=/usr/include/suitesparse
+++ CVXOPT_SUITESPARSE_INC_DIR=/usr/include/suitesparse
+++ export PATH=/home/jenkins/.local/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+++ PATH=/home/jenkins/.local/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+++ virtualenv --python=python3 /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins
created virtual environment CPython3.10.12.final.0-64 in 115ms
creator CPython3Posix(dest=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/jenkins/.local/share/virtualenv)
added seed packages: pip==22.0.2, setuptools==59.6.0, wheel==0.37.1
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
+++ source /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/activate
++++ '[' /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/activate = /tmp/jenkins6589114689728874126.sh ']'
++++ deactivate nondestructive
++++ unset -f pydoc
++++ '[' -z '' ']'
++++ '[' -z '' ']'
++++ hash -r
++++ '[' -z '' ']'
++++ unset VIRTUAL_ENV
++++ '[' '!' nondestructive = nondestructive ']'
++++ VIRTUAL_ENV=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins
++++ '[' linux-gnu = cygwin ']'
++++ '[' linux-gnu = msys ']'
++++ export VIRTUAL_ENV
++++ _OLD_VIRTUAL_PATH=/home/jenkins/.local/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
++++ PATH=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin:/home/jenkins/.local/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
++++ export PATH
++++ '[' -z '' ']'
++++ '[' -z '' ']'
++++ _OLD_VIRTUAL_PS1=
++++ '[' x '!=' x ']'
+++++ basename /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins
++++ PS1='(venv_jenkins) '
++++ export PS1
++++ alias pydoc
++++ true
++++ hash -r
+++ ls /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek
CODE_OF_CONDUCT.md
docs
fulltests.sh
gpkit
JenkinsGPkit
LICENSE
linecount.sh
MANIFEST
pylint.sh
README.md
rtd_requirements.txt
runtests.sh
setup.py
venv_jenkins
++++ which pip
+++ export PIP=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip
+++ PIP=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip
+++ pip_install pip
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade pip
Requirement already satisfied: pip in ./venv_jenkins/lib/python3.10/site-packages (22.0.2)
Collecting pip
Using cached pip-23.2.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.0.2
Uninstalling pip-22.0.2:
Successfully uninstalled pip-22.0.2
Successfully installed pip-23.2.1
real 0m2.176s
user 0m1.901s
sys 0m0.231s
++ source /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/JenkinsGPkit/mosek_installs.sh
+++ [[ mosek == mosek ]]
+++ [[ reynolds == *reynolds* ]]
+++ export PATH=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin:/home/jenkins/.local/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jenkins/mosek/9.1/tools/platform/linux64x86/bin
+++ PATH=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin:/home/jenkins/.local/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jenkins/mosek/9.1/tools/platform/linux64x86/bin
+++ python /home/jenkins/mosek/9.1/tools/platform/linux64x86/python/3/setup.py install
/home/jenkins/mosek/9.1/tools/platform/linux64x86/python/3/setup.py:31: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.core import setup
running install
running build
running build_py
running build_ext
copying mosek/_msk.abi3.so -> build/lib.linux-x86_64-3.10/mosek
copying mosek/fusion/impl/fragments.abi3.so -> build/lib.linux-x86_64-3.10/mosek/fusion/impl
running install_lib
creating /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek
copying build/lib.linux-x86_64-3.10/mosek/__init__.py -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek
copying build/lib.linux-x86_64-3.10/mosek/_msk.abi3.so -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek
creating /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion
copying build/lib.linux-x86_64-3.10/mosek/fusion/Utils.py -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion
copying build/lib.linux-x86_64-3.10/mosek/fusion/__init__.py -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion
creating /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion/impl
copying build/lib.linux-x86_64-3.10/mosek/fusion/impl/__init__.py -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion/impl
copying build/lib.linux-x86_64-3.10/mosek/fusion/impl/fragments.abi3.so -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion/impl
copying build/lib.linux-x86_64-3.10/mosek/fusion/impl/_implementation.py -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion/impl
byte-compiling /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/__init__.py to __init__.cpython-310.pyc
byte-compiling /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion/Utils.py to Utils.cpython-310.pyc
byte-compiling /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion/__init__.py to __init__.cpython-310.pyc
byte-compiling /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion/impl/__init__.py to __init__.cpython-310.pyc
byte-compiling /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/fusion/impl/_implementation.py to _implementation.cpython-310.pyc
running install_egg_info
Writing /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/Mosek-9.1.11.egg-info
Fixing library paths
copying /home/jenkins/mosek/9.1/tools/platform/linux64x86/bin/libcilkrts.so.5 -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/
copying /home/jenkins/mosek/9.1/tools/platform/linux64x86/bin/libmosek64.so.9.1 -> /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/
Installing preloader module
writing /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/mosek/_mskpreload.py
+++ msktestlic
Mosek license manager: License path: /home/jenkins/mosek/mosek.lic
Mosek license manager: Checkout license feature 'PTS' from flexlm.
Mosek license manager: Checkout time 0.01. r: 0 status: 0
Problem
Name :
Objective sense : min
Type : LO (linear optimization problem)
Constraints : 1
Cones : 0
Scalar variables : 5000
Matrix variables : 0
Integer variables : 0
Optimizer started.
Presolve started.
Eliminator started.
Freed constraints in eliminator : 0
Eliminator terminated.
Eliminator started.
Freed constraints in eliminator : 0
Eliminator terminated.
Eliminator - tries : 2 time : 0.00
Lin. dep. - tries : 0 time : 0.00
Lin. dep. - number : 0
Presolve terminated. Time: 0.00
Optimizer terminated. Time: 0.02
************************************
A license was checked out correctly.
************************************
+++ export 'GPKITSOLVERS=mosek_cli, mosek_conif'
+++ GPKITSOLVERS='mosek_cli, mosek_conif'
+++ COVERAGE_OMIT=gpkit/solvers/cvxopt.py
++ source /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/JenkinsGPkit/cvxopt_installs.sh
+++ [[ mosek == cvxopt ]]
++ source /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/JenkinsGPkit/pip_installs_base.sh
+++ pip_install adce
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade adce
Collecting adce
Using cached adce-1.3.3.2-py3-none-any.whl
Installing collected packages: adce
Successfully installed adce-1.3.3.2
real 0m0.716s
user 0m0.573s
sys 0m0.064s
+++ pip_install unittest-xml-reporting
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade unittest-xml-reporting
Collecting unittest-xml-reporting
Using cached unittest_xml_reporting-3.2.0-py2.py3-none-any.whl (20 kB)
Collecting lxml (from unittest-xml-reporting)
Obtaining dependency information for lxml from https://files.pythonhosted.org/packages/3c/d2/11533f0bc47ff4d828a20cfb702f3453fe714bd5b475fcdc8cec6e6b7dcf/lxml-4.9.3-cp310-cp310-manylinux_2_28_x86_64.whl.metadata
Using cached lxml-4.9.3-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (3.8 kB)
Using cached lxml-4.9.3-cp310-cp310-manylinux_2_28_x86_64.whl (7.9 MB)
Installing collected packages: lxml, unittest-xml-reporting
Successfully installed lxml-4.9.3 unittest-xml-reporting-3.2.0
real 0m1.073s
user 0m0.913s
sys 0m0.083s
+++ pip_install pandas
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade pandas
Collecting pandas
Obtaining dependency information for pandas from https://files.pythonhosted.org/packages/2f/0e/3b74e8f7c908082793adafb02753477f653ccd7e189f3ba070757d2d0e65/pandas-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached pandas-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Collecting numpy>=1.22.4 (from pandas)
Obtaining dependency information for numpy>=1.22.4 from https://files.pythonhosted.org/packages/9b/5a/f265a1ba3641d16b5480a217a6aed08cceef09cd173b568cd5351053472a/numpy-1.26.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached numpy-1.26.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)
Collecting python-dateutil>=2.8.2 (from pandas)
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2020.1 (from pandas)
Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/32/4d/aaf7eff5deb402fd9a24a1449a8119f00d74ae9c2efa79f8ef9994261fc2/pytz-2023.3.post1-py2.py3-none-any.whl.metadata
Using cached pytz-2023.3.post1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.1 (from pandas)
Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached pandas-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB)
Using cached numpy-1.26.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
Using cached pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
Installing collected packages: pytz, tzdata, six, numpy, python-dateutil, pandas
Successfully installed numpy-1.26.0 pandas-2.1.1 python-dateutil-2.8.2 pytz-2023.3.post1 six-1.16.0 tzdata-2023.3
real 0m6.523s
user 0m5.837s
sys 0m0.489s
+++ pip_install matplotlib
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade matplotlib
Collecting matplotlib
Obtaining dependency information for matplotlib from https://files.pythonhosted.org/packages/b5/24/aaccf324ce862bb82277e8814d2aebbb2a2c160d04e95aa2b8c9dc3137a9/matplotlib-3.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached matplotlib-3.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.8 kB)
Collecting contourpy>=1.0.1 (from matplotlib)
Obtaining dependency information for contourpy>=1.0.1 from https://files.pythonhosted.org/packages/f1/6b/e4b0f8708f22dd7c321f87eadbb98708975e115ac6582eb46d1f32197ce6/contourpy-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached contourpy-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.9 kB)
Collecting cycler>=0.10 (from matplotlib)
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0 (from matplotlib)
Obtaining dependency information for fonttools>=4.22.0 from https://files.pythonhosted.org/packages/2b/e8/61b8525acf26ec222518bdff127ae502bfa3408981fb5e5493f2b037d7fb/fonttools-4.42.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached fonttools-4.42.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (150 kB)
Collecting kiwisolver>=1.0.1 (from matplotlib)
Obtaining dependency information for kiwisolver>=1.0.1 from https://files.pythonhosted.org/packages/6f/40/4ab1fdb57fced80ce5903f04ae1aed7c1d5939dda4fd0c0aa526c12fe28a/kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata
Using cached kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (6.4 kB)
Requirement already satisfied: numpy<2,>=1.21 in ./venv_jenkins/lib/python3.10/site-packages (from matplotlib) (1.26.0)
Collecting packaging>=20.0 (from matplotlib)
Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting pillow>=6.2.0 (from matplotlib)
Obtaining dependency information for pillow>=6.2.0 from https://files.pythonhosted.org/packages/7a/07/e896b096a77375e78e02ce222ae4fd6014928cd76c691d312060a1645dfa/Pillow-10.0.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata
Using cached Pillow-10.0.1-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (9.5 kB)
Collecting pyparsing>=2.3.1 (from matplotlib)
Obtaining dependency information for pyparsing>=2.3.1 from https://files.pythonhosted.org/packages/39/92/8486ede85fcc088f1b3dba4ce92dd29d126fd96b0008ea213167940a2475/pyparsing-3.1.1-py3-none-any.whl.metadata
Using cached pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB)
Requirement already satisfied: python-dateutil>=2.7 in ./venv_jenkins/lib/python3.10/site-packages (from matplotlib) (2.8.2)
Requirement already satisfied: six>=1.5 in ./venv_jenkins/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)
Using cached matplotlib-3.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
Using cached contourpy-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301 kB)
Using cached fonttools-4.42.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB)
Using cached kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
Using cached Pillow-10.0.1-cp310-cp310-manylinux_2_28_x86_64.whl (3.6 MB)
Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB)
Installing collected packages: pyparsing, pillow, packaging, kiwisolver, fonttools, cycler, contourpy, matplotlib
Successfully installed contourpy-1.1.1 cycler-0.11.0 fonttools-4.42.1 kiwisolver-1.4.5 matplotlib-3.8.0 packaging-23.1 pillow-10.0.1 pyparsing-3.1.1
real 0m3.897s
user 0m3.388s
sys 0m0.292s
+++ pip_install coverage
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade coverage
Collecting coverage
Obtaining dependency information for coverage from https://files.pythonhosted.org/packages/13/6f/ebfba55e56aaf256dcae2b8e52a3ec3f1212a11a6d16cf9367d547a862b9/coverage-7.3.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached coverage-7.3.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.1 kB)
Using cached coverage-7.3.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229 kB)
Installing collected packages: coverage
Successfully installed coverage-7.3.1
real 0m1.221s
user 0m1.086s
sys 0m0.064s
+++ pip_install ipywidgets
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade ipywidgets
Collecting ipywidgets
Obtaining dependency information for ipywidgets from https://files.pythonhosted.org/packages/4a/0e/57ed498fafbc60419a9332d872e929879ceba2d73cb11d284d7112472b3e/ipywidgets-8.1.1-py3-none-any.whl.metadata
Using cached ipywidgets-8.1.1-py3-none-any.whl.metadata (2.4 kB)
Collecting comm>=0.1.3 (from ipywidgets)
Obtaining dependency information for comm>=0.1.3 from https://files.pythonhosted.org/packages/fe/47/0133ac1b7dc476ed77710715e98077119b3d9bae56b13f6f9055e7da1c53/comm-0.1.4-py3-none-any.whl.metadata
Using cached comm-0.1.4-py3-none-any.whl.metadata (4.2 kB)
Collecting ipython>=6.1.0 (from ipywidgets)
Obtaining dependency information for ipython>=6.1.0 from https://files.pythonhosted.org/packages/7f/d0/c3eb7b17b013da59925aed7b2e7c55f8f1c9209249316812fe8cb758b337/ipython-8.15.0-py3-none-any.whl.metadata
Using cached ipython-8.15.0-py3-none-any.whl.metadata (5.9 kB)
Collecting traitlets>=4.3.1 (from ipywidgets)
Obtaining dependency information for traitlets>=4.3.1 from https://files.pythonhosted.org/packages/fb/00/78472b256929614443c3fa3be31ee60777e5a9e3c6770d8d934154aa2cab/traitlets-5.10.0-py3-none-any.whl.metadata
Using cached traitlets-5.10.0-py3-none-any.whl.metadata (10 kB)
Collecting widgetsnbextension~=4.0.9 (from ipywidgets)
Obtaining dependency information for widgetsnbextension~=4.0.9 from https://files.pythonhosted.org/packages/29/03/107d96077c4befed191f7ad1a12c7b52a8f9d2778a5836d59f9855c105f6/widgetsnbextension-4.0.9-py3-none-any.whl.metadata
Using cached widgetsnbextension-4.0.9-py3-none-any.whl.metadata (1.6 kB)
Collecting jupyterlab-widgets~=3.0.9 (from ipywidgets)
Obtaining dependency information for jupyterlab-widgets~=3.0.9 from https://files.pythonhosted.org/packages/e8/05/0ebab152288693b5ec7b339aab857362947031143b282853b4c2dd4b5b40/jupyterlab_widgets-3.0.9-py3-none-any.whl.metadata
Using cached jupyterlab_widgets-3.0.9-py3-none-any.whl.metadata (4.1 kB)
Collecting backcall (from ipython>=6.1.0->ipywidgets)
Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting decorator (from ipython>=6.1.0->ipywidgets)
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting jedi>=0.16 (from ipython>=6.1.0->ipywidgets)
Obtaining dependency information for jedi>=0.16 from https://files.pythonhosted.org/packages/8e/46/7e3ae3aa2dcfcffc5138c6cef5448523218658411c84a2000bf75c8d3ec1/jedi-0.19.0-py2.py3-none-any.whl.metadata
Using cached jedi-0.19.0-py2.py3-none-any.whl.metadata (22 kB)
Collecting matplotlib-inline (from ipython>=6.1.0->ipywidgets)
Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting pickleshare (from ipython>=6.1.0->ipywidgets)
Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 (from ipython>=6.1.0->ipywidgets)
Obtaining dependency information for prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 from https://files.pythonhosted.org/packages/a9/b4/ba77c84edf499877317225d7b7bc047a81f7c2eed9628eeb6bab0ac2e6c9/prompt_toolkit-3.0.39-py3-none-any.whl.metadata
Using cached prompt_toolkit-3.0.39-py3-none-any.whl.metadata (6.4 kB)
Collecting pygments>=2.4.0 (from ipython>=6.1.0->ipywidgets)
Obtaining dependency information for pygments>=2.4.0 from https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1a91c914d240828d0d73d/Pygments-2.16.1-py3-none-any.whl.metadata
Using cached Pygments-2.16.1-py3-none-any.whl.metadata (2.5 kB)
Collecting stack-data (from ipython>=6.1.0->ipywidgets)
Using cached stack_data-0.6.2-py3-none-any.whl (24 kB)
Collecting exceptiongroup (from ipython>=6.1.0->ipywidgets)
Obtaining dependency information for exceptiongroup from https://files.pythonhosted.org/packages/ad/83/b71e58666f156a39fb29417e4c8ca4bc7400c0dd4ed9e8842ab54dc8c344/exceptiongroup-1.1.3-py3-none-any.whl.metadata
Using cached exceptiongroup-1.1.3-py3-none-any.whl.metadata (6.1 kB)
Collecting pexpect>4.3 (from ipython>=6.1.0->ipywidgets)
Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting parso<0.9.0,>=0.8.3 (from jedi>=0.16->ipython>=6.1.0->ipywidgets)
Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting ptyprocess>=0.5 (from pexpect>4.3->ipython>=6.1.0->ipywidgets)
Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting wcwidth (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython>=6.1.0->ipywidgets)
Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
Collecting executing>=1.2.0 (from stack-data->ipython>=6.1.0->ipywidgets)
Using cached executing-1.2.0-py2.py3-none-any.whl (24 kB)
Collecting asttokens>=2.1.0 (from stack-data->ipython>=6.1.0->ipywidgets)
Obtaining dependency information for asttokens>=2.1.0 from https://files.pythonhosted.org/packages/4f/25/adda9979586d9606300415c89ad0e4c5b53d72b92d2747a3c634701a6a02/asttokens-2.4.0-py2.py3-none-any.whl.metadata
Using cached asttokens-2.4.0-py2.py3-none-any.whl.metadata (4.9 kB)
Collecting pure-eval (from stack-data->ipython>=6.1.0->ipywidgets)
Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Requirement already satisfied: six>=1.12.0 in ./venv_jenkins/lib/python3.10/site-packages (from asttokens>=2.1.0->stack-data->ipython>=6.1.0->ipywidgets) (1.16.0)
Using cached ipywidgets-8.1.1-py3-none-any.whl (139 kB)
Using cached comm-0.1.4-py3-none-any.whl (6.6 kB)
Using cached ipython-8.15.0-py3-none-any.whl (806 kB)
Using cached jupyterlab_widgets-3.0.9-py3-none-any.whl (214 kB)
Using cached traitlets-5.10.0-py3-none-any.whl (120 kB)
Using cached widgetsnbextension-4.0.9-py3-none-any.whl (2.3 MB)
Using cached jedi-0.19.0-py2.py3-none-any.whl (1.6 MB)
Using cached prompt_toolkit-3.0.39-py3-none-any.whl (385 kB)
Using cached Pygments-2.16.1-py3-none-any.whl (1.2 MB)
Using cached exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Using cached asttokens-2.4.0-py2.py3-none-any.whl (27 kB)
Installing collected packages: wcwidth, pure-eval, ptyprocess, pickleshare, executing, backcall, widgetsnbextension, traitlets, pygments, prompt-toolkit, pexpect, parso, jupyterlab-widgets, exceptiongroup, decorator, asttokens, stack-data, matplotlib-inline, jedi, comm, ipython, ipywidgets
Successfully installed asttokens-2.4.0 backcall-0.2.0 comm-0.1.4 decorator-5.1.1 exceptiongroup-1.1.3 executing-1.2.0 ipython-8.15.0 ipywidgets-8.1.1 jedi-0.19.0 jupyterlab-widgets-3.0.9 matplotlib-inline-0.1.6 parso-0.8.3 pexpect-4.8.0 pickleshare-0.7.5 prompt-toolkit-3.0.39 ptyprocess-0.7.0 pure-eval-0.2.2 pygments-2.16.1 stack-data-0.6.2 traitlets-5.10.0 wcwidth-0.2.6 widgetsnbextension-4.0.9
real 0m4.093s
user 0m3.188s
sys 0m0.357s
+++ pip_install ipysankeywidget
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade ipysankeywidget
Collecting ipysankeywidget
Using cached ipysankeywidget-0.5.0-py3-none-any.whl (330 kB)
Requirement already satisfied: ipywidgets<9,>=7.6.0 in ./venv_jenkins/lib/python3.10/site-packages (from ipysankeywidget) (8.1.1)
Requirement already satisfied: comm>=0.1.3 in ./venv_jenkins/lib/python3.10/site-packages (from ipywidgets<9,>=7.6.0->ipysankeywidget) (0.1.4)
Requirement already satisfied: ipython>=6.1.0 in ./venv_jenkins/lib/python3.10/site-packages (from ipywidgets<9,>=7.6.0->ipysankeywidget) (8.15.0)
Requirement already satisfied: traitlets>=4.3.1 in ./venv_jenkins/lib/python3.10/site-packages (from ipywidgets<9,>=7.6.0->ipysankeywidget) (5.10.0)
Requirement already satisfied: widgetsnbextension~=4.0.9 in ./venv_jenkins/lib/python3.10/site-packages (from ipywidgets<9,>=7.6.0->ipysankeywidget) (4.0.9)
Requirement already satisfied: jupyterlab-widgets~=3.0.9 in ./venv_jenkins/lib/python3.10/site-packages (from ipywidgets<9,>=7.6.0->ipysankeywidget) (3.0.9)
Requirement already satisfied: backcall in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.2.0)
Requirement already satisfied: decorator in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (5.1.1)
Requirement already satisfied: jedi>=0.16 in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.19.0)
Requirement already satisfied: matplotlib-inline in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.1.6)
Requirement already satisfied: pickleshare in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.7.5)
Requirement already satisfied: prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (3.0.39)
Requirement already satisfied: pygments>=2.4.0 in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (2.16.1)
Requirement already satisfied: stack-data in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.6.2)
Requirement already satisfied: exceptiongroup in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (1.1.3)
Requirement already satisfied: pexpect>4.3 in ./venv_jenkins/lib/python3.10/site-packages (from ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (4.8.0)
Requirement already satisfied: parso<0.9.0,>=0.8.3 in ./venv_jenkins/lib/python3.10/site-packages (from jedi>=0.16->ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.8.3)
Requirement already satisfied: ptyprocess>=0.5 in ./venv_jenkins/lib/python3.10/site-packages (from pexpect>4.3->ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.7.0)
Requirement already satisfied: wcwidth in ./venv_jenkins/lib/python3.10/site-packages (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.2.6)
Requirement already satisfied: executing>=1.2.0 in ./venv_jenkins/lib/python3.10/site-packages (from stack-data->ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (1.2.0)
Requirement already satisfied: asttokens>=2.1.0 in ./venv_jenkins/lib/python3.10/site-packages (from stack-data->ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (2.4.0)
Requirement already satisfied: pure-eval in ./venv_jenkins/lib/python3.10/site-packages (from stack-data->ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (0.2.2)
Requirement already satisfied: six>=1.12.0 in ./venv_jenkins/lib/python3.10/site-packages (from asttokens>=2.1.0->stack-data->ipython>=6.1.0->ipywidgets<9,>=7.6.0->ipysankeywidget) (1.16.0)
Installing collected packages: ipysankeywidget
Successfully installed ipysankeywidget-0.5.0
real 0m0.847s
user 0m0.766s
sys 0m0.055s
+++ pip_install plotly
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade plotly
Collecting plotly
Obtaining dependency information for plotly from https://files.pythonhosted.org/packages/df/79/c80174d711ee26ee5da55a9cc3e248f1ec7a0188b5e4d6bbbbcd09b974b0/plotly-5.17.0-py2.py3-none-any.whl.metadata
Using cached plotly-5.17.0-py2.py3-none-any.whl.metadata (7.0 kB)
Collecting tenacity>=6.2.0 (from plotly)
Obtaining dependency information for tenacity>=6.2.0 from https://files.pythonhosted.org/packages/f4/f1/990741d5bb2487d529d20a433210ffa136a367751e454214013b441c4575/tenacity-8.2.3-py3-none-any.whl.metadata
Using cached tenacity-8.2.3-py3-none-any.whl.metadata (1.0 kB)
Requirement already satisfied: packaging in ./venv_jenkins/lib/python3.10/site-packages (from plotly) (23.1)
Using cached plotly-5.17.0-py2.py3-none-any.whl (15.6 MB)
Using cached tenacity-8.2.3-py3-none-any.whl (24 kB)
Installing collected packages: tenacity, plotly
Successfully installed plotly-5.17.0 tenacity-8.2.3
real 0m6.801s
user 0m5.623s
sys 0m1.037s
+++ pip_install pytest
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade pytest
Collecting pytest
Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/df/d0/e192c4275aecabf74faa1aacd75ef700091913236ec78b1a98f62a2412ee/pytest-7.4.2-py3-none-any.whl.metadata
Using cached pytest-7.4.2-py3-none-any.whl.metadata (7.9 kB)
Collecting iniconfig (from pytest)
Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Requirement already satisfied: packaging in ./venv_jenkins/lib/python3.10/site-packages (from pytest) (23.1)
Collecting pluggy<2.0,>=0.12 (from pytest)
Obtaining dependency information for pluggy<2.0,>=0.12 from https://files.pythonhosted.org/packages/05/b8/42ed91898d4784546c5f06c60506400548db3f7a4b3fb441cba4e5c17952/pluggy-1.3.0-py3-none-any.whl.metadata
Using cached pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in ./venv_jenkins/lib/python3.10/site-packages (from pytest) (1.1.3)
Collecting tomli>=1.0.0 (from pytest)
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Using cached pytest-7.4.2-py3-none-any.whl (324 kB)
Using cached pluggy-1.3.0-py3-none-any.whl (18 kB)
Installing collected packages: tomli, pluggy, iniconfig, pytest
Successfully installed iniconfig-2.0.0 pluggy-1.3.0 pytest-7.4.2 tomli-2.0.1
real 0m1.177s
user 0m1.013s
sys 0m0.066s
++++ which coverage
+++ export COVERAGE=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/coverage
+++ COVERAGE=/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/coverage
++ pip_install numpy
++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade numpy
Requirement already satisfied: numpy in ./venv_jenkins/lib/python3.10/site-packages (1.26.0)
real 0m1.067s
user 0m0.954s
sys 0m0.052s
++ pip_install scipy
++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade scipy
Collecting scipy
Obtaining dependency information for scipy from https://files.pythonhosted.org/packages/a8/cc/c36f3439f5d47c3b13833ce6687b43a040cc7638c502ac46b41e2d4f3d6f/scipy-1.11.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached scipy-1.11.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (59 kB)
Requirement already satisfied: numpy<1.28.0,>=1.21.6 in ./venv_jenkins/lib/python3.10/site-packages (from scipy) (1.26.0)
Using cached scipy-1.11.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36.3 MB)
Installing collected packages: scipy
Successfully installed scipy-1.11.2
real 0m3.844s
user 0m3.410s
sys 0m0.367s
++ pip_install pint
++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --upgrade pint
Collecting pint
Obtaining dependency information for pint from https://files.pythonhosted.org/packages/ba/70/f3fa88f899cdf17535ddb75c4d4f1d540199524d9dd7479e66aac777de47/Pint-0.22-py3-none-any.whl.metadata
Using cached Pint-0.22-py3-none-any.whl.metadata (7.7 kB)
Collecting typing-extensions (from pint)
Obtaining dependency information for typing-extensions from https://files.pythonhosted.org/packages/24/21/7d397a4b7934ff4028987914ac1044d3b7d52712f30e2ac7a2ae5bc86dd0/typing_extensions-4.8.0-py3-none-any.whl.metadata
Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Using cached Pint-0.22-py3-none-any.whl (294 kB)
Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Installing collected packages: typing-extensions, pint
Successfully installed pint-0.22 typing-extensions-4.8.0
real 0m1.064s
user 0m0.964s
sys 0m0.061s
++ source /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/JenkinsGPkit/print_versions.sh
+++ python -c 'import scipy; print(scipy.__version__)'
1.11.2
+++ python -c 'import numpy; print(numpy.__version__)'
1.26.0
+++ python -c 'import pint; print(pint.__version__)'
0.22
+++ python -c 'import gpkit; print(gpkit.settings)'
/bin/sh: 1: mskexpopt: not found
No filename given.
Usage:
mskexpopt FILENAME [-primal] [-dual] [-p parameterfile]
Return code: 1052
Description: MSK_RES_ERR_FILE_OPEN [An error occurred while opening a file.]
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/small_scripts.py:71: SyntaxWarning: "is" with a literal. Did you mean "=="?
if sweep is "sweep" and (isinstance(value, Iterable) or # pylint: disable=literal-comparison
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/math.py:586: SyntaxWarning: "is" with a literal. Did you mean "=="?
if posy is 0: # pylint: disable=literal-comparison
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/math.py:590: SyntaxWarning: "is" with a literal. Did you mean "=="?
if negy is 0: # pylint: disable=literal-comparison
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/breakdowns.py:390: SyntaxWarning: "is" with a literal. Did you mean "=="?
subhmap.units = None if units is 1 else units
..........................E.......................................................................................................................................................................................EE.......................................................................
======================================================================
ERROR: test_vector_sweep (gpkit.tests.t_sub.TestModelSubs)
Test sweep involving VectorVariables
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/t_sub.py", line 205, in test_vector_sweep
sol = m.solve(verbosity=0)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/constraints/prog_factories.py", line 123, in solvefn
constants, sweep, linked = parse_subs(self.varkeys, self.substitutions)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/substitution.py", line 25, in parse_subs
append_sub(sub, keys, constants, sweep, linkedsweep)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/substitution.py", line 47, in append_sub
sub = np.array(sub) if not hasattr(sub, "shape") else sub
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
======================================================================
ERROR: test_breakdowns_mosek_cli (gpkit.tests.t_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 55, in test
testfn(name, import_dict, path)(self)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 90, in test
imported[name] = importlib.import_module(name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
======================================================================
ERROR: test_breakdowns_mosek_conif (gpkit.tests.t_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 55, in test
testfn(name, import_dict, path)(self)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 90, in test
imported[name] = importlib.import_module(name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
----------------------------------------------------------------------
Ran 283 tests in 33.022s
FAILED (errors=3)
Found no installed solvers, beginning a build.
# Building GPkit version 1.1
# Moving to the directory from which GPkit was imported.
Attempting to find and build solvers:
# Looking for `mosek_cli`
# (A "success" is if mskexpopt complains that
# we haven't specified a file for it to open.)
# Calling 'mskexpopt'
##
### CALL BEGINS
### CALL ENDS
##
# Looks like `mskexpopt` was not found in the default PATH,
# so let's try locating that binary ourselves.
# Adding /home/jenkins/mosek/8/tools/platform/linux64x86/bin to the PATH
# Calling 'mskexpopt'
##
### CALL BEGINS
### CALL ENDS
##
Found mosek_cli in /home/jenkins/mosek/8/tools/platform/linux64x86/bin
# Looking for `mosek_conif`
# Trying to import mosek...
Found mosek_conif in the default PYTHONPATH
# Looking for `cvxopt`
# Trying to import cvxopt...
# Did not find
# cvxopt
Replaced found solvers (['mosek_cli', 'mosek_conif']) with environment var GPKITSOLVERS (mosek_cli, mosek_conif)
Found the following solvers: mosek_cli, mosek_conif
# Replacing directory env
GPkit is now installed with solver(s) ['mosek_cli', 'mosek_conif']
To incorporate new solvers at a later date, run `gpkit.build()`.
If any tests didn't pass, please post the output above
(starting from "Found no installed solvers, beginning a build.")
to gpkit@mit.edu or https://github.com/convexengineering/gpkit/issues/new
so we can prevent others from having these errors.
The same goes for any other bugs you encounter with GPkit:
send 'em our way, along with any interesting models, speculative features,
comments, discussions, or clarifications you feel like sharing.
Finally, we hope you find our documentation (https://gpkit.readthedocs.io/)
and engineering-design models (https://github.com/convexengineering/gplibrary/)
to be useful resources for your own applications.
Enjoy!
{'installed_solvers': ['mosek_cli', 'mosek_conif'], 'mosek_bin_dir': '/home/jenkins/mosek/8/tools/platform/linux64x86/bin', 'default_solver': 'mosek_cli', 'just built!': True}
++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/coverage run --source=gpkit '--omit=gpkit/tests/*' setup.py build
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/setup.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.core import setup
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running build
running build_py
creating build
creating build/lib
creating build/lib/gpkit
copying gpkit/build.py -> build/lib/gpkit
copying gpkit/solution_ensemble.py -> build/lib/gpkit
copying gpkit/exceptions.py -> build/lib/gpkit
copying gpkit/varkey.py -> build/lib/gpkit
copying gpkit/units.py -> build/lib/gpkit
copying gpkit/solution_array.py -> build/lib/gpkit
copying gpkit/small_scripts.py -> build/lib/gpkit
copying gpkit/repr_conventions.py -> build/lib/gpkit
copying gpkit/breakdowns.py -> build/lib/gpkit
copying gpkit/keydict.py -> build/lib/gpkit
copying gpkit/__init__.py -> build/lib/gpkit
copying gpkit/small_classes.py -> build/lib/gpkit
copying gpkit/globals.py -> build/lib/gpkit
creating build/lib/gpkit/tools
copying gpkit/tools/tools.py -> build/lib/gpkit/tools
copying gpkit/tools/autosweep.py -> build/lib/gpkit/tools
copying gpkit/tools/__init__.py -> build/lib/gpkit/tools
copying gpkit/tools/docstring.py -> build/lib/gpkit/tools
creating build/lib/gpkit/interactive
copying gpkit/interactive/plotting.py -> build/lib/gpkit/interactive
copying gpkit/interactive/__init__.py -> build/lib/gpkit/interactive
copying gpkit/interactive/references.py -> build/lib/gpkit/interactive
copying gpkit/interactive/sankey.py -> build/lib/gpkit/interactive
copying gpkit/interactive/plot_sweep.py -> build/lib/gpkit/interactive
copying gpkit/interactive/widgets.py -> build/lib/gpkit/interactive
creating build/lib/gpkit/constraints
copying gpkit/constraints/sigeq.py -> build/lib/gpkit/constraints
copying gpkit/constraints/model.py -> build/lib/gpkit/constraints
copying gpkit/constraints/gp.py -> build/lib/gpkit/constraints
copying gpkit/constraints/sgp.py -> build/lib/gpkit/constraints
copying gpkit/constraints/relax.py -> build/lib/gpkit/constraints
copying gpkit/constraints/__init__.py -> build/lib/gpkit/constraints
copying gpkit/constraints/costed.py -> build/lib/gpkit/constraints
copying gpkit/constraints/set.py -> build/lib/gpkit/constraints
copying gpkit/constraints/bounded.py -> build/lib/gpkit/constraints
copying gpkit/constraints/array.py -> build/lib/gpkit/constraints
copying gpkit/constraints/single_equation.py -> build/lib/gpkit/constraints
copying gpkit/constraints/loose.py -> build/lib/gpkit/constraints
copying gpkit/constraints/prog_factories.py -> build/lib/gpkit/constraints
copying gpkit/constraints/tight.py -> build/lib/gpkit/constraints
creating build/lib/gpkit/nomials
copying gpkit/nomials/variables.py -> build/lib/gpkit/nomials
copying gpkit/nomials/data.py -> build/lib/gpkit/nomials
copying gpkit/nomials/math.py -> build/lib/gpkit/nomials
copying gpkit/nomials/__init__.py -> build/lib/gpkit/nomials
copying gpkit/nomials/array.py -> build/lib/gpkit/nomials
copying gpkit/nomials/map.py -> build/lib/gpkit/nomials
copying gpkit/nomials/core.py -> build/lib/gpkit/nomials
copying gpkit/nomials/substitution.py -> build/lib/gpkit/nomials
creating build/lib/gpkit/tests
copying gpkit/tests/helpers.py -> build/lib/gpkit/tests
copying gpkit/tests/from_paths.py -> build/lib/gpkit/tests
copying gpkit/tests/t_sub.py -> build/lib/gpkit/tests
copying gpkit/tests/t_nomials.py -> build/lib/gpkit/tests
copying gpkit/tests/test_repo.py -> build/lib/gpkit/tests
copying gpkit/tests/__init__.py -> build/lib/gpkit/tests
copying gpkit/tests/t_solution_array.py -> build/lib/gpkit/tests
copying gpkit/tests/t_keydict.py -> build/lib/gpkit/tests
copying gpkit/tests/t_small.py -> build/lib/gpkit/tests
copying gpkit/tests/t_nomial_array.py -> build/lib/gpkit/tests
copying gpkit/tests/t_vars.py -> build/lib/gpkit/tests
copying gpkit/tests/t_model.py -> build/lib/gpkit/tests
copying gpkit/tests/t_examples.py -> build/lib/gpkit/tests
copying gpkit/tests/run_tests.py -> build/lib/gpkit/tests
copying gpkit/tests/t_tools.py -> build/lib/gpkit/tests
copying gpkit/tests/t_constraints.py -> build/lib/gpkit/tests
creating build/lib/gpkit/solvers
copying gpkit/solvers/mosek_conif.py -> build/lib/gpkit/solvers
copying gpkit/solvers/__init__.py -> build/lib/gpkit/solvers
copying gpkit/solvers/mosek_cli.py -> build/lib/gpkit/solvers
copying gpkit/solvers/cvxopt.py -> build/lib/gpkit/solvers
creating build/lib/gpkit/env
copying gpkit/env/settings -> build/lib/gpkit/env
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/lib/python3.10/site-packages/coverage/control.py:883: CoverageWarning: No data was collected. (no-data-collected)
self._warn("No data was collected.", slug="no-data-collected")
++ export COVERAGE_OMIT=gpkit/tests/test_repo.py,gpkit/tests/from_paths.py,gpkit/build.py,gpkit/solvers/cvxopt.py
++ COVERAGE_OMIT=gpkit/tests/test_repo.py,gpkit/tests/from_paths.py,gpkit/build.py,gpkit/solvers/cvxopt.py
++ echo 'import gpkit.tests; gpkit.tests.run(xmloutput=True)'
++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/coverage run -a --source=gpkit,docs/source/examples test.py
/bin/sh: 1: mskexpopt: not found
No filename given.
Usage:
mskexpopt FILENAME [-primal] [-dual] [-p parameterfile]
Return code: 1052
Description: MSK_RES_ERR_FILE_OPEN [An error occurred while opening a file.]
..........................E.......................................................................................................................................................................................EE.......................................................................
======================================================================
ERROR: test_vector_sweep (gpkit.tests.t_sub.TestModelSubs)
Test sweep involving VectorVariables
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/t_sub.py", line 205, in test_vector_sweep
sol = m.solve(verbosity=0)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/constraints/prog_factories.py", line 123, in solvefn
constants, sweep, linked = parse_subs(self.varkeys, self.substitutions)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/substitution.py", line 25, in parse_subs
append_sub(sub, keys, constants, sweep, linkedsweep)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/substitution.py", line 47, in append_sub
sub = np.array(sub) if not hasattr(sub, "shape") else sub
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
======================================================================
ERROR: test_breakdowns_mosek_cli (gpkit.tests.t_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 55, in test
testfn(name, import_dict, path)(self)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 90, in test
imported[name] = importlib.import_module(name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
======================================================================
ERROR: test_breakdowns_mosek_conif (gpkit.tests.t_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 55, in test
testfn(name, import_dict, path)(self)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 90, in test
imported[name] = importlib.import_module(name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
----------------------------------------------------------------------
Ran 283 tests in 19.284s
FAILED (errors=3)
Running tests...
----------------------------------------------------------------------
Found no installed solvers, beginning a build.
# Building GPkit version 1.1
# Moving to the directory from which GPkit was imported.
Attempting to find and build solvers:
# Looking for `mosek_cli`
# (A "success" is if mskexpopt complains that
# we haven't specified a file for it to open.)
# Calling 'mskexpopt'
##
### CALL BEGINS
### CALL ENDS
##
# Looks like `mskexpopt` was not found in the default PATH,
# so let's try locating that binary ourselves.
# Adding /home/jenkins/mosek/8/tools/platform/linux64x86/bin to the PATH
# Calling 'mskexpopt'
##
### CALL BEGINS
### CALL ENDS
##
Found mosek_cli in /home/jenkins/mosek/8/tools/platform/linux64x86/bin
# Looking for `mosek_conif`
# Trying to import mosek...
Found mosek_conif in the default PYTHONPATH
# Looking for `cvxopt`
# Trying to import cvxopt...
# Did not find
# cvxopt
Replaced found solvers (['mosek_cli', 'mosek_conif']) with environment var GPKITSOLVERS (mosek_cli, mosek_conif)
Found the following solvers: mosek_cli, mosek_conif
# Replacing directory env
GPkit is now installed with solver(s) ['mosek_cli', 'mosek_conif']
To incorporate new solvers at a later date, run `gpkit.build()`.
If any tests didn't pass, please post the output above
(starting from "Found no installed solvers, beginning a build.")
to gpkit@mit.edu or https://github.com/convexengineering/gpkit/issues/new
so we can prevent others from having these errors.
The same goes for any other bugs you encounter with GPkit:
send 'em our way, along with any interesting models, speculative features,
comments, discussions, or clarifications you feel like sharing.
Finally, we hope you find our documentation (https://gpkit.readthedocs.io/)
and engineering-design models (https://github.com/convexengineering/gplibrary/)
to be useful resources for your own applications.
Enjoy!
..........................E.......................................................................................................................................................................................EE.......................................................................
======================================================================
ERROR [0.288s]: test_vector_sweep (gpkit.tests.t_sub.TestModelSubs)
Test sweep involving VectorVariables
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/t_sub.py", line 205, in test_vector_sweep
sol = m.solve(verbosity=0)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/constraints/prog_factories.py", line 123, in solvefn
constants, sweep, linked = parse_subs(self.varkeys, self.substitutions)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/substitution.py", line 25, in parse_subs
append_sub(sub, keys, constants, sweep, linkedsweep)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/substitution.py", line 47, in append_sub
sub = np.array(sub) if not hasattr(sub, "shape") else sub
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
======================================================================
ERROR [0.002s]: test_breakdowns_mosek_cli (gpkit.tests.t_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 55, in test
testfn(name, import_dict, path)(self)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 90, in test
imported[name] = importlib.import_module(name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
======================================================================
ERROR [0.002s]: test_breakdowns_mosek_conif (gpkit.tests.t_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 55, in test
testfn(name, import_dict, path)(self)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 90, in test
imported[name] = importlib.import_module(name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
----------------------------------------------------------------------
Ran 283 tests in 18.312s
FAILED (errors=3)
Generating XML reports...
++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/coverage xml --omit=gpkit/tests/test_repo.py,gpkit/tests/from_paths.py,gpkit/build.py,gpkit/solvers/cvxopt.py
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/breakdowns.py:390: SyntaxWarning: "is" with a literal. Did you mean "=="?
subhmap.units = None if units is 1 else units
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/math.py:586: SyntaxWarning: "is" with a literal. Did you mean "=="?
if posy is 0: # pylint: disable=literal-comparison
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/math.py:590: SyntaxWarning: "is" with a literal. Did you mean "=="?
if negy is 0: # pylint: disable=literal-comparison
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/small_scripts.py:71: SyntaxWarning: "is" with a literal. Did you mean "=="?
if sweep is "sweep" and (isinstance(value, Iterable) or # pylint: disable=literal-comparison
Wrote XML report to coverage.xml
++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/coverage html -d htmlcov --omit=gpkit/tests/test_repo.py,gpkit/tests/from_paths.py,gpkit/build.py,gpkit/solvers/cvxopt.py
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/breakdowns.py:390: SyntaxWarning: "is" with a literal. Did you mean "=="?
subhmap.units = None if units is 1 else units
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/math.py:586: SyntaxWarning: "is" with a literal. Did you mean "=="?
if posy is 0: # pylint: disable=literal-comparison
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/math.py:590: SyntaxWarning: "is" with a literal. Did you mean "=="?
if negy is 0: # pylint: disable=literal-comparison
/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/small_scripts.py:71: SyntaxWarning: "is" with a literal. Did you mean "=="?
if sweep is "sweep" and (isinstance(value, Iterable) or # pylint: disable=literal-comparison
Wrote HTML report to htmlcov/index.html
++ source /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/JenkinsGPkit/run_examples.sh
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/venv_jenkins/bin/pip install --no-cache-dir --no-deps -e /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/
Obtaining file:///jenkins/workspace/CE_gpkit_PR_unit_tests/mosek
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Installing collected packages: gpkit
Running setup.py develop for gpkit
Successfully installed gpkit
++++ ls /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/autosweep.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/beam.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/boundschecking.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/checking_result_changes.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/debug.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/docstringparsing.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/evaluated_fixed_variables.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/evaluated_free_variables.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/external_constraint.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/external_function.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/external_sp.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/freeing_fixed_variables.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/gettingstarted.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/issue_1513.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/issue_1522.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/loose_constraintsets.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/migp.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/model_var_access.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/performance_modeling.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/plot_sweep1d.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/primal_infeasible_ex1.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/primal_infeasible_ex2.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/relaxation.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/simple_box.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/simpleflight.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/simple_sp.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/sin_approx_example.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/sp_to_gp_sweep.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/sub_multi_values.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/substitutions.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/tight_constraintsets.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/treemap.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/unbounded.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/vectorization.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/vectorize.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/water_tank.py /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/x_greaterthan_1.py
+++ for i in `ls $WORKSPACE/docs/source/examples/*.py`
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/autosweep.py
/bin/sh: 1: mskexpopt: not found
No filename given.
Usage:
mskexpopt FILENAME [-primal] [-dual] [-p parameterfile]
Return code: 1052
Description: MSK_RES_ERR_FILE_OPEN [An error occurred while opening a file.]
..........................E.......................................................................................................................................................................................EE.......................................................................
======================================================================
ERROR: test_vector_sweep (gpkit.tests.t_sub.TestModelSubs)
Test sweep involving VectorVariables
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/t_sub.py", line 205, in test_vector_sweep
sol = m.solve(verbosity=0)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/constraints/prog_factories.py", line 123, in solvefn
constants, sweep, linked = parse_subs(self.varkeys, self.substitutions)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/substitution.py", line 25, in parse_subs
append_sub(sub, keys, constants, sweep, linkedsweep)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/nomials/substitution.py", line 47, in append_sub
sub = np.array(sub) if not hasattr(sub, "shape") else sub
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
======================================================================
ERROR: test_breakdowns_mosek_cli (gpkit.tests.t_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 55, in test
testfn(name, import_dict, path)(self)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 90, in test
imported[name] = importlib.import_module(name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
======================================================================
ERROR: test_breakdowns_mosek_conif (gpkit.tests.t_examples.TestExamples)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 55, in test
testfn(name, import_dict, path)(self)
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/gpkit/tests/helpers.py", line 90, in test
imported[name] = importlib.import_module(name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
----------------------------------------------------------------------
Ran 283 tests in 17.505s
FAILED (errors=3)
Found no installed solvers, beginning a build.
# Building GPkit version 1.1
# Moving to the directory from which GPkit was imported.
Attempting to find and build solvers:
# Looking for `mosek_cli`
# (A "success" is if mskexpopt complains that
# we haven't specified a file for it to open.)
# Calling 'mskexpopt'
##
### CALL BEGINS
### CALL ENDS
##
# Looks like `mskexpopt` was not found in the default PATH,
# so let's try locating that binary ourselves.
# Adding /home/jenkins/mosek/8/tools/platform/linux64x86/bin to the PATH
# Calling 'mskexpopt'
##
### CALL BEGINS
### CALL ENDS
##
Found mosek_cli in /home/jenkins/mosek/8/tools/platform/linux64x86/bin
# Looking for `mosek_conif`
# Trying to import mosek...
Found mosek_conif in the default PYTHONPATH
# Looking for `cvxopt`
# Trying to import cvxopt...
# Did not find
# cvxopt
Replaced found solvers (['mosek_cli', 'mosek_conif']) with environment var GPKITSOLVERS (mosek_cli, mosek_conif)
Found the following solvers: mosek_cli, mosek_conif
# Replacing directory env
GPkit is now installed with solver(s) ['mosek_cli', 'mosek_conif']
To incorporate new solvers at a later date, run `gpkit.build()`.
If any tests didn't pass, please post the output above
(starting from "Found no installed solvers, beginning a build.")
to gpkit@mit.edu or https://github.com/convexengineering/gpkit/issues/new
so we can prevent others from having these errors.
The same goes for any other bugs you encounter with GPkit:
send 'em our way, along with any interesting models, speculative features,
comments, discussions, or clarifications you feel like sharing.
Finally, we hope you find our documentation (https://gpkit.readthedocs.io/)
and engineering-design models (https://github.com/convexengineering/gplibrary/)
to be useful resources for your own applications.
Enjoy!
Solved after 33 passes, cost logtol +/-0.000992
values of l: [ 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.]
values of A: [ 2.0 5.0 10.0 17.0 26.0 37.0 50.0 65.0 82.0 101.0] meter ** 2
cost lower bound:
[4.00000000e+00 2.49990784e+01 9.99519744e+01 2.88964536e+02
6.75761550e+02 1.36887792e+03 2.49888524e+03 4.22419304e+03
6.72086177e+03 1.02010000e+04]
cost estimate:
[4.00000000e+00 2.50021831e+01 1.00001197e+02 2.89043310e+02
6.76097456e+02 1.36924020e+03 2.50044173e+03 4.22599329e+03
6.72551472e+03 1.02010000e+04]
cost upper bound:
[4.00000000e+00 2.50052881e+01 1.00050444e+02 2.89122106e+02
6.76433530e+02 1.36960258e+03 2.50199918e+03 4.22779430e+03
6.73017089e+03 1.02010000e+04]
Solved after 3 passes, cost logtol +/-0
Table of solutions used in the autosweep:
Optimal Cost
------------
[ 0.333 1 123 ]
Free Variables
--------------
A : [ 0.577 1 11.1 ] [m²]
Fixed Variables
---------------
l : [ 1 3 10 ] [m]
Variable Sensitivities
----------------------
l : [ +1 +1 +4 ]
Most Sensitive Constraints (in last sweep)
------------------------------------------
+2 : A ≥ (l/3)²
real 0m19.666s
user 1m13.251s
sys 0m16.386s
+++ for i in `ls $WORKSPACE/docs/source/examples/*.py`
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/beam.py
┃┓ ┓ ┓ ┓ ┓
┃┃ ┃ ┃ ┃ ┣╸th[2]╶⎨
┃┃ ┃ ┃ ┣╸w[2] ┛ (0.285)
┃┃ ┃ ┃ ┃ (0.384m) ┣╸th[1]╶⎨
┃┃ ┃ ┣╸w[3] ┛ ┣╸w[1]╶⎨
┃┃ ┃ ┃ (0.76m) ┣╸th[3] ┣╸th[2]╶⎨
┃┃ ┃ ┃ ┛ (0.341) ┛
┃┃ ┣╸w[4] ┃ ┣╸th[2]╶⎨
┃┃ ┃ (1.18m) ┛ ┛
Cost╺┫┃ ┃ ┣╸th[3] ┣╸th[2]╶⎨
(1.62m) ┃┣╸w[5] ┃ ┛ ┛
┃┃ (1.62m) ┃ ┓ ┓
┃┃ ┃ ┣╸th[4] ┣╸th[2]╶⎨
┃┃ ┛ ┛ (0.363) ┛
┃┃ ┓ ┓
┃┃ ┣╸th[5] ┣╸th[2]╶⎨
┃┃ ┛ (0.367) ┛
┃┃ ┓ ┓
┃┃ ┣╸th[4] ┣╸th[2]╶⎨
┃┛ ┛ ┛
┃┓ ┓
┃┃ ┃
┃┃ ┣╸L = 5·dx
┃┃ ┛
┃┃ ┓
┃┃ ┃
┃┃ ┣╸L = 6m
┃┃ ┛
┃┃ ┣╸EI = 11,000N·m²
Model╺┫┃ ┣╸w[5] ≥ w[4] + 0.5·dx·(th[5] + th[4])
┃┣╸Beam ┣╸th[2] ≥ th[1] + 0.5·dx·(M[2] + M[1])/EI
┃┃ ┣╸w[4] ≥ w[3] + 0.5·dx·(th[4] + th[3])
┃┃ ┣╸M[1] ≥ M[2] + 0.5·dx·(V[1] + V[2])
┃┃ ┣╸th[3] ≥ th[2] + 0.5·dx·(M[3] + M[2])/EI
┃┃ ┣╸V[3] ≥ V[4] + 0.5·dx·(q[3] + q[4])
┃┃ ┣╸th[1] ≥ th[0] + 0.5·dx·(M[1] + M[0])/EI
┃┃ ┓
┃┃ ┃
┃┃ ┣╸[17 terms]
┃┛ ┛
Free Variables
--------------
dx : 1.2 [m] Length of an element
M : [ 1.98e+03 1.27e+03 713 317 79.2 0.0002 ] [N·m] Internal moment
V : [ 660 528 396 264 132 0.0002 ] [N] Internal shear
th : [ 0.0002 0.177 0.285 0.341 0.363 0.367 ] Slope
w : [ 0.0002 0.107 0.384 0.76 1.18 1.62 ] [m] Displacement
real 0m0.972s
user 0m3.254s
sys 0m8.605s
+++ for i in `ls $WORKSPACE/docs/source/examples/*.py`
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/boundschecking.py
BoundsChecking
==============
Cost Function
-------------
F
Constraints
-----------
F ≥ D + T
D = rf·V²·Ap
Ap = nu
T = mf·V
mf ≥ mi + mb
mf = rf·V
Fs ≤ mi
real 0m0.819s
user 0m1.927s
sys 0m4.263s
+++ for i in `ls $WORKSPACE/docs/source/examples/*.py`
+++ python /jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py
Traceback (most recent call last):
File "/jenkins/workspace/CE_gpkit_PR_unit_tests/mosek/docs/source/examples/breakdowns.py", line 11, in
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
ModuleNotFoundError: No module named 'pint.quantity'
real 0m0.766s
user 0m1.708s
sys 0m4.325s
Build step 'Conditional step (single)' marked build as failure
[Cobertura] Publishing Cobertura coverage report...
[Cobertura] Publishing Cobertura coverage results...
[Cobertura] Cobertura coverage report found.
Recording test results
[Checks API] No suitable checks publisher found.
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
Finished: FAILURE