Skip to content

Portenta: Add support to generic COMPONENT_WHD #14663

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

Merged
merged 16 commits into from
Jul 8, 2021

Conversation

pennam
Copy link
Contributor

@pennam pennam commented May 17, 2021

Summary of changes

This PR adds support of generic COMPONENT_WHD to PORTENTA target

Impact of changes

Migration actions required

Merge after #14471

Documentation


Pull request type

[x] 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)
[] Tests / results supplied as part of this PR

Reviewers

@facchinm @0xc0170


@mergify mergify bot added the needs: work label May 17, 2021
@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label May 17, 2021
@ciarmcom ciarmcom requested a review from 0xc0170 May 17, 2021 09:30
@ciarmcom
Copy link
Member

@pennam, thank you for your changes.
@0xc0170 @ARMmbed/mbed-os-maintainers please review.

@ciarmcom
Copy link
Member

@pennam, thank you for your changes.
@ARMmbed/mbed-os-maintainers please review.

@pennam
Copy link
Contributor Author

pennam commented May 17, 2021

please wait #14471 gets merged before start CI. I need to rebase this pr otherwise it will fail to build. Thanks

@ciarmcom ciarmcom added the stale Stale Pull Request label May 20, 2021
@ciarmcom
Copy link
Member

This pull request has automatically been marked as stale because it has had no recent activity. @0xc0170, @ARMmbed/mbed-os-maintainers, please complete review of the changes to move the PR forward. Thank you for your contributions.

@ciarmcom ciarmcom added stale Stale Pull Request and removed stale Stale Pull Request labels May 21, 2021
@ciarmcom ciarmcom added stale Stale Pull Request and removed stale Stale Pull Request labels May 28, 2021
@pennam pennam force-pushed the whd_patch_portenta branch from 0b78f61 to 3854de3 Compare June 18, 2021 10:59
@pennam
Copy link
Contributor Author

pennam commented Jun 18, 2021

Updated the commit description of 0b78f61 to 7909a1d

Added 3854de3 because is needed to build with #14787

@pennam
Copy link
Contributor Author

pennam commented Jun 18, 2021

I've repeated wifi test including #14787 and the are all OK.

Build successes:
  * PORTENTA_H7_M7::GCC_ARM::MBED-BUILD
  * PORTENTA_H7_M7::GCC_ARM::MBED-OS-CONNECTIVITY-NETSOCKET-TESTS-TESTS-NETWORK-WIFI
[mbed] Exec "mbedgt --test-spec ./BUILD/tests/PORTENTA_H7_M7/GCC_ARM/test_spec.json -n *wifi* -V" in "/home/pennam/mbed/portenta_patch"
mbedgt: greentea test automation tool ver. 1.7.4
mbedgt: test specification file './BUILD/tests/PORTENTA_H7_M7/GCC_ARM/test_spec.json' (specified with --test-spec option)
mbedgt: using './BUILD/tests/PORTENTA_H7_M7/GCC_ARM/test_spec.json' from current directory!
mbedgt: detecting connected mbed-enabled devices...
mbedgt: detected 1 device
        | platform_name  | platform_name_unique | serial_port  | mount_point              | target_id                |
        |----------------|----------------------|--------------|--------------------------|--------------------------|
        | PORTENTA_H7_M7 | PORTENTA_H7_M7[0]    | /dev/ttyACM0 | /media/pennam/STLINK_V3M | 0029002E3438511134313939 |
mbedgt: processing target 'PORTENTA_H7_M7' toolchain 'GCC_ARM' compatible platforms... (note: switch set to --parallel 1)
        | platform_name  | platform_name_unique | serial_port       | mount_point              | target_id                |
        |----------------|----------------------|-------------------|--------------------------|--------------------------|
        | PORTENTA_H7_M7 | PORTENTA_H7_M7[0]    | /dev/ttyACM0:9600 | /media/pennam/STLINK_V3M | 0029002E3438511134313939 |
mbedgt: test case filter (specified with -n option)
        *wifi*
        test filtered in 'mbed-os-connectivity-netsocket-tests-tests-network-wifi'
