Description
Description of defect
Mbed OS Test fails (greentea) for new target. The following tests fail or error out.
- tests-mbed_drivers-lp_timeout
- tests-mbed_drivers-sleep_lock
- tests-mbed_drivers-ticker
- tests-mbed_drivers-unbuffered_serial
- tests-mbed_drivers-watchdog_reset
- tests-mbed_hal-lp_ticker
- tests-netsocket-tcp
- tests-netsocket-tls
- tests-netsocket-udp
- tests-network-interface
See attached log
CYESKIT-064B0S2-4343W-gcc-test-results.txt
Target(s) affected by this defect ?
CYESKIT_064B0S2_4343W
Toolchain(s) (name and version) displaying this defect ?
Tested with GCC for Arm 9.2.1
What version of Mbed-os are you using (tag or sha) ?
master branch from 21 April
sha: 31e3305
(a few commits after PR #12787 was merged)
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli 1.10.1
mbed-greentea 1.7.4
mbed-host-tests 1.5.10
mbed-os-tools 0.0.12
How is this defect reproduced ?
I am testing PR 12787 (after it was merged) with a CYESKIT_064B0S2_4343W board that I provisioned with policy policy_single_stage_CM4_2m_smif.json.txt.
I attempted to set the internal flash as the Boot area and the SMIF as the Upgrade storage area.
I enabled the QSPI and QSPIF in the target configuration. Then added a mbed_app.json that defines ssid and password.
"nsapi.default-wifi-security" : "WPA_WPA2",
"nsapi.default-wifi-ssid" : ""myssid"",
"nsapi.default-wifi-password" : ""mypassword""
Then ran integration tests with this command:
mbed test -m CYESKIT_064B0S2_4343W -t GCC_ARM -n tests-integration-* -DINTEGRATION_TESTS
All the storage tests work indicating that the Quad SPI Flash and block device driver are working. That is great!
However, the network tests fail. It seems to not be able to boot up the app.It gets stuck.
Also, I tried Mbed OS general tests with this command and saw some failures.
mbed test -m CYESKIT_064S2_4343W -t GCC_ARM