Skip to content

[Bug Report] Unit tests hangs #4255

Closed
Closed

Description

@Rabbit-Hu

Describe the bug

I tried to run unit testing locally according to the docs. However, the program hangs when I try to run a specific unittest.

Steps to reproduce

./isaaclab.sh -p -m pytest source/isaaclab/test/sensors/test_tiled_camera.py::test_normals_only_camera

The error message:

[INFO] Using python from: /home/xiaodi/miniconda3/envs/isaaclab_debug_camera/bin/python                                                                                       
============================================================================= test session starts =============================================================================
platform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0
rootdir: /home/xiaodi/Desktop/Projects/IsaacLab_debug_camera/IsaacLab
configfile: pytest.ini
plugins: ament-lint-0.12.14, launch-testing-ros-0.19.12, ament-copyright-0.12.14, launch-testing-1.0.11, ament-flake8-0.12.14, ament-pep257-0.12.14, ament-xmllint-0.12.14, flaky-3.8.1, hydra-core-1.3.2, anyio-4.12.0, mock-3.15.1
collecting ... [INFO][AppLauncher]: Using device: cuda:0
[INFO][AppLauncher]: Loading experience file: /home/xiaodi/Desktop/Projects/IsaacLab_debug_camera/IsaacLab/apps/isaaclab.python.headless.rendering.kit
Loading user config located at: '/home/xiaodi/miniconda3/envs/isaaclab_debug_camera/lib/python3.11/site-packages/isaacsim/kit/data/Kit/Isaac-Sim/5.1/user.config.json'
[Info] [carb] Logging to file: /home/xiaodi/miniconda3/envs/isaaclab_debug_camera/lib/python3.11/site-packages/isaacsim/kit/logs/Kit/Isaac-Sim/5.1/kit_20251218_164854.log
2025-12-19T00:48:54Z [77ms] [Warning] [carb.windowing-glfw.gamepad] Joystick with unknown remapping detected (will be ignored):  Keychron Keychron K15 Pro System Control [0300000034340000f902000011010000]

|---------------------------------------------------------------------------------------------|
| Driver Version: 560.28.03     | Graphics API: Vulkan
|=============================================================================================|
| GPU | Name                             | Active | LDA | GPU Memory | Vendor-ID | LUID       |
|     |                                  |        |     |            | Device-ID | UUID       |
|     |                                  |        |     |            | Bus-ID    |            |
|---------------------------------------------------------------------------------------------|
| 0   | NVIDIA GeForce RTX 4090          | Yes: 0 |     | 24564   MB | 10de      | 0          |
|     |                                  |        |     |            | 2684      | b7c96b58.. |
|     |                                  |        |     |            | 1         |            |
|=============================================================================================|
| OS: 22.04.5 LTS (Jammy Jellyfish) ubuntu, Version: 22.04.5, Kernel: 6.8.0-87-generic
| XServer Vendor: The X.Org Foundation, XServer Version: 12101004 (1.21.1.4)
| Processor: 13th Gen Intel(R) Core(TM) i9-13900KS
| Bare Metal Cores: 24 | Bare Metal Logical Cores: 48
| Available Cores:  32 
|---------------------------------------------------------------------------------------------|
| Total Memory (MB): 128547 | Free Memory: 90840
| Total Page/Swap (MB): 32767 | Free Page/Swap: 32767
|---------------------------------------------------------------------------------------------|
2025-12-19T00:48:54Z [513ms] [Warning] [gpu.foundation.plugin] CPU performance profile is set to powersave. This profile sets the CPU to the lowest frequency reducing performance.
2025-12-19T00:48:54Z [521ms] [Warning] [gpu.foundation.plugin] IOMMU is enabled.
2025-12-19T00:48:56Z [1,724ms] [Warning] [omni.log] Source: omni.hydra was already registered.
2025-12-19T00:48:56Z [1,922ms] [Warning] [carb] Acquiring non optional plugin interface which is not listed as dependency: [omni::physx::IPhysxBenchmarks v1.0] (plugin: <default plugin>), by client: omni.physics.physx.plugin. Add it to CARB_PLUGIN_IMPL_DEPS() macro of a client.
2025-12-19T00:48:56Z [1,941ms] [Warning] [omni.isaac.dynamic_control] omni.isaac.dynamic_control is deprecated as of Isaac Sim 4.5. No action is needed from end-users.
2025-12-19T00:48:57Z [3,022ms] [Warning] [pxr.Semantics] pxr.Semantics is deprecated - please use Semantics instead
2025-12-19T00:48:57Z [3,253ms] [Warning] [omni.graph.core.plugin] Found duplicate of category 'Replicator' - was 'Annotators', adding 'Fabric Reader'
2025-12-19T00:48:57Z [3,253ms] [Warning] [omni.graph.core.plugin] Category 'Replicator' not accepted on node type 'omni.replicator.core.FabricReader' in extension 'omni.replicator.core'
2025-12-19T00:48:57Z [3,254ms] [Warning] [omni.replicator.core.scripts.extension] No material configuration file, adding configuration to material settings directly.
2025-12-19T00:48:58Z [4,485ms] [Warning] [omni.kvdb.plugin] Disabling key-value database because another kit process is locking it
2025-12-19T00:49:00Z [5,878ms] [Warning] [omni.fabric.plugin] Warning: attribute viewportHandle not found for bucket id 7

