Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build --tool_java_runtime_version=remotejdk_17

build:_common --@score_baselibs//score/json:base_library=nlohmann
build:_common --@score_baselibs//score/memory/shared/flags:use_typedshmd=False
build:_common --@score_communication//score/mw/com/flags:tracing_library=stub
build:_common --@score_communication//score/mw/com/flags:tracing_library=@score_baselibs//score/analysis/tracing/generic_trace_library/stub_implementation
build:_common --cxxopt=-Wno-error=mismatched-new-delete
build:_common --host_platform=@score_bazel_platforms//:x86_64-linux-gcc_12.2.0-posix
build:_common --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_x86_64_unknown_linux_gnu
Expand Down
21 changes: 17 additions & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# *******************************************************************************
module(
name = "score_ref_int",
version = "0.6.0",
version = "0.7.0",
compatibility_level = 0,
)

Expand Down Expand Up @@ -47,10 +47,23 @@ archive_override(
urls = ["https://github.com/nelhage/rules_boost/archive/refs/heads/master.tar.gz"],
)

# Implicit dependencies for score_communication
bazel_dep(name = "download_utils", version = "1.2.2")

download_archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")

download_archive(
name = "json_schema_validator",
build = "//third_party/json_schema_validator:json_schema_validator.BUILD",
dev_dependency = True,
strip_prefix = "json-schema-validator-2.1.0",
urls = ["https://github.com/pboettch/json-schema-validator/archive/refs/tags/2.1.0.tar.gz"],
)

# Implicit dependencies for score_tooling
bazel_dep(name = "aspect_rules_lint", version = "2.0.0")
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")
bazel_dep(name = "score_rust_policies", version = "0.0.3")
bazel_dep(name = "aspect_rules_lint", version = "2.3.0")
bazel_dep(name = "buildifier_prebuilt", version = "8.5.1")
bazel_dep(name = "score_rust_policies", version = "0.0.5")

# TRLC dependency for requirements traceability
bazel_dep(name = "trlc")
Expand Down
1,112 changes: 384 additions & 728 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions bazel_common/score_gcc_toolchains.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

bazel_dep(name = "score_bazel_cpp_toolchains", version = "0.5.0")
git_override(
module_name = "score_bazel_cpp_toolchains",
commit = "eba6b8c4b2d1d410a7f0cf8aae8b7938320bf6c8",
remote = "https://github.com/eclipse-score/bazel_cpp_toolchains.git",
)
bazel_dep(name = "score_bazel_cpp_toolchains", version = "0.5.1")

