Skip to content

Feat/controller dependencies #2319

Feat/controller dependencies

Feat/controller dependencies #2319

GitHub Actions / Test Results succeeded Oct 18, 2024 in 0s

49 passed, 1 failed and 2 skipped

Tests failed

Report Passed Failed Skipped Time
11398854612-tests-test_data_collection/test_data_collection.xml 1✅ 1418s
11398854612-tests-test_envs/test_envs.xml 5✅ 1404s
11398854612-tests-test_multiple_envs/test_multiple_envs.xml 7✅ 1❌ 2⚪ 452s
11398854612-tests-test_sensors/test_sensors.xml 2✅ 1301s
11398854612-tests-test_transform_utils/test_transform_utils.xml 34✅ 396ms

✅ 11398854612-tests-test_data_collection/test_data_collection.xml

1 tests were completed in 1418s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 1✅ 1418s

✅ pytest

tests.test_data_collection
  ✅ test_data_collect_and_playback

✅ 11398854612-tests-test_envs/test_envs.xml

5 tests were completed in 1404s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 5✅ 1404s

✅ pytest

tests.test_envs
  ✅ test_dummy_task
  ✅ test_point_reaching_task
  ✅ test_point_navigation_task
  ✅ test_behavior_task
  ✅ test_rs_int_full_load

❌ 11398854612-tests-test_multiple_envs/test_multiple_envs.xml

10 tests were completed in 452s with 7 passed, 1 failed and 2 skipped.

Test suite Passed Failed Skipped Time
pytest 7✅ 1❌ 2⚪ 452s

❌ pytest

tests.test_multiple_envs
  ❌ test_multi_scene_dump_load_states
	def test_multi_scene_dump_load_states():
  ✅ test_multi_scene_get_local_position
  ✅ test_multi_scene_set_local_position
  ✅ test_multi_scene_scene_prim
  ✅ test_multi_scene_particle_source
  ✅ test_multi_scene_position_orientation_relative_to_scene
  ✅ test_tiago_getter
  ✅ test_tiago_setter
  ⚪ test_behavior_getter
  ⚪ test_behavior_setter

✅ 11398854612-tests-test_sensors/test_sensors.xml

2 tests were completed in 1301s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 2✅ 1301s

✅ pytest

tests.test_sensors
  ✅ test_segmentation_modalities
  ✅ test_bbox_modalities

✅ 11398854612-tests-test_transform_utils/test_transform_utils.xml

34 tests were completed in 396ms with 34 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 34✅ 396ms

✅ pytest

tests.test_transform_utils.TestQuaternionOperations
  ✅ test_quat2mat_special_cases
  ✅ test_quat_multiply
  ✅ test_quat_conjugate
  ✅ test_quat_inverse
  ✅ test_quat_distance
tests.test_transform_utils.TestVectorOperations
  ✅ test_normalize
  ✅ test_dot_product
  ✅ test_l2_distance
tests.test_transform_utils.TestMatrixOperations
  ✅ test_rotation_matrix_properties
  ✅ test_rotation_matrix
  ✅ test_transformation_matrix
  ✅ test_transformation_matrix_no_point
  ✅ test_matrix_inverse
tests.test_transform_utils.TestCoordinateTransformations
  ✅ test_cartesian_to_polar
tests.test_transform_utils.TestPoseTransformations
  ✅ test_pose2mat_and_mat2pose
  ✅ test_pose_inv
tests.test_transform_utils.TestAxisAngleConversions
  ✅ test_axisangle2quat_and_quat2axisangle
  ✅ test_vecs2axisangle
  ✅ test_vecs2quat
tests.test_transform_utils.TestEulerAngleConversions
  ✅ test_euler2quat_and_quat2euler
  ✅ test_euler2mat_and_mat2euler
tests.test_transform_utils.TestQuaternionApplications
  ✅ test_quat_apply
  ✅ test_quat_slerp
tests.test_transform_utils.TestTransformPoints
  ✅ test_transform_points_2d
  ✅ test_transform_points_3d
tests.test_transform_utils.TestMiscellaneousFunctions
  ✅ test_convert_quat
  ✅ test_random_quaternion
  ✅ test_random_axis_angle
  ✅ test_align_vector_sets
  ✅ test_copysign
  ✅ test_anorm
  ✅ test_check_quat_right_angle
  ✅ test_z_angle_from_quat
  ✅ test_integer_spiral_coordinates

Annotations

Check failure on line 0 in 11398854612-tests-test_multiple_envs/test_multiple_envs.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_multiple_envs ► test_multi_scene_dump_load_states

Failed test found in:
  11398854612-tests-test_multiple_envs/test_multiple_envs.xml
Error:
  def test_multi_scene_dump_load_states():
Raw output
def test_multi_scene_dump_load_states():
        vec_env = setup_multi_environment(3)
        robot_0 = vec_env.envs[0].scene.robots[0]
        robot_1 = vec_env.envs[1].scene.robots[0]
        robot_2 = vec_env.envs[2].scene.robots[0]
    
        robot_0_pos = robot_0.get_position_orientation()[0]
        robot_1_pos = robot_1.get_position_orientation()[0]
        robot_2_pos = robot_2.get_position_orientation()[0]
    
        dist_0_1 = robot_1_pos - robot_0_pos
        dist_1_2 = robot_2_pos - robot_1_pos
    
>       assert th.allclose(dist_0_1, dist_1_2, atol=1e-3)
E       assert False
E        +  where False = <built-in method allclose of type object at 0x7f4760285840>(tensor([ 1.6278e+01, -1.0842e-05, -3.1212e-04]), tensor([ 1.6280e+01, -7.5309e-06, -4.9487e-05]), atol=0.001)
E        +    where <built-in method allclose of type object at 0x7f4760285840> = th.allclose

tests/test_multiple_envs.py:58: AssertionError