Skip to content

Conversation

@JohnK1987
Copy link
Member

@JohnK1987 JohnK1987 commented Apr 7, 2025

Summary of changes

This PR brings new STM32U0 family and new target Nucleo-U083R.

  • USBDEVICE is partial functional. USBSerial, USBHID and USB MSD tests pass but USB basic test failed.
  • I2C not tested
  • SPI tested just with SDBlockDevice and FATFileSystem example
  • Rest APIs were tested with Greentea test (result below)

Impact of changes

New family + new target.

Migration actions required

N/A

Documentation

Will be created after everything will be tested

Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[x] Tests / results supplied as part of this PR
Greentea result for Nucleo-U083RC
C:\MbedCE\PortU0\mbed-os\BUILD_GT>ctest . --output-on-failure
Test project C:/MbedCE/PortU0/mbed-os/BUILD_GT
        Start   1: test-mbed-drivers-buffered-serial
  1/114 Test   #1: test-mbed-drivers-buffered-serial ..............................   Passed    5.68 sec
        Start   2: test-mbed-drivers-c-strings
  2/114 Test   #2: test-mbed-drivers-c-strings ....................................   Passed    4.96 sec
        Start   3: test-mbed-drivers-crc
  3/114 Test   #3: test-mbed-drivers-crc ..........................................   Passed    5.10 sec
        Start   4: test-mbed-drivers-dev-null
  4/114 Test   #4: test-mbed-drivers-dev-null .....................................   Passed    6.64 sec
        Start   5: test-mbed-drivers-echo
  5/114 Test   #5: test-mbed-drivers-echo .........................................   Passed    5.16 sec
        Start   6: test-mbed-drivers-flashiap
  6/114 Test   #6: test-mbed-drivers-flashiap .....................................   Passed    5.57 sec
        Start   7: test-mbed-drivers-generic-tests
  7/114 Test   #7: test-mbed-drivers-generic-tests ................................   Passed    4.85 sec
        Start   8: test-mbed-drivers-lp-ticker
  8/114 Test   #8: test-mbed-drivers-lp-ticker ....................................   Passed    7.58 sec
        Start   9: test-mbed-drivers-lp-timeout
  9/114 Test   #9: test-mbed-drivers-lp-timeout ...................................   Passed   20.16 sec
        Start  10: test-mbed-drivers-lp-timer
 10/114 Test  #10: test-mbed-drivers-lp-timer .....................................   Passed    7.42 sec
        Start  11: test-mbed-drivers-mem-trace
 11/114 Test  #11: test-mbed-drivers-mem-trace ....................................***Skipped   0.01 sec
        Start  12: test-mbed-drivers-race-test
 12/114 Test  #12: test-mbed-drivers-race-test ....................................   Passed    5.99 sec
        Start  13: test-mbed-drivers-reset-reason
 13/114 Test  #13: test-mbed-drivers-reset-reason .................................   Passed    9.28 sec
        Start  14: test-mbed-drivers-sleep-lock
 14/114 Test  #14: test-mbed-drivers-sleep-lock ...................................   Passed    4.87 sec
        Start  15: test-mbed-drivers-stl-features
 15/114 Test  #15: test-mbed-drivers-stl-features .................................   Passed    5.17 sec
        Start  16: test-mbed-drivers-ticker
 16/114 Test  #16: test-mbed-drivers-ticker .......................................   Passed   21.15 sec
        Start  17: test-mbed-drivers-timerevent
 17/114 Test  #17: test-mbed-drivers-timerevent ...................................   Passed    5.38 sec
        Start  18: test-mbed-drivers-unbuffered-serial
 18/114 Test  #18: test-mbed-drivers-unbuffered-serial ............................   Passed    4.95 sec
        Start  19: test-mbed-drivers-watchdog
 19/114 Test  #19: test-mbed-drivers-watchdog .....................................   Passed    7.12 sec
        Start  20: test-mbed-drivers-watchdog-reset
 20/114 Test  #20: test-mbed-drivers-watchdog-reset ...............................   Passed   13.45 sec
        Start  21: test-mbed-usb-device-basic
 21/114 Test  #21: test-mbed-usb-device-basic .....................................***Skipped   0.02 sec
        Start  22: test-mbed-usb-device-hid
 22/114 Test  #22: test-mbed-usb-device-hid .......................................***Skipped   0.01 sec
        Start  23: test-mbed-usb-device-msd
 23/114 Test  #23: test-mbed-usb-device-msd .......................................***Skipped   0.01 sec
        Start  24: test-mbed-usb-device-serial
 24/114 Test  #24: test-mbed-usb-device-serial ....................................***Skipped   0.01 sec
        Start  25: test-mbed-hal-common-tickers
 25/114 Test  #25: test-mbed-hal-common-tickers ...................................   Passed    7.44 sec
        Start  26: test-mbed-hal-common-tickers-freq
 26/114 Test  #26: test-mbed-hal-common-tickers-freq ..............................   Passed   18.64 sec
        Start  27: test-mbed-hal-crc
 27/114 Test  #27: test-mbed-hal-crc ..............................................   Passed    5.06 sec
        Start  28: test-mbed-hal-critical-section
 28/114 Test  #28: test-mbed-hal-critical-section .................................   Passed    4.80 sec
        Start  29: test-mbed-hal-flash-functional-tests
 29/114 Test  #29: test-mbed-hal-flash-functional-tests ...........................   Passed    6.17 sec
        Start  30: test-mbed-hal-lp-ticker
 30/114 Test  #30: test-mbed-hal-lp-ticker ........................................   Passed    5.05 sec
        Start  31: test-mbed-hal-minimum-requirements
 31/114 Test  #31: test-mbed-hal-minimum-requirements .............................   Passed    4.78 sec
        Start  32: test-mbed-hal-mpu
 32/114 Test  #32: test-mbed-hal-mpu ..............................................   Passed    4.87 sec
        Start  33: test-mbed-hal-ospi
 33/114 Test  #33: test-mbed-hal-ospi .............................................***Skipped   0.01 sec
        Start  34: test-mbed-hal-pinmap
 34/114 Test  #34: test-mbed-hal-pinmap ...........................................   Passed    4.92 sec
        Start  35: test-mbed-hal-qspi
 35/114 Test  #35: test-mbed-hal-qspi .............................................***Skipped   0.01 sec
        Start  36: test-mbed-hal-reset-reason
 36/114 Test  #36: test-mbed-hal-reset-reason .....................................   Passed    9.30 sec
        Start  37: test-mbed-hal-rtc
 37/114 Test  #37: test-mbed-hal-rtc ..............................................   Passed   50.06 sec
        Start  38: test-mbed-hal-rtc-reset
 38/114 Test  #38: test-mbed-hal-rtc-reset ........................................   Passed   10.36 sec
        Start  39: test-mbed-hal-rtc-time
 39/114 Test  #39: test-mbed-hal-rtc-time .........................................   Passed    7.25 sec
        Start  40: test-mbed-hal-rtc-time-conv
 40/114 Test  #40: test-mbed-hal-rtc-time-conv ....................................   Passed   11.04 sec
        Start  41: test-mbed-hal-sleep
 41/114 Test  #41: test-mbed-hal-sleep ............................................   Passed    8.78 sec
        Start  42: test-mbed-hal-sleep-manager
 42/114 Test  #42: test-mbed-hal-sleep-manager ....................................   Passed    9.19 sec
        Start  43: test-mbed-hal-sleep-manager-racecondition
 43/114 Test  #43: test-mbed-hal-sleep-manager-racecondition ......................   Passed   17.51 sec
        Start  44: test-mbed-hal-stack-size-unification
 44/114 Test  #44: test-mbed-hal-stack-size-unification ...........................   Passed    4.86 sec
        Start  45: test-mbed-hal-ticker
 45/114 Test  #45: test-mbed-hal-ticker ...........................................   Passed   12.20 sec
        Start  46: test-mbed-hal-trng
 46/114 Test  #46: test-mbed-hal-trng .............................................   Passed    6.38 sec
        Start  47: test-mbed-hal-us-ticker
 47/114 Test  #47: test-mbed-hal-us-ticker ........................................   Passed    4.76 sec
        Start  48: test-mbed-hal-watchdog
 48/114 Test  #48: test-mbed-hal-watchdog .........................................   Passed    8.34 sec
        Start  49: test-mbed-hal-watchdog-reset
 49/114 Test  #49: test-mbed-hal-watchdog-reset ...................................   Passed   11.48 sec
        Start  50: test-mbed-hal-watchdog-timing
 50/114 Test  #50: test-mbed-hal-watchdog-timing ..................................   Passed   28.20 sec
        Start  51: test-mbed-hal-verify-arduino-pinmap
 51/114 Test  #51: test-mbed-hal-verify-arduino-pinmap ............................   Passed    6.16 sec
        Start  52: test-mbed-platform-mbed-functional-callback
 52/114 Test  #52: test-mbed-platform-mbed-functional-callback ....................   Passed    5.25 sec
        Start  53: test-mbed-platform-mbed-functional-callback-big
 53/114 Test  #53: test-mbed-platform-mbed-functional-callback-big ................   Passed    5.35 sec
        Start  54: test-mbed-platform-mbed-functional-callback-small
 54/114 Test  #54: test-mbed-platform-mbed-functional-callback-small ..............   Passed    5.21 sec
        Start  55: test-mbed-platform-mbed-micro-attributes
 55/114 Test  #55: test-mbed-platform-mbed-micro-attributes .......................   Passed    5.00 sec
        Start  56: test-mbed-platform-mbed-micro-call-before-main
 56/114 Test  #56: test-mbed-platform-mbed-micro-call-before-main .................   Passed    4.76 sec
        Start  57: test-mbed-platform-mbed-micro-cpp
 57/114 Test  #57: test-mbed-platform-mbed-micro-cpp ..............................   Passed    4.76 sec
        Start  58: test-mbed-platform-mbed-micro-div
 58/114 Test  #58: test-mbed-platform-mbed-micro-div ..............................   Passed    4.79 sec
        Start  59: test-mbed-platform-mbed-micro-static-assert
 59/114 Test  #59: test-mbed-platform-mbed-micro-static-assert ....................   Passed    4.73 sec
        Start  60: test-mbed-platform-atomic
 60/114 Test  #60: test-mbed-platform-atomic ......................................   Passed   24.71 sec
        Start  61: test-mbed-platform-circular-buffer
 61/114 Test  #61: test-mbed-platform-circular-buffer .............................   Passed    5.57 sec
        Start  62: test-mbed-platform-crash-reporting
 62/114 Test  #62: test-mbed-platform-crash-reporting .............................***Skipped   0.01 sec
        Start  63: test-mbed-platform-error-handling
 63/114 Test  #63: test-mbed-platform-error-handling ..............................   Passed    4.92 sec
        Start  64: test-mbed-platform-filehandle
 64/114 Test  #64: test-mbed-platform-filehandle ..................................   Passed    5.66 sec
        Start  65: test-mbed-platform-minimal-printf-compliance
 65/114 Test  #65: test-mbed-platform-minimal-printf-compliance ...................   Passed    5.95 sec
        Start  66: test-mbed-platform-sharedptr
 66/114 Test  #66: test-mbed-platform-sharedptr ...................................   Passed    4.88 sec
        Start  67: test-mbed-platform-singletonptr
 67/114 Test  #67: test-mbed-platform-singletonptr ................................   Passed    4.80 sec
        Start  68: test-mbed-platform-stream
 68/114 Test  #68: test-mbed-platform-stream ......................................   Passed    5.48 sec
        Start  69: test-mbed-platform-system-reset
 69/114 Test  #69: test-mbed-platform-system-reset ................................   Passed    5.68 sec
        Start  70: test-mbed-platform-transaction
 70/114 Test  #70: test-mbed-platform-transaction .................................   Passed    4.89 sec
        Start  71: test-mbed-platform-wait-ns
 71/114 Test  #71: test-mbed-platform-wait-ns .....................................   Passed    7.46 sec
        Start  72: test-mbed-platform-stats-cpu
 72/114 Test  #72: test-mbed-platform-stats-cpu ...................................***Skipped   0.01 sec
        Start  73: test-mbed-platform-stats-heap
 73/114 Test  #73: test-mbed-platform-stats-heap ..................................***Skipped   0.01 sec
        Start  74: test-mbed-platform-stats-sys
 74/114 Test  #74: test-mbed-platform-stats-sys ...................................***Skipped   0.01 sec
        Start  75: test-mbed-platform-stats-thread
 75/114 Test  #75: test-mbed-platform-stats-thread ................................***Skipped   0.01 sec
        Start  76: test-mbed-rtos-basic
 76/114 Test  #76: test-mbed-rtos-basic ...........................................   Passed   11.61 sec
        Start  77: test-mbed-rtos-condition-variable
 77/114 Test  #77: test-mbed-rtos-condition-variable ..............................   Passed    4.98 sec
        Start  78: test-mbed-rtos-event-flags
 78/114 Test  #78: test-mbed-rtos-event-flags .....................................   Passed    5.73 sec
        Start  79: test-mbed-rtos-heap-and-stack
 79/114 Test  #79: test-mbed-rtos-heap-and-stack ..................................   Passed   14.95 sec
        Start  80: test-mbed-rtos-kernel-tick-count
 80/114 Test  #80: test-mbed-rtos-kernel-tick-count ...............................   Passed    6.84 sec
        Start  81: test-mbed-rtos-mail
 81/114 Test  #81: test-mbed-rtos-mail ............................................   Passed    5.98 sec
        Start  82: test-mbed-rtos-malloc
 82/114 Test  #82: test-mbed-rtos-malloc ..........................................   Passed   25.10 sec
        Start  83: test-mbed-rtos-memorypool
 83/114 Test  #83: test-mbed-rtos-memorypool ......................................   Passed    5.96 sec
        Start  84: test-mbed-rtos-mutex
 84/114 Test  #84: test-mbed-rtos-mutex ...........................................   Passed    7.21 sec
        Start  85: test-mbed-rtos-queue
 85/114 Test  #85: test-mbed-rtos-queue ...........................................   Passed    5.42 sec
        Start  86: test-mbed-rtos-semaphore
 86/114 Test  #86: test-mbed-rtos-semaphore .......................................   Passed    8.49 sec
        Start  87: test-mbed-rtos-signals
 87/114 Test  #87: test-mbed-rtos-signals .........................................   Passed    6.14 sec
        Start  88: test-mbed-rtos-systimer
 88/114 Test  #88: test-mbed-rtos-systimer ........................................   Passed    5.25 sec
        Start  89: test-mbed-rtos-threads
 89/114 Test  #89: test-mbed-rtos-threads .........................................   Passed    7.63 sec
        Start  90: test-mbed-storage-blockdevice-buffered_block_device
 90/114 Test  #90: test-mbed-storage-blockdevice-buffered_block_device ............   Passed    7.04 sec
        Start  91: test-mbed-storage-blockdevice-flashsim_block_device
 91/114 Test  #91: test-mbed-storage-blockdevice-flashsim_block_device ............   Passed    7.21 sec
        Start  92: test-mbed-storage-blockdevice-general_block_device
 92/114 Test  #92: test-mbed-storage-blockdevice-general_block_device .............   Passed   12.61 sec
        Start  93: test-mbed-storage-blockdevice-heap_block_device
 93/114 Test  #93: test-mbed-storage-blockdevice-heap_block_device ................   Passed    7.58 sec
        Start  94: test-mbed-storage-blockdevice-mbr_block_device
 94/114 Test  #94: test-mbed-storage-blockdevice-mbr_block_device .................   Passed    7.35 sec
        Start  95: test-mbed-storage-blockdevice-util_block_device
 95/114 Test  #95: test-mbed-storage-blockdevice-util_block_device ................   Passed    7.38 sec
        Start  96: test-mbed-connectivity-mbedtls-multi
 96/114 Test  #96: test-mbed-connectivity-mbedtls-multi ...........................   Passed    5.03 sec
        Start  97: test-mbed-connectivity-mbedtls-sanity
 97/114 Test  #97: test-mbed-connectivity-mbedtls-sanity ..........................***Skipped   0.01 sec
        Start  98: test-mbed-connectivity-mbedtls-selftest
 98/114 Test  #98: test-mbed-connectivity-mbedtls-selftest ........................   Passed   24.03 sec
        Start  99: test-mbed-connectivity-nfc-eeprom
 99/114 Test  #99: test-mbed-connectivity-nfc-eeprom ..............................***Skipped   0.01 sec
        Start 100: test-mbed-connectivity-netsocket-lwipstack-dns
100/114 Test #100: test-mbed-connectivity-netsocket-lwipstack-dns .................***Skipped   0.01 sec
        Start 101: test-mbed-connectivity-netsocket-nanostack-dns
101/114 Test #101: test-mbed-connectivity-netsocket-nanostack-dns .................***Skipped   0.01 sec
        Start 102: test-mbed-connectivity-netsocket-nidd
102/114 Test #102: test-mbed-connectivity-netsocket-nidd ..........................***Skipped   0.01 sec
        Start 103: test-mbed-connectivity-netsocket-lwipstack-tcp
103/114 Test #103: test-mbed-connectivity-netsocket-lwipstack-tcp .................***Skipped   0.01 sec
        Start 104: test-mbed-connectivity-netsocket-nanostack-tcp
104/114 Test #104: test-mbed-connectivity-netsocket-nanostack-tcp .................***Skipped   0.01 sec
        Start 105: test-mbed-connectivity-netsocket-lwipstack-tls
105/114 Test #105: test-mbed-connectivity-netsocket-lwipstack-tls .................***Skipped   0.01 sec
        Start 106: test-mbed-connectivity-netsocket-nanostack-tls
106/114 Test #106: test-mbed-connectivity-netsocket-nanostack-tls .................***Skipped   0.02 sec
        Start 107: test-mbed-connectivity-netsocket-lwipstack-udp
