Skip to content

Add OTG automated tests with RPYC server (New)#1678

Merged
stanley31huang merged 17 commits intomainfrom
otg_automated
Jan 24, 2025
Merged

Add OTG automated tests with RPYC server (New)#1678
stanley31huang merged 17 commits intomainfrom
otg_automated

Conversation

@stanley31huang
Copy link
Copy Markdown
Collaborator

Description

Add OTG automated tests with RPYC server (New)
there are following changes made in this PR

  • modified serial_test.py to fit to the otg testing
  • rpyc_server.py
  • rpyc_client.py
  • rpyc_test_methods.py
  • multiple_otg.py

Documentation

N/A

Tests

I have build a test snap locally and tested it on an IoT device
Noted: the OTG feature seems not working on this device in post-suspend stage.
https://certification.canonical.com/hardware/202312-33702/submission/407861/

@stanley31huang stanley31huang added the ce-oem The PR only contains to the ce-oem provider under the contrib area label Jan 9, 2025
Copy link
Copy Markdown
Contributor

@baconYao baconYao left a comment

Choose a reason for hiding this comment

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

Please see my comments

baconYao
baconYao previously approved these changes Jan 22, 2025
Copy link
Copy Markdown
Contributor

@baconYao baconYao left a comment

Choose a reason for hiding this comment

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

LGTM

stanley31huang and others added 17 commits January 24, 2025 09:56
add rpyc client
add otg test python script
update main function
update test method
update arguments
update arguments
refactor the OTG testing script
add serial testing
update OTG automated test scripts
refactor rpyc server
fix rpyc server
add otg test plan and fixed issues
fixed job and scripts issue
fix black8 issue
fix black8 issue
fix flake8 issue
@stanley31huang
Copy link
Copy Markdown
Collaborator Author

fixed the conflict issues.

Copy link
Copy Markdown
Contributor

@rickwu666666 rickwu666666 left a comment

Choose a reason for hiding this comment

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

LGTM

@stanley31huang stanley31huang merged commit 3cb37a8 into main Jan 24, 2025
@stanley31huang stanley31huang deleted the otg_automated branch January 24, 2025 02:13
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.01%. Comparing base (e5b7c6f) to head (798ed13).
Report is 125 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1678   +/-   ##
=======================================
  Coverage   49.01%   49.01%           
=======================================
  Files         372      372           
  Lines       40348    40348           
  Branches     6817     6817           
=======================================
  Hits        19777    19777           
  Misses      19849    19849           
  Partials      722      722           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ce-oem The PR only contains to the ce-oem provider under the contrib area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants