Skip to content

Upgrade to isaac sim 4.2 & VR #3095

Upgrade to isaac sim 4.2 & VR

Upgrade to isaac sim 4.2 & VR #3095

GitHub Actions / Test Results succeeded Dec 19, 2024 in 1s

35 passed, 118 failed and 9 skipped

Tests failed

Report Passed Failed Skipped Time
12403305888-tests-test_controllers/test_controllers.xml 1❌ 339s
12403305888-tests-test_curobo/test_curobo.xml 1❌ 333s
12403305888-tests-test_data_collection/test_data_collection.xml 1❌ 318s
12403305888-tests-test_dump_load_states/test_dump_load_states.xml 4❌ 390s
12403305888-tests-test_envs/test_envs.xml 5❌ 345s
12403305888-tests-test_multiple_envs/test_multiple_envs.xml 8❌ 2⚪ 344s
12403305888-tests-test_object_removal/test_object_removal.xml 2❌ 322s
12403305888-tests-test_object_states/test_object_states.xml 1✅ 32❌ 891s
12403305888-tests-test_primitives/test_primitives.xml 6❌ 4⚪ 349s
12403305888-tests-test_robot_states_flatcache/test_robot_states_flatcache.xml 3❌ 400s
12403305888-tests-test_robot_states_no_flatcache/test_robot_states_no_flatcache.xml 3❌ 391s
12403305888-tests-test_robot_teleoperation/test_robot_teleoperation.xml 1⚪ 29ms
12403305888-tests-test_scene_graph/test_scene_graph.xml 1❌ 335s
12403305888-tests-test_sensors/test_sensors.xml 2❌ 334s
12403305888-tests-test_symbolic_primitives/test_symbolic_primitives.xml 18❌ 2⚪ 401s
12403305888-tests-test_systems/test_systems.xml 1❌ 336s
12403305888-tests-test_transform_utils/test_transform_utils.xml 34✅ 115s
12403305888-tests-test_transition_rules/test_transition_rules.xml 30❌ 713s

❌ 12403305888-tests-test_controllers/test_controllers.xml

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

Test suite Passed Failed Skipped Time
pytest 1❌ 339s

❌ pytest

tests.test_controllers
  ❌ test_arm_control
	def test_arm_control():

❌ 12403305888-tests-test_curobo/test_curobo.xml

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

Test suite Passed Failed Skipped Time
pytest 1❌ 333s

❌ pytest

tests.test_curobo
  ❌ test_curobo
	def test_curobo():

❌ 12403305888-tests-test_data_collection/test_data_collection.xml

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

Test suite Passed Failed Skipped Time
pytest 1❌ 318s

❌ pytest

tests.test_data_collection
  ❌ test_data_collect_and_playback
	def test_data_collect_and_playback():

❌ 12403305888-tests-test_dump_load_states/test_dump_load_states.xml

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

Test suite Passed Failed Skipped Time
pytest 4❌ 390s

❌ pytest

tests.test_dump_load_states
  ❌ test_dump_load
	def wrapper():
  ❌ test_dump_load_serialized
	def wrapper():
  ❌ test_save_restore_partial
	def wrapper():
  ❌ test_save_restore_full
	def wrapper():

❌ 12403305888-tests-test_envs/test_envs.xml

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

Test suite Passed Failed Skipped Time
pytest 5❌ 345s

❌ pytest

tests.test_envs
  ❌ test_dummy_task
	def test_dummy_task():
  ❌ test_point_reaching_task
	def test_point_reaching_task():
  ❌ test_point_navigation_task
	def test_point_navigation_task():
  ❌ test_behavior_task
	def test_behavior_task():
  ❌ test_rs_int_full_load
	def test_rs_int_full_load():

❌ 12403305888-tests-test_multiple_envs/test_multiple_envs.xml

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

Test suite Passed Failed Skipped Time
pytest 8❌ 2⚪ 344s

❌ pytest

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

❌ 12403305888-tests-test_object_removal/test_object_removal.xml

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

Test suite Passed Failed Skipped Time
pytest 2❌ 322s

❌ pytest

tests.test_object_removal
  ❌ test_removal_and_readdition
	def wrapper():
  ❌ test_readdition
	def wrapper():

❌ 12403305888-tests-test_object_states/test_object_states.xml

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

Test suite Passed Failed Skipped Time
pytest 1✅ 32❌ 891s

❌ pytest

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

❌ 12403305888-tests-test_primitives/test_primitives.xml

10 tests were completed in 349s with 0 passed, 6 failed and 4 skipped.

Test suite Passed Failed Skipped Time
pytest 6❌ 4⚪ 349s

❌ pytest