107/114 Test #107: test-mbed-connectivity-netsocket-lwipstack-udp .................***Skipped   0.01 sec
        Start 108: test-mbed-connectivity-netsocket-nanostack-udp
108/114 Test #108: test-mbed-connectivity-netsocket-nanostack-udp .................***Skipped   0.01 sec
        Start 109: test-mbed-connectivity-network-emac
109/114 Test #109: test-mbed-connectivity-network-emac ............................***Skipped   0.01 sec
        Start 110: test-mbed-connectivity-netsocket-lwipstack-network-interface
110/114 Test #110: test-mbed-connectivity-netsocket-lwipstack-network-interface ...***Skipped   0.01 sec
        Start 111: test-mbed-connectivity-netsocket-nanostack-network-interface
111/114 Test #111: test-mbed-connectivity-netsocket-nanostack-network-interface ...***Skipped   0.01 sec
        Start 112: test-mbed-connectivity-network-lwipstack-wifi
112/114 Test #112: test-mbed-connectivity-network-lwipstack-wifi ..................***Skipped   0.01 sec
        Start 113: test-mbed-connectivity-network-nanostack-wifi
113/114 Test #113: test-mbed-connectivity-network-nanostack-wifi ..................***Skipped   0.01 sec
        Start 114: test-mbed-device_key-functionality
