maliput / maliput_dragway

Simple backend for maliput
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Clang builds are broken #39

Open agalbachicar opened 3 years ago

agalbachicar commented 3 years ago

clang nightly builds fail in when trying to load the dragway plugin.

https://github.com/ToyotaResearchInstitute/dsim-repos-index/runs/2379246711?check_suite_focus=true

We should investigate and solve the error.

scpeters commented 3 years ago

https://github.com/ToyotaResearchInstitute/dsim-repos-index/runs/2379246711?check_suite_focus=true

- road_network_plugin
  <<< failure message
    -- run_test.py: extra environment variables to append:
     - LD_LIBRARY_PATH+=/__w/dsim-repos-index/dsim-repos-index/maliput_ws/install/maliput_dragway/../maliput_malidrive/lib
     - LD_LIBRARY_PATH+=/__w/dsim-repos-index/dsim-repos-index/maliput_ws/install/maliput_dragway/../maliput_multilane/lib
    -- run_test.py: invoking following command in '/__w/dsim-repos-index/dsim-repos-index/maliput_ws/src/maliput_dragway':
     - /__w/dsim-repos-index/dsim-repos-index/maliput_ws/build/maliput_dragway/test/plugin/road_network_plugin --gtest_output=xml:/__w/dsim-repos-index/dsim-repos-index/maliput_ws/build/maliput_dragway/test_results/maliput_dragway/road_network_plugin.gtest.xml
    Running main() from /opt/ros/dashing/src/gtest_vendor/src/gtest_main.cc
    [==========] Running 1 test from 1 test case.
    [----------] Global test environment set-up.
    [----------] 1 test from RoadNetworkLoader
    [ RUN      ] RoadNetworkLoader.VerifyRoadNetworkPlugin
    [INFO] Plugin Id: maliput_dragway was correctly loaded.
    unknown file: Failure
    C++ exception with description "Failure at /__w/dsim-repos-index/dsim-repos-index/maliput_ws/src/maliput/maliput/src/plugin/maliput_plugin.cc:13 in MaliputPlugin(): condition '"Cannot load library: " + std::string(dlerror())' failed." thrown in the test body.
    [  FAILED  ] RoadNetworkLoader.VerifyRoadNetworkPlugin (2 ms)
    [----------] 1 test from RoadNetworkLoader (4 ms total)

    [----------] Global test environment tear-down
    [==========] 1 test from 1 test case ran. (4 ms total)
    [  PASSED  ] 0 tests.
    [  FAILED  ] 1 test, listed below:
    [  FAILED  ] RoadNetworkLoader.VerifyRoadNetworkPlugin

     1 FAILED TEST
    -- run_test.py: return code 1