Skip to content
Open
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
5 changes: 4 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,12 @@ use_repo(
)

bazel_dep(name = "score_itf", version = "0.5.0", dev_dependency = True)

# Use pinned score_itf fork commit for integration testing changes.
# Fork adds core dump extraction from Docker container (commits 749e01e, fc6416b).
git_override(
module_name = "score_itf",
commit = "54cab4f6ebc1fb40d0b93a8c1a451a03bda77b6a",
commit = "1ce9b563e4a6f6b648ca313967fb2beb10f00317",
remote = "https://github.com/eclipse-score/itf.git",
)

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
6 changes: 5 additions & 1 deletion quality/integration_testing/integration_testing.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,16 @@ def integration_test(name, srcs, filesystem, **kwargs):
plugins = select({
"//conditions:default": [
"@score_itf//score/itf/plugins:docker_plugin",
"@score_itf//score/itf/plugins:core_dump_plugin",
],
"@platforms//os:qnx": [
"@score_itf//score/itf/plugins:qemu_plugin",
"@score_itf//score/itf/plugins:core_dump_plugin",
],
}),
env = {"DOCKER_HOST": ""},
env = {
"DOCKER_HOST": "",
},
**kwargs
)

Expand Down
Loading