Skip to content

logging copybara export CW_09#71

Draft
rmaddikery wants to merge 12 commits intoeclipse-score:mainfrom
rmaddikery:939375636BB317F76C0E3C2496DD61F1_
Draft

logging copybara export CW_09#71
rmaddikery wants to merge 12 commits intoeclipse-score:mainfrom
rmaddikery:939375636BB317F76C0E3C2496DD61F1_

Conversation

@rmaddikery
Copy link
Contributor

Notes for Reviewer

Pre-Review Checklist for the PR Author

  • PR title is short, expressive and meaningful
  • Commits are properly organized
  • Relevant issues are linked in the References section
  • Tests are conducted
  • Unit tests are added

Checklist for the PR Reviewer

  • Commits are properly organized and messages are according to the guideline
  • Unit tests have been written for new behavior
  • Public API is documented
  • PR title describes the changes

Post-review Checklist for the PR Author

  • All open points are addressed and tracked via issues

References

Closes #

Rahul-Sutariya and others added 11 commits March 2, 2026 09:13
GIT_ORIGIN_SPP_REV_ID: dbd744b4b707c9279c12b2717f4e80be456938fc
GIT_ORIGIN_SPP_REV_ID: 6fd59fac1193f07b682bf5dd008ac6e2c9d03203
GIT_ORIGIN_SPP_REV_ID: b04d180da1a9375664c128050fc70943b93aba3e
- platform/aas/mw/log/detail

GIT_ORIGIN_SPP_REV_ID: 9779b2453267c0166c1e92acfaf27bf67f8beca2
If we want to make sure that the rules C++ and Python loaded are the
version we defined and not the one in Bazel, we need to explicitly
add the load statement.
This also becomes mandatory in Bazel 9.

These changes have been done automatically with buildifier fix after
adding native-cc and native-py.

GIT_ORIGIN_SPP_REV_ID: c820f1811d8c6d42332706badb1e1a8a6f9b2dbc
GIT_ORIGIN_SPP_REV_ID: 1b4f6756ba4c1fc71667d7190bec17a68c23383b
The problem is that buildifier put the rule_cc inclusion in beginning
of a file because it assumed that the copyright header is a comment
for the next statement (cc_library, test_suite,...) due to a missing
empty line in-between.

GIT_ORIGIN_SPP_REV_ID: f8420e7798965cd7380b13c2a892378805e6f7b2
GIT_ORIGIN_SPP_REV_ID: b56a619ccccc3fd3fe672d0402be408710c08a1d
- Either the real or mock UdpStreamOutput should be linked
into socketserverUT otherwise this leads to layout mismatch
and heap corruption as seen in InitLogChannels
- Fix clang_tidy_extra_checks for stub code parts

GIT_ORIGIN_SPP_REV_ID: 1a9198cf43559e29c1bfba7af1b22d7132e70d3d
Remove session-based parser/callback tests for SET_LOG_CHANNEL_THRESHOLD, SET_MESSAGING_FILTERING_STATE, and SET_DEFAULT_LOG_LEVEL. Add behavior-focused direct-call tests to verify threshold filtering, filtering toggle behavior, and default log level behavior.

Tested:

bazel test --config=spp_host_gcc //platform/aas/pas/logging/test/ut/ut_logging:dltserverUT
bazel test --config=arm64-qnx-unit-tests //platform/aas/pas/logging/test/ut/ut_logging:dltserverUT_microvm_qnx_5

GIT_ORIGIN_SPP_REV_ID: 657d932afb5b3a78581969bd99d717795cb60877
GIT_ORIGIN_SPP_REV_ID: 6a14ce49ce93029ecf9882f5aaecafe29be846cf
@rmaddikery rmaddikery temporarily deployed to workflow-approval March 2, 2026 09:29 — with GitHub Actions Inactive
@rmaddikery rmaddikery temporarily deployed to workflow-approval March 2, 2026 09:29 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.3.0) and connecting to it...
INFO: Invocation ID: c6d497ef-91a3-4b82-8fdb-32bb10fb82d8
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'rules_python', the root module requires module version rules_python@1.4.1, but got rules_python@1.8.3 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'bazel_skylib', the root module requires module version bazel_skylib@1.7.1, but got bazel_skylib@1.8.2 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_rust', the root module requires module version rules_rust@0.61.0, but got rules_rust@0.67.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.1.1, but got rules_cc@0.2.16 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'aspect_rules_lint', the root module requires module version aspect_rules_lint@1.0.3, but got aspect_rules_lint@2.0.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'buildifier_prebuilt', the root module requires module version buildifier_prebuilt@7.3.1, but got buildifier_prebuilt@8.2.0.2 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'score_rust_policies', the root module requires module version score_rust_policies@0.0.3, but got score_rust_policies@0.0.5 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'googletest', the root module requires module version googletest@1.17.0.bcr.1, but got googletest@1.17.0.bcr.2 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 4 packages loaded
Loading: 4 packages loaded
    currently loading: 
Loading: 4 packages loaded
    currently loading: 
WARNING: Target pattern parsing failed.
ERROR: Skipping '//:license-check': no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/logging/logging/BUILD
ERROR: no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/logging/logging/BUILD
INFO: Elapsed time: 14.556s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

The created documentation from the pull request is available at: docu-html

- Required for migrating changes due to  extra_clang_tidy_fixes
@rmaddikery rmaddikery force-pushed the 939375636BB317F76C0E3C2496DD61F1_ branch from e8ee867 to 3baf953 Compare March 2, 2026 10:22
@rmaddikery rmaddikery deployed to workflow-approval March 2, 2026 10:22 — with GitHub Actions Active
@rmaddikery rmaddikery temporarily deployed to workflow-approval March 2, 2026 10:22 — with GitHub Actions Inactive
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.

5 participants