feat(sampling-c3): Add active contact pre-processing #402
Cirrus CI / build_jammy
failed
Feb 23, 2026 in 6m 5s
Task Summary
Instruction test failed in 05:37
Details
✅ 00:26 clone
❌ 05:37 test
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_io.h:182:28: required from 'Serializable drake::yaml::LoadYamlFile(const string&, const std::optional<std::__cxx11::basic_string<char> >&, const std::optional<_Tp>&, const std::optional<drake::yaml::LoadYamlOptions>&) [with Serializable = SamplingC3Options; std::string = std::__cxx11::basic_string<char>]'
./examples/sampling_c3/parameter_headers/sampling_c3_controller_params.h:73:71: required from 'void SamplingC3ControllerParams::Serialize(Archive*) [with Archive = drake::yaml::internal::YamlReadArchive]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_read_archive.h:127:28: required from 'decltype (serializable->Serialize(((drake::yaml::internal::YamlReadArchive*)this))) drake::yaml::internal::YamlReadArchive::DoAccept(Serializable*, int32_t) [with Serializable = SamplingC3ControllerParams; decltype (serializable->Serialize(((drake::yaml::internal::YamlReadArchive*)this))) = void; int32_t = int]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_read_archive.h:54:19: required from 'void drake::yaml::internal::YamlReadArchive::Accept(Serializable*) [with Serializable = SamplingC3ControllerParams]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_io.h:167:65: required from 'Serializable drake::yaml::internal::LoadNode(drake::yaml::internal::Node, const std::optional<_Tp>&, const std::optional<drake::yaml::LoadYamlOptions>&) [with Serializable = SamplingC3ControllerParams]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_io.h:182:28: required from 'Serializable drake::yaml::LoadYamlFile(const string&, const std::optional<std::__cxx11::basic_string<char> >&, const std::optional<_Tp>&, const std::optional<drake::yaml::LoadYamlOptions>&) [with Serializable = SamplingC3ControllerParams; std::string = std::__cxx11::basic_string<char>]'
examples/sampling_c3/franka_joint_osc_controller.cc:70:60: required from here
./examples/sampling_c3/parameter_headers/sampling_c3_options.h:268:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
268 | for (size_t i = 0; i < num_contacts; ++i) {
| ~~^~~~~~~~~~~~~~
./examples/sampling_c3/parameter_headers/sampling_c3_options.h:274:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
274 | for (size_t i = 0; i < num_contacts_for_cost; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
[11,484 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 27s remote-cache, processwrapper-sandbox ... (8 actions, 3 running)
[11,498 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 28s remote-cache, processwrapper-sandbox ... (7 actions, 3 running)
[11,514 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 29s remote-cache, processwrapper-sandbox ... (8 actions, 3 running)
[11,530 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 30s remote-cache, processwrapper-sandbox ... (8 actions, 3 running)
[11,546 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 31s remote-cache, processwrapper-sandbox ... (8 actions, 3 running)
INFO: From Compiling examples/sampling_c3/franka_osc_controller.cc:
In file included from ./examples/sampling_c3/sampling_c3_utils.h:5,
from examples/sampling_c3/franka_osc_controller.cc:7:
./examples/sampling_c3/parameter_headers/sampling_c3_options.h: In member function 'std::pair<int, std::vector<int> > SamplingC3Options::ProcessPlanarContactInformation(const std::vector<int>&, const std::vector<int>&, int)':
./examples/sampling_c3/parameter_headers/sampling_c3_options.h:571:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
571 | for (int i = 0; i < resolve_contacts_to_list.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./examples/sampling_c3/parameter_headers/sampling_c3_options.h: In instantiation of 'void SamplingC3Options::Serialize(Archive*) [with Archive = drake::yaml::internal::YamlReadArchive]':
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_read_archive.h:127:28: required from 'decltype (serializable->Serialize(((drake::yaml::internal::YamlReadArchive*)this))) drake::yaml::internal::YamlReadArchive::DoAccept(Serializable*, int32_t) [with Serializable = SamplingC3Options; decltype (serializable->Serialize(((drake::yaml::internal::YamlReadArchive*)this))) = void; int32_t = int]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_read_archive.h:54:19: required from 'void drake::yaml::internal::YamlReadArchive::Accept(Serializable*) [with Serializable = SamplingC3Options]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_io.h:167:65: required from 'Serializable drake::yaml::internal::LoadNode(drake::yaml::internal::Node, const std::optional<_Tp>&, const std::optional<drake::yaml::LoadYamlOptions>&) [with Serializable = SamplingC3Options]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_io.h:182:28: required from 'Serializable drake::yaml::LoadYamlFile(const string&, const std::optional<std::__cxx11::basic_string<char> >&, const std::optional<_Tp>&, const std::optional<drake::yaml::LoadYamlOptions>&) [with Serializable = SamplingC3Options; std::string = std::__cxx11::basic_string<char>]'
./examples/sampling_c3/parameter_headers/sampling_c3_controller_params.h:73:71: required from 'void SamplingC3ControllerParams::Serialize(Archive*) [with Archive = drake::yaml::internal::YamlReadArchive]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_read_archive.h:127:28: required from 'decltype (serializable->Serialize(((drake::yaml::internal::YamlReadArchive*)this))) drake::yaml::internal::YamlReadArchive::DoAccept(Serializable*, int32_t) [with Serializable = SamplingC3ControllerParams; decltype (serializable->Serialize(((drake::yaml::internal::YamlReadArchive*)this))) = void; int32_t = int]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_read_archive.h:54:19: required from 'void drake::yaml::internal::YamlReadArchive::Accept(Serializable*) [with Serializable = SamplingC3ControllerParams]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_io.h:167:65: required from 'Serializable drake::yaml::internal::LoadNode(drake::yaml::internal::Node, const std::optional<_Tp>&, const std::optional<drake::yaml::LoadYamlOptions>&) [with Serializable = SamplingC3ControllerParams]'
bazel-out/k8-opt/bin/external/drake+/tools/install/libdrake/_virtual_includes/drake_shared_library/drake/common/yaml/yaml_io.h:182:28: required from 'Serializable drake::yaml::LoadYamlFile(const string&, const std::optional<std::__cxx11::basic_string<char> >&, const std::optional<_Tp>&, const std::optional<drake::yaml::LoadYamlOptions>&) [with Serializable = SamplingC3ControllerParams; std::string = std::__cxx11::basic_string<char>]'
examples/sampling_c3/franka_osc_controller.cc:73:60: required from here
./examples/sampling_c3/parameter_headers/sampling_c3_options.h:268:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
268 | for (size_t i = 0; i < num_contacts; ++i) {
| ~~^~~~~~~~~~~~~~
./examples/sampling_c3/parameter_headers/sampling_c3_options.h:274:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
274 | for (size_t i = 0; i < num_contacts_for_cost; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
[11,564 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 32s remote-cache, processwrapper-sandbox ... (8 actions, 2 running)
[11,580 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 33s remote-cache, processwrapper-sandbox ... (8 actions, 2 running)
[11,606 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 34s remote-cache, processwrapper-sandbox ... (8 actions, 2 running)
[11,629 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 35s remote-cache, processwrapper-sandbox ... (8 actions, 2 running)
[11,642 / 11,753] Compiling systems/controllers/sampling_based_c3_controller.cc; 36s remote-cache, processwrapper-sandbox ... (3 actions, 2 running)
ERROR: /tmp/cirrus-ci-build/examples/sampling_c3/BUILD.bazel:22:10: Linking examples/sampling_c3/franka_sim failed: (Exit 1): gcc failed: error executing CppLink command (from target //examples/sampling_c3:franka_sim) /usr/bin/gcc @bazel-out/k8-opt/bin/examples/sampling_c3/franka_sim-0.params
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
/usr/bin/ld.gold: error: cannot find -lopenblas
collect2: error: ld returned 1 exit status
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 336.971s, Critical Path: 43.77s
INFO: 11660 processes: 5982 remote cache hit, 5658 internal, 20 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
Loading