Skip to content
Merged
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 bazel_common/score_modules_target_sw.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions bazel_common/score_modules_tooling.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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",
)

Expand Down
2 changes: 1 addition & 1 deletion feature_integration_tests/itf/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
42 changes: 42 additions & 0 deletions feature_integration_tests/itf/conftest.py
Original file line number Diff line number Diff line change
@@ -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_<rand>`` 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
4 changes: 2 additions & 2 deletions known_good.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -197,5 +197,5 @@
}
}
},
"timestamp": "2026-07-31T00:00:00+00:00Z"
"timestamp": "2026-08-21T00:00:00+00:00Z"
}
2 changes: 1 addition & 1 deletion rust_coverage/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Loading