Adds Virtual Tennis Tutorial #461
Draft
Cirrus CI / Linux python:rc-slim
completed
Dec 10, 2023 in 2m 6s
Task Summary
Instruction main failed in 00:47
Details
✅ 00:00 clone
✅ 01:16 install
❌ 00:47 main
| raise exception.with_traceback(exception.__traceback__)
| File "/usr/local/lib/python3.10/site-packages/pluggy/_callers.py", line 77, in _multicall
| res = hook_impl.function(*args)
| File "/usr/local/lib/python3.10/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
| result = testfunction(**testargs)
| File "/tmp/cirrus-ci-build/tests/test_camera.py", line 149, in test_transformation_roundtrip
| vp_width=st.integers(min_value=1),
| File "/usr/local/lib/python3.10/site-packages/hypothesis/core.py", line 1588, in wrapped_test
| raise the_error_hypothesis_found
| exceptiongroup.ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/tmp/cirrus-ci-build/tests/test_camera.py", line 173, in test_transformation_roundtrip
| assert point_viewport.isclose(point, rel_tol=1e-5, rel_to=[cam.position])
| AssertionError: assert False
| + where False = <bound method Vector.isclose of Vector(0.0, 2.0)>(Vector(0.0, 1.0), rel_tol=1e-05, rel_to=[Vector(0.0, 0.0)])
| + where <bound method Vector.isclose of Vector(0.0, 2.0)> = Vector(0.0, 2.0).isclose
| Falsifying example: test_transformation_roundtrip(
| vp_width=1,
| vp_height=18014398509481987,
| target_width=1.0, # or any other generated value
| cam_pos=Vector(0.0, 0.0),
| point=Vector(0.0, 1.0),
| )
| frame: (-0.5, -9007199254740994.0) -> (0.5, 9007199254740994.0)
| point: Vector(0.0, 1.0)
| point->frame: Vector(0.5, 9007199254740992.0)
| point->frame->viewport: Vector(0.0, 2.0)
|
| You can reproduce this example by temporarily adding @reproduce_failure('6.92.0', b'AXicY2BgYGFkgIEGMMkC5zMgpAgDRgAhxgCM') as a decorator on your test case
+---------------- 2 ----------------
| Traceback (most recent call last):
| File "/tmp/cirrus-ci-build/tests/test_camera.py", line 179, in test_transformation_roundtrip
| assert point_frame.isclose(point, rel_tol=1e-5, rel_to=[cam.position])
| AssertionError: assert False
| + where False = <bound method Vector.isclose of Vector(1.000010000102121, 0.0)>(Vector(1.0, 0.0), rel_tol=1e-05, rel_to=[Vector(0.0, 0.0)])
| + where <bound method Vector.isclose of Vector(1.000010000102121, 0.0)> = Vector(1.000010000102121, 0.0).isclose
| Falsifying example: test_transformation_roundtrip(
| vp_width=279185089692,
| vp_height=3,
| target_width=33.0,
| cam_pos=Vector(0.0, 0.0),
| point=Vector(1.0, 0.0),
| )
| frame: (-16.5, -1.773017321756292e-10) -> (16.5, 1.773017321756292e-10)
| point: Vector(1.0, 0.0)
| point->frame: Vector(148052699079.0909, 1.5)
| point->frame->viewport: Vector(1.0, 0.0)
| point->viewport: Vector(-16.499999999881798, 1.773017321756292e-10)
| point->viewport->frame: Vector(1.000010000102121, 0.0)
|
| You can reproduce this example by temporarily adding @reproduce_failure('6.92.0', b'AXicY2ZkYGBoYiw5acbAwMIAB4oMBAAjEhsAf3oCIQ==') as a decorator on your test case
+------------------------------------
=========================== short test summary info ============================
FAILED tests/test_camera.py::test_transformation_roundtrip - exceptiongroup.ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions)
======================== 1 failed, 388 passed in 45.81s ========================
Loading