mbedgt: running 1 test for platform 'PORTENTA_H7_M7' and toolchain 'GCC_ARM'
        use 1 instance of execution threads for testing
mbedgt: checking for 'host_tests' directory above image directory structure
        'host_tests' directory not found: two directory levels above image path checked
mbedgt: selecting test case observer...
        calling mbedhtrun: mbedhtrun -m PORTENTA_H7_M7 -p /dev/ttyACM0:9600 -f "BUILD/tests/PORTENTA_H7_M7/GCC_ARM/mbed-os/connectivity/netsocket/tests/TESTS/network/wifi/wifi.hex" -d /media/pennam/STLINK_V3M -c default -t 0029002E3438511134313939 -r default -C 4 --sync 5 -P 60
mbedgt: mbed-host-test-runner: started
[1624019472.39][HTST][INF] host test executor ver. 0.0.15
[1624019472.39][HTST][INF] copy image onto target...
[1624019472.39][COPY][INF] Waiting up to 60 sec for '0029002E3438511134313939' mount point (current is '/media/pennam/STLINK_V3M')...
[1624019492.41][mbedls.lstools_base]MBED with target id '0029002E3438511134313939' is connected, but not mounted. Use the '-u' flag to include it in the list.
[1624019494.96][HTST][INF] starting host test process...
[1624019494.96][CONN][INF] starting connection process...
[1624019494.96][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling
[1624019494.96][CONN][INF] initializing serial port listener...
[1624019494.96][HTST][INF] setting timeout to: 60 sec
[1624019494.96][PLGN][INF] Waiting up to 60 sec for '0029002E3438511134313939' serial port (current is '/dev/ttyACM0')...
[1624019494.97][SERI][INF] serial(port=/dev/ttyACM0, baudrate=9600, read_timeout=0.01, write_timeout=5)
[1624019494.97][SERI][INF] reset device using 'default' plugin...
[1624019495.08][SERI][INF] waiting 1.00 sec after reset
[1624019496.08][SERI][INF] wait for it...
[1624019496.08][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed
[1624019496.08][CONN][INF] sending up to 5 __sync packets (specified with --sync=5)
[1624019496.09][CONN][INF] sending preamble 'aec4031b-cd75-4163-8f37-bff443191260'
[1624019496.13][SERI][TXD] {{__sync;aec4031b-cd75-4163-8f37-bff443191260}}
[1624019496.22][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[1624019496.26][CONN][INF] found SYNC in stream: {{__sync;aec4031b-cd75-4163-8f37-bff443191260}} it is #0 sent, queued...
[1624019496.26][HTST][INF] sync KV found, uuid=aec4031b-cd75-4163-8f37-bff443191260, timestamp=1624019496.263213
[1624019496.30][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[1624019496.30][HTST][INF] DUT greentea-client version: 1.3.0
[1624019496.31][CONN][INF] found KV pair in stream: {{__timeout;360}}, queued...
[1624019496.31][HTST][INF] setting timeout to: 360 sec
[1624019496.35][CONN][INF] found KV pair in stream: {{__host_test_name;default_auto}}, queued...
[1624019496.35][HTST][INF] host test class: '<class 'mbed_os_tools.test.host_tests.default_auto.DefaultAuto'>'
[1624019496.35][HTST][INF] host test setup() call...
[1624019496.35][HTST][INF] CALLBACKs updated
[1624019496.35][HTST][INF] host test detected: default_auto
[1624019496.38][CONN][RXD] >>> Running 15 test cases...
[1624019496.41][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONSTRUCTOR}}, queued...
[1624019496.47][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT-NOCREDENTIALS}}, queued...
[1624019496.51][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-SET-CREDENTIAL}}, queued...
[1624019496.55][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-SET-CHANNEL}}, queued...
[1624019496.59][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT-PARAMS-NULL}}, queued...
[1624019496.63][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-SCAN-NULL}}, queued...
[1624019496.67][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-SCAN}}, queued...
[1624019496.70][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-GET-RSSI}}, queued...
[1624019496.76][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT-DISCONNECT-REPEAT}}, queued...
[1624019496.81][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT-PARAMS-VALID-SECURE}}, queued...
[1624019496.87][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT-PARAMS-CHANNEL}}, queued...
[1624019496.92][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT-PARAMS-CHANNEL-FAIL}}, queued...
[1624019496.96][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT-SECURE}}, queued...
[1624019497.01][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT-SECURE-FAIL}}, queued...
[1624019497.05][CONN][RXD]
[1624019497.05][CONN][INF] found KV pair in stream: {{__testcase_name;WIFI-CONNECT}}, queued...
[1624019497.09][CONN][RXD] >>> Running case #1: 'WIFI-CONSTRUCTOR'...
[1624019497.13][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONSTRUCTOR}}, queued...
[1624019497.18][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONSTRUCTOR;1;0}}, queued...
[1624019497.23][CONN][RXD] >>> 'WIFI-CONSTRUCTOR': 1 passed, 0 failed
[1624019497.23][CONN][RXD]
[1624019497.28][CONN][RXD] >>> Running case #2: 'WIFI-CONNECT-NOCREDENTIALS'...
[1624019497.33][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT-NOCREDENTIALS}}, queued...
[1624019500.15][CONN][RXD] WLAN MAC Address : 48:EB:62:DB:7B:6A
[1624019500.24][CONN][RXD] WLAN Firmware    : wl0: Jan 30 2020 21:41:53 version 7.45.98.95 (r724303 CY) FWID 01-5afc8c1e
[1624019500.36][CONN][RXD] WLAN CLM         : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2020-01-30 21:30:05
[1624019500.44][CONN][RXD] WHD VERSION      : v1.94.0 : v1.94.0 : GCC 9.2 : 2021-04-27 16:54:34 +0800
[1624019500.50][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT-NOCREDENTIALS;1;0}}, queued...
[1624019500.55][CONN][RXD] >>> 'WIFI-CONNECT-NOCREDENTIALS': 1 passed, 0 failed
[1624019500.56][CONN][RXD]
[1624019500.60][CONN][RXD] >>> Running case #3: 'WIFI-SET-CREDENTIAL'...
[1624019500.64][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-SET-CREDENTIAL}}, queued...
[1624019500.70][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-SET-CREDENTIAL;1;0}}, queued...
[1624019500.74][CONN][RXD] >>> 'WIFI-SET-CREDENTIAL': 1 passed, 0 failed
[1624019500.74][CONN][RXD]
[1624019500.79][CONN][RXD] >>> Running case #4: 'WIFI-SET-CHANNEL'...
[1624019500.83][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-SET-CHANNEL}}, queued...
[1624019500.88][CONN][RXD] :35::IGNORE: set_channel() not supported
[1624019500.92][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-SET-CHANNEL;1;0}}, queued...
[1624019500.96][CONN][RXD] >>> 'WIFI-SET-CHANNEL': 1 passed, 0 failed
[1624019500.96][CONN][RXD]
[1624019501.01][CONN][RXD] >>> Running case #5: 'WIFI-CONNECT-PARAMS-NULL'...
[1624019501.07][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT-PARAMS-NULL}}, queued...
[1624019501.12][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT-PARAMS-NULL;1;0}}, queued...
[1624019501.17][CONN][RXD] >>> 'WIFI-CONNECT-PARAMS-NULL': 1 passed, 0 failed
[1624019501.17][CONN][RXD]
[1624019501.21][CONN][RXD] >>> Running case #6: 'WIFI-SCAN-NULL'...
[1624019501.26][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-SCAN-NULL}}, queued...
[1624019501.86][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-SCAN-NULL;1;0}}, queued...
[1624019501.90][CONN][RXD] >>> 'WIFI-SCAN-NULL': 1 passed, 0 failed
[1624019501.91][CONN][RXD]
[1624019501.95][CONN][RXD] >>> Running case #7: 'WIFI-SCAN'...
[1624019501.98][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-SCAN}}, queued...
[1624019502.59][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-SCAN;1;0}}, queued...
[1624019502.62][CONN][RXD] >>> 'WIFI-SCAN': 1 passed, 0 failed
[1624019502.62][CONN][RXD]
[1624019502.66][CONN][RXD] >>> Running case #8: 'WIFI-GET-RSSI'...
[1624019502.70][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-GET-RSSI}}, queued...
[1624019506.26][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-GET-RSSI;1;0}}, queued...
[1624019506.30][CONN][RXD] >>> 'WIFI-GET-RSSI': 1 passed, 0 failed
[1624019506.30][CONN][RXD]
[1624019506.35][CONN][RXD] >>> Running case #9: 'WIFI-CONNECT-DISCONNECT-REPEAT'...
[1624019506.42][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT-DISCONNECT-REPEAT}}, queued...
[1624019542.08][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT-DISCONNECT-REPEAT;1;0}}, queued...
[1624019542.13][CONN][RXD] >>> 'WIFI-CONNECT-DISCONNECT-REPEAT': 1 passed, 0 failed
[1624019542.13][CONN][RXD]
[1624019542.19][CONN][RXD] >>> Running case #10: 'WIFI-CONNECT-PARAMS-VALID-SECURE'...
[1624019542.26][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT-PARAMS-VALID-SECURE}}, queued...
[1624019546.11][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT-PARAMS-VALID-SECURE;1;0}}, queued...
[1624019546.17][CONN][RXD] >>> 'WIFI-CONNECT-PARAMS-VALID-SECURE': 1 passed, 0 failed
[1624019546.17][CONN][RXD]
[1624019546.23][CONN][RXD] >>> Running case #11: 'WIFI-CONNECT-PARAMS-CHANNEL'...
[1624019546.29][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT-PARAMS-CHANNEL}}, queued...
[1624019546.33][CONN][RXD] :33::IGNORE: set_channel() not supported
[1624019546.38][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT-PARAMS-CHANNEL;1;0}}, queued...
[1624019546.44][CONN][RXD] >>> 'WIFI-CONNECT-PARAMS-CHANNEL': 1 passed, 0 failed
[1624019546.44][CONN][RXD]
[1624019546.51][CONN][RXD] >>> Running case #12: 'WIFI-CONNECT-PARAMS-CHANNEL-FAIL'...
[1624019546.56][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT-PARAMS-CHANNEL-FAIL}}, queued...
[1624019546.60][CONN][RXD] :33::IGNORE: set_channel() not supported
[1624019546.67][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT-PARAMS-CHANNEL-FAIL;1;0}}, queued...
[1624019546.73][CONN][RXD] >>> 'WIFI-CONNECT-PARAMS-CHANNEL-FAIL': 1 passed, 0 failed
[1624019546.73][CONN][RXD]
[1624019546.77][CONN][RXD] >>> Running case #13: 'WIFI-CONNECT-SECURE'...
[1624019546.82][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT-SECURE}}, queued...
[1624019550.63][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT-SECURE;1;0}}, queued...
[1624019550.69][CONN][RXD] >>> 'WIFI-CONNECT-SECURE': 1 passed, 0 failed
[1624019550.69][CONN][RXD]
[1624019550.74][CONN][RXD] >>> Running case #14: 'WIFI-CONNECT-SECURE-FAIL'...
[1624019550.79][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT-SECURE-FAIL}}, queued...
[1624019558.24][CONN][RXD] Function whd_wifi_join failed at line 1622 checkres = 33555494
[1624019565.68][CONN][RXD] Function whd_wifi_join failed at line 1622 checkres = 33555494
[1624019573.13][CONN][RXD] Function whd_wifi_join failed at line 1622 checkres = 33555494
[1624019580.58][CONN][RXD] Function whd_wifi_join failed at line 1622 checkres = 33555494
[1624019588.03][CONN][RXD] Function whd_wifi_join failed at line 1622 checkres = 33555494
[1624019588.08][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT-SECURE-FAIL;1;0}}, queued...
[1624019588.13][CONN][RXD] >>> 'WIFI-CONNECT-SECURE-FAIL': 1 passed, 0 failed
[1624019588.14][CONN][RXD]
[1624019588.17][CONN][RXD] >>> Running case #15: 'WIFI-CONNECT'...
[1624019588.22][CONN][INF] found KV pair in stream: {{__testcase_start;WIFI-CONNECT}}, queued...
[1624019592.99][CONN][INF] found KV pair in stream: {{__testcase_finish;WIFI-CONNECT;1;0}}, queued...
[1624019593.04][CONN][RXD] >>> 'WIFI-CONNECT': 1 passed, 0 failed
[1624019593.04][CONN][RXD]
[1624019593.08][CONN][RXD] >>> Test cases: 15 passed, 0 failed
[1624019593.11][CONN][INF] found KV pair in stream: {{__testcase_summary;15;0}}, queued...
[1624019593.12][CONN][INF] found KV pair in stream: {{end;success}}, queued...
[1624019593.12][HTST][INF] __notify_complete(True)
[1624019593.12][HTST][INF] __exit_event_queue received
[1624019593.12][HTST][INF] test suite run finished after 96.82 sec...
[1624019593.13][CONN][INF] received special event '__host_test_finished' value='True', finishing
[1624019593.14][HTST][INF] CONN exited with code: 0
[1624019593.14][HTST][INF] No events in queue
[1624019593.14][HTST][INF] stopped consuming events
[1624019593.14][HTST][INF] host test result() call skipped, received: True
[1624019593.15][HTST][WRN] missing __exit event from DUT
[1624019593.15][HTST][INF] calling blocking teardown()
[1624019593.15][HTST][INF] teardown() finished
[1624019593.15][HTST][INF] {{result;success}}
mbedgt: checking for GCOV data...
mbedgt: mbed-host-test-runner: stopped and returned 'OK'
mbedgt: test on hardware with target id: 0029002E3438511134313939
mbedgt: test suite 'mbed-os-connectivity-netsocket-tests-tests-network-wifi' ......................... OK in 121.23 sec
        test case: 'WIFI-CONNECT' .................................................................... OK in 4.77 sec
        test case: 'WIFI-CONNECT-DISCONNECT-REPEAT' .................................................. OK in 35.66 sec
        test case: 'WIFI-CONNECT-NOCREDENTIALS' ...................................................... OK in 3.17 sec
        test case: 'WIFI-CONNECT-PARAMS-CHANNEL' ..................................................... OK in 0.09 sec
        test case: 'WIFI-CONNECT-PARAMS-CHANNEL-FAIL' ................................................ OK in 0.11 sec
        test case: 'WIFI-CONNECT-PARAMS-NULL' ........................................................ OK in 0.05 sec
        test case: 'WIFI-CONNECT-PARAMS-VALID-SECURE' ................................................ OK in 3.85 sec
        test case: 'WIFI-CONNECT-SECURE' ............................................................. OK in 3.81 sec
        test case: 'WIFI-CONNECT-SECURE-FAIL' ........................................................ OK in 37.29 sec
        test case: 'WIFI-CONSTRUCTOR' ................................................................ OK in 0.05 sec
        test case: 'WIFI-GET-RSSI' ................................................................... OK in 3.56 sec
        test case: 'WIFI-SCAN' ....................................................................... OK in 0.61 sec
        test case: 'WIFI-SCAN-NULL' .................................................................. OK in 0.60 sec
        test case: 'WIFI-SET-CHANNEL' ................................................................ OK in 0.09 sec
        test case: 'WIFI-SET-CREDENTIAL' ............................................................. OK in 0.06 sec
