apigear-io / template-cpp14

C++14 technology template
https://apigear.io/template-cpp14/docs/intro
MIT License
0 stars 2 forks source link

[BUG]: OLink network tests always fails on Mac #142

Open w4bremer opened 3 months ago

w4bremer commented 3 months ago

Description of the bug

-------------------------------------------------------------------------------
OLinkHost tests
  Source removal doesn't affect setup. It should inform somehow clients that
  service is not available.
-------------------------------------------------------------------------------
/Users/runner/work/template-cpp14/template-cpp14/goldenmaster/apigear/olink/tests/olinkhost.test.cpp:172
...............................................................................

/Users/runner/work/template-cpp14/template-cpp14/goldenmaster/apigear/olink/tests/olinkhost.test.cpp:188: FAILED:
  REQUIRE( nodes.size() == 1 )
with expansion:
  0 == 1

/Users/runner/work/template-cpp14/template-cpp14/goldenmaster/build/_deps/trompeloeil-src/include/catch2/trompeloeil.hpp:54: FAILED:
  CHECK( failure.empty() )
with expansion:
  false
with message:
  failure := "/Users/runner/work/template-cpp14/template-cpp14/goldenmaster/
  apigear/olink/tests/olinkhost.test.cpp:182
  Unfulfilled expectation:
  Expected *source1.olinkCollectProperties() to be called once, actually never
  called
  "

/Users/runner/work/template-cpp14/template-cpp14/goldenmaster/build/_deps/trompeloeil-src/include/catch2/trompeloeil.hpp:54: FAILED:
  CHECK( failure.empty() )
with expansion:
  false
with messages:
  failure := "/Users/runner/work/template-cpp14/template-cpp14/goldenmaster/
  apigear/olink/tests/olinkhost.test.cpp:182
  Unfulfilled expectation:
  Expected *source1.olinkCollectProperties() to be called once, actually never
  called
  "
  failure := "/Users/runner/work/template-cpp14/template-cpp14/goldenmaster/
  apigear/olink/tests/olinkhost.test.cpp:180
  Unfulfilled expectation:
  Expected *source1.olinkLinked(objectId, ANY(ApiGear::ObjectLink::IRemoteNode*
  )) to be called once, actually never called
    param  _1 == tests.sink1
    param  _2 matching ANY(ApiGear::ObjectLink::IRemoteNode*)
  "

===============================================================================
test cases:   3 |   2 passed | 1 failed

Steps To Reproduce

  1. Run olink tests manually or CI
  2. See https://github.com/apigear-io/template-cpp14/actions/runs/10008342102/job/27670364638?pr=138#step:18:531

Additional Information

No response

dorotaphanSiili commented 1 month ago

more logs here: https://github.com/apigear-io/template-cpp14/actions/runs/11011505318/job/30575737481?pr=150 still olink host tests are failing