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

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

Closed
wants to merge 32 commits into from

Commits on Sep 27, 2024

  1. allow the wwan connection test to multiple cycles

    allow the current wwan connection test to support multiple cycle
    connection tests
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    e8bbfd3 View commit details
    Browse the repository at this point in the history
  2. Add unit test and modified resource scripts

    Modified the resource scripts and add unit tests
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    67dc162 View commit details
    Browse the repository at this point in the history
  3. Update test job

    update test job
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b8b1193 View commit details
    Browse the repository at this point in the history
  4. update the test case and scripts

    update the test case and scripts
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    d36b9b5 View commit details
    Browse the repository at this point in the history
  5. add setup and teardown for 3g connection test

    apply context manager as setup and teardown functions during 3g
    connection test
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    eefda52 View commit details
    Browse the repository at this point in the history
  6. allow the wwan connection test to multiple cycles

    allow the current wwan connection test to support multiple cycle
    connection tests
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    6a2c444 View commit details
    Browse the repository at this point in the history
  7. Add unit test and modified resource scripts

    Modified the resource scripts and add unit tests
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a3f64eb View commit details
    Browse the repository at this point in the history
  8. Update providers/base/units/wwan/resource.pxu

    Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
    stanley31huang and pieqq committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    dd9e5a5 View commit details
    Browse the repository at this point in the history
  9. Update providers/base/units/wwan/jobs.pxu

    Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
    stanley31huang and pieqq committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    9029975 View commit details
    Browse the repository at this point in the history
  10. Update providers/base/units/wwan/jobs.pxu

    Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
    stanley31huang and pieqq committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b075c5d View commit details
    Browse the repository at this point in the history
  11. remove unnecessary files

    remove unnecessary files
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    e564a37 View commit details
    Browse the repository at this point in the history
  12. Revert "remove unnecessary files"

    This reverts commit 2146236.
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    feaf673 View commit details
    Browse the repository at this point in the history
  13. update wwan_resource jobs

    update wwan_resource jobs
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    268f515 View commit details
    Browse the repository at this point in the history
  14. fix unittest

    fix unittest
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    5b92d2d View commit details
    Browse the repository at this point in the history
  15. fix conflict in wwan test plan

    fix conflict in wwan test plan
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    8d8dae8 View commit details
    Browse the repository at this point in the history
  16. fix bug

    fix bug
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    2228db0 View commit details
    Browse the repository at this point in the history
  17. fix conflict

    fix conflict
    stanley31huang committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    8ec106c View commit details
    Browse the repository at this point in the history
  18. Add manifest units to expand output (New) (#1489)

    * Also print manifest to expand
    
    * Document and partially de-functionalize code
    
    * Add tests for the new export units
    
    * Also test text exporter for manifest exporting
    
    * Check null tempalte-id
    Hook25 authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    0463efb View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Correct the camera job cmd with right camera tests (Bugfix) (#1515)

    Correct the camera job cmd with correct camera tests
    seankingyang authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    2605982 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Fix snap refresh verification job dependency (bugfix) (#1519)

    Fix snap refresh verification job dependency
    
    When implementing changes for the gadget/snapd/kernel snap refresh[1],
    one of the job dependencies was not updated properly.
    
    The `snapd/reboot-after-snap-refresh-{type}-{name}-to-stable-rev` job
    does not exist anymore, so the
    `snapd/snap-verify-after-refresh-{type}-{name}-to-stable-rev` should
    depend on the refresh job itself (which was modified in the
    aforementioned PR to do the reboot itself)
    
    [1]: #1124
    pieqq authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6a3e3c1 View commit details
    Browse the repository at this point in the history
  2. Add a manifest entry to check if a SIM card is inserted (New) (#1500)

    * Add SIM card manifest entry
    
    * Add SIM card requirement on WWAN jobs needing it
    
    * Align `requires` and `depends` fields in WWAN jobs
    
    Use 2 spaces instead of 4 to match the rest of the file.
    pieqq authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    ba4bbb7 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Includes libasound2-dev as a Dependency in Build Instructions (Infra) (

    …#1507)
    
    Includes libasound2-dev as a Dependency in Build Instructions - Issue#1506
    mauriciocoder authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    85ee304 View commit details
    Browse the repository at this point in the history
  2. Make workflow dispatch checkbox from source into action (infra) (#1517)

    * Refactor workflow into action
    
    * Fix typo and set working directory
    
    * Provide secrets via additioanl launcher
    
    * Use launcher from the correct location
    
    * Print override to screen
    
    * Propagate the checkbox_revision from the action input
    
    * Partially support noprovision
    
    * Allow degraded wait_for_ssh
    
    * Call the clean_machine script in the workflow
    
    * Also set and refresh zapper snap
    
    * Documented new parameter and reset default value
    
    * Disable failfast
    
    * Shallow fetch the Checkbox repo
    
    * Try to change the path in an action aware way
    
    * Fix typo
    
    Co-authored-by: Paolo Gentili <paolo.gentili@canonical.com>
    
    * Document parameters
    
    * Use the new git_get scriplet
    
    * Check the copy path before copying
    
    * Try to move the scriplet to /bin
    
    * Use the new name of the script
    
    * Now git_get_shallow is in main
    
    * Change the action target branch to the dispatch action
    
    ---------
    
    Co-authored-by: Paolo Gentili <paolo.gentili@canonical.com>
    Hook25 and p-gentili authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    92a28be View commit details
    Browse the repository at this point in the history
  3. Use wwan-automated nested part in SRU test plan (bugfix) (#1499)

    Use wwan-automated nested part in SRU test plan
    
    Replace mobilebroadband-cert-automated with wwan-automated nested part,
    as the wwan-automated test plan includes better coverage for
    WWAN-related tests.
    
    Add after-suspend-wwan-automated counterpart to make sure there are no
    issues with WWAN after resuming from suspend.
    
    This is a follow-up to work done by QA in the certification-client
    desktop test plans (see #821)
    
    Fix CER-2738
    pieqq authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    17ceef1 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Update workflow validation action to the latest version (infra) (#1526)

    Update action to the latest version
    Hook25 authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    597b01f View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Reboot check test python version (New) (#1338)

    * feat: initial migration
    
    * feat: created a wrapper for subprocess.run()
    
    * fix: incorrect main function logic
    
    * style: add more error messages
    
    * fix: no display connectio n-> skipped
    
    * refactor: move device comparison tests to a class
    
    * test: unit tests for reboot_check_test
    
    * fix: remove any direct calls to subprocess.run
    
    * test: add a test for the all-flags-enabled case
    
    * style: reorganize declarations
    
    * fix: missing .value when using enums
    
    * refactor: separate tests into more classes
    
    * refactor: add clenup methods
    
    * refactor: group tests into classes
    
    * fix: update tests to reflect changes in reboot_check_test
    
    * style: formatting, comments
    
    * fix: extra -g flag, add comments
    
    * fix: remove get_display_id due to too many edge cases
    
    * fix: extra wrapper for non-existent commands
    
    * style: fit everything within 80 char limit
    
    * test: update unit tests to reflect new method names
    
    * fix: assume display variable
    
    * test: update tests to reflect removal of get_display_id
    
    * fix: missing conditionals on certain logs
    
    * fix: let unity support infer environment variable
    
    * refactor: revert changes in boot.pxu to put in a separate PR
    
    * fix: flake8 linter errors
    
    * fix: increase test coverage
    
    * fix: combine dpkg check conditions
    
    * update: use the new desktop env detector
    
    * test: increase coverage
    
    * style: formatting
    
    * fix: remove subprocess.run wrapper
    
    * fix: use class attributes instead of enum to avoid writing .value
    
    * fix: reflect changes in unit tests
    
    * style: formatting
    tomli380576 authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5022493 View commit details
    Browse the repository at this point in the history
  2. Update boot.pxu for PR#1338 (New) (#1339)

    feat: update boot.pxu to reflect changes in reboot_check_test.py
    tomli380576 authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c6080e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92f1b3f View commit details
    Browse the repository at this point in the history
  4. Add cpuid for turin (bugfix) (#1530)

    Add cpuid for turin
    Hook25 authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    cd772da View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Howto use match (infra) (#1532)

    * Howto use match
    
    * Include it in the howto in the index
    
    Minor: emph lines with changes
    
    * Misspelled word
    
    * Typos and suggestions
    
    Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
    
    * Re-ordered sections
    
    ---------
    
    Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
    Hook25 and pieqq authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    017d7ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f1a673 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. apply siblings flag for wwan reconnection test

    apply siblings flag for wwan reconnection test
    stanley31huang committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    cf8e538 View commit details
    Browse the repository at this point in the history