Skip to content

Add USB DesignWare Core 3.0 (DWC3) tests (new)#1859

Merged
Hook25 merged 3 commits intomainfrom
CHECKBOX-1820-USB-DWC3-tests
May 9, 2025
Merged

Add USB DesignWare Core 3.0 (DWC3) tests (new)#1859
Hook25 merged 3 commits intomainfrom
CHECKBOX-1820-USB-DWC3-tests

Conversation

@pieqq
Copy link
Copy Markdown
Collaborator

@pieqq pieqq commented Apr 10, 2025

Description

These simple tests have been originally designed for a private project, and slightly adapted to be moved to the base provider. They aim to check if the proper driver and module are loaded, and add some interactive tests to check OTG feature of USB DWC3.

New nested parts are made available, and are used in the 24.04 test plans.

Resolved issues

Fix https://warthogs.atlassian.net/browse/CHECKBOX-1820

Documentation

Tests

@pieqq pieqq changed the title Checkbox 1820 usb dwc3 tests Checkbox 1820 usb dwc3 tests (new) Apr 10, 2025
@pieqq pieqq changed the title Checkbox 1820 usb dwc3 tests (new) Add USB DesignWare Core 3.0 (DWC3) tests (new) Apr 10, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.45%. Comparing base (983792c) to head (71d8741).
⚠️ Report is 125 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1859   +/-   ##
=======================================
  Coverage   50.45%   50.45%           
=======================================
  Files         382      382           
  Lines       41026    41026           
  Branches     6890     6890           
=======================================
  Hits        20698    20698           
  Misses      19584    19584           
  Partials      744      744           
Flag Coverage Δ
provider-base 26.68% <ø> (ø)
provider-certification-client 57.14% <ø> (ø)

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.

@pieqq pieqq force-pushed the CHECKBOX-1820-USB-DWC3-tests branch 2 times, most recently from 0c662f1 to 4d1c29c Compare April 18, 2025 08:19
@pieqq pieqq force-pushed the CHECKBOX-1820-USB-DWC3-tests branch from eae96b5 to 71d8741 Compare April 18, 2025 12:36
@fernando79513 fernando79513 self-assigned this Apr 28, 2025
@Hook25 Hook25 merged commit ebbc2ce into main May 9, 2025
26 checks passed
@Hook25 Hook25 deleted the CHECKBOX-1820-USB-DWC3-tests branch May 9, 2025 08:29
Hook25 added a commit that referenced this pull request May 9, 2025
@Hook25 Hook25 restored the CHECKBOX-1820-USB-DWC3-tests branch May 9, 2025 12:59
@Hook25
Copy link
Copy Markdown
Collaborator

Hook25 commented May 9, 2025

This broke main. The ids are duplicated with iiotg. Please do investigate that.

