Skip to content

Extend the wwan connection tests to support multiple cycle connection tests (New)#1534

Merged
pieqq merged 2 commits intomainfrom
wwan-multiple-test2
Jul 28, 2025
Merged

Extend the wwan connection tests to support multiple cycle connection tests (New)#1534
pieqq merged 2 commits intomainfrom
wwan-multiple-test2

Conversation

@stanley31huang
Copy link
Copy Markdown
Collaborator

@stanley31huang stanley31huang commented Oct 8, 2024

Description

Extend the wwan connection tests to support multiple cycle connection tests, we found an issue that the LTE connection could not be established at second round.

As discussed internally with the QA team, we have all agreed that the default number of test runs for WWAN connections tests is 2.

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

Resolved issues

Here is the support ticket: 00379830.

Our SWE has identified this issue is related to the modem firmware and modem-manager snap, and they are trying to add a patch to modem-manager snap as a workaround.

Documentation

N/A

Tests

sideload test results:
https://certification.canonical.com/hardware/202501-36167/submission/435331/

list bootstrapped results:

ubuntu@ubuntu:/var/tmp/checkbox-providers$ sudo checkbox-ce-oem.checkbox-cli list-bootstrapped com.canonical.certification::wwan-automated
$PROVIDERPATH is defined, so following provider sources are ignored ['/snap/checkbox-ce-oem/844/providers/checkbox-provider-ce-oem', '/root/.local/share/plainbox-providers-1', '/var/tmp/checkbox-providers-develop'] 
Using sideloaded provider: checkbox-provider-base, version 4.3.0.dev71 from /var/tmp/checkbox-providers/base
com.canonical.certification::snap
com.canonical.certification::package
com.canonical.plainbox::manifest
com.canonical.certification::wwan/detect
com.canonical.certification::wwan/check-sim-present-Quectel-RM520N-GL-868371053819781-auto
com.canonical.certification::wwan/3gpp-scan-Quectel-RM520N-GL-868371053819781-auto
com.canonical.certification::rtc
com.canonical.certification::sleep
com.canonical.certification::wwan/gsm-connection-Quectel-RM520N-GL-868371053819781-auto
com.canonical.certification::wwan/gsm-reconnection-Quectel-RM520N-GL-868371053819781-auto
com.canonical.certification::suspend/suspend_advanced_auto
com.canonical.certification::after-suspend-wwan/3gpp-scan-Quectel-RM520N-GL-868371053819781-auto

test submission: https://certification.canonical.com/hardware/202502-36310/submission/413123/

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 8, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.04%. Comparing base (47b58dd) to head (d37a72f).
⚠️ Report is 241 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1534      +/-   ##
==========================================
+ Coverage   50.00%   50.04%   +0.04%     
==========================================
  Files         378      378              
  Lines       40772    40771       -1     
  Branches     6846     6847       +1     
==========================================
+ Hits        20387    20404      +17     
+ Misses      19658    19640      -18     
  Partials      727      727              
Flag Coverage Δ
provider-base 26.45% <100.00%> (+0.10%) ⬆️

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.

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

@stanley31huang stanley31huang force-pushed the wwan-multiple-test2 branch 2 times, most recently from a969ec2 to ab12ee7 Compare October 8, 2024 08:13
@stanley31huang stanley31huang changed the title add wwan reconnection test Extend the wwan connection tests to support multiple cycle connection tests (New) Oct 8, 2024
@stanley31huang stanley31huang changed the title Extend the wwan connection tests to support multiple cycle connection tests (New) Extend the wwan connection tests to support multiple cycle connection tests (new) Oct 8, 2024
@stanley31huang stanley31huang changed the title Extend the wwan connection tests to support multiple cycle connection tests (new) Extend the wwan connection tests to support multiple cycle connection tests (new) Oct 8, 2024
@stanley31huang stanley31huang requested a review from pieqq October 8, 2024 08:34
@stanley31huang
Copy link
Copy Markdown
Collaborator Author

The PR is ready, but I did not test it on real machine.

@stanley31huang stanley31huang marked this pull request as ready for review February 21, 2025 06:54
@stanley31huang stanley31huang requested review from a team as code owners March 28, 2025 05:17
add wwan reconnection test
fix pep8 check error
@pieqq pieqq removed the request for review from a team March 28, 2025 08:19
@pieqq pieqq self-assigned this Mar 28, 2025
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

@rickwu666666
Copy link
Copy Markdown
Contributor

I've also tried with one of my machine which is x86 and uc24. And everything works expected.
https://certification.canonical.com/hardware/202502-36310/submission/438456/test-results/

@fernando79513
Copy link
Copy Markdown
Collaborator

Is this one ready to be merged?
@pieqq, do you want to give it a second review or is the approval from rick enough?

Copy link
Copy Markdown
Collaborator

@pieqq pieqq left a comment

Choose a reason for hiding this comment

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

I'm sorry it took so long to review. It looks OK, and thanks @rickwu666666 for testing this on real hardware with a SIM card.

@pieqq pieqq changed the title Extend the wwan connection tests to support multiple cycle connection tests (new) Extend the wwan connection tests to support multiple cycle connection tests (New) Jul 28, 2025
@pieqq pieqq merged commit b6bb493 into main Jul 28, 2025
35 of 36 checks passed
@pieqq pieqq deleted the wwan-multiple-test2 branch July 28, 2025 07:25
stanley31huang added a commit that referenced this pull request Aug 14, 2025
… tests (New) (#1534)

WWAN tests can now be executed twice. This update is developed following the discovery of a failure during enablement where the WWAN modem would only work once after a fresh boot.
bladernr pushed a commit that referenced this pull request Aug 28, 2025
… tests (New) (#1534)

WWAN tests can now be executed twice. This update is developed following the discovery of a failure during enablement where the WWAN modem would only work once after a fresh boot.
stanley31huang added a commit that referenced this pull request Oct 3, 2025
… tests (New) (#1534)

WWAN tests can now be executed twice. This update is developed following the discovery of a failure during enablement where the WWAN modem would only work once after a fresh boot.
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.

4 participants