Skip to content

SingletonTest.Uniqueness SEGFAULT with cmake build on macos-latest #3315

@dbarker

Description

@dbarker

Describe your environment
main at b4328c0

all dependencies installed with brew using this action config:

  macos_latest_cmake_install_test:
    name: MacOS latest brew packages 
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v4
      with:
        submodules: 'recursive'
    - name: Setup CI Environment (with brew)
      run: |
        brew update
        brew install cmake
        brew install coreutils
        brew install wget
        brew install googletest
        brew install google-benchmark
        brew install curl
        brew install zlib
        brew install abseil
        brew install protobuf
        brew install grpc 
        brew install nlohmann-json
        brew install prometheus-cpp
        
    - name: Run Tests
      run: ./ci/do_ci.sh cmake.test

Steps to reproduce

  1. ./ci/do_ci.sh cmake.test

What is the expected behavior?
Build and test succeeds
What is the actual behavior?
The singleton test fails

The following tests FAILED:
	195 - singleton.SingletonTest.Uniqueness (SEGFAULT)
Errors while running CTest

Additional context
The singleton test is not handling loading shared libraries properly on MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions