Skip to content

Pre-release bug fixes #2156

Pre-release bug fixes

Pre-release bug fixes #2156

GitHub Actions / Test Results succeeded Sep 23, 2024 in 1s

94 passed, 1 failed and 18 skipped

Tests failed

Report Passed Failed Skipped Time
11002213501-tests-test_controllers/test_controllers.xml 1✅ 961s
11002213501-tests-test_data_collection/test_data_collection.xml 1✅ 1073s
11002213501-tests-test_dump_load_states/test_dump_load_states.xml 4✅ 1935s
11002213501-tests-test_envs/test_envs.xml 5✅ 801s
11002213501-tests-test_multiple_envs/test_multiple_envs.xml 8✅ 2⚪ 596s
11002213501-tests-test_object_states/test_object_states.xml 32✅ 1⚪ 2248s
11002213501-tests-test_primitives/test_primitives.xml 5⚪ 261s
11002213501-tests-test_robot_states_flatcache/test_robot_states_flatcache.xml 2✅ 939s
11002213501-tests-test_robot_states_no_flatcache/test_robot_states_no_flatcache.xml 3✅ 383s
11002213501-tests-test_robot_teleoperation/test_robot_teleoperation.xml 1⚪ 29ms
11002213501-tests-test_scene_graph/test_scene_graph.xml 1✅ 382s
11002213501-tests-test_sensors/test_sensors.xml 1✅ 1❌ 1636s
11002213501-tests-test_symbolic_primitives/test_symbolic_primitives.xml 1✅ 9⚪ 1699s
11002213501-tests-test_systems/test_systems.xml 1✅ 1676s
11002213501-tests-test_transform_utils/test_transform_utils.xml 34✅ 646ms

✅ 11002213501-tests-test_controllers/test_controllers.xml

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

Test suite Passed Failed Skipped Time
pytest 1✅ 961s

✅ pytest

tests.test_controllers
  ✅ test_arm_control

✅ 11002213501-tests-test_data_collection/test_data_collection.xml

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

Test suite Passed Failed Skipped Time
pytest 1✅ 1073s

✅ pytest

tests.test_data_collection
  ✅ test_data_collect_and_playback

✅ 11002213501-tests-test_dump_load_states/test_dump_load_states.xml

4 tests were completed in 1935s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 4✅ 1935s

✅ pytest

tests.test_dump_load_states
  ✅ test_dump_load
  ✅ test_dump_load_serialized
  ✅ test_save_restore_partial
  ✅ test_save_restore_full

✅ 11002213501-tests-test_envs/test_envs.xml

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

Test suite Passed Failed Skipped Time
pytest 5✅ 801s

✅ pytest

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

✅ 11002213501-tests-test_multiple_envs/test_multiple_envs.xml

10 tests were completed in 596s with 8 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
pytest 8✅ 2⚪ 596s

✅ pytest

tests.test_multiple_envs
  ✅ 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

✅ 11002213501-tests-test_object_states/test_object_states.xml

33 tests were completed in 2248s with 32 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
pytest 32✅ 1⚪ 2248s

✅ pytest

tests.test_object_states
  ✅ test_on_top
  ✅ test_inside
  ✅ test_under
  ✅ test_touching
  ✅ test_contact_bodies
  ✅ test_next_to
  ✅ test_overlaid
  ✅ test_pose
  ✅ test_joint
  ✅ test_aabb
  ✅ test_adjacency
  ✅ test_temperature
  ✅ test_max_temperature
  ✅ test_heat_source_or_sink
  ✅ test_cooked
  ✅ test_burnt
  ✅ test_frozen
  ✅ test_heated
  ✅ test_on_fire
  ✅ test_toggled_on
  ⚪ test_attached_to
  ✅ test_particle_source
  ✅ test_particle_sink
  ✅ test_particle_applier
  ✅ test_particle_remover
  ✅ test_saturated
  ✅ test_open
  ✅ test_folded_unfolded
  ✅ test_draped
  ✅ test_filled
  ✅ test_contains
  ✅ test_covered
  ✅ test_clear_sim

✅ 11002213501-tests-test_primitives/test_primitives.xml

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

Test suite Passed Failed Skipped Time
pytest 5⚪ 261s

✅ pytest

tests.test_primitives
  ⚪ test_navigate
  ⚪ test_grasp
  ⚪ test_place
  ⚪ test_open_prismatic
  ⚪ test_open_revolute

