Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_model_print_perf_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20200228004741)

Failing for the past 1 build (Since Failed #213 )
Took 2 ms.

Error Message

Missing parentheses in call to 'print'. Did you mean print("MTOW [lbs] = %.2f" % mtow)? (print_perf.py, line 62)

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 64, 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 51, 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 = __import__(os.path.basename(path)[:-3])
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/jho/model/print_perf.py", line 62
    print "MTOW [lbs] = %.2f" % mtow
                            ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("MTOW [lbs] = %.2f" % mtow)?
		

Standard Output

Couldn't auto-differentiate linked variable Mission.Aircraft.Wing.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Couldn't auto-differentiate linked variable Mission.Aircraft.Empennage.HorizontalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Couldn't auto-differentiate linked variable Mission.Aircraft.Empennage.VerticalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Beginning signomial solve.
Allowing negative dual variable(s) as small as -2.477796e-13.
Solving took 4 GP solves and 1.75 seconds.
Couldn't auto-differentiate linked variable Mission.Aircraft.Wing.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Couldn't auto-differentiate linked variable Mission.Aircraft.Empennage.HorizontalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Couldn't auto-differentiate linked variable Mission.Aircraft.Empennage.VerticalTail.Planform.cbarmac
  (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True)
Beginning signomial solve.
Solving took 4 GP solves and 2.27 seconds.
	

Standard Error

<string>:6: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  array_calulated[v.veckey] = np.array(ofn(kdc))
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:138: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  return array(a, dtype, copy=False, order=order, subok=True)
<string>:6: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
  array_calulated[v.veckey] = np.array(ofn(kdc))