mbedgt: test case summary: 15 passes, 0 failures
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.2491590957
mbedgt: test suite report:
| target                 | platform_name  | test suite                                              | result | elapsed_time (sec) | copy_method |
|------------------------|----------------|---------------------------------------------------------|--------|--------------------|-------------|
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | OK     | 121.23             | default     |
mbedgt: test suite results: 1 OK
mbedgt: test case report:
| target                 | platform_name  | test suite                                              | test case                        | passed | failed | result | elapsed_time (sec) |
|------------------------|----------------|---------------------------------------------------------|----------------------------------|--------|--------|--------|--------------------|
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT                     | 1      | 0      | OK     | 4.77               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT-DISCONNECT-REPEAT   | 1      | 0      | OK     | 35.66              |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT-NOCREDENTIALS       | 1      | 0      | OK     | 3.17               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT-PARAMS-CHANNEL      | 1      | 0      | OK     | 0.09               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT-PARAMS-CHANNEL-FAIL | 1      | 0      | OK     | 0.11               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT-PARAMS-NULL         | 1      | 0      | OK     | 0.05               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT-PARAMS-VALID-SECURE | 1      | 0      | OK     | 3.85               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT-SECURE              | 1      | 0      | OK     | 3.81               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONNECT-SECURE-FAIL         | 1      | 0      | OK     | 37.29              |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-CONSTRUCTOR                 | 1      | 0      | OK     | 0.05               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-GET-RSSI                    | 1      | 0      | OK     | 3.56               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-SCAN                        | 1      | 0      | OK     | 0.61               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-SCAN-NULL                   | 1      | 0      | OK     | 0.6                |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-SET-CHANNEL                 | 1      | 0      | OK     | 0.09               |
| PORTENTA_H7_M7-GCC_ARM | PORTENTA_H7_M7 | mbed-os-connectivity-netsocket-tests-tests-network-wifi | WIFI-SET-CREDENTIAL              | 1      | 0      | OK     | 0.06               |
mbedgt: test case results: 15 OK
mbedgt: completed in 121.32 sec

