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

Revert "Turn off MPU on targets failing OOB" #9020

Merged
merged 1 commit into from
Dec 11, 2018

Conversation

c1728p9
Copy link
Contributor

@c1728p9 c1728p9 commented Dec 7, 2018

Description

The cause of the pelion-enablement test failures for Nuvoton boards is not caused by or related to the MPU so this patch re-enables the MPU for these boards.

The change which initially disabled the MPU is:
b217c5f

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

@ciarmcom ciarmcom requested a review from a team December 7, 2018 22:00
@ciarmcom
Copy link
Member

ciarmcom commented Dec 7, 2018

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

@c1728p9
Copy link
Contributor Author

c1728p9 commented Dec 7, 2018

Marking this as do not merge until @MarceloSalazar or @ashok-rao can confirm that the pelion-enablement tests work with the MPU turned on on the NUMAKER_PFM_M487 and NUMAKER_IOT_M487.

The cause of the pelion-enablement test failures for Nuvoton boards
is not caused by or related to the MPU so this patch re-enables the
MPU for these boards.

The cause of the  pelion-enablement test failures for the
UBLOX_C030_U201 has been identified and corrected so this patch
re-enables the MPU for this board.

This reverts commit b217c5f.
@c1728p9 c1728p9 changed the title Turn the MPU on for MCU_M480 derived targets Revert "Turn off MPU on targets failing OOB" Dec 8, 2018
@cmonr
Copy link
Contributor

cmonr commented Dec 10, 2018

@bulislaw Fyi

@cmonr
Copy link
Contributor

cmonr commented Dec 10, 2018

@c1728p9 Making sure, is this still needed, or was this fixed in a different PR?

@c1728p9
Copy link
Contributor Author

c1728p9 commented Dec 11, 2018

@cmonr this just re-enables the MPU. It is not required for RC3

@cmonr
Copy link
Contributor

cmonr commented Dec 11, 2018

@MarceloSalazar @ashok-rao Fyi.

@screamerbg
Copy link
Contributor

Test results with this PR:

+------------------------+--------------------+-------------------------------------------------+--------------------------+--------+--------+--------+--------------------+
| target                 | platform_name      | test suite                                      | test case                | passed | failed | result | elapsed_time (sec) |
+------------------------+--------------------+-------------------------------------------------+--------------------------+--------+--------+--------+--------------------+
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Connect to Ethernet      | 2      | 0      | OK     | 4.04               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Format FAT               | 1      | 0      | OK     | 0.14               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Initialize NUSD+FAT      | 2      | 0      | OK     | 0.23               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Initialize Simple PDMC   | 2      | 0      | OK     | 8.42               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Pelion Bootstrap & Reg.  | 1      | 0      | OK     | 57.38              |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Pelion Directory         | 1      | 0      | OK     | 0.67               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Pelion Re-register       | 1      | 0      | OK     | 18.5               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Post-reset Identity      | 1      | 0      | OK     | 0.1                |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Resource LwM2M GET       | 1      | 0      | OK     | 0.7                |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Resource LwM2M POST      | 1      | 0      | OK     | 0.58               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Resource LwM2M PUT       | 1      | 0      | OK     | 0.68               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Resource LwM2M SET       | 1      | 0      | OK     | 0.38               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Connect to Ethernet      | 2      | 0      | OK     | 4.04               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Format FAT               | 1      | 0      | OK     | 0.31               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Initialize NUSD+FAT      | 2      | 0      | OK     | 0.04               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Initialize Simple PDMC   | 2      | 0      | OK     | 8.59               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Bootstrap & Reg.  | 1      | 0      | OK     | 56.99              |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Directory         | 1      | 0      | OK     | 0.84               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Firmware Download | 1      | 0      | OK     | 66.29              |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Firmware Prepare  | 1      | 0      | OK     | 0.3                |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Firmware Update   | 1      | 0      | OK     | 16.0               |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Re-register       | 1      | 0      | OK     | 18.78              |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Post-update Erase        | 1      | 0      | OK     | 0.0                |
| NUMAKER_PFM_NUC472-ARM | NUMAKER_PFM_NUC472 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Post-update Identity     | 1      | 0      | OK     | 0.09               |
+------------------------+--------------------+-------------------------------------------------+--------------------------+--------+--------+--------+--------------------+
mbedgt: test case results: 24 OK
mbedgt: completed in 361.33 sec
+----------------------+------------------+-------------------------------------------------+--------------------------+--------+--------+--------+--------------------+
| target               | platform_name    | test suite                                      | test case                | passed | failed | result | elapsed_time (sec) |
+----------------------+------------------+-------------------------------------------------+--------------------------+--------+--------+--------+--------------------+
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Connect to Ethernet      | 2      | 0      | OK     | 4.54               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Format FAT               | 1      | 0      | OK     | 0.0                |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Initialize NUSD+FAT      | 2      | 0      | OK     | 0.02               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Initialize Simple PDMC   | 2      | 0      | OK     | 1.44               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Pelion Bootstrap & Reg.  | 1      | 0      | OK     | 5.02               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Pelion Directory         | 1      | 0      | OK     | 0.69               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Pelion Re-register       | 1      | 0      | OK     | 1.58               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Post-reset Identity      | 1      | 0      | OK     | 0.1                |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Resource LwM2M GET       | 1      | 0      | OK     | 0.64               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Resource LwM2M POST      | 1      | 0      | OK     | 0.46               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Resource LwM2M PUT       | 1      | 0      | OK     | 0.68               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-connect | Resource LwM2M SET       | 1      | 0      | OK     | 0.4                |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Connect to Ethernet      | 2      | 0      | OK     | 4.05               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Format FAT               | 1      | 0      | OK     | 0.01               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Initialize NUSD+FAT      | 2      | 0      | OK     | 0.02               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Initialize Simple PDMC   | 2      | 0      | OK     | 1.44               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Bootstrap & Reg.  | 1      | 0      | OK     | 4.84               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Directory         | 1      | 0      | OK     | 1.37               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Firmware Download | 1      | 0      | OK     | 58.74              |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Firmware Prepare  | 1      | 0      | OK     | 0.11               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Firmware Update   | 1      | 0      | OK     | 19.73              |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Pelion Re-register       | 1      | 0      | OK     | 1.93               |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Post-update Erase        | 1      | 0      | OK     | 0.0                |
| NUMAKER_PFM_M487-ARM | NUMAKER_PFM_M487 | simple-mbed-cloud-client-tests-dev_mgmt-update  | Post-update Identity     | 1      | 0      | OK     | 0.11               |
+----------------------+------------------+-------------------------------------------------+--------------------------+--------+--------+--------+--------------------+
mbedgt: test case results: 24 OK
mbedgt: completed in 203.03 sec

This should be safe to merge.

@adbridge
Copy link
Contributor

CI started

@cmonr
Copy link
Contributor

cmonr commented Dec 11, 2018

Woop, I need to slow down. Stopped the wrong job. Restarting.

@cmonr
Copy link
Contributor

cmonr commented Dec 11, 2018

CI started

@cmonr
Copy link
Contributor

cmonr commented Dec 11, 2018

Fixes #8927

@mbed-ci
Copy link

mbed-ci commented Dec 11, 2018

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 2
Build artifacts

@cmonr cmonr merged commit f5fdbff into ARMmbed:master Dec 11, 2018
@cmonr cmonr removed the needs: CI label Dec 11, 2018
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.

6 participants