[INFO][AppLauncher]: Using device: cuda:0
[INFO][AppLauncher]: Loading experience file: /home/xiaodi/Desktop/Projects/IsaacLab_debug_camera/IsaacLab/apps/isaaclab.python.headless.kit
2025-12-19T00:49:00Z [6,138ms] [Warning] [simulation_app.simulation_app] Modules: ['omni.kit.main_event_loop_wrapper.main_event_loop_wrapper', 'omni.kit.main_event_loop_wrapper', 'omni.kit.async_engine.async_engine', 'omni.kit.async_engine',

... **(Note: more module names omitted)**

'pxr.UsdRi._usdRi', 'pxr.UsdRi', 'pxr.UsdVol._usdVol', 'pxr.UsdVol', 'pxr.SdrGlslfx', 'pxr.UsdShaders'] were loaded before SimulationApp was started and might not be loaded correctly.
2025-12-19T00:49:00Z [6,139ms] [Warning] [simulation_app.simulation_app] Please check to make sure no extra omniverse or pxr modules are imported before the call to SimulationApp(...)
2025-12-19T00:49:01Z [7,199ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,199ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,199ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator' for removal
2025-12-19T00:49:01Z [7,199ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,199ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,199ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,199ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,200ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,200ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,200ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,200ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,200ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,200ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2025-12-19T00:49:01Z [7,200ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Core' for removal
2025-12-19T00:49:01Z [7,349ms] [Warning] [omni.ext._impl._internal] omni.warp-1.8.2 -> <class 'omni.warp._extension.OmniWarpExtension'>: extension object is still alive, something holds a reference on it. References: ["[0]:type: <class 'frame'>, id: 139368866142576"]
2025-12-19T00:49:02Z [7,917ms] [Warning] [omni.ext._impl._internal] omni.kit.window.file_exporter-1.0.33 -> <class 'omni.kit.window.file_exporter.extension.FileExporterExtension'>: extension object is still alive, something holds a reference on it. References: ["[0]:type: <class 'method'>, id: 139380825923200"]

Please find the complete error message here: error_message.txt

System Info

  • Commit: 44b9f1
  • Isaac Sim Version: 5.1.0.0
  • OS: Ubuntu 22.04.5 LTS
  • GPU: NVIDIA GeForce RTX 4090
  • CUDA: 12.6
  • GPU Driver: 560.28.03

Additional context

I was trying to update the unit tests to fix #4239 (PR: #4241), but I failed to run the unit tests even before making modifications.

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.

  • Criteria 1
  • Criteria 2

Activity

  1. RandomOakForest commented on Dec 19, 2025

    @RandomOakForest
    Collaborator

    Thank you for posting this. The team will review it.

  2. added
    bug
    on Dec 19, 2025
  3. zoctipus commented on Dec 20, 2025

    @zoctipus
    Contributor

    I tested in on latest main, it is passing for me. Could you please try if you run isaaclab in docker https://isaac-sim.github.io/IsaacLab/main/source/deployment/run_docker_example.html and see if you hit the same issue?

  4. Rabbit-Hu commented on Dec 21, 2025

    @Rabbit-Hu
    ContributorAuthor

    I tested in on latest main, it is passing for me. Could you please try if you run isaaclab in docker isaac-sim.github.io/IsaacLab/main/source/deployment/run_docker_example.html and see if you hit the same issue?

    Thank you @zoctipus ! Now it works for me. I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions