CI creates two machines for RemoteOperations tests#77
Open
dmitry-lipetsk wants to merge 42 commits into
Open
Conversation
- RUN_CFG__REMOTE2_NAME - RUN_CFG__SSH_KEY_NAME
It may fix a problem on AltLinux:
FAILED tests/test_os_ops_common.py::TestOsOpsCommon::test_kill__unk_pid[remote_ops-signal: 15] - assert 'ssh: Load key "/home/test/.ssh/id_ed25519": Permission denied\nb\n' == 'b\n'
+ ssh: Load key "/home/test/.ssh/id_ed25519": Permission denied
b
Author: Mark G. (mark@google.com).
CI assign 22 to it.
"remote2" was old and not good idea.
- it uses _to_int_or_none
- it os.getenv('TEST_CFG__REMOTE_HOST', '127.0.0.1')
We have to transfter TEST_CFG__ parameters to "su - test -c ..." command explicitly.
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.
This patch begins using two machines to test
RemoteOperationsfunctional.Test system supports the following environment variables to configure:
Co-authored-by: Mark G. mark@google.com