Skip to content

update SSH testing: improve CI environment compatibility #18

Merged
allnes merged 5 commits into
embedded-dev-research:mainfrom
allnes:an/enable-mac-ssh
Aug 17, 2025
Merged

update SSH testing: improve CI environment compatibility #18
allnes merged 5 commits into
embedded-dev-research:mainfrom
allnes:an/enable-mac-ssh

Conversation

@allnes
Copy link
Copy Markdown
Member

@allnes allnes commented Aug 17, 2025

No description provided.

@allnes allnes merged commit 22232e5 into embedded-dev-research:main Aug 17, 2025
2 checks passed
allnes added a commit to allnes/OVMobileBench that referenced this pull request Aug 17, 2025
…v-research#18)

* update SSH testing: improve CI environment compatibility with mock fallback, enhance macOS SSH configuration, and add robust connection retries

* update tests and workflows: make SSH username dynamic in tests and add concurrency control to GitHub Actions

* update workflows: simplify device serial description in bench workflow inputs

* update README: revise supported platforms table with expanded host-device compatibility details

* update README: revise supported platforms table with expanded host-device compatibility details
allnes added a commit that referenced this pull request Aug 17, 2025
* update SSH testing: improve CI environment compatibility with mock fallback, enhance macOS SSH configuration, and add robust connection retries

* update SSH testing: improve CI environment compatibility  (#18)

* update SSH testing: improve CI environment compatibility with mock fallback, enhance macOS SSH configuration, and add robust connection retries

* update tests and workflows: make SSH username dynamic in tests and add concurrency control to GitHub Actions

* update workflows: simplify device serial description in bench workflow inputs

* update README: revise supported platforms table with expanded host-device compatibility details

* update README: revise supported platforms table with expanded host-device compatibility details

* refactor tests and core utilities: use `datetime.now(timezone.utc)` for consistent timestamping, replace `subprocess.Popen` with `subprocess.run` for simpler command execution, enhance filesystem utility robustness, and improve cross-platform path handling

* refactor tests and core utilities: remove unnecessary whitespace, simplify `Mock` return values in subprocess tests, standardize string quotation style, and update README with additional platform compatibility

* update SSH setup and testing: add Windows support with PowerShell script, refactor setup script generation for platform detection, and improve CI workflow integration

* refactor tests: remove unnecessary whitespace in SSH-related test files for improved readability and standardization

* refactor SSH setup: simplify script for CI environments by removing OpenSSH Server installation and configuration logic, streamline SSH connection testing, and improve logging for compatibility checks

* enhance CLI and CI encoding handling: add UTF-8 defaults for Windows, improve interactive and CI pipeline behavior, and enforce strict error handling in SSH setup and device tests

* remove unnecessary whitespace: clean up extra blank lines and trailing spaces in `cli.py` for improved readability and code style consistency

* handle exceptions explicitly: replace bare `except` with `except Exception` in `cli.py` for clearer and safer error handling

* refactor SSH tests and setup: simplify platform checks, enhance logging for failed SSH connections, streamline macOS SSH daemon startup logic, and add detailed diagnostics for CI environments

* refactor SSH tests and setup: simplify platform checks, enhance logging for failed SSH connections, streamline macOS SSH daemon startup logic, and add detailed diagnostics for CI environments

* remove redundant platform checks: simplify `test_ssh_in_ci` by removing unused platform-specific logic

* update SSH testing: remove unused variables in test scripts for cleanup and better maintainability

* add shell specification for SSH commands in CI workflow for consistency and compatibility

* install and configure OpenSSH Server: enhance CI SSH setup with server installation, configuration updates, improved key handling, and robust connection testing

* clean up `test_ssh_in_ci`: adjust formatting for consistent style and readability

* update SSH configurations and tests: replace `localhost` with `127.0.0.1` for consistency, remove unused experiment files, and enhance `test_ssh_in_ci` with Paramiko test server integration

* validate SSH device config: ensure `host` is specified in device configuration and raise `ConfigError` if missing; minor imports adjustment

* format SSH code and tests: adjust indentation, replace single quotes with double quotes for consistency, and apply minor cleanup for improved readability

* add platform-specific logic to SSH tests: update `test_main_setup` and `test_main_all` to handle Windows and Unix separately, ensuring platform compatibility in script generation

* refactor SSH tests: adjust formatting in `test_generate_ssh_config` for consistent style and readability

* remove SSH localhost experiments and enhance mock mode: delete unused `ssh_localhost_ci.yaml`, refactor SSH device logic with `mock_mode` for dry-runs, and simplify SSH CI testing with Paramiko test server integration

* remove generate_ssh_config.py and associated files: delete unused script, configuration, and test files related to SSH config generation for CI
allnes added a commit to allnes/OVMobileBench that referenced this pull request Aug 17, 2025
* update SSH testing: improve CI environment compatibility with mock fallback, enhance macOS SSH configuration, and add robust connection retries

* update SSH testing: improve CI environment compatibility  (embedded-dev-research#18)

* update SSH testing: improve CI environment compatibility with mock fallback, enhance macOS SSH configuration, and add robust connection retries

* update tests and workflows: make SSH username dynamic in tests and add concurrency control to GitHub Actions

* update workflows: simplify device serial description in bench workflow inputs

* update README: revise supported platforms table with expanded host-device compatibility details

* update README: revise supported platforms table with expanded host-device compatibility details

* refactor tests and core utilities: use `datetime.now(timezone.utc)` for consistent timestamping, replace `subprocess.Popen` with `subprocess.run` for simpler command execution, enhance filesystem utility robustness, and improve cross-platform path handling

* refactor tests and core utilities: remove unnecessary whitespace, simplify `Mock` return values in subprocess tests, standardize string quotation style, and update README with additional platform compatibility

* update SSH setup and testing: add Windows support with PowerShell script, refactor setup script generation for platform detection, and improve CI workflow integration

* refactor tests: remove unnecessary whitespace in SSH-related test files for improved readability and standardization

* refactor SSH setup: simplify script for CI environments by removing OpenSSH Server installation and configuration logic, streamline SSH connection testing, and improve logging for compatibility checks

* enhance CLI and CI encoding handling: add UTF-8 defaults for Windows, improve interactive and CI pipeline behavior, and enforce strict error handling in SSH setup and device tests

* remove unnecessary whitespace: clean up extra blank lines and trailing spaces in `cli.py` for improved readability and code style consistency

* handle exceptions explicitly: replace bare `except` with `except Exception` in `cli.py` for clearer and safer error handling

* refactor SSH tests and setup: simplify platform checks, enhance logging for failed SSH connections, streamline macOS SSH daemon startup logic, and add detailed diagnostics for CI environments

* refactor SSH tests and setup: simplify platform checks, enhance logging for failed SSH connections, streamline macOS SSH daemon startup logic, and add detailed diagnostics for CI environments

* remove redundant platform checks: simplify `test_ssh_in_ci` by removing unused platform-specific logic

* update SSH testing: remove unused variables in test scripts for cleanup and better maintainability

* add shell specification for SSH commands in CI workflow for consistency and compatibility

* install and configure OpenSSH Server: enhance CI SSH setup with server installation, configuration updates, improved key handling, and robust connection testing

* clean up `test_ssh_in_ci`: adjust formatting for consistent style and readability

* update SSH configurations and tests: replace `localhost` with `127.0.0.1` for consistency, remove unused experiment files, and enhance `test_ssh_in_ci` with Paramiko test server integration

* validate SSH device config: ensure `host` is specified in device configuration and raise `ConfigError` if missing; minor imports adjustment

* format SSH code and tests: adjust indentation, replace single quotes with double quotes for consistency, and apply minor cleanup for improved readability

* add platform-specific logic to SSH tests: update `test_main_setup` and `test_main_all` to handle Windows and Unix separately, ensuring platform compatibility in script generation

* refactor SSH tests: adjust formatting in `test_generate_ssh_config` for consistent style and readability

* remove SSH localhost experiments and enhance mock mode: delete unused `ssh_localhost_ci.yaml`, refactor SSH device logic with `mock_mode` for dry-runs, and simplify SSH CI testing with Paramiko test server integration

* remove generate_ssh_config.py and associated files: delete unused script, configuration, and test files related to SSH config generation for CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant