Failed
gpkit.tests.t_examples.TestExamples.test_performance_modeling_cvxopt (from gpkit.tests.t_examples.TestExamples-20210820144728)
Failing for the past 1 build
(Since Failed
)
Error Message
name 'diff_retreval' is not defined
Stacktrace
Traceback (most recent call last): File "/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/tests/helpers.py", line 55, in test testfn(name, import_dict, path)(self) File "/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/tests/helpers.py", line 90, in test imported[name] = importlib.import_module(name) File "/usr/local/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/docs/source/examples/performance_modeling.py", line 243, in <module> print(sol.diff("solution.pkl", showvars=vars_of_interest, sortbymodel=False)) File "/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/solution_array.py", line 526, in diff diff_dict = diff_retreval(self, other, sharedvks, showvars=showvars, NameError: name 'diff_retreval' is not defined
Standard Error
/Users/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/small_classes.py:152: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. v = np.array(v)