Skip to content

πŸ§‘β€πŸŒΎ INTEGRATION_examples_build.test_ran in Homebrew main, 9 and 8Β #2901

@Crola1702

Description

@Crola1702

Environment

  • OS Version: MacOS
  • Source gz-sim main, 9 and 8

Description

Steps to reproduce

  1. Run a build in gz-sim main, 9 or 8
  2. See test regression

Output

Reference builds:

When running Plugins/ExamplesBuild.Build/standalone_gtest_setup test there is a failure due to a Symbol not found:

135: [ 50%] Linking CXX executable command_TEST
135: dyld[81824]: Symbol not found: __ZN2gz3sim3v1010components7Factory8InstanceEv
135:   Referenced from: <23B72339-FAA6-398D-89B7-E023CFA124CE> /private/var/folders/ng/v8gtqrqs1sj3dzz5pvh558mh0000gp/T/gz/temp_dirQtkZxE/command_TEST
135:   Expected in:     <no uuid> unknown
135: CMake Error at /usr/local/share/cmake/Modules/GoogleTestAddTests.cmake:132 (message):
135:   Error running test executable.
135: 
135:     Path: '/private/var/folders/ng/v8gtqrqs1sj3dzz5pvh558mh0000gp/T/gz/temp_dirQtkZxE/command_TEST'
135:     Working directory: '/private/var/folders/ng/v8gtqrqs1sj3dzz5pvh558mh0000gp/T/gz/temp_dirQtkZxE'
135:     Result: Subprocess aborted
135:     Output:
135:       
135: 
135: Call Stack (most recent call first):
135:   /usr/local/share/cmake/Modules/GoogleTestAddTests.cmake:275 (gtest_discover_tests_impl)
135: 
135: 
135: make[3]: *** [command_TEST] Error 1
135: make[3]: *** Deleting file `command_TEST'
135: make[2]: *** [CMakeFiles/command_TEST.dir/all] Error 2
135: make[1]: *** [all] Error 2
135: /Users/jenkins/jenkins-agent/workspace/gz_sim-ci-main-homebrew-amd64/gz-sim/test/integration/examples_build.cc:114: Failure
135: Expected equality of these values:
135:   system("make")
135:     Which is: 512
135:   0
135: [  FAILED  ] Plugins/ExamplesBuild.Build/standalone_gtest_setup, where GetParam() = [standalone, gtest_setup] (22140 ms)

In gz-sim8 the error is Library not loaded: @rpath/libgz-sim8.8.dylib instead.

In gz-sim-main the test times out some times and fails the rest of the times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmacOSmacOS support

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions