Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gassolar_solar_solar_py_mosek_conif (from gpkit.tests.from_paths.TestFiles-20210212163145)

Failing for the past 1 build (Since Failed #245 )
Took 32 ms.

Error Message

invalid __array_struct__

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 55, in test
    testfn(name, import_dict, path)(self)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 48, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 37, in test_fn
    mod.test()
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/solar/solar.py", line 366, in test
    m = Mission(latitude=11)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/model.py", line 53, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/solar/solar.py", line 319, in setup
    self.solar = Aircraft(sp=sp)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/model.py", line 53, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/solar/solar.py", line 61, in setup
    Wtotal >= (Wpay + Wavn + sum(summing_vars(self.components, "W"))),
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkitmodels/tools/summing_constraintset.py", line 9, in summing_vars
    vkeys = np.hstack([list(m.varkeys[varname]) for m in models])
  File "<__array_function__ internals>", line 6, in hstack
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/shape_base.py", line 339, in hstack
    arrs = atleast_1d(*tup)
  File "<__array_function__ internals>", line 6, in atleast_1d
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/shape_base.py", line 66, in atleast_1d
    ary = asanyarray(ary)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py", line 171, in asanyarray
    return array(a, dtype, copy=False, order=order, subok=True)
ValueError: invalid __array_struct__
		

Standard Output

	

Standard Error