Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 17 commits into from
Jan 24, 2025
Merged

Conversation

stanley31huang
Copy link
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
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
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
Collaborator Author

fixed the conflict issues.

Copy link
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
10 checks passed
@stanley31huang stanley31huang deleted the otg_automated branch January 24, 2025 02:13
Copy link

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 1 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.

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