NumPy -> Torch #348
51 passed, 84 failed and 11 skipped
❌ 10376422199-tests-test_dump_load_states/test_dump_load_states.xml
2 tests were completed in 411s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 2❌ | 411s |
❌ pytest
tests.test_dump_load_states
❌ test_dump_load
def wrapper():
❌ test_dump_load_serialized
def wrapper():
❌ 10376422199-tests-test_envs/test_envs.xml
5 tests were completed in 393s with 0 passed, 5 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 5❌ | 393s |
❌ 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():
❌ 10376422199-tests-test_multiple_envs/test_multiple_envs.xml
4 tests were completed in 396s with 0 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 4❌ | 396s |
❌ pytest
tests.test_multiple_envs
❌ test_multi_scene_dump_and_load
def test_multi_scene_dump_and_load():
❌ test_multi_scene_displacement
def test_multi_scene_displacement():
❌ test_multi_scene_scene_prim
def test_multi_scene_scene_prim():
❌ test_multi_scene_particle_source
def test_multi_scene_particle_source():
❌ 10376422199-tests-test_object_removal/test_object_removal.xml
2 tests were completed in 410s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 2❌ | 410s |
❌ pytest
tests.test_object_removal
❌ test_removal_and_readdition
def wrapper():
❌ test_readdition
def wrapper():
❌ 10376422199-tests-test_object_states/test_object_states.xml
32 tests were completed in 727s with 0 passed, 31 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 31❌ | 1⚪ | 727s |
❌ 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_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
❌ 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
def test_clear_sim():
❌ 10376422199-tests-test_primitives/test_primitives.xml
1 tests were completed in 414s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 1❌ | 414s |
❌ pytest
❌ tests.test_primitives
ImportError while importing test module '/_work/default_slurm_8/OmniGibson/OmniGibson/omnigibson-src/tests/test_primitives.py'.
❌ 10376422199-tests-test_robot_states_flatcache/test_robot_states_flatcache.xml
1 tests were completed in 404s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 1❌ | 404s |
❌ pytest
tests.test_robot_states_flatcache
❌ test_camera_pose_flatcache_on
def test_camera_pose_flatcache_on():
❌ 10376422199-tests-test_robot_states_no_flatcache/test_robot_states_no_flatcache.xml
3 tests were completed in 366s with 0 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 3❌ | 366s |
❌ 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():
✅ 10376422199-tests-test_robot_teleoperation/test_robot_teleoperation.xml
1 tests were completed in 24ms with 0 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 1⚪ | 24ms |
✅ pytest
tests.test_robot_teleoperation
⚪ test_teleop
❌ 10376422199-tests-test_scene_graph/test_scene_graph.xml
1 tests were completed in 404s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 1❌ | 404s |
❌ pytest
tests.test_scene_graph
❌ test_scene_graph
def test_scene_graph():
❌ 10376422199-tests-test_sensors/test_sensors.xml
2 tests were completed in 429s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 2❌ | 429s |
❌ pytest
tests.test_sensors
❌ test_segmentation_modalities
def wrapper():
❌ test_bbox_modalities
def wrapper():
❌ 10376422199-tests-test_symbolic_primitives/test_symbolic_primitives.xml
10 tests were completed in 374s with 0 passed, 1 failed and 9 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 1❌ | 9⚪ | 374s |
❌ 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
@pytest.fixture(scope="module")
❌ 10376422199-tests-test_systems/test_systems.xml
1 tests were completed in 371s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 1❌ | 371s |
❌ pytest
tests.test_systems
❌ test_system_clear
def wrapper():
✅ 10376422199-tests-test_transform_utils/test_transform_utils.xml
51 tests were completed in 2s with 51 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 51✅ | 2s |
✅ pytest
tests.test_transform_utils.TestQuaternionOperations
✅ test_quat2mat_special_cases[q0]
✅ test_quat2mat_special_cases[q1]
✅ test_quat2mat_special_cases[q2]
✅ test_quat2mat_special_cases[q3]
✅ test_quat_mul
✅ test_quat_conjugate
✅ test_quat_inverse
tests.test_transform_utils.TestVectorOperations
✅ test_normalize
✅ test_dot_product[-1]
✅ test_dot_product[0]
✅ test_l2_distance
tests.test_transform_utils.TestMatrixOperations
✅ test_rotation_matrix_properties
✅ test_rotation_matrix[0]
✅ test_rotation_matrix[0.7853981633974483]
✅ test_rotation_matrix[1.5707963267948966]
✅ test_rotation_matrix[3.141592653589793]
✅ test_transformation_matrix[0]
✅ test_transformation_matrix[0.7853981633974483]
✅ test_transformation_matrix[1.5707963267948966]
✅ test_transformation_matrix[3.141592653589793]
✅ 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
✅ test_relative_pose_transform
tests.test_transform_utils.TestAxisAngleConversions
✅ test_axisangle2quat_and_quat2axisangle[0.0]
✅ test_axisangle2quat_and_quat2axisangle[0.7853981633974483]
✅ test_axisangle2quat_and_quat2axisangle[1.5707963267948966]
✅ test_axisangle2quat_and_quat2axisangle[3.141592653589793]
✅ test_vecs2axisangle
✅ test_vecs2quat
tests.test_transform_utils.TestEulerAngleConversions
✅ test_euler2quat_and_quat2euler[euler0]
✅ test_euler2quat_and_quat2euler[euler1]
✅ test_euler2mat_and_mat2euler[euler0]
✅ test_euler2mat_and_mat2euler[euler1]
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_z_rotation_from_quat
✅ test_integer_spiral_coordinates
✅ test_calculate_xy_plane_angle
❌ 10376422199-tests-test_transition_rules/test_transition_rules.xml
30 tests were completed in 708s with 0 passed, 30 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 30❌ | 708s |
❌ 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 10376422199-tests-test_dump_load_states/test_dump_load_states.xml
github-actions / Test Results
pytest ► tests.test_dump_load_states ► test_dump_load
Failed test found in:
10376422199-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:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:98: in __init__
og.launch(
omnigibson/simulator.py:1572: in _launch_simulator
Simulator(*args, **kwargs)
omnigibson/simulator.py:378: in __init__
self._set_viewer_camera()
omnigibson/simulator.py:417: in _set_viewer_camera
self._viewer_camera.initialize()
omnigibson/prims/prim_base.py:80: in initialize
self._initialize()
omnigibson/sensors/vision_sensor.py:260: in _initialize
self.initialize_sensors(names=self._modalities)
omnigibson/sensors/vision_sensor.py:273: in initialize_sensors
self._add_modality_to_backend(modality=name)
omnigibson/sensors/vision_sensor.py:514: in _add_modality_to_backend
from omnigibson.utils.deprecated_utils import AnnotatorRegistry
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_dump_load_states/test_dump_load_states.xml
github-actions / Test Results
pytest ► tests.test_dump_load_states ► test_dump_load_serialized
Failed test found in:
10376422199-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:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:380: in load
og.sim.add_skybox()
omnigibson/simulator.py:582: in add_skybox
self._skybox.load(None)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/light_object.py:116: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_envs/test_envs.xml
github-actions / Test Results
pytest ► tests.test_envs ► test_dummy_task
Failed test found in:
10376422199-tests-test_envs/test_envs.xml
Error:
def test_dummy_task():
Raw output
def test_dummy_task():
> task_tester("DummyTask")
tests/test_envs.py:51:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_envs.py:40: in task_tester
env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:98: in __init__
og.launch(
omnigibson/simulator.py:1572: in _launch_simulator
Simulator(*args, **kwargs)
omnigibson/simulator.py:378: in __init__
self._set_viewer_camera()
omnigibson/simulator.py:417: in _set_viewer_camera
self._viewer_camera.initialize()
omnigibson/prims/prim_base.py:80: in initialize
self._initialize()
omnigibson/sensors/vision_sensor.py:260: in _initialize
self.initialize_sensors(names=self._modalities)
omnigibson/sensors/vision_sensor.py:273: in initialize_sensors
self._add_modality_to_backend(modality=name)
omnigibson/sensors/vision_sensor.py:514: in _add_modality_to_backend
from omnigibson.utils.deprecated_utils import AnnotatorRegistry
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_envs/test_envs.xml
github-actions / Test Results
pytest ► tests.test_envs ► test_point_reaching_task
Failed test found in:
10376422199-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:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_envs.py:40: in task_tester
env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:380: in load
og.sim.add_skybox()
omnigibson/simulator.py:582: in add_skybox
self._skybox.load(None)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/light_object.py:116: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_envs/test_envs.xml
github-actions / Test Results
pytest ► tests.test_envs ► test_point_navigation_task
Failed test found in:
10376422199-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:59:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_envs.py:40: in task_tester
env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:390: in load
new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:311: in _load_scene_prim_with_objects
self.add_object(obj)
omnigibson/scenes/scene_base.py:559: in add_object
prim = obj.load(self)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/dataset_object.py:244: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_envs/test_envs.xml
github-actions / Test Results
pytest ► tests.test_envs ► test_behavior_task
Failed test found in:
10376422199-tests-test_envs/test_envs.xml
Error:
def test_behavior_task():
Raw output
def test_behavior_task():
> task_tester("BehaviorTask")
tests/test_envs.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_envs.py:40: in task_tester
env = og.Environment(configs=cfg)
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:390: in load
new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:311: in _load_scene_prim_with_objects
self.add_object(obj)
omnigibson/scenes/scene_base.py:559: in add_object
prim = obj.load(self)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/dataset_object.py:244: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_envs/test_envs.xml
github-actions / Test Results
pytest ► tests.test_envs ► test_rs_int_full_load
Failed test found in:
10376422199-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:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:390: in load
new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:311: in _load_scene_prim_with_objects
self.add_object(obj)
omnigibson/scenes/scene_base.py:559: in add_object
prim = obj.load(self)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/dataset_object.py:244: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_multiple_envs/test_multiple_envs.xml
github-actions / Test Results
pytest ► tests.test_multiple_envs ► test_multi_scene_dump_and_load
Failed test found in:
10376422199-tests-test_multiple_envs/test_multiple_envs.xml
Error:
def test_multi_scene_dump_and_load():
Raw output
def test_multi_scene_dump_and_load():
> vec_env = setup_multi_environment(3)
tests/test_multiple_envs.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_multiple_envs.py:37: in setup_multi_environment
vec_env = og.VectorEnvironment(num_of_envs, cfg)
omnigibson/envs/vec_env_base.py:17: in __init__
self.envs = [
omnigibson/envs/vec_env_base.py:18: in <listcomp>
og.Environment(configs=copy.deepcopy(config), in_vec_env=True)
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:380: in load
og.sim.add_skybox()
omnigibson/simulator.py:582: in add_skybox
self._skybox.load(None)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/light_object.py:116: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_multiple_envs/test_multiple_envs.xml
github-actions / Test Results
pytest ► tests.test_multiple_envs ► test_multi_scene_displacement
Failed test found in:
10376422199-tests-test_multiple_envs/test_multiple_envs.xml
Error:
def test_multi_scene_displacement():
Raw output
def test_multi_scene_displacement():
> vec_env = setup_multi_environment(3)
tests/test_multiple_envs.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_multiple_envs.py:37: in setup_multi_environment
vec_env = og.VectorEnvironment(num_of_envs, cfg)
omnigibson/envs/vec_env_base.py:17: in __init__
self.envs = [
omnigibson/envs/vec_env_base.py:18: in <listcomp>
og.Environment(configs=copy.deepcopy(config), in_vec_env=True)
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:390: in load
new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:311: in _load_scene_prim_with_objects
self.add_object(obj)
omnigibson/scenes/scene_base.py:559: in add_object
prim = obj.load(self)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/dataset_object.py:244: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_multiple_envs/test_multiple_envs.xml
github-actions / Test Results
pytest ► tests.test_multiple_envs ► test_multi_scene_scene_prim
Failed test found in:
10376422199-tests-test_multiple_envs/test_multiple_envs.xml
Error:
def test_multi_scene_scene_prim():
Raw output
def test_multi_scene_scene_prim():
> vec_env = setup_multi_environment(1)
tests/test_multiple_envs.py:72:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_multiple_envs.py:37: in setup_multi_environment
vec_env = og.VectorEnvironment(num_of_envs, cfg)
omnigibson/envs/vec_env_base.py:17: in __init__
self.envs = [
omnigibson/envs/vec_env_base.py:18: in <listcomp>
og.Environment(configs=copy.deepcopy(config), in_vec_env=True)
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:390: in load
new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:311: in _load_scene_prim_with_objects
self.add_object(obj)
omnigibson/scenes/scene_base.py:559: in add_object
prim = obj.load(self)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/dataset_object.py:244: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError
Check failure on line 0 in 10376422199-tests-test_multiple_envs/test_multiple_envs.xml
github-actions / Test Results
pytest ► tests.test_multiple_envs ► test_multi_scene_particle_source
Failed test found in:
10376422199-tests-test_multiple_envs/test_multiple_envs.xml
Error:
def test_multi_scene_particle_source():
Raw output
def test_multi_scene_particle_source():
sink_cfg = dict(
type="DatasetObject",
name="sink",
category="sink",
model="egwapq",
bounding_box=[2.427, 0.625, 1.2],
abilities={
"toggleable": {},
"particleSource": {
"conditions": {
"water": [
(ParticleModifyCondition.TOGGLEDON, True)
], # Must be toggled on for water source to be active
},
"initial_speed": 0.0, # Water merely falls out of the spout
},
"particleSink": {
"conditions": {
"water": [], # No conditions, always sinking nearby particles
},
},
},
position=[0.0, -1.5, 0.42],
)
> vec_env = setup_multi_environment(3, additional_objects_cfg=[sink_cfg])
tests/test_multiple_envs.py:111:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_multiple_envs.py:37: in setup_multi_environment
vec_env = og.VectorEnvironment(num_of_envs, cfg)
omnigibson/envs/vec_env_base.py:17: in __init__
self.envs = [
omnigibson/envs/vec_env_base.py:18: in <listcomp>
og.Environment(configs=copy.deepcopy(config), in_vec_env=True)
omnigibson/utils/python_utils.py:92: in wrapper
func(*values.args, **values.kwargs)
omnigibson/envs/env_base.py:122: in __init__
self.load()
omnigibson/envs/env_base.py:414: in load
self._load_scene()
omnigibson/envs/env_base.py:252: in _load_scene
og.sim.import_scene(self._scene)
omnigibson/simulator.py:618: in import_scene
self._last_scene_edge = scene.load(
omnigibson/scenes/scene_base.py:390: in load
new_scene_edge = self._load_scene_prim_with_objects(**kwargs)
omnigibson/scenes/scene_base.py:311: in _load_scene_prim_with_objects
self.add_object(obj)
omnigibson/scenes/scene_base.py:559: in add_object
prim = obj.load(self)
omnigibson/objects/object_base.py:129: in load
prim = super().load(scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/objects/dataset_object.py:244: in _post_load
super()._post_load()
omnigibson/objects/stateful_object.py:147: in _post_load
super()._post_load()
omnigibson/objects/object_base.py:167: in _post_load
super()._post_load()
omnigibson/prims/entity_prim.py:127: in _post_load
self.update_links()
omnigibson/prims/entity_prim.py:259: in update_links
self._links[link_name].load(self.scene)
omnigibson/prims/prim_base.py:117: in load
self._post_load()
omnigibson/prims/rigid_prim.py:91: in _post_load
from omnigibson.utils.deprecated_utils import RigidPrimView
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
A set of utility functions slated to be deprecated once Omniverse bugs are fixed
"""
import math
from typing import Any, Callable, List, Optional, Tuple, Union
import carb
import numpy as np
import omni
import omni.graph.core as ogc
import omni.timeline
import omni.usd as ou
import torch as th
import warp as wp
from omni.isaac.core.articulations import ArticulationView as _ArticulationView
from omni.isaac.core.prims import RigidPrimView as _RigidPrimView
from omni.isaac.core.utils.prims import get_prim_at_path
from omni.kit.primitive.mesh.command import CreateMeshPrimWithDefaultXformCommand as CMPWDXC
from omni.kit.primitive.mesh.command import _get_all_evaluators
from omni.particle.system.core.scripts.core import Core as OmniCore
from omni.particle.system.core.scripts.utils import Utils as OmniUtils
from omni.replicator.core import random_colours
from omni.replicator.core.scripts.annotators import Annotator as _Annotator
from omni.replicator.core.scripts.annotators import AnnotatorError
from omni.replicator.core.scripts.annotators import AnnotatorRegistry as _AnnotatorRegistry
> from omni.replicator.core.scripts.annotators import (
AnnotatorRegistryError,
_register_fabric_reader_anno,
annotator_utils,
)
E ImportError: cannot import name '_register_fabric_reader_anno' from 'omni.replicator.core.scripts.annotators' (/isaac-sim/extscache/omni.replicator.core-1.10.20+105.1.lx64.r.cp310/omni/replicator/core/scripts/annotators.py)
omnigibson/utils/deprecated_utils.py:27: ImportError