@pennam
Copy link
Contributor Author

pennam commented Jun 29, 2021

@0xc0170 ARMClang should be fixed by 7909a1d

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 29, 2021

CI started

@mergify mergify bot added needs: work and removed needs: CI labels Jun 29, 2021
@mbed-ci
Copy link

mbed-ci commented Jun 29, 2021

Jenkins CI Test : ❌ FAILED

Build Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_cmake-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️

@pennam
Copy link
Contributor Author

pennam commented Jun 29, 2021

missed a bit, sorry, fixing right now

@pennam
Copy link
Contributor Author

pennam commented Jun 29, 2021

ARMClang fixed for real now. This is what i get building mbed-os-example-blinky

Building project portenta_patch (PORTENTA_H7_M7, `ARMC6)`
Scan: portenta_patch
Using ROM region application in this build.
  Region application: size 0x100000, offset 0x8000000
Using RAM region application_ram in this build.
  Region application_ram: size 0x80000, offset 0x24000000
Compile [  0.1%]: RTX_Config.c
Compile [  0.2%]: rtx_lib.c
Compile [  0.3%]: irq_cm4f.S
Compile [  0.4%]: rtx_evr.c
Compile [  0.5%]: cmsis_os1.c
Compile [  0.6%]: rtx_delay.c
Compile [  0.7%]: rtx_memory.c
Compile [  0.8%]: rtx_evflags.c
Compile [  0.9%]: rtx_mempool.c
Compile [  1.0%]: rtx_semaphore.c
Compile [  1.1%]: mbed_tz_context.c
Compile [  1.2%]: rtx_msgqueue.c
Compile [  1.3%]: rtx_kernel.c
Compile [  1.4%]: rtx_system.c
Compile [  1.5%]: rtx_mutex.c
Compile [  1.6%]: rtx_timer.c
Compile [  1.7%]: os_tick_ptim.c
Compile [  1.8%]: os_systick.c
Compile [  1.9%]: AT_CellularSMS.cpp
Compile [  2.0%]: rtx_thread.c
Compile [  2.1%]: mbed_rtos_rtx.c
Compile [  2.2%]: mbed_boot_arm_std.c
Compile [  2.3%]: APN_db.cpp
Compile [  2.4%]: CellularLog.cpp
...
Compile [ 97.4%]: analogout_api.c
Compile [ 97.5%]: cyhal_gpio.cpp
Compile [ 97.6%]: analogin_api.c
Compile [ 97.7%]: ospi_api.c
Compile [ 97.8%]: gpio_irq_api.c
Compile [ 97.9%]: can_api.c
Compile [ 98.0%]: hal_tick_overrides.c
Compile [ 98.1%]: gpio_api.c
Compile [ 98.2%]: portenta_power.cpp
Compile [ 98.3%]: wiced_filesystem.cpp
Compile [ 98.4%]: mbed_crc_api.c
Compile [ 98.5%]: USBPhy_STM32.cpp
Compile [ 98.6%]: lp_ticker.c
Compile [ 98.7%]: mbed_overrides.c
Compile [ 98.8%]: i2c_api.c
Compile [ 98.9%]: pinmap.c
Compile [ 99.0%]: port_api.c
Compile [ 99.1%]: qspi_api.c
Compile [ 99.2%]: reset_reason.c
Compile [ 99.3%]: rtc_api.c
Compile [ 99.4%]: pwmout_api.c
Compile [ 99.5%]: sleep.c
Compile [ 99.6%]: serial_api.c
Compile [ 99.7%]: watchdog_api.c
Compile [ 99.8%]: stm_spi_api.c
Compile [ 99.9%]: us_ticker.c
Compile [100.0%]: trng_api.c
Link: portenta_patch
[Warning] @0,0: L3912W: Option 'legacyalign' is deprecated.
Elf2Bin: portenta_patch
Merging Regions
  Filling region application with ../BUILD/PORTENTA_H7_M7/ARM/portenta_patch_application.bin
Space used after regions merged: 0x109fc
Merging Regions
  Filling region application with ../BUILD/PORTENTA_H7_M7/ARM/portenta_patch_application.bin
Space used after regions merged: 0x109fc
| Module               |         .text |       .data |          .bss |
|----------------------|---------------|-------------|---------------|
| [lib]/c_w.l          |   4392(+4392) |     16(+16) |     348(+348) |
| [lib]/fz_wv.l        |       26(+26) |       0(+0) |         0(+0) |
| [lib]/libcppabi_w.l  |       44(+44) |       0(+0) |         0(+0) |
| anon$$obj.o          |       80(+80) |       0(+0) |   1024(+1024) |
| main.o               |       94(+94) |       0(+0) |         0(+0) |
| mbed-os/cmsis        | 11928(+11928) |   168(+168) |   6865(+6865) |
| mbed-os/connectivity |   5151(+5151) | 6468(+6468) |   7171(+7171) |
| mbed-os/drivers      |   1022(+1022) |       0(+0) |       44(+44) |
| mbed-os/events       |   1587(+1587) |       0(+0) |   3104(+3104) |
| mbed-os/hal          |   2318(+2318) |       8(+8) |     114(+114) |
| mbed-os/platform     |   8176(+8176) |     64(+64) |     420(+420) |
| mbed-os/rtos         |   1471(+1471) |       0(+0) |         8(+8) |
| mbed-os/storage      |       34(+34) |       0(+0) |         4(+4) |
| mbed-os/targets      | 30949(+30949) |     13(+13) |   4089(+4089) |
| Subtotals            | 67272(+67272) | 6737(+6737) | 23191(+23191) |
Total Static RAM memory (data + bss): 29928(+29928) bytes
Total Flash memory (text + data): 74009(+74009) bytes

Update Image: ../BUILD/PORTENTA_H7_M7/ARM/portenta_patch_update.bin
Image: ../BUILD/PORTENTA_H7_M7/ARM/portenta_patch.bin
[mbed] Working path "/home/pennam/mbed/portenta_patch/mbed-os" (library)
[mbed] Program path "/home/pennam/mbed/portenta_patch"

@pennam
Copy link
Contributor Author

pennam commented Jul 6, 2021

@0xc0170 should be ok to re-run CI when you have a slot available. Thanks!

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 8, 2021

CI restarted

@mbed-ci
Copy link

mbed-ci commented Jul 8, 2021

Jenkins CI Test : ✔️ SUCCESS

Build Number: 3 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️

@0xc0170 0xc0170 merged commit 0e52d49 into ARMmbed:master Jul 8, 2021
@mergify mergify bot removed the ready for merge label Jul 8, 2021
@mbedmain mbedmain added release-version: 6.13.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants