Migrate QNX/IFS toolchains bazel_cpp_toolchains#96
Closed
Conversation
b0bced3 to
2c83de9
Compare
…s and rules_imagefs Replace monolithic score_toolchains_qnx with score_bazel_cpp_toolchains (QCC cross-compiler) and score_rules_imagefs (IFS image building), matching the pattern used in eclipse-score/qnx_unit_tests. Bump score_bazel_platforms from 0.0.3 to 0.1.2 for updated platform definitions. Split init.build into boot section and tools.build, and add sshd-session binary required by SDP 8.0.3.
2c83de9 to
288bd80
Compare
SDP 8.0.3 ships OpenSSH 9.9 which delegates sessions to sshd-session, making each connection slower under QEMU emulation. Raise MaxStartups from 10 to 50 to prevent connection drops during bursts on CI runners.
OpenSSH 9.9 (SDP 8.0.3) uses sshd-session per connection. Sending SIGKILL to remote processes under QEMU emulation can leave sshd-session in a broken state, causing all subsequent SSH connections to fail with "Error reading SSH protocol banner". Close the channel gracefully instead, letting sshd-session clean up on its own.
Revert channel-close approach and restore SIGKILL, but add a 1-second delay after the kill to give sshd-session time to clean up the terminated session before new SSH connections are attempted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace monolithic score_toolchains_qnx with score_bazel_cpp_toolchains (QCC cross-compiler) and score_rules_imagefs (IFS image building), matching the pattern used in eclipse-score/qnx_unit_tests. Bump score_bazel_platforms from 0.0.3 to 0.1.2 for updated platform definitions. Split init.build into boot section and tools.build, and add sshd-session binary required by SDP 8.0.3.