From aa6e2226525fe9a2c1607f39b0d087d0979ad434 Mon Sep 17 00:00:00 2001 From: Tejaswini-Janjale25 Date: Wed, 22 Jul 2026 11:41:21 +0530 Subject: [PATCH 1/2] Enable core dump extraction for bigdata integration test --- MODULE.bazel | 9 +++++++++ quality/integration_testing/integration_testing.bzl | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index 8748511e7..eef585e0e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -165,6 +165,15 @@ use_repo( ) bazel_dep(name = "score_itf", version = "0.5.0", dev_dependency = True) + +# Use a specific revision of score_itf that contains the core-dump extraction +# feature (--extract-core / --core-output-dir in the docker plugin). +git_override( + module_name = "score_itf", + remote = "https://github.com/Tejaswini-Janjale25/itf.git", + commit = "8d93ecb3f71661b1bcdf4957819df5e4e0f73768", +) + 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/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 ) From d7240da75694de8f7749abbcb1f455c574c87890 Mon Sep 17 00:00:00 2001 From: Tejaswini-Janjale25 Date: Wed, 22 Jul 2026 11:41:21 +0530 Subject: [PATCH 2/2] Enable core dump extraction for bigdata integration test feat(qnx): enable core dump extraction workflow --- MODULE.bazel | 5 ++--- .../environments/qnx8_qemu/init_x86_64.build | 7 +++++++ score/mw/com/test/bigdata/integration_test/test_bigdata.py | 1 - 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index eef585e0e..31859cf06 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -166,12 +166,11 @@ use_repo( bazel_dep(name = "score_itf", version = "0.5.0", dev_dependency = True) -# Use a specific revision of score_itf that contains the core-dump extraction -# feature (--extract-core / --core-output-dir in the docker plugin). +# 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 = "8d93ecb3f71661b1bcdf4957819df5e4e0f73768", + commit = "16a96e2559968d9ac17dfc3e4803efe6ad4963a8", ) bazel_dep(name = "score_rules_imagefs", version = "0.0.3", 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/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: