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

Make all rtcwake cmd can select the RTC_DEVICE_FILE from config file (New) #1395

Merged
merged 5 commits into from
Aug 8, 2024

Conversation

seankingyang
Copy link
Contributor

@seankingyang seankingyang commented Aug 7, 2024

Description

WARNING: This modifies com.canonical.certification::sru-server

Modify all jobs will call the rtcwake cmd and didn't support for user to select which rtc device they want to use.
In rtcwake default will use the rtc0, and this change will also make if the RTC_DEVICE_FILE didn't define in config will also use the rtc0.

Resolved issues

Documentation

OEMQA-4726 Modify jobs' command will call the rtcwake can support user to select which RTC devcie

Tests

@seankingyang seankingyang requested review from pieqq, LiaoU3 and stanley31huang and removed request for pieqq and LiaoU3 August 7, 2024 04:03
@seankingyang seankingyang changed the title Make all rtcwake cmd can select the RTC_DEVICE_FILE from confing file Make all rtcwake cmd can select the RTC_DEVICE_FILE from confing file (New) Aug 7, 2024
@seankingyang seankingyang marked this pull request as ready for review August 7, 2024 04:04
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.13%. Comparing base (5eb9f2f) to head (b590502).
Report is 122 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1395      +/-   ##
==========================================
+ Coverage   45.12%   45.13%   +0.01%     
==========================================
  Files         366      366              
  Lines       39058    39063       +5     
  Branches     6607     6608       +1     
==========================================
+ Hits        17626    17633       +7     
+ Misses      20758    20756       -2     
  Partials      674      674              
Flag Coverage Δ
provider-base 18.65% <ø> (+0.03%) ⬆️
provider-genio 96.90% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@seankingyang seankingyang changed the title Make all rtcwake cmd can select the RTC_DEVICE_FILE from confing file (New) Make all rtcwake cmd can select the RTC_DEVICE_FILE from config file (New) Aug 7, 2024
Copy link
Collaborator

@zongminl zongminl left a comment

Choose a reason for hiding this comment

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

I see you made changes to some config_var in checkbox-snap, but why the followings are not changed:

  • common_series_classic
  • series_uc16
  • series_uc18
  • series_uc20
  • series_uc22

Also there's a typo to be fixed, see my inline comment

providers/base/units/stress/boot.pxu Outdated Show resolved Hide resolved
@LiaoU3
Copy link
Contributor

LiaoU3 commented Aug 7, 2024

I am wondering if there are multiple RTC like rtc1, how should we handle it?

Copy link
Collaborator

@zongminl zongminl left a comment

Choose a reason for hiding this comment

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

LGTM

@zongminl zongminl merged commit fd17448 into main Aug 8, 2024
52 of 55 checks passed
@zongminl zongminl deleted the Set_rtc_device_in_rtcwake branch August 8, 2024 07:37
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.

3 participants