Skip to content

CI tests for noble failing with drake DeprecationWarning #553

@bernhardpg

Description

@bernhardpg

Noble tests are currently failing due to a DeprectationWarning from Drake:

//book/pick:pick... ❌ FAILED

--- FAILED TEST OUTPUT: //book/pick:pick ---
STDOUT:
Sanity check: The entire maneuver will take 30.900220749318255 seconds to execute.

STDERR:
INFO:drake:Meshcat listening for connections at http://localhost:7000
Traceback (most recent call last):
  File "/tmp/tmpq5xv50vz/tmpktwqyjqi.py", line 731, in <module>
    plant.SetDefaultFreeBodyPose(plant.GetBodyByName("base_link"), X_O["initial"])
  File "/usr/local/lib/python3.12/dist-packages/pydrake/common/deprecation.py", line 150, in _warn_deprecated
    warnings.warn(
pydrake.common.deprecation.DrakeDeprecationWarning: (Deprecated.)

Deprecated:
    Use SetDefaultFloatingBaseBodyPose() instead. This will be removed
    from Drake on or after 2026-01-01.

--- END FAILED TEST OUTPUT ---

See e.g. this failed CI run

The failing test is an example notebook (pick.ipynb) that hasn't been changed since last year.

SetDefaultFreeBodyPose is listed as newly deprecated in release notes for Drake v1.46.

The pip extra on noble test is installing Drake v1.46, see this line.

I don't know why a DeprecationWarning is causing the test to fail though, I would've expected a warning to go through? @RussTedrake

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions