Skip to content

Profiling

Profiling #1

GitHub Actions / Test Results failed Jan 24, 2024 in 1s

Test Results ❌

Tests failed

❌ results.xml

57 tests were completed in 1072s with 41 passed, 1 failed and 15 skipped.

Test suite Passed Failed Skipped Time
pytest 41✅ 1❌ 15⚪ 1072s

❌ pytest

tests.test_envs
  ✅ test_dummy_task
  ✅ test_point_reaching_task
  ✅ test_point_navigation_task
  ✅ test_behavior_task
  ✅ test_rs_int_full_load
tests.test_object_removal
  ✅ test_removal_and_readdition
  ✅ test_readdition
tests.test_object_states
  ✅ test_on_top
  ✅ test_inside
  ✅ test_under
  ✅ test_touching
  ✅ test_contact_bodies
  ✅ test_next_to
  ✅ test_overlaid
  ✅ test_pose
  ✅ 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
	def wrapper():
  ✅ test_clear_sim
tests.test_primitives
  ⚪ test_navigate
  ⚪ test_grasp
  ⚪ test_place
  ⚪ test_open_prismatic
  ⚪ test_open_revolute
tests.test_robot_teleoperation
  ⚪ test_teleop
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
tests.test_transition_rules
  ✅ test_blender_rule
  ✅ test_cooking_rule

Annotations

Check failure on line 0 in results.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_object_states ► test_covered

Failed test found in:
  results.xml
Error:
  def wrapper():
Raw output
def wrapper():
        assert_test_scene()
        try:
>           func()

tests/utils.py:16: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    @og_test
    def test_covered():
        bracelet = og.sim.scene.object_registry("name", "bracelet")
        oyster = og.sim.scene.object_registry("name", "oyster")
        breakfast_table = og.sim.scene.object_registry("name", "breakfast_table")
    
        systems = (
            get_system("water"),
            get_system("stain"),
            get_system("raspberry"),
            get_system("diced__apple"),
        )
        for obj in (bracelet, oyster, breakfast_table):
            for system in systems:
                sampleable = is_visual_particle_system(system.name) or np.all(obj.aabb_extent > (2 * system.particle_radius))
                obj.set_position_orientation(position=np.ones(3) * 50.0, orientation=[0, 0, 0, 1.0])
                place_obj_on_floor_plane(obj)
    
                for _ in range(5):
                    og.sim.step()
    
                assert obj.states[Covered].set_value(system, True) == sampleable
    
                for _ in range(5):
                    og.sim.step()
    
                assert obj.states[Covered].get_value(system) == sampleable
                obj.states[Covered].set_value(system, False)
    
                for _ in range(5):
                    og.sim.step()
>               assert not obj.states[Covered].get_value(system)
E               AssertionError: assert not True
E                +  where True = <bound method BaseObjectState.get_value of <omnigibson.object_states.covered.Covered object at 0x7f3e329b0700>>(<class 'omnigibson.utils.python_utils.DicedApple'>)
E                +    where <bound method BaseObjectState.get_value of <omnigibson.object_states.covered.Covered object at 0x7f3e329b0700>> = <omnigibson.object_states.covered.Covered object at 0x7f3e329b0700>.get_value

tests/test_object_states.py:1162: AssertionError