Skip to content

Draft: attempting to add inc_mw_com tests#6

Closed
MarkSchmitt wants to merge 2 commits intomainfrom
test/attempt_to_include_tests
Closed

Draft: attempting to add inc_mw_com tests#6
MarkSchmitt wants to merge 2 commits intomainfrom
test/attempt_to_include_tests

Conversation

@MarkSchmitt
Copy link
Copy Markdown

@MarkSchmitt MarkSchmitt commented May 20, 2025

I wanted to try and include the bigdata test from inc_mw_com .. well, I think I'm missing a lot of dependencies, but still wanted to document the work done.

Maybe we can have someone with proper access to the dependencies try to extract the depenencies necessary and make the bigdata example (and possibly others?) compile and run on Linux? That'd be a huge help to get this rolling!

Please don't actually spend much time on reading the changes .. it's all just renaming, commenting out or plain bad guessing ...!

failing with ...

```
marksc7@guts:~/dev/score/src/communication$ bazel run //score/mw/com/test/bigdata:bigdata --linkopt='-latomic'
Starting local Bazel server and connecting to it...
WARNING: /home/marksc7/.cache/bazel/_bazel_marksc7/6a64e7096c2090a7c8f4bd5b6a1dc7e0/external/score-baselibs~/score/mw/log/detail/file_logging/BUILD:52:11: in cc_library rule @@score-baselibs~//score/mw/log/detail/file_logging:text_recorder: target '@@score-baselibs~//score/mw/log/detail/file_logging:text_recorder' depends on deprecated target '@@score-baselibs~//score/os/utils:high_resolution_steady_clock': Deprecated, please use //platform/aas/mw/time/HighPrecisionLocalSteadyClock instead
INFO: Analyzed target //score/mw/com/test/bigdata:bigdata (191 packages loaded, 9614 targets configured).
ERROR: /home/marksc7/dev/score/src/communication/score/mw/com/test/common_test_resources/BUILD:33:11: Compiling score/mw/com/test/common_test_resources/sample_sender_receiver.cpp failed: (Exit 1): cc_wrapper.sh failed: error executing CppCompile command (from target //score/mw/com/test/common_test_resources:sample_sender_receiver) external/toolchains_llvm~~llvm~llvm_toolchain/bin/cc_wrapper.sh -U_FORTIFY_SOURCE '-march=nehalem' '-ffp-model=strict' -U_FORTIFY_SOURCE -fstack-protector -fno-omit-frame-pointer -fcolor-diagnostics ... (remaining 353 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from score/mw/com/test/common_test_resources/sample_sender_receiver.cpp:14:
./score/mw/com/test/common_test_resources/sample_sender_receiver.h:18:10: fatal error: 'score/os/utils/interprocess/interprocess_notification.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Target //score/mw/com/test/bigdata:bigdata failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 95.991s, Critical Path: 10.68s
INFO: 149 processes: 75 internal, 74 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target
````
@MarkSchmitt
Copy link
Copy Markdown
Author

MarkSchmitt commented May 20, 2025

@darkwisebear as discussed today, I wanted to try attempt and get the big data test / example to compile and run, but there're some things like the amp depencency missing that I can't resolve and some more pressing dependencies like ...

In file included from score/mw/com/test/common_test_resources/sample_sender_receiver.cpp:14:
./score/mw/com/test/common_test_resources/sample_sender_receiver.h:18:10: fatal error: 'score/os/utils/interprocess/interprocess_notification.h' file not found
#include "score/os/utils/interprocess/interprocess_notification.h"

@castler
Copy link
Copy Markdown
Contributor

castler commented May 22, 2025

Hi @MarkSchmitt ,

we still have the BigData test to open source. This depends on an internal framework (SCTF) which we are right now removing dependencies to open source it.

In the meantime, we will try to maybe only open source the big data application - if this is of any help.

@MarkSchmitt
Copy link
Copy Markdown
Author

Hi @MarkSchmitt ,

we still have the BigData test to open source. This depends on an internal framework (SCTF) which we are right now removing dependencies to open source it.

In the meantime, we will try to maybe only open source the big data application - if this is of any help.

that would be very helpful in itself, I didn't plan on using the test framework at this point!

@lak9999
Copy link
Copy Markdown

lak9999 commented Jun 11, 2025

Hi @MarkSchmitt ,
we still have the BigData test to open source. This depends on an internal framework (SCTF) which we are right now removing dependencies to open source it.
In the meantime, we will try to maybe only open source the big data application - if this is of any help.

that would be very helpful in itself, I didn't plan on using the test framework at this point!

We started on this, will be tracked here. #19

@MarkSchmitt
Copy link
Copy Markdown
Author

@LakmalBMW thanks, then let's close this PR

github-merge-queue Bot pushed a commit that referenced this pull request Mar 23, 2026
…_implementation_Feedback_Review

Fix ASan ODR violation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants