Skip to content

Failed

gpkit.tests.t_examples.TestExamples.test_simpleflight_cvxopt (from gpkit.tests.t_examples.TestExamples-20210820144605)

Failing for the past 1 build (Since Failed #3185 )
Took 57 ms.

Error Message

name 'diff_retreval' is not defined

Stacktrace

Traceback (most recent call last):
  File "/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/tests/helpers.py", line 55, in test
    testfn(name, import_dict, path)(self)
  File "/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/tests/helpers.py", line 90, in test
    imported[name] = importlib.import_module(name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/docs/source/examples/simpleflight.py", line 65, in <module>
    print(sol.diff("solution.pkl"))
  File "/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

/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)