gcc = use_extension("@score_bazel_cpp_toolchains//extensions:gcc.bzl", "gcc", dev_dependency = True)
gcc.toolchain(
Expand Down
2 changes: 1 addition & 1 deletion bazel_common/score_images.MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bazel_dep(name = "rules_oci", version = "2.2.7")
bazel_dep(name = "rules_oci", version = "2.3.0")

oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
oci.pull(
Expand Down
27 changes: 12 additions & 15 deletions bazel_common/score_modules_target_sw.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,29 @@
# Do not edit manually - use scripts/known_good/update_module_from_known_good.py

bazel_dep(name = "score_baselibs")
git_override(
single_version_override(
module_name = "score_baselibs",
commit = "158fe6a7b791c58f6eac5f7e4662b8db0cf9ac6e",
patch_strip = 1,
patches = [
"//patches/baselibs:003-acl-fixes-for-aarch64.patch",
],
remote = "https://github.com/eclipse-score/baselibs.git",
version = "0.2.6",
)

bazel_dep(name = "score_baselibs_rust")
git_override(
module_name = "score_baselibs_rust",
commit = "0eba2934fa8b0e1a343ec6bf6f7ff00cec27d81c",
commit = "ae2a7a3a91f7cf02bd04a8e42d9dc745bfd59b17",
remote = "https://github.com/eclipse-score/baselibs_rust.git",
)

bazel_dep(name = "score_communication")
git_override(
single_version_override(
module_name = "score_communication",
commit = "56448a5589a5f7d3921b873e8127b824a8c1ca95",
patch_strip = 1,
patches = [
"//patches/communication:001-expose-comm-examples.patch",
"//patches/communication:002-tests-visibility.patch",
"//patches/communication:003-module-deps-visibility.patch",
"//patches/communication:004-download-utils-non-dev.patch",
],
remote = "https://github.com/eclipse-score/communication.git",
version = "0.2.0",
)

bazel_dep(name = "score_persistency")
Expand All @@ -53,27 +50,27 @@ git_override(
bazel_dep(name = "score_orchestrator")
git_override(
module_name = "score_orchestrator",
commit = "600fdd8186305ffbf495e4fc788195c077de79ac",
commit = "a09d4c75646511f4cd5b17e5f6af86057cb8785c",
remote = "https://github.com/eclipse-score/orchestrator.git",
)

bazel_dep(name = "score_kyron")
git_override(
module_name = "score_kyron",
commit = "5acfb1a593ec65cf4f64424f581c6ddd04813ee7",
commit = "8e6103e97b6b455ad9e117e706cfe7cbce248d17",
remote = "https://github.com/eclipse-score/kyron.git",
)

bazel_dep(name = "score_lifecycle_health")
git_override(
module_name = "score_lifecycle_health",
commit = "757d17d4968ae3aebf6cd6981f8aeb875653a592",
commit = "2f2e9c4c3e6c6b38abd0b72f78c8ffb96dc7f9e8",
remote = "https://github.com/eclipse-score/lifecycle.git",
)

bazel_dep(name = "score_logging")
git_override(
module_name = "score_logging",
commit = "80feaae8ffaa2448c3872011b724e1668ad2930e",
commit = "5d4fbebd958908ef7223f535a9b98ac966a08145",
remote = "https://github.com/eclipse-score/logging.git",
)
30 changes: 12 additions & 18 deletions bazel_common/score_modules_tooling.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
# Do not edit manually - use scripts/known_good/update_module_from_known_good.py

bazel_dep(name = "score_crates")
git_override(
single_version_override(
module_name = "score_crates",
commit = "90539da0fd3e7e23e01f2b4de1679f7dfadd3b6b",
remote = "https://github.com/eclipse-score/score-crates.git",
version = "0.0.9",
)

bazel_dep(name = "score_itf")
Expand All @@ -29,24 +28,21 @@ git_override(
)

bazel_dep(name = "score_tooling")
git_override(
single_version_override(
module_name = "score_tooling",
commit = "1159dcf9d35981ac4877265eff7a1e7a24452161",
remote = "https://github.com/eclipse-score/tooling.git",
version = "1.1.2",
)

bazel_dep(name = "score_platform")
git_override(
single_version_override(
module_name = "score_platform",
commit = "bf8502071d750cb70d88f1cb5cfbf5e5e7407f27",
remote = "https://github.com/eclipse-score/score.git",
version = "0.5.5",
)

bazel_dep(name = "score_bazel_platforms")
git_override(
single_version_override(
module_name = "score_bazel_platforms",
commit = "b72a5c3510ca423efc71fef9a93d82f974b089a4",
remote = "https://github.com/eclipse-score/bazel_platforms.git",
version = "0.1.2",
)

bazel_dep(name = "score_test_scenarios")
Expand All @@ -57,15 +53,13 @@ git_override(
)

bazel_dep(name = "score_docs_as_code")
git_override(
single_version_override(
module_name = "score_docs_as_code",
commit = "c1207676afe6cafd25c35d420e73279a799515d8",
remote = "https://github.com/eclipse-score/docs-as-code.git",
version = "4.0.3",
)

bazel_dep(name = "score_process")
git_override(
single_version_override(
module_name = "score_process",
commit = "fbe68f10041eb34fb791f08e31006afce8c9564a",
remote = "https://github.com/eclipse-score/process_description.git",
version = "1.5.4",
)
10 changes: 2 additions & 8 deletions bazel_common/score_rust_toolchains.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
bazel_dep(name = "rules_rust", version = "0.61.0")
bazel_dep(name = "rules_rust", version = "0.68.1-score")

bazel_dep(name = "score_toolchains_rust", version = "0.4.0", dev_dependency = True)

git_override(
module_name = "rules_rust",
commit = "293337fd6402ec3dfbeb8f2d589f38ad9124dadd",
remote = "https://github.com/pawelrutkaq/rules_rust.git", # To be fixed once rule_rust is in score bazel registry
)
bazel_dep(name = "score_toolchains_rust", version = "0.8.0", dev_dependency = True)

ferrocene = use_extension(
"@score_toolchains_rust//extensions:ferrocene_toolchain_ext.bzl",
Expand Down
4 changes: 3 additions & 1 deletion docs/verification/coverage_summary.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Coverage Analysis Summary

## Template for a table with Coverage execution summary
| module | lines | functions | branches |
| --- | --- | --- | --- |
| score_communication_cpp | | | |
4 changes: 3 additions & 1 deletion docs/verification/unit_test_summary.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Unit Test Execution Summary

## Template for a table with Unit Test execution summary
| module | passed | failed | skipped | total |
| --- | --- | --- | --- | --- |
| score_communication | 3161 | 0 | 0 | 3161 |
3 changes: 0 additions & 3 deletions feature_integration_tests/test_cases/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ score_py_pytest(
"test_properties.py",
"//feature_integration_tests/test_scenarios/cpp:cpp_test_scenarios",
],
env = {
"RUST_BACKTRACE": "1",
},
pytest_config = "//:pyproject.toml",
deps = all_requirements,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
test_type="requirements-based",
derivation_technique="requirements-analysis",
)
@pytest.mark.rust
class TestOrchWithPersistency(FitScenario):
"""
Tests orchestration with persistency scenario.
Expand Down
34 changes: 17 additions & 17 deletions known_good.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"target_sw": {
"score_baselibs": {
"repo": "https://github.com/eclipse-score/baselibs.git",
"hash": "158fe6a7b791c58f6eac5f7e4662b8db0cf9ac6e",
"bazel_patches": [
"//patches/baselibs:003-acl-fixes-for-aarch64.patch"
],
"version": "0.2.6",
"metadata": {
"extra_test_config": [
"//score/json:base_library=nlohmann",
Expand All @@ -25,7 +22,7 @@
},
"score_baselibs_rust": {
"repo": "https://github.com/eclipse-score/baselibs_rust.git",
"hash": "0eba2934fa8b0e1a343ec6bf6f7ff00cec27d81c",
"hash": "ae2a7a3a91f7cf02bd04a8e42d9dc745bfd59b17",
"metadata": {
"code_root_path": "//src/...",
"exclude_test_targets": [
Expand All @@ -38,9 +35,12 @@
},
"score_communication": {
"repo": "https://github.com/eclipse-score/communication.git",
"hash": "56448a5589a5f7d3921b873e8127b824a8c1ca95",
"version": "0.2.0",
"bazel_patches": [
"//patches/communication:001-expose-comm-examples.patch"
"//patches/communication:001-expose-comm-examples.patch",
"//patches/communication:002-tests-visibility.patch",
"//patches/communication:003-module-deps-visibility.patch",
"//patches/communication:004-download-utils-non-dev.patch"
],
"metadata": {
"code_root_path": "//score/mw/com/impl/...",
Expand All @@ -64,7 +64,7 @@
},
"score_orchestrator": {
"repo": "https://github.com/eclipse-score/orchestrator.git",
"hash": "600fdd8186305ffbf495e4fc788195c077de79ac",
"hash": "a09d4c75646511f4cd5b17e5f6af86057cb8785c",
"metadata": {
"code_root_path": "//src/...",
"langs": [
Expand All @@ -74,7 +74,7 @@
},
"score_kyron": {
"repo": "https://github.com/eclipse-score/kyron.git",
"hash": "5acfb1a593ec65cf4f64424f581c6ddd04813ee7",
"hash": "8e6103e97b6b455ad9e117e706cfe7cbce248d17",
"metadata": {
"code_root_path": "//src/...",
"langs": [
Expand All @@ -84,14 +84,14 @@
},
"score_lifecycle_health": {
"repo": "https://github.com/eclipse-score/lifecycle.git",
"hash": "757d17d4968ae3aebf6cd6981f8aeb875653a592",
"hash": "2f2e9c4c3e6c6b38abd0b72f78c8ffb96dc7f9e8",
"metadata": {
"code_root_path": "//src/..."
}
},
"score_logging": {
"repo": "https://github.com/eclipse-score/logging.git",
"hash": "80feaae8ffaa2448c3872011b724e1668ad2930e",
"hash": "5d4fbebd958908ef7223f535a9b98ac966a08145",
"metadata": {
"extra_test_config": [
"//score/datarouter/build_configuration_flags:persistent_logging=False",
Expand All @@ -114,35 +114,35 @@
"tooling": {
"score_crates": {
"repo": "https://github.com/eclipse-score/score-crates.git",
"hash": "90539da0fd3e7e23e01f2b4de1679f7dfadd3b6b"
"version": "0.0.9"
},
"score_itf": {
"repo": "https://github.com/eclipse-score/itf.git",
"hash": "1276f1818f926e2eb9cf234b61ff51d0c1da1e30"
},
"score_tooling": {
"repo": "https://github.com/eclipse-score/tooling.git",
"hash": "1159dcf9d35981ac4877265eff7a1e7a24452161"
"version": "1.1.2"
},
"score_platform": {
"repo": "https://github.com/eclipse-score/score.git",
"hash": "bf8502071d750cb70d88f1cb5cfbf5e5e7407f27"
"version": "0.5.5"
},
"score_bazel_platforms": {
"repo": "https://github.com/eclipse-score/bazel_platforms.git",
"hash": "b72a5c3510ca423efc71fef9a93d82f974b089a4"
"version": "0.1.2"
},
"score_test_scenarios": {
"repo": "https://github.com/eclipse-score/testing_tools.git",
"hash": "c3d385c8e5562b594a409e92a8f493207b53b49d"
},
"score_docs_as_code": {
"repo": "https://github.com/eclipse-score/docs-as-code.git",
"hash": "c1207676afe6cafd25c35d420e73279a799515d8"
"version": "4.0.3"
},
"score_process": {
"repo": "https://github.com/eclipse-score/process_description.git",
"hash": "fbe68f10041eb34fb791f08e31006afce8c9564a"
"version": "1.5.4"
}
}
},
Expand Down
Loading
Loading