diff --git a/bazel_common/score_modules_target_sw.MODULE.bazel b/bazel_common/score_modules_target_sw.MODULE.bazel index 8573ec6b38f..70634a40c99 100644 --- a/bazel_common/score_modules_target_sw.MODULE.bazel +++ b/bazel_common/score_modules_target_sw.MODULE.bazel @@ -11,7 +11,7 @@ # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* -# Generated from known_good.json at 2026-07-31T00:00:00+00:00Z +# Generated from known_good.json at 2026-08-21T00:00:00+00:00Z # Do not edit manually - use scripts/known_good/update_module_from_known_good.py bazel_dep(name = "score_baselibs") diff --git a/bazel_common/score_modules_tooling.MODULE.bazel b/bazel_common/score_modules_tooling.MODULE.bazel index 5a3141ef8c5..643c3a62376 100644 --- a/bazel_common/score_modules_tooling.MODULE.bazel +++ b/bazel_common/score_modules_tooling.MODULE.bazel @@ -11,7 +11,7 @@ # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* -# Generated from known_good.json at 2026-07-31T00:00:00+00:00Z +# Generated from known_good.json at 2026-08-21T00:00:00+00:00Z # Do not edit manually - use scripts/known_good/update_module_from_known_good.py bazel_dep(name = "score_crates") @@ -24,7 +24,7 @@ git_override( bazel_dep(name = "score_itf") git_override( module_name = "score_itf", - commit = "bf5294d7618e361c224edbd754060cee810285eb", + commit = "802e0186d373e0d9d67c1c9ccb1ea08952c7ad06", remote = "https://github.com/eclipse-score/itf.git", ) diff --git a/feature_integration_tests/itf/BUILD b/feature_integration_tests/itf/BUILD index c1834ddc4b9..35dc1d33e6c 100644 --- a/feature_integration_tests/itf/BUILD +++ b/feature_integration_tests/itf/BUILD @@ -69,7 +69,7 @@ py_itf_test( "//feature_integration_tests/configs:qemu_bridge_config.json", "//images/qnx_x86_64:image", ], - }), + }) + ["conftest.py"], plugins = select( { ":config_linux_x86_64": [ diff --git a/feature_integration_tests/itf/conftest.py b/feature_integration_tests/itf/conftest.py new file mode 100644 index 00000000000..9c60f9b0617 --- /dev/null +++ b/feature_integration_tests/itf/conftest.py @@ -0,0 +1,42 @@ +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + +import copy + +import pytest + + +@pytest.fixture +def dlt_config(dlt_config, target): + """Override the session-scoped dlt_config so host_ip/target_ip track the + Docker target's actual per-container bridge. + + Since score_itf 0.5.0 (commit bb3a788, "docker: Create per-container bridge + network") the Docker plugin no longer places the container on the default + ``bridge`` network. It creates a dedicated ``score_itf_`` bridge with + its own subnet, so the ``172.17.0.1`` value hardcoded in + ``configs/dlt_config_x86_64.json`` no longer matches the container's real + gateway and DLT UDP multicast never reaches the host-side ``dlt-receive``. + + On QEMU targets (QNX) ``get_gateway`` is not available; the static IPs from + the JSON config are still correct there and we return the session-scoped + value unchanged. + """ + if not hasattr(target, "get_gateway"): + return dlt_config + + gateway = target.get_gateway() + cfg = copy.copy(dlt_config) + cfg.host_ip = gateway + cfg.target_ip = gateway + return cfg diff --git a/known_good.json b/known_good.json index bfc14d87ec4..9389a21a057 100644 --- a/known_good.json +++ b/known_good.json @@ -169,7 +169,7 @@ }, "score_itf": { "repo": "https://github.com/eclipse-score/itf.git", - "hash": "bf5294d7618e361c224edbd754060cee810285eb" + "hash": "802e0186d373e0d9d67c1c9ccb1ea08952c7ad06" }, "score_tooling": { "repo": "https://github.com/eclipse-score/tooling.git", @@ -197,5 +197,5 @@ } } }, - "timestamp": "2026-07-31T00:00:00+00:00Z" + "timestamp": "2026-08-21T00:00:00+00:00Z" } diff --git a/rust_coverage/BUILD b/rust_coverage/BUILD index 74e3d374600..3cdb06861b8 100644 --- a/rust_coverage/BUILD +++ b/rust_coverage/BUILD @@ -11,7 +11,7 @@ # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* -# Generated from known_good.json at 2026-07-31T00:00:00+00:00Z +# Generated from known_good.json at 2026-08-21T00:00:00+00:00Z # Do not edit manually - use scripts/known_good/update_module_from_known_good.py load("@score_tooling//:defs.bzl", "rust_coverage_report")