error: units/usb-dwc3/category.pxu:2: category 'usb-dwc3', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/category.pxu:1-3, ../iiotg/units/usb-dwc3/category.pxu:1-3
error: units/usb-dwc3/jobs.pxu:3: job 'usb-dwc3/driver-detect', field 'category_id', multiple units with id 'com.canonical.certification::usb-dwc3': units/usb-dwc3/category.pxu:1-3, ../iiotg/units/usb-dwc3/category.pxu:1-3
error: units/usb-dwc3/jobs.pxu:1: job 'usb-dwc3/driver-detect', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/jobs.pxu:1-16, ../iiotg/units/usb-dwc3/jobs.pxu:1-15
error: units/usb-dwc3/jobs.pxu:20: job 'usb-dwc3/module-detect', field 'category_id', multiple units with id 'com.canonical.certification::usb-dwc3': units/usb-dwc3/category.pxu:1-3, ../iiotg/units/usb-dwc3/category.pxu:1-3
error: units/usb-dwc3/jobs.pxu:18: job 'usb-dwc3/module-detect', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/jobs.pxu:18-33, ../iiotg/units/usb-dwc3/jobs.pxu:17-30
error: units/usb-dwc3/jobs.pxu:59: job 'usb-dwc3/mass-storage', field 'category_id', multiple units with id 'com.canonical.certification::usb-dwc3': units/usb-dwc3/category.pxu:1-3, ../iiotg/units/usb-dwc3/category.pxu:1-3
error: units/usb-dwc3/jobs.pxu:49: job 'usb-dwc3/mass-storage', field 'depends', multiple units with id 'com.canonical.certification::usb-dwc3/module-detect': units/usb-dwc3/jobs.pxu:18-33, ../iiotg/units/usb-dwc3/jobs.pxu:17-30
error: units/usb-dwc3/jobs.pxu:49: job 'usb-dwc3/mass-storage', field 'depends', multiple units with id 'com.canonical.certification::usb-dwc3/driver-detect': units/usb-dwc3/jobs.pxu:1-16, ../iiotg/units/usb-dwc3/jobs.pxu:1-15
error: units/usb-dwc3/jobs.pxu:35: job 'usb-dwc3/mass-storage', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/jobs.pxu:35-61, ../iiotg/units/usb-dwc3/jobs.pxu:32-60
error: units/usb-dwc3/jobs.pxu:66: job 'usb-dwc3/mass-storage-cleanup', field 'after', multiple units with id 'com.canonical.certification::usb-dwc3/mass-storage': units/usb-dwc3/jobs.pxu:35-61, ../iiotg/units/usb-dwc3/jobs.pxu:32-60
error: units/usb-dwc3/jobs.pxu:75: job 'usb-dwc3/mass-storage-cleanup', field 'category_id', multiple units with id 'com.canonical.certification::usb-dwc3': units/usb-dwc3/category.pxu:1-3, ../iiotg/units/usb-dwc3/category.pxu:1-3
error: units/usb-dwc3/jobs.pxu:63: job 'usb-dwc3/mass-storage-cleanup', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/jobs.pxu:63-76, ../iiotg/units/usb-dwc3/jobs.pxu:62-75
error: units/usb-dwc3/manifest.pxu:2: manifest entry 'has_usb_dwc3_controller', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/manifest.pxu:1-4, ../iiotg/units/usb-dwc3/manifest.pxu:1-4
error: units/usb-dwc3/test-plan.pxu:1: test plan 'usb-dwc3-full', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/test-plan.pxu:1-7, ../iiotg/units/usb-dwc3/test-plan.pxu:1-7
error: units/usb-dwc3/test-plan.pxu:9: test plan 'usb-dwc3-manual', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/test-plan.pxu:9-17, ../iiotg/units/usb-dwc3/test-plan.pxu:9-17
error: units/usb-dwc3/test-plan.pxu:19: test plan 'usb-dwc3-automated', field 'id', clashes with 1 other unit, look at: units/usb-dwc3/test-plan.pxu:19-27, ../iiotg/units/usb-dwc3/test-plan.pxu:19-27

Hook25 added a commit that referenced this pull request May 9, 2025
Revert "Add USB DesignWare Core 3.0 (DWC3) tests (new) (#1859)"

This reverts commit ebbc2ce.
aglinserer pushed a commit to aglinserer/checkbox that referenced this pull request May 12, 2025
* Add USB DesignWare Core 3.0 (DWC3) tests

* Add USB DWC3 tests to 24.04 test plans

* Fix shellcheck errors
aglinserer pushed a commit to aglinserer/checkbox that referenced this pull request May 12, 2025
…onical#1919)

Revert "Add USB DesignWare Core 3.0 (DWC3) tests (new) (canonical#1859)"

This reverts commit ebbc2ce.
mreed8855 pushed a commit that referenced this pull request Jul 30, 2025
* Add USB DesignWare Core 3.0 (DWC3) tests

* Add USB DWC3 tests to 24.04 test plans

* Fix shellcheck errors
mreed8855 pushed a commit that referenced this pull request Jul 30, 2025
Revert "Add USB DesignWare Core 3.0 (DWC3) tests (new) (#1859)"

This reverts commit ebbc2ce.
mreed8855 pushed a commit that referenced this pull request Jul 31, 2025
* Add USB DesignWare Core 3.0 (DWC3) tests

* Add USB DWC3 tests to 24.04 test plans

* Fix shellcheck errors
mreed8855 pushed a commit that referenced this pull request Jul 31, 2025
Revert "Add USB DesignWare Core 3.0 (DWC3) tests (new) (#1859)"

This reverts commit ebbc2ce.
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