tests.test_primitives.TestPrimitives
  ❌ test_navigate[Tiago]
	self = <test_primitives.TestPrimitives object at 0x7f71fabfeef0>
  ❌ test_navigate[Fetch]
	self = <test_primitives.TestPrimitives object at 0x7f71fabfcb50>
  ❌ test_grasp[Tiago]
	self = <test_primitives.TestPrimitives object at 0x7f71fabfcd90>
  ❌ test_grasp[Fetch]
	self = <test_primitives.TestPrimitives object at 0x7f71fabffdc0>
  ❌ test_place[Tiago]
	self = <test_primitives.TestPrimitives object at 0x7f71fabfceb0>
  ❌ test_place[Fetch]
	self = <test_primitives.TestPrimitives object at 0x7f71fabff7f0>
  ⚪ test_open_prismatic[Tiago]
  ⚪ test_open_prismatic[Fetch]
  ⚪ test_open_revolute[Tiago]
  ⚪ test_open_revolute[Fetch]

❌ 12403305888-tests-test_robot_states_flatcache/test_robot_states_flatcache.xml

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

Test suite Passed Failed Skipped Time
pytest 3❌ 400s

❌ pytest

tests.test_robot_states_flatcache
  ❌ test_camera_pose_flatcache_on
	def test_camera_pose_flatcache_on():
  ❌ test_robot_load_drive
	def test_robot_load_drive():
  ❌ test_grasping_mode
	def test_grasping_mode():

❌ 12403305888-tests-test_robot_states_no_flatcache/test_robot_states_no_flatcache.xml

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

Test suite Passed Failed Skipped Time
pytest 3❌ 391s

❌ pytest

tests.test_robot_states_no_flatcache
  ❌ test_camera_pose_flatcache_off
	def test_camera_pose_flatcache_off():
  ❌ test_camera_semantic_segmentation
	def test_camera_semantic_segmentation():
  ❌ test_object_in_FOV_of_robot
	def test_object_in_FOV_of_robot():

✅ 12403305888-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

❌ 12403305888-tests-test_scene_graph/test_scene_graph.xml

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

Test suite Passed Failed Skipped Time
pytest 1❌ 335s

❌ pytest

tests.test_scene_graph
  ❌ test_scene_graph
	def test_scene_graph():

❌ 12403305888-tests-test_sensors/test_sensors.xml

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

Test suite Passed Failed Skipped Time
pytest 2❌ 334s

❌ pytest

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

❌ 12403305888-tests-test_symbolic_primitives/test_symbolic_primitives.xml

20 tests were completed in 401s with 0 passed, 18 failed and 2 skipped.

Test suite Passed Failed Skipped Time
pytest 18❌ 2⚪ 401s

❌ pytest

tests.test_symbolic_primitives.TestSymbolicPrimitives
  ❌ test_in_hand_state[Fetch]
	robot_type = 'Fetch'
  ❌ test_open[Fetch]
	robot_type = 'Fetch'
  ❌ test_close[Fetch]
	robot_type = 'Fetch'
  ❌ test_place_inside[Fetch]
	robot_type = 'Fetch'
  ❌ test_place_ontop[Fetch]
	robot_type = 'Fetch'
  ❌ test_toggle_on[Fetch]
	robot_type = 'Fetch'
  ❌ test_soak_under[Fetch]
	robot_type = 'Fetch'
  ❌ test_wipe[Fetch]
	robot_type = 'Fetch'
  ⚪ test_cut[Fetch]
  ❌ test_persistent_sticky_grasping[Fetch]
	robot_type = 'Fetch'
  ❌ test_in_hand_state[Tiago]
	robot_type = 'Tiago'
  ❌ test_open[Tiago]
	robot_type = 'Tiago'
  ❌ test_close[Tiago]
	robot_type = 'Tiago'
  ❌ test_place_inside[Tiago]
	robot_type = 'Tiago'
  ❌ test_place_ontop[Tiago]
	robot_type = 'Tiago'
  ❌ test_toggle_on[Tiago]
	robot_type = 'Tiago'
  ❌ test_soak_under[Tiago]
	robot_type = 'Tiago'
  ❌ test_wipe[Tiago]
	robot_type = 'Tiago'
  ⚪ test_cut[Tiago]
  ❌ test_persistent_sticky_grasping[Tiago]
	robot_type = 'Tiago'

❌ 12403305888-tests-test_systems/test_systems.xml

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

Test suite Passed Failed Skipped Time
pytest 1❌ 336s

❌ pytest

tests.test_systems
  ❌ test_system_clear
	def wrapper():

✅ 12403305888-tests-test_transform_utils/test_transform_utils.xml

34 tests were completed in 115s with 34 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 34✅ 115s

✅ 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

❌ 12403305888-tests-test_transition_rules/test_transition_rules.xml

30 tests were completed in 713s with 0 passed, 30 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 30❌ 713s

❌ pytest

