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
8 changes: 8 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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+)
Expand Down
5 changes: 4 additions & 1 deletion quality/integration_testing/integration_testing.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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)",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use some better name for this env var?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable is already present at docker plugin, I am just reusing it

},
**kwargs
)
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down