diff --git a/MODULE.bazel b/MODULE.bazel index 8748511e7..31859cf06 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -165,6 +165,14 @@ use_repo( ) bazel_dep(name = "score_itf", version = "0.5.0", dev_dependency = True) + +# Pin score_itf to fork commit with QEMU core extraction support. +git_override( + module_name = "score_itf", + remote = "https://github.com/Tejaswini-Janjale25/itf.git", + commit = "16a96e2559968d9ac17dfc3e4803efe6ad4963a8", +) + bazel_dep(name = "score_rules_imagefs", version = "0.0.3", dev_dependency = True) imagefs = use_extension("@score_rules_imagefs//extensions:imagefs.bzl", "imagefs", dev_dependency = True) diff --git a/quality/integration_testing/environments/qnx8_qemu/init_x86_64.build b/quality/integration_testing/environments/qnx8_qemu/init_x86_64.build index 654478460..85aa7af54 100644 --- a/quality/integration_testing/environments/qnx8_qemu/init_x86_64.build +++ b/quality/integration_testing/environments/qnx8_qemu/init_x86_64.build @@ -99,6 +99,12 @@ echo "---> Setting hostname" hostname qnx-score + # Enable core dumps via the QNX dumper service. Dumps are written to /tmp for ITF retrieval. + echo "---> Enabling core dumps" + dumper -d /tmp -I + waitfor /proc/dumper + ulimit -c unlimited + # SSH daemon - ITF test harness communicates via SSH echo "---> Starting SSH daemon" /proc/boot/sshd -f /var/ssh/sshd_config @@ -283,6 +289,7 @@ slog2info # System log viewer - displays logged m slogger2 # System logging daemon - collects and manages log messages sshd # SSH daemon (ITF test harness communicates via SSH) sysctl # View/modify kernel parameters +dumper # Core dump daemon configuration and crash dump collection /usr/lib/ssh/sftp-server=${QNX_TARGET}/${PROCESSOR}/usr/libexec/sftp-server # SFTP server (file transfer for ITF) /usr/libexec/sshd-session=${QNX_TARGET}/${PROCESSOR}/usr/libexec/sshd-session # SSH session handler (required by OpenSSH 9.8+) diff --git a/quality/integration_testing/integration_testing.bzl b/quality/integration_testing/integration_testing.bzl index 26c2f7ad4..51c1f320d 100644 --- a/quality/integration_testing/integration_testing.bzl +++ b/quality/integration_testing/integration_testing.bzl @@ -139,6 +139,9 @@ def integration_test(name, srcs, filesystem, **kwargs): "@score_itf//score/itf/plugins:qemu_plugin", ], }), - env = {"DOCKER_HOST": ""}, + env = { + "DOCKER_HOST": "", + "TEST_UNDECLARED_OUTPUTS_DIR": "$(TEST_UNDECLARED_OUTPUTS_DIR)", + }, **kwargs ) diff --git a/score/mw/com/test/bigdata/integration_test/test_bigdata.py b/score/mw/com/test/bigdata/integration_test/test_bigdata.py index 8f90a76b5..c68a20420 100644 --- a/score/mw/com/test/bigdata/integration_test/test_bigdata.py +++ b/score/mw/com/test/bigdata/integration_test/test_bigdata.py @@ -11,7 +11,6 @@ # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* - def bigdata(target, mode, cycle_time=None, num_cycles=None, **kwargs): args = ["--mode", mode] if num_cycles is not None: