Skip to content

Conversation

@hugueskamba
Copy link
Collaborator

@hugueskamba hugueskamba commented Sep 6, 2019

Description

All scripts pertaining to example projects tests should be in the same
directory. The test framework uses Python2 therefore this script also needs
to be Python2 compatible.

Pull request type

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

Reviewers

@jamesbeyond @evedon

Release Notes

@ciarmcom ciarmcom requested review from a team, evedon, jamesbeyond and maclobdell September 6, 2019 09:00
@ciarmcom
Copy link
Member

ciarmcom commented Sep 6, 2019

@hugueskamba, thank you for your changes.
@evedon @jamesbeyond @maclobdell @ARMmbed/mbed-os-core @ARMmbed/mbed-os-wan @ARMmbed/mbed-os-pan @ARMmbed/mbed-os-storage @ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers @ARMmbed/mbed-os-crypto @ARMmbed/mbed-os-tools please review.

@hugueskamba hugueskamba force-pushed the hk-no-float-validation branch from 22c99f6 to f29cf7c Compare September 6, 2019 09:38
@0xc0170 0xc0170 removed request for a team and maclobdell September 6, 2019 10:01
@0xc0170 0xc0170 requested a review from a team September 6, 2019 10:45
@0xc0170
Copy link
Contributor

0xc0170 commented Sep 6, 2019

There's already conflict, pls rebase

@ARMmbed/mbed-os-tools Please review

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 6, 2019

Please rebase instead of merge (6a9d989 commit)

@hugueskamba hugueskamba force-pushed the hk-no-float-validation branch from 6a9d989 to 0944477 Compare September 6, 2019 12:37
@hugueskamba
Copy link
Collaborator Author

Please rebase instead of merge (6a9d989 commit)

@0xc0170
This force-push rebased from master and squashed all commits.

@hugueskamba
Copy link
Collaborator Author

This force-push removes nanostack-border-router from the list of example projects not to run the floating point post build check as it also currently does not have any floating point operations.

@hugueskamba hugueskamba force-pushed the hk-no-float-validation branch from 320a8b7 to e230ca1 Compare October 18, 2019 13:39
@hugueskamba hugueskamba changed the title Test builds with minimal-printf and optional check for floats post-build Move script to check for floats and make it Python 2 compatible Oct 18, 2019
@hugueskamba hugueskamba force-pushed the hk-no-float-validation branch from e230ca1 to fdf6612 Compare October 18, 2019 13:42
@hugueskamba
Copy link
Collaborator Author

hugueskamba commented Oct 18, 2019

This force-push removes all changes to examples.py and examples_lib.py as they have been incorporated to #11710.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 18, 2019

CI restarted (aborted old job)

@mbed-ci
Copy link

mbed-ci commented Oct 18, 2019

Test run: FAILED

Summary: 3 of 4 test jobs failed
Build number : 6
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-IAR
  • jenkins-ci/mbed-os-ci_build-ARM
  • jenkins-ci/mbed-os-ci_build-GCC_ARM

@hugueskamba
Copy link
Collaborator Author

Test run: FAILED

Summary: 3 of 4 test jobs failed
Build number : 6
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-IAR
  • jenkins-ci/mbed-os-ci_build-ARM
  • jenkins-ci/mbed-os-ci_build-GCC_ARM

@0xc0170 I do not believe the failures are caused by the changes in this PR.

@mbed-ci
Copy link

mbed-ci commented Oct 18, 2019

Test run: SUCCESS

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

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 21, 2019

@hugueskamba Tests passed in CI but Travis shows python errors, please verify

@hugueskamba
Copy link
Collaborator Author

This force-push removes collection unpacking and usages of Python 3.7 f-strings in the Pytest test file to fix the CI error.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 21, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Oct 21, 2019

Test run: FAILED

Summary: 7 of 11 test jobs failed
Build number : 8
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_dynamic-memory-usage
  • jenkins-ci/mbed-os-ci_greentea-test
  • jenkins-ci/mbed-os-ci_cloud-client-test
  • jenkins-ci/mbed-os-ci_exporter
  • jenkins-ci/mbed-os-ci_mbed2-build-ARM
  • jenkins-ci/mbed-os-ci_mbed2-build-IAR
  • jenkins-ci/mbed-os-ci_mbed2-build-GCC_ARM

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 21, 2019

Aborted ^^

All scripts pertaining to example projects tests should be in the same
directory. The test framework uses Python2 therefore this script also needs
to be Python2 compatible.
@hugueskamba hugueskamba force-pushed the hk-no-float-validation branch from 7871489 to c712d2f Compare October 21, 2019 13:05
@hugueskamba
Copy link
Collaborator Author

This force-push removes usage of the pathlib package as it is not listed as a required package in the requirements.txt file of Mbed OS.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 21, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Oct 21, 2019

Test run: SUCCESS

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

@0xc0170 0xc0170 merged commit 5eeeaca into ARMmbed:master Oct 22, 2019
@hugueskamba hugueskamba deleted the hk-no-float-validation branch October 23, 2019 07:02
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.

7 participants