114/114 Test #114: test-mbed-device_key-functionality .............................   Passed   11.38 sec

100% tests passed, 0 tests failed out of 114

Total Test time (real) = 749.43 sec

The following tests did not run:
         11 - test-mbed-drivers-mem-trace (Skipped)
         21 - test-mbed-usb-device-basic (Skipped)
         22 - test-mbed-usb-device-hid (Skipped)
         23 - test-mbed-usb-device-msd (Skipped)
         24 - test-mbed-usb-device-serial (Skipped)
         33 - test-mbed-hal-ospi (Skipped)
         35 - test-mbed-hal-qspi (Skipped)
         62 - test-mbed-platform-crash-reporting (Skipped)
         72 - test-mbed-platform-stats-cpu (Skipped)
         73 - test-mbed-platform-stats-heap (Skipped)
         74 - test-mbed-platform-stats-sys (Skipped)
         75 - test-mbed-platform-stats-thread (Skipped)
         97 - test-mbed-connectivity-mbedtls-sanity (Skipped)
         99 - test-mbed-connectivity-nfc-eeprom (Skipped)
        100 - test-mbed-connectivity-netsocket-lwipstack-dns (Skipped)
        101 - test-mbed-connectivity-netsocket-nanostack-dns (Skipped)
        102 - test-mbed-connectivity-netsocket-nidd (Skipped)
        103 - test-mbed-connectivity-netsocket-lwipstack-tcp (Skipped)
        104 - test-mbed-connectivity-netsocket-nanostack-tcp (Skipped)
        105 - test-mbed-connectivity-netsocket-lwipstack-tls (Skipped)
        106 - test-mbed-connectivity-netsocket-nanostack-tls (Skipped)
        107 - test-mbed-connectivity-netsocket-lwipstack-udp (Skipped)
        108 - test-mbed-connectivity-netsocket-nanostack-udp (Skipped)
        109 - test-mbed-connectivity-network-emac (Skipped)
        110 - test-mbed-connectivity-netsocket-lwipstack-network-interface (Skipped)
        111 - test-mbed-connectivity-netsocket-nanostack-network-interface (Skipped)
        112 - test-mbed-connectivity-network-lwipstack-wifi (Skipped)
        113 - test-mbed-connectivity-network-nanostack-wifi (Skipped)
USBDEVICE failed
21: Software reset is performed
21: Executing: C:/MbedCE/PortU0/mbed-os/venv/Scripts/python.exe -m mbed_host_tests.mbedhtrun --skip-flashing -p COM4 --skip-reset -e C:/MbedCE/PortU0/mbed-os/drivers/usb/tests/TESTS/host_tests -m NUCLEO_U083RC --baud-rate=115200
21: [+915ms][HTST][INF] host test executor ver. 0.0.16
21: [+915ms][HTST][INF] copy image onto target... SKIPPED!
21: [+919ms][HTST][INF] starting host test process...
21: [+840ms][CONN][INF] starting connection process...
21: [+840ms][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling
21: [+840ms][CONN][INF] initializing serial port listener...
21: [+840ms][SERI][INF] using specified port 'COM4'
21: [+840ms][SERI][INF] serial(port=COM4, baudrate=115200, read_timeout=0.01, write_timeout=5)
21: [+1828ms][HTST][INF] setting timeout to: 60 sec
21: [+842ms][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed
21: [+842ms][CONN][INF] sending up to 2 __sync packets (specified with --sync=2)
21: [+842ms][CONN][INF] sending preamble 'e5f2544e-eab3-47e9-b4f9-07477d9181be'
21: [+845ms][SERI][TXD] {{__sync;e5f2544e-eab3-47e9-b4f9-07477d9181be}}
21: [+856ms][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
21: [+867ms][CONN][INF] found SYNC in stream: {{__sync;e5f2544e-eab3-47e9-b4f9-07477d9181be}} it is #0 sent, queued...
21: [+867ms][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
21: [+867ms][CONN][INF] found KV pair in stream: {{__timeout;180}}, queued...
21: [+1855ms][HTST][INF] sync KV found, uuid=e5f2544e-eab3-47e9-b4f9-07477d9181be, timestamp=1745128980.586332
21: [+867ms][CONN][INF] found KV pair in stream: {{__host_test_name;pyusb_basic}}, queued...
21: [+867ms][CONN][INF] found KV pair in stream: {{__testcase_count;13}}, queued...
21: [+1855ms][HTST][INF] DUT greentea-client version: 1.3.0
21: [+1855ms][HTST][INF] setting timeout to: 180 sec
21: [+1855ms][HTST][INF] host test class: '<class 'pyusb_basic.PyusbBasicTest'>'
21: [+1855ms][HTST][INF] host test setup() call...
21: [+1855ms][HTST][INF] CALLBACKs updated
21: [+1855ms][HTST][INF] host test detected: pyusb_basic
21: [+878ms][CONN][RXD] >>> Running 13 test cases...
21: [+878ms][CONN][INF] found KV pair in stream: {{__testcase_name;usb control basic test}}, queued...
21: [+878ms][CONN][INF] found KV pair in stream: {{__testcase_name;usb control stall test}}, queued...
21: [+889ms][CONN][INF] found KV pair in stream: {{__testcase_name;usb control sizes test}}, queued...
21: [+889ms][CONN][INF] found KV pair in stream: {{__testcase_name;usb control stress test}}, queued...
21: [+889ms][CONN][INF] found KV pair in stream: {{__testcase_name;usb device reset test}}, queued...
21: [+900ms][CONN][INF] found KV pair in stream: {{__testcase_name;usb soft reconnection test}}, queued...
21: [+900ms][CONN][INF] found KV pair in stream: {{__testcase_name;usb repeated construction destruction test}}, queued...
21: [+911ms][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test data correctness}}, queued...
21: [+911ms][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test halt}}, queued...
21: [+911ms][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test parallel transfers}}, queued...
21: [+924ms][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test parallel transfers ctrl}}, queued...
21: [+924ms][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test abort}}, queued...
21: [+936ms][CONN][RXD]
21: [+936ms][CONN][RXD] >>> Running case #1: 'usb control basic test'...
21: [+936ms][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test data toggle reset}}, queued...
21: [+936ms][CONN][INF] found KV pair in stream: {{__testcase_start;usb control basic test}}, queued...
21: [+1160ms][CONN][INF] found KV pair in stream: {{control_basic_test;0123456789 3368 517}}, queued...
21: [+1265ms][SERI][TXD] {{pass;0}}
21: [+1286ms][CONN][RXD] >>> 'usb control basic test': 1 passed, 0 failed
21: [+1286ms][CONN][INF] found KV pair in stream: {{__testcase_finish;usb control basic test;1;0}}, queued...
21: [+1296ms][CONN][RXD] <greentea test suite>:0::PASS
21: [+1296ms][CONN][RXD]
21: [+1296ms][CONN][RXD] >>> Running case #2: 'usb control stall test'...
21: [+1296ms][CONN][INF] found KV pair in stream: {{__testcase_start;usb control stall test}}, queued...
21: [+1525ms][CONN][INF] found KV pair in stream: {{control_stall_test;0123456789}}, queued...
21: [+1535ms][SERI][TXD] {{pass;0}}
21: [+1556ms][CONN][RXD] >>> 'usb control stall test': 1 passed, 0 failed
21: [+1556ms][CONN][INF] found KV pair in stream: {{__testcase_finish;usb control stall test;1;0}}, queued...
21: [+1567ms][CONN][RXD] <greentea test suite>:0::PASS
21: [+1567ms][CONN][RXD]
21: [+1567ms][CONN][RXD] >>> Running case #3: 'usb control sizes test'...
21: [+1567ms][CONN][INF] found KV pair in stream: {{__testcase_start;usb control sizes test}}, queued...
21: [+1787ms][CONN][INF] found KV pair in stream: {{control_sizes_test;0123456789}}, queued...
21: [+1851ms][SERI][TXD] {{pass;0}}
21: [+1872ms][CONN][RXD] >>> 'usb control sizes test': 1 passed, 0 failed
21: [+1872ms][CONN][INF] found KV pair in stream: {{__testcase_finish;usb control sizes test;1;0}}, queued...
21: [+1883ms][CONN][RXD] <greentea test suite>:0::PASS
21: [+1883ms][CONN][RXD]
21: [+1883ms][CONN][RXD] >>> Running case #4: 'usb control stress test'...
21: [+1883ms][CONN][INF] found KV pair in stream: {{__testcase_start;usb control stress test}}, queued...
21: [+2112ms][CONN][INF] found KV pair in stream: {{control_stress_test;0123456789}}, queued...
21: [+2207ms][SERI][TXD] {{pass;0}}
21: [+2228ms][CONN][RXD] >>> 'usb control stress test': 1 passed, 0 failed
21: [+2228ms][CONN][INF] found KV pair in stream: {{__testcase_finish;usb control stress test;1;0}}, queued...
21: [+2239ms][CONN][RXD] <greentea test suite>:0::PASS
21: [+2239ms][CONN][RXD]
21: [+2239ms][CONN][RXD] >>> Running case #5: 'usb device reset test'...
21: [+2239ms][CONN][INF] found KV pair in stream: {{__testcase_start;usb device reset test}}, queued...
21: [+2249ms][CONN][INF] found KV pair in stream: {{reset_support;0}}, queued...
21: <<< get_set_configuration_test >>>
21: device deconfigured - OK
21: configuration 1 set - OK
21: configuration 2 set - OK
21:
21: <<< get_set_interface_test >>>
21: cfg(1) inteface 0.0 set - OK
21: cfg(1) inteface 0.1 set - OK
21: cfg(1) inteface 1.0 set - OK
21: cfg(1) inteface 1.1 set - OK
21: cfg(2) inteface 0.0 set - OK
21: cfg(2) inteface 0.1 set - OK
21: cfg(2) inteface 1.0 set - OK
21: cfg(2) inteface 1.1 set - OK
21:
21: <<< get_status_test >>>
21: cfg(1) interface 0.0 status - OK
21: cfg(1) intf(0.0) endpoint 129 status - OK
21: cfg(1) intf(0.0) endpoint 1 status - OK
21: cfg(1) interface 0.1 status - OK
21: cfg(1) intf(0.1) endpoint 129 status - OK
21: cfg(1) intf(0.1) endpoint 1 status - OK
21: cfg(1) interface 1.0 status - OK
21: cfg(1) intf(1.0) endpoint 130 status - OK
21: cfg(1) intf(1.0) endpoint 2 status - OK
21: cfg(1) interface 1.1 status - OK
21: cfg(1) intf(1.1) endpoint 130 status - OK
21: cfg(1) intf(1.1) endpoint 2 status - OK
21: cfg(2) interface 0.0 status - OK
21: cfg(2) intf(0.0) endpoint 130 status - OK
21: cfg(2) intf(0.0) endpoint 2 status - OK
21: cfg(2) interface 0.1 status - OK
21: cfg(2) intf(0.1) endpoint 130 status - OK
21: cfg(2) intf(0.1) endpoint 2 status - OK
21: cfg(2) interface 1.0 status - OK
21: cfg(2) intf(1.0) endpoint 129 status - OK
21: cfg(2) intf(1.0) endpoint 1 status - OK
21: cfg(2) interface 1.1 status - OK
21: cfg(2) intf(1.1) endpoint 129 status - OK
21: cfg(2) intf(1.1) endpoint 1 status - OK
21:
21: <<< set_clear_feature_test >>>
21: cfg(1) intf(0.0)   ep 129 halted - OK
21: cfg(1) intf(0.0)   ep 129 unhalted - OK
21: cfg(1) intf(0.0)   ep 1 halted - OK
21: cfg(1) intf(0.0)   ep 1 unhalted - OK
21: cfg(1) intf(0.1)   ep 129 halted - OK
21: cfg(1) intf(0.1)   ep 129 unhalted - OK
21: cfg(1) intf(0.1)   ep 1 halted - OK
21: cfg(1) intf(0.1)   ep 1 unhalted - OK
21: cfg(1) intf(1.0)   ep 130 halted - OK
21: cfg(1) intf(1.0)   ep 130 unhalted - OK
21: cfg(1) intf(1.0)   ep 2 halted - OK
21: cfg(1) intf(1.0)   ep 2 unhalted - OK
21: cfg(1) intf(1.1)   ep 130 halted - OK
21: cfg(1) intf(1.1)   ep 130 unhalted - OK
21: cfg(1) intf(1.1)   ep 2 halted - OK
21: cfg(1) intf(1.1)   ep 2 unhalted - OK
21: cfg(2) intf(0.0)   ep 130 halted - OK
21: cfg(2) intf(0.0)   ep 130 unhalted - OK
21: cfg(2) intf(0.0)   ep 2 halted - OK
21: cfg(2) intf(0.0)   ep 2 unhalted - OK
21: cfg(2) intf(0.1)   ep 130 halted - OK
21: cfg(2) intf(0.1)   ep 130 unhalted - OK
21: cfg(2) intf(0.1)   ep 2 halted - OK
21: cfg(2) intf(0.1)   ep 2 unhalted - OK
21: cfg(2) intf(1.0)   ep 129 halted - OK
21: cfg(2) intf(1.0)   ep 129 unhalted - OK
21: cfg(2) intf(1.0)   ep 1 halted - OK
21: cfg(2) intf(1.0)   ep 1 unhalted - OK
21: cfg(2) intf(1.1)   ep 129 halted - OK
21: cfg(2) intf(1.1)   ep 129 unhalted - OK
21: cfg(2) intf(1.1)   ep 1 halted - OK
21: cfg(2) intf(1.1)   ep 1 unhalted - OK
21:
21: <<< get_descriptor_test >>>
21: interface descriptor is not directly accessible - OK
21: endpoint descriptor is not directly accessible - OK
21:
21: <<< set_descriptor_test >>>
21: SET_DESCRIPTOR is unsupported - OK
21:
21: <<< control_stall_test >>>
21: Invalid request stalled - OK
21: Invalid request stalled - OK
21: Invalid request stalled - OK
21: Invalid request stalled - OK
21: Requesting string 6 failed - OK
21: Requesting string 7 failed - OK
21:
21: [+3237ms][HTST][INF] Reset supported: true
21: [+2259ms][SERI][TXD] {{placeholder;true}}
21: [+2492ms][CONN][INF] found KV pair in stream: {{device_reset_test;0123456789}}, queued...
21: [+2607ms][SERI][TXD] {{pass;0}}
21: [+2618ms][CONN][INF] found KV pair in stream: {{device_reset_test;0123456789}}, queued...
21: [+2934ms][SERI][TXD] {{pass;0}}
21: [+2945ms][CONN][INF] found KV pair in stream: {{device_reset_test;0123456789}}, queued...
21: [+3262ms][SERI][TXD] {{pass;0}}
21: [+3389ms][CONN][INF] found KV pair in stream: {{device_reset_test;0123456789}}, queued...
21: [+3400ms][SERI][TXD] {{pass;0}}
21: [+3421ms][CONN][RXD] >>> 'usb device reset test': 1 passed, 0 failed
21: [+3421ms][CONN][INF] found KV pair in stream: {{__testcase_finish;usb device reset test;1;0}}, queued...
21: [+3432ms][CONN][RXD] <greentea test suite>:0::PASS
21: [+3432ms][CONN][RXD]
21: [+3432ms][CONN][RXD] >>> Running case #6: 'usb soft reconnection test'...
21: [+3442ms][CONN][INF] found KV pair in stream: {{__testcase_start;usb soft reconnection test}}, queued...
21: [+3652ms][CONN][INF] found KV pair in stream: {{device_soft_reconnection_test;0123456789}}, queued...
21: [+3662ms][SERI][TXD] {{pass;0}}
21: [+3694ms][CONN][INF] found KV pair in stream: {{device_soft_reconnection_test;0123456789}}, queued...
21: [+3902ms][SERI][TXD] {{pass;0}}
21: [+3934ms][CONN][INF] found KV pair in stream: {{device_soft_reconnection_test;0123456789}}, queued...
21: [+4145ms][SERI][TXD] {{pass;0}}
21: [+4176ms][CONN][INF] found KV pair in stream: {{device_soft_reconnection_test;0123456789}}, queued...
21: [+4387ms][SERI][TXD] {{pass;0}}
21: [+4461ms][CONN][INF] found KV pair in stream: {{device_soft_reconnection_test;0123456789}}, queued...
21: [+4673ms][SERI][TXD] {{pass;0}}
21: [+4694ms][CONN][INF] found KV pair in stream: {{__testcase_finish;usb soft reconnection test;1;0}}, queued...
21: [+4704ms][CONN][RXD] >>> 'usb soft reconnection test': 1 passed, 0 failed
21: [+4704ms][CONN][RXD] <greentea test suite>:0::PASS
21: [+4704ms][CONN][RXD]
21: [+4704ms][CONN][RXD] >>> Running case #7: 'usb repeated construction destruction test'...
21: [+4715ms][CONN][INF] found KV pair in stream: {{__testcase_start;usb repeated construction destruction test}}, queued...
21: [+5155ms][CONN][RXD]
21: [+5155ms][CONN][RXD]
21: [+5165ms][CONN][RXD] ++ MbedOS Error Info ++
21: [+5165ms][CONN][RXD] Error Status: 0x8015010E Code: 270 Module: 21
21: [+5165ms][CONN][RXD] Error Message: Device state is "Powered" or "Detached"
21: [+5176ms][CONN][RXD] Location: 0x800AF9B
21: [+5176ms][CONN][RXD] Error Value: 0x0
21: [+5186ms][CONN][RXD] Current Thread: main Id: 0x20001E58 Entry: 0x800863D StackSize: 0x1000 StackMem: 0x20001EA0 SP: 0x20009EFC
21: [+5186ms][CONN][RXD] For more info, visit: https://mbed.com/s/error?error=0x8015010E&tgt=NUCLEO_U083RC
21: [+5197ms][CONN][RXD] -- MbedOS Error Info --
21: [+182790ms][HTST][INF] test suite run finished after 180.94 sec...
21: [+181803ms][CONN][INF] received special event '__host_test_finished' value='True', finishing
21: [+182875ms][HTST][INF] CONN exited with code: 0
21: [+182875ms][HTST][INF] No events in queue
21: [+182875ms][HTST][INF] stopped consuming events
21: [+182875ms][HTST][INF] host test result(): False
21: [+182875ms][HTST][WRN] missing __exit event from DUT
21: [+182875ms][HTST][WRN] missing __exit_event_queue event from host test
21: [+182875ms][HTST][INF] calling blocking teardown()
21: [+182875ms][HTST][INF] teardown() finished
21: [+182875ms][HTST][INF] {{result;failure}}
21: CMake Error at mbed-run-greentea-test-mbed-usb-device-basic.cmake:19 (execute_process):
21:   execute_process failed command indexes:
21:
21:     1: "Child return code: 1"
21:
21:
21:
1/1 Test #21: test-mbed-usb-device-basic .......***Failed  187.99 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 188.17 sec

The following tests FAILED:
         21 - test-mbed-usb-device-basic (Failed)
Errors while running CTest
Output from these tests are in: C:/MbedCE/PortU0/mbed-os/BUILD_GT/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
Unfortunately I do not have CI shield so I can not perform it.

@multiplemonomials multiplemonomials merged commit da2819e into mbed-ce:master Apr 20, 2025
52 checks passed
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.

2 participants