tests.test_transition_rules
  ❌ test_dryer_rule
	def wrapper():
  ❌ test_washer_rule
	def wrapper():
  ❌ test_slicing_rule
	def wrapper():
  ❌ test_dicing_rule_cooked
	def wrapper():
  ❌ test_dicing_rule_uncooked
	def wrapper():
  ❌ test_melting_rule
	def wrapper():
  ❌ test_cooking_physical_particle_rule_failure_recipe_systems
	def wrapper():
  ❌ test_cooking_physical_particle_rule_success
	def wrapper():
  ❌ test_mixing_rule_failure_recipe_systems
	def wrapper():
  ❌ test_mixing_rule_failure_nonrecipe_systems
	def wrapper():
  ❌ test_mixing_rule_success
	def wrapper():
  ❌ test_cooking_system_rule_failure_recipe_systems
	def wrapper():
  ❌ test_cooking_system_rule_failure_nonrecipe_systems
	def wrapper():
  ❌ test_cooking_system_rule_failure_nonrecipe_objects
	def wrapper():
  ❌ test_cooking_system_rule_success
	def wrapper():
  ❌ test_cooking_object_rule_failure_wrong_container
	def wrapper():
  ❌ test_cooking_object_rule_failure_recipe_objects
	def wrapper():
  ❌ test_cooking_object_rule_failure_unary_states
	def wrapper():
  ❌ test_cooking_object_rule_failure_binary_system_states
	def wrapper():
  ❌ test_cooking_object_rule_failure_binary_object_states
	def wrapper():
  ❌ test_cooking_object_rule_failure_wrong_heat_source
	def wrapper():
  ❌ test_cooking_object_rule_success
	def wrapper():
  ❌ test_single_toggleable_machine_rule_output_system_failure_wrong_container
	def wrapper():
  ❌ test_single_toggleable_machine_rule_output_system_failure_recipe_systems
	def wrapper():
  ❌ test_single_toggleable_machine_rule_output_system_failure_recipe_objects
	def wrapper():
  ❌ test_single_toggleable_machine_rule_output_system_failure_nonrecipe_systems
	def wrapper():
  ❌ test_single_toggleable_machine_rule_output_system_failure_nonrecipe_objects
	def wrapper():
  ❌ test_single_toggleable_machine_rule_output_system_success
	def wrapper():
  ❌ test_single_toggleable_machine_rule_output_object_failure_unary_states
	def wrapper():
  ❌ test_single_toggleable_machine_rule_output_object_success
	def wrapper():

Annotations

Check failure on line 0 in 12403305888-tests-test_controllers/test_controllers.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_controllers ► test_arm_control

Failed test found in:
  12403305888-tests-test_controllers/test_controllers.xml
Error:
  def test_arm_control():
Raw output
def test_arm_control():
        # Create env
        cfg = {
            "scene": {
                "type": "Scene",
            },
            "objects": [],
            "robots": [
                {
                    "type": "FrankaPanda",
                    "name": "robot0",
                    "obs_modalities": [],
                    "position": [150, 150, 100],
                    "orientation": [0, 0, 0, 1],
                    "action_normalize": False,
                },
                {
                    "type": "Fetch",
                    "name": "robot1",
                    "obs_modalities": [],
                    "position": [150, 150, 105],
                    "orientation": [0, 0, 0, 1],
                    "action_normalize": False,
                },
                {
                    "type": "Tiago",
                    "name": "robot2",
                    "obs_modalities": [],
                    "position": [150, 150, 110],
                    "orientation": [0, 0, 0, 1],
                    "action_normalize": False,
                },
                {
                    "type": "A1",
                    "name": "robot3",
                    "obs_modalities": [],
                    "position": [150, 150, 115],
                    "orientation": [0, 0, 0, 1],
                    "action_normalize": False,
                },
                {
                    "type": "R1",
                    "name": "robot4",
                    "obs_modalities": [],
                    "position": [150, 150, 120],
                    "orientation": [0, 0, 0, 1],
                    "action_normalize": False,
                },
            ],
        }
    
>       env = og.Environment(configs=cfg)

