Adds Virtual Tennis Tutorial #461
+574
−2
Draft
Cirrus CI / Linux python:3.9-slim
failed
Dec 10, 2023 in 1m 24s
Task Summary
Instruction main failed in 00:54
Details
✅ 00:00 clone
✅ 00:28 install
❌ 00:54 main
| raise exception.with_traceback(exception.__traceback__)
| File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 77, in _multicall
| res = hook_impl.function(*args)
| File "/usr/local/lib/python3.9/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.9/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 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(0.0, 1.0000600814819336)>(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, 1.0000600814819336)> = Vector(0.0, 1.0000600814819336).isclose
| Falsifying example: test_transformation_roundtrip(
| vp_width=127,
| vp_height=1090921693186,
| target_width=1.0,
| cam_pos=Vector(0.0, 0.0),
| point=Vector(0.0, 1.0),
| )
| frame: (-0.5, -4294967296.0078745) -> (0.5, 4294967296.0078745)
| point: Vector(0.0, 1.0)
| point->frame: Vector(63.5, 545460846466.00006)
| point->frame->viewport: Vector(0.0, 1.0)
| point->viewport: Vector(-0.5, 4294967296.0)
| point->viewport->frame: Vector(0.0, 1.0000600814819336)
|
| You can reproduce this example by temporarily adding @reproduce_failure('6.92.0', b'AXicY2D4w8zIwMD4h4GBgYkBDhgZiAeMAH4qAgI=') as a decorator on your test case
+---------------- 2 ----------------
| 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'AXicY2BgYGZkaGAAARYGOGBkIB4wAgAhVQCL') 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 52.76s ========================
Loading