✅ 11002213501-tests-test_robot_states_flatcache/test_robot_states_flatcache.xml

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

Test suite Passed Failed Skipped Time
pytest 2✅ 939s

✅ pytest

tests.test_robot_states_flatcache
  ✅ test_camera_pose_flatcache_on
  ✅ test_robot_load_drive

✅ 11002213501-tests-test_robot_states_no_flatcache/test_robot_states_no_flatcache.xml

3 tests were completed in 383s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 3✅ 383s

✅ pytest

tests.test_robot_states_no_flatcache
  ✅ test_camera_pose_flatcache_off
  ✅ test_camera_semantic_segmentation
  ✅ test_object_in_FOV_of_robot

✅ 11002213501-tests-test_robot_teleoperation/test_robot_teleoperation.xml

1 tests were completed in 29ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
pytest 1⚪ 29ms

✅ pytest

tests.test_robot_teleoperation
  ⚪ test_teleop

✅ 11002213501-tests-test_scene_graph/test_scene_graph.xml

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

Test suite Passed Failed Skipped Time
pytest 1✅ 382s

✅ pytest

tests.test_scene_graph
  ✅ test_scene_graph

❌ 11002213501-tests-test_sensors/test_sensors.xml

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

Test suite Passed Failed Skipped Time
pytest 1✅ 1❌ 1636s

❌ pytest

tests.test_sensors
  ✅ test_segmentation_modalities
  ❌ test_bbox_modalities
	def wrapper():

✅ 11002213501-tests-test_symbolic_primitives/test_symbolic_primitives.xml

10 tests were completed in 1699s with 1 passed, 0 failed and 9 skipped.

Test suite Passed Failed Skipped Time
pytest 1✅ 9⚪ 1699s

✅ pytest

tests.test_symbolic_primitives.TestSymbolicPrimitives
  ⚪ test_in_hand_state
  ⚪ test_open
  ⚪ test_close
  ⚪ test_place_inside
  ⚪ test_place_ontop
  ⚪ test_toggle_on
  ⚪ test_soak_under
  ⚪ test_wipe
  ⚪ test_cut
  ✅ test_persistent_sticky_grasping

✅ 11002213501-tests-test_systems/test_systems.xml

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

Test suite Passed Failed Skipped Time
pytest 1✅ 1676s

✅ pytest

tests.test_systems
  ✅ test_system_clear

✅ 11002213501-tests-test_transform_utils/test_transform_utils.xml

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

Test suite Passed Failed Skipped Time
pytest 34✅ 646ms

✅ 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 11002213501-tests-test_sensors/test_sensors.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_sensors ► test_bbox_modalities

Failed test found in:
  11002213501-tests-test_sensors/test_sensors.xml
Error:
  def wrapper():
Raw output
def wrapper():
        assert_test_env()
        try:
>           func(env)

tests/utils.py:28: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

env = <omnigibson.envs.env_base.Environment object at 0x7feedd87b550>

    @og_test
    def test_bbox_modalities(env):
        breakfast_table = env.scene.object_registry("name", "breakfast_table")
        dishtowel = env.scene.object_registry("name", "dishtowel")
        robot = env.scene.robots[0]
        place_obj_on_floor_plane(breakfast_table)
        dishtowel.set_position_orientation(position=[-0.4, 0.0, 0.55], orientation=[0, 0, 0, 1])
        robot.set_position_orientation(
            position=[0, 0.8, 0.0], orientation=T.euler2quat(th.tensor([0, 0, -math.pi / 2], dtype=th.float32))
        )
        robot.reset()
    
        modalities_required = ["bbox_2d_tight", "bbox_2d_loose", "bbox_3d"]
        for modality in modalities_required:
            robot.add_obs_modality(modality)
    
        og.sim.step()
        for _ in range(3):
            og.sim.render()
    
        sensors = [s for s in robot.sensors.values() if isinstance(s, VisionSensor)]
        assert len(sensors) > 0
        vision_sensor = sensors[0]
        all_observation, all_info = vision_sensor.get_obs()
    
        bbox_2d_tight = all_observation["bbox_2d_tight"]
        bbox_2d_loose = all_observation["bbox_2d_loose"]
        bbox_3d = all_observation["bbox_3d"]
    
>       assert bbox_2d_tight.shape[0] == 4
E       AttributeError: 'list' object has no attribute 'shape'

tests/test_sensors.py:137: AttributeError