tests/test_controllers.py:62: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:435: in load
    og.sim.add_ground_plane(
omnigibson/simulator.py:623: in add_ground_plane
    self._floor_plane.load(None)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/xform_prim.py:79: in _post_load
    material = MaterialPrim.get_material(scene=self.scene, prim_path=material_prim_path, name=material_name)
omnigibson/prims/material_prim.py:58: in get_material
    new_material.load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/material_prim.py:152: in _post_load
    self._shader_node = lazy.usd.mdl.RegistryUtils.GetShaderNodeForPrim(self._shader.GetPrim())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <module 'lazy_usd' from None>, name = 'mdl'

    def __getattr__(self, name: str):
        # First, try the argument as a module name.
        if name not in self._not_module:
            submodule = self._get_module(name)
            if submodule:
                return submodule
            else:
                # Record module not found so that we don't keep looking.
                self._not_module.add(name)
    
        # If it's not a module name, try it as a member of this module.
        try:
            return getattr(self._module, name)
        except:
>           raise AttributeError(f"module {self.__name__} has no attribute {name}") from None
E           AttributeError: module lazy_usd has no attribute mdl

omnigibson/utils/lazy_import_utils.py:29: AttributeError

Check failure on line 0 in 12403305888-tests-test_curobo/test_curobo.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_curobo ► test_curobo

Failed test found in:
  12403305888-tests-test_curobo/test_curobo.xml
Error:
  def test_curobo():
Raw output
def test_curobo():
        # Make sure object states are enabled
        assert gm.ENABLE_OBJECT_STATES
    
        # Create env
        cfg = {
            "env": {
                "action_frequency": 30,
                "physics_frequency": 300,
            },
            "scene": {
                "type": "Scene",
            },
            "objects": [
                {
                    "type": "PrimitiveObject",
                    "name": "obj0",
                    "primitive_type": "Cube",
                    "scale": [0.4, 0.4, 0.4],
                    "fixed_base": True,
                    "position": [0.5, -0.1, 0.2],
                    "orientation": [0, 0, 0, 1],
                },
                {
                    "type": "PrimitiveObject",
                    "name": "eef_marker_0",
                    "primitive_type": "Sphere",
                    "radius": 0.05,
                    "visual_only": True,
                    "position": [0, 0, 0],
                    "orientation": [0, 0, 0, 1],
                    "rgba": [1, 0, 0, 1],
                },
                {
                    "type": "PrimitiveObject",
                    "name": "eef_marker_1",
                    "primitive_type": "Sphere",
                    "radius": 0.05,
                    "visual_only": True,
                    "position": [0, 0, 0],
                    "orientation": [0, 0, 0, 1],
                    "rgba": [0, 1, 0, 1],
                },
            ],
            "robots": [],
        }
    
        robot_cfgs = [
            {
                "type": "FrankaPanda",
                "obs_modalities": "rgb",
                "position": [0.7, -0.55, 0.0],
                "orientation": [0, 0, 0.707, 0.707],
                "self_collisions": True,
                "action_normalize": False,
                "controller_config": {
                    "arm_0": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "gripper_0": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                },
            },
            {
                "type": "R1",
                "obs_modalities": "rgb",
                "position": [0.7, -0.7, 0.056],
                "orientation": [0, 0, 0.707, 0.707],
                "self_collisions": True,
                "action_normalize": False,
                "controller_config": {
                    "base": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "trunk": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "arm_left": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "arm_right": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "gripper_left": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "gripper_right": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                },
            },
            {
                "type": "Tiago",
                "obs_modalities": "rgb",
                "position": [0.7, -0.85, 0],
                "orientation": [0, 0, 0.707, 0.707],
                "self_collisions": True,
                "action_normalize": False,
                "controller_config": {
                    "base": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "trunk": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "camera": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "arm_left": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "arm_right": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "gripper_left": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                    "gripper_right": {
                        "name": "JointController",
                        "motor_type": "position",
                        "command_input_limits": None,
                        "use_delta_commands": False,
                        "use_impedances": True,
                    },
                },
            },
        ]
        for robot_cfg in robot_cfgs:
            cfg["robots"] = [robot_cfg]
    
>           env = og.Environment(configs=cfg)

tests/test_curobo.py:204: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:435: in load
    og.sim.add_ground_plane(
omnigibson/simulator.py:623: in add_ground_plane
    self._floor_plane.load(None)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/xform_prim.py:79: in _post_load
    material = MaterialPrim.get_material(scene=self.scene, prim_path=material_prim_path, name=material_name)
omnigibson/prims/material_prim.py:58: in get_material
    new_material.load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/material_prim.py:152: in _post_load
    self._shader_node = lazy.usd.mdl.RegistryUtils.GetShaderNodeForPrim(self._shader.GetPrim())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <module 'lazy_usd' from None>, name = 'mdl'

    def __getattr__(self, name: str):
        # First, try the argument as a module name.
        if name not in self._not_module:
            submodule = self._get_module(name)
            if submodule:
                return submodule
            else:
                # Record module not found so that we don't keep looking.
                self._not_module.add(name)
    
        # If it's not a module name, try it as a member of this module.
        try:
            return getattr(self._module, name)
        except:
>           raise AttributeError(f"module {self.__name__} has no attribute {name}") from None
E           AttributeError: module lazy_usd has no attribute mdl

omnigibson/utils/lazy_import_utils.py:29: AttributeError

Check failure on line 0 in 12403305888-tests-test_data_collection/test_data_collection.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_data_collection ► test_data_collect_and_playback

Failed test found in:
  12403305888-tests-test_data_collection/test_data_collection.xml
Error:
  def test_data_collect_and_playback():
Raw output
def test_data_collect_and_playback():
        cfg = {
            "env": {
                "external_sensors": [],
            },
            "scene": {
                "type": "InteractiveTraversableScene",
                "scene_model": "Rs_int",
                "load_object_categories": ["floors", "breakfast_table"],
            },
            "robots": [
                {
                    "type": "Fetch",
                    "obs_modalities": [],
                }
            ],
            # Task kwargs
            "task": {
                "type": "BehaviorTask",
                # BehaviorTask-specific
                "activity_name": "laying_wood_floors",
                "online_object_sampling": True,
            },
        }
    
        if og.sim is None:
            # Make sure GPU dynamics are enabled (GPU dynamics needed for cloth)
            gm.ENABLE_OBJECT_STATES = True
            gm.USE_GPU_DYNAMICS = True
            gm.ENABLE_TRANSITION_RULES = False
        else:
            # Make sure sim is stopped
            og.sim.stop()
    
        # Create temp file to save data
        _, collect_hdf5_path = tempfile.mkstemp("test_data_collection.hdf5", dir=og.tempdir)
        _, playback_hdf5_path = tempfile.mkstemp("test_data_playback.hdf5", dir=og.tempdir)
    
        # Create the environment (wrapped as a DataCollection env)
>       env = og.Environment(configs=cfg)

tests/test_data_collection.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:449: in load
    new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:364: in _load_scene_prim_with_objects
    self.add_object(obj)
omnigibson/scenes/scene_base.py:631: in add_object
    prim = obj.load(self)
omnigibson/objects/object_base.py:123: in load
    prim = super().load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/objects/dataset_object.py:253: in _post_load
    super()._post_load()
omnigibson/objects/stateful_object.py:145: in _post_load
    super()._post_load()
omnigibson/objects/object_base.py:161: in _post_load
    super()._post_load()
omnigibson/prims/entity_prim.py:128: in _post_load
    self.update_links()
omnigibson/prims/entity_prim.py:260: in update_links
    self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/rigid_prim.py:127: in _post_load
    self.update_meshes()
omnigibson/prims/rigid_prim.py:221: in update_meshes
    self._visual_meshes[mesh_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/geom_prim.py:48: in _post_load
    super()._post_load()
omnigibson/prims/xform_prim.py:79: in _post_load
    material = MaterialPrim.get_material(scene=self.scene, prim_path=material_prim_path, name=material_name)
omnigibson/prims/material_prim.py:58: in get_material
    new_material.load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/material_prim.py:152: in _post_load
    self._shader_node = lazy.usd.mdl.RegistryUtils.GetShaderNodeForPrim(self._shader.GetPrim())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <module 'lazy_usd' from None>, name = 'mdl'

    def __getattr__(self, name: str):
        # First, try the argument as a module name.
        if name not in self._not_module:
            submodule = self._get_module(name)
            if submodule:
                return submodule
            else:
                # Record module not found so that we don't keep looking.
                self._not_module.add(name)
    
        # If it's not a module name, try it as a member of this module.
        try:
            return getattr(self._module, name)
        except:
>           raise AttributeError(f"module {self.__name__} has no attribute {name}") from None
E           AttributeError: module lazy_usd has no attribute mdl

omnigibson/utils/lazy_import_utils.py:29: AttributeError

Check failure on line 0 in 12403305888-tests-test_dump_load_states/test_dump_load_states.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_dump_load_states ► test_dump_load

Failed test found in:
  12403305888-tests-test_dump_load_states/test_dump_load_states.xml
Error:
  def wrapper():
Raw output
def wrapper():
>       assert_test_env()

tests/utils.py:26: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/utils.py:193: in assert_test_env
    env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:435: in load
    og.sim.add_ground_plane(
omnigibson/simulator.py:623: in add_ground_plane
    self._floor_plane.load(None)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/xform_prim.py:79: in _post_load
    material = MaterialPrim.get_material(scene=self.scene, prim_path=material_prim_path, name=material_name)
omnigibson/prims/material_prim.py:58: in get_material
    new_material.load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/material_prim.py:152: in _post_load
    self._shader_node = lazy.usd.mdl.RegistryUtils.GetShaderNodeForPrim(self._shader.GetPrim())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <module 'lazy_usd' from None>, name = 'mdl'

    def __getattr__(self, name: str):
        # First, try the argument as a module name.
        if name not in self._not_module:
            submodule = self._get_module(name)
            if submodule:
                return submodule
            else:
                # Record module not found so that we don't keep looking.
                self._not_module.add(name)
    
        # If it's not a module name, try it as a member of this module.
        try:
            return getattr(self._module, name)
        except:
>           raise AttributeError(f"module {self.__name__} has no attribute {name}") from None
E           AttributeError: module lazy_usd has no attribute mdl

omnigibson/utils/lazy_import_utils.py:29: AttributeError

Check failure on line 0 in 12403305888-tests-test_dump_load_states/test_dump_load_states.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_dump_load_states ► test_dump_load_serialized

Failed test found in:
  12403305888-tests-test_dump_load_states/test_dump_load_states.xml
Error:
  def wrapper():
Raw output
def wrapper():
>       assert_test_env()

tests/utils.py:26: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/utils.py:193: in assert_test_env
    env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:432: in load
    self._load_robots()
omnigibson/envs/env_base.py:291: in _load_robots
    self.scene.add_object(robot)
omnigibson/scenes/scene_base.py:631: in add_object
    prim = obj.load(self)
omnigibson/objects/controllable_object.py:177: in load
    prim = super().load(scene)
omnigibson/objects/object_base.py:123: in load
    prim = super().load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/robots/robot_base.py:160: in _post_load
    super()._post_load()
omnigibson/objects/stateful_object.py:145: in _post_load
    super()._post_load()
omnigibson/objects/controllable_object.py:195: in _post_load
    super()._post_load()
omnigibson/objects/object_base.py:161: in _post_load
    super()._post_load()
omnigibson/prims/entity_prim.py:128: in _post_load
    self.update_links()
omnigibson/prims/entity_prim.py:260: in update_links
    self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/rigid_prim.py:127: in _post_load
    self.update_meshes()
omnigibson/prims/rigid_prim.py:221: in update_meshes
    self._visual_meshes[mesh_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/geom_prim.py:48: in _post_load
    super()._post_load()
omnigibson/prims/xform_prim.py:79: in _post_load
    material = MaterialPrim.get_material(scene=self.scene, prim_path=material_prim_path, name=material_name)
omnigibson/prims/material_prim.py:58: in get_material
    new_material.load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/material_prim.py:152: in _post_load
    self._shader_node = lazy.usd.mdl.RegistryUtils.GetShaderNodeForPrim(self._shader.GetPrim())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <module 'lazy_usd' from None>, name = 'mdl'

    def __getattr__(self, name: str):
        # First, try the argument as a module name.
        if name not in self._not_module:
            submodule = self._get_module(name)
            if submodule:
                return submodule
            else:
                # Record module not found so that we don't keep looking.
                self._not_module.add(name)
    
        # If it's not a module name, try it as a member of this module.
        try:
            return getattr(self._module, name)
        except:
>           raise AttributeError(f"module {self.__name__} has no attribute {name}") from None
E           AttributeError: module lazy_usd has no attribute mdl

omnigibson/utils/lazy_import_utils.py:29: AttributeError

Check failure on line 0 in 12403305888-tests-test_dump_load_states/test_dump_load_states.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_dump_load_states ► test_save_restore_partial

Failed test found in:
  12403305888-tests-test_dump_load_states/test_dump_load_states.xml
  12403305888-tests-test_dump_load_states/test_dump_load_states.xml
Error:
  def wrapper():
Raw output
def wrapper():
>       assert_test_env()

tests/utils.py:26: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/utils.py:193: in assert_test_env
    env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:432: in load
    self._load_robots()
omnigibson/envs/env_base.py:291: in _load_robots
    self.scene.add_object(robot)
omnigibson/scenes/scene_base.py:631: in add_object
    prim = obj.load(self)
omnigibson/objects/controllable_object.py:177: in load
    prim = super().load(scene)
omnigibson/objects/object_base.py:123: in load
    prim = super().load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/robots/robot_base.py:160: in _post_load
    super()._post_load()
omnigibson/objects/stateful_object.py:145: in _post_load
    super()._post_load()
omnigibson/objects/controllable_object.py:195: in _post_load
    super()._post_load()
omnigibson/objects/object_base.py:161: in _post_load
    super()._post_load()
omnigibson/prims/entity_prim.py:128: in _post_load
    self.update_links()
omnigibson/prims/entity_prim.py:260: in update_links
    self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/rigid_prim.py:92: in _post_load
    self._rigid_prim_view_direct = RigidPrimView(self.prim_path)
/isaac-sim/exts/omni.isaac.core/omni/isaac/core/prims/rigid_prim_view.py:145: in __init__
    XFormPrimView.__init__(
/isaac-sim/exts/omni.isaac.core/omni/isaac/core/prims/xform_prim_view.py:175: in __init__
    self._set_xform_properties()
/isaac-sim/exts/omni.isaac.core/omni/isaac/core/prims/xform_prim_view.py:321: in _set_xform_properties
    self.set_world_poses(positions=current_positions, orientations=current_orientations)
/isaac-sim/exts/omni.isaac.core/omni/isaac/core/prims/rigid_prim_view.py:367: in set_world_poses
    XFormPrimView.set_world_poses(
/isaac-sim/exts/omni.isaac.core/omni/isaac/core/prims/xform_prim_view.py:939: in set_world_poses
    calculated_translations, calculated_orientations = self._backend_utils.get_local_from_world(
/isaac-sim/exts/omni.isaac.core/omni/isaac/core/utils/torch/transformations.py:44: in get_local_from_world
    my_world_transforms = tf_matrices_from_poses(translations=positions, orientations=orientations, device=device)
/isaac-sim/exts/omni.isaac.core/omni/isaac/core/utils/torch/transformations.py:34: in tf_matrices_from_poses
    r = Rotation.from_quat(orientations[:, [1, 2, 3, 0]].detach().cpu().numpy())
_rotation.pyx:637: in scipy.spatial.transform._rotation.Rotation.from_quat
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   ValueError: Found zero norm quaternions in `quat`.

_rotation.pyx:532: ValueError

Check failure on line 0 in 12403305888-tests-test_envs/test_envs.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_envs ► test_dummy_task

Failed test found in:
  12403305888-tests-test_envs/test_envs.xml
Error:
  def test_dummy_task():
Raw output
def test_dummy_task():
>       task_tester("DummyTask")

tests/test_envs.py:50: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_envs.py:39: in task_tester
    env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:449: in load
    new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:364: in _load_scene_prim_with_objects
    self.add_object(obj)
omnigibson/scenes/scene_base.py:631: in add_object
    prim = obj.load(self)
omnigibson/objects/object_base.py:123: in load
    prim = super().load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/objects/dataset_object.py:253: in _post_load
    super()._post_load()
omnigibson/objects/stateful_object.py:145: in _post_load
    super()._post_load()
omnigibson/objects/object_base.py:161: in _post_load
    super()._post_load()
omnigibson/prims/entity_prim.py:128: in _post_load
    self.update_links()
omnigibson/prims/entity_prim.py:260: in update_links
    self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/rigid_prim.py:127: in _post_load
    self.update_meshes()
omnigibson/prims/rigid_prim.py:221: in update_meshes
    self._visual_meshes[mesh_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/geom_prim.py:48: in _post_load
    super()._post_load()
omnigibson/prims/xform_prim.py:79: in _post_load
    material = MaterialPrim.get_material(scene=self.scene, prim_path=material_prim_path, name=material_name)
omnigibson/prims/material_prim.py:58: in get_material
    new_material.load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/material_prim.py:152: in _post_load
    self._shader_node = lazy.usd.mdl.RegistryUtils.GetShaderNodeForPrim(self._shader.GetPrim())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <module 'lazy_usd' from None>, name = 'mdl'

    def __getattr__(self, name: str):
        # First, try the argument as a module name.
        if name not in self._not_module:
            submodule = self._get_module(name)
            if submodule:
                return submodule
            else:
                # Record module not found so that we don't keep looking.
                self._not_module.add(name)
    
        # If it's not a module name, try it as a member of this module.
        try:
            return getattr(self._module, name)
        except:
>           raise AttributeError(f"module {self.__name__} has no attribute {name}") from None
E           AttributeError: module lazy_usd has no attribute mdl

omnigibson/utils/lazy_import_utils.py:29: AttributeError

Check failure on line 0 in 12403305888-tests-test_envs/test_envs.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_envs ► test_point_reaching_task

Failed test found in:
  12403305888-tests-test_envs/test_envs.xml
Error:
  def test_point_reaching_task():
Raw output
def test_point_reaching_task():
>       task_tester("PointReachingTask")

tests/test_envs.py:54: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_envs.py:39: in task_tester
    env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:449: in load
    new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:364: in _load_scene_prim_with_objects
    self.add_object(obj)
omnigibson/scenes/scene_base.py:631: in add_object
    prim = obj.load(self)
omnigibson/objects/object_base.py:123: in load
    prim = super().load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/objects/dataset_object.py:260: in _post_load
    material.shader_update_asset_paths_with_root_path(root_path)
omnigibson/prims/material_prim.py:199: in shader_update_asset_paths_with_root_path
    for inp_name in self.get_shader_input_names_by_type("SdfAssetPath", include_default=True):
omnigibson/prims/material_prim.py:296: in get_shader_input_names_by_type
    for inp_name in self.shader_default_input_names
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <omnigibson.prims.material_prim.MaterialPrim object at 0x7fdb729fef20>

    @property
    def shader_default_input_names(self):
        """
        Returns:
            set: All the shader input names associated with this material that have default values
        """
>       return set(self._shader_node.GetInputNames())
E       AttributeError: 'NoneType' object has no attribute 'GetInputNames'

omnigibson/prims/material_prim.py:278: AttributeError

Check failure on line 0 in 12403305888-tests-test_envs/test_envs.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_envs ► test_point_navigation_task

Failed test found in:
  12403305888-tests-test_envs/test_envs.xml
Error:
  def test_point_navigation_task():
Raw output
def test_point_navigation_task():
>       task_tester("PointNavigationTask")

tests/test_envs.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_envs.py:39: in task_tester
    env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:449: in load
    new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:364: in _load_scene_prim_with_objects
    self.add_object(obj)
omnigibson/scenes/scene_base.py:631: in add_object
    prim = obj.load(self)
omnigibson/objects/object_base.py:123: in load
    prim = super().load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/objects/dataset_object.py:260: in _post_load
    material.shader_update_asset_paths_with_root_path(root_path)
omnigibson/prims/material_prim.py:199: in shader_update_asset_paths_with_root_path
    for inp_name in self.get_shader_input_names_by_type("SdfAssetPath", include_default=True):
omnigibson/prims/material_prim.py:296: in get_shader_input_names_by_type
    for inp_name in self.shader_default_input_names
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <omnigibson.prims.material_prim.MaterialPrim object at 0x7fdb729fef20>

    @property
    def shader_default_input_names(self):
        """
        Returns:
            set: All the shader input names associated with this material that have default values
        """
>       return set(self._shader_node.GetInputNames())
E       AttributeError: 'NoneType' object has no attribute 'GetInputNames'

omnigibson/prims/material_prim.py:278: AttributeError

Check failure on line 0 in 12403305888-tests-test_envs/test_envs.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_envs ► test_behavior_task

Failed test found in:
  12403305888-tests-test_envs/test_envs.xml
Error:
  def test_behavior_task():
Raw output
def test_behavior_task():
>       task_tester("BehaviorTask")

tests/test_envs.py:62: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_envs.py:39: in task_tester
    env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:449: in load
    new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:364: in _load_scene_prim_with_objects
    self.add_object(obj)
omnigibson/scenes/scene_base.py:631: in add_object
    prim = obj.load(self)
omnigibson/objects/object_base.py:123: in load
    prim = super().load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/objects/dataset_object.py:260: in _post_load
    material.shader_update_asset_paths_with_root_path(root_path)
omnigibson/prims/material_prim.py:199: in shader_update_asset_paths_with_root_path
    for inp_name in self.get_shader_input_names_by_type("SdfAssetPath", include_default=True):
omnigibson/prims/material_prim.py:296: in get_shader_input_names_by_type
    for inp_name in self.shader_default_input_names
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <omnigibson.prims.material_prim.MaterialPrim object at 0x7fdb729fef20>

    @property
    def shader_default_input_names(self):
        """
        Returns:
            set: All the shader input names associated with this material that have default values
        """
>       return set(self._shader_node.GetInputNames())
E       AttributeError: 'NoneType' object has no attribute 'GetInputNames'

omnigibson/prims/material_prim.py:278: AttributeError

Check failure on line 0 in 12403305888-tests-test_envs/test_envs.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_envs ► test_rs_int_full_load

Failed test found in:
  12403305888-tests-test_envs/test_envs.xml
Error:
  def test_rs_int_full_load():
Raw output
def test_rs_int_full_load():
        cfg = {
            "scene": {
                "type": "InteractiveTraversableScene",
                "scene_model": "Rs_int",
            },
            "robots": [
                {
                    "type": "Fetch",
                    "obs_modalities": [],
                }
            ],
            # Task kwargs
            "task": {
                "type": "DummyTask",
            },
        }
    
        # Make sure sim is stopped
        if og.sim:
            og.sim.stop()
    
        # Create the environment
>       env = og.Environment(configs=cfg)

tests/test_envs.py:88: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
omnigibson/utils/python_utils.py:93: in wrapper
    func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:128: in __init__
    self.load()
omnigibson/envs/env_base.py:431: in load
    self._load_scene()
omnigibson/envs/env_base.py:257: in _load_scene
    og.sim.import_scene(self._scene)
omnigibson/simulator.py:714: in import_scene
    self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:449: in load
    new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:364: in _load_scene_prim_with_objects
    self.add_object(obj)
omnigibson/scenes/scene_base.py:631: in add_object
    prim = obj.load(self)
omnigibson/objects/object_base.py:123: in load
    prim = super().load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/objects/dataset_object.py:253: in _post_load
    super()._post_load()
omnigibson/objects/stateful_object.py:145: in _post_load
    super()._post_load()
omnigibson/objects/object_base.py:161: in _post_load
    super()._post_load()
omnigibson/prims/entity_prim.py:128: in _post_load
    self.update_links()
omnigibson/prims/entity_prim.py:260: in update_links
    self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/rigid_prim.py:127: in _post_load
    self.update_meshes()
omnigibson/prims/rigid_prim.py:221: in update_meshes
    self._visual_meshes[mesh_name].load(self.scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/geom_prim.py:48: in _post_load
    super()._post_load()
omnigibson/prims/xform_prim.py:79: in _post_load
    material = MaterialPrim.get_material(scene=self.scene, prim_path=material_prim_path, name=material_name)
omnigibson/prims/material_prim.py:58: in get_material
    new_material.load(scene)
omnigibson/prims/prim_base.py:116: in load
    self._post_load()
omnigibson/prims/material_prim.py:152: in _post_load
    self._shader_node = lazy.usd.mdl.RegistryUtils.GetShaderNodeForPrim(self._shader.GetPrim())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <module 'lazy_usd' from None>, name = 'mdl'

    def __getattr__(self, name: str):
        # First, try the argument as a module name.
        if name not in self._not_module:
            submodule = self._get_module(name)
            if submodule:
                return submodule
            else:
                # Record module not found so that we don't keep looking.
                self._not_module.add(name)
    
        # If it's not a module name, try it as a member of this module.
        try:
            return getattr(self._module, name)
        except:
>           raise AttributeError(f"module {self.__name__} has no attribute {name}") from None
E           AttributeError: module lazy_usd has no attribute mdl

omnigibson/utils/lazy_import_utils.py:29: AttributeError