Skip to content

Change explicit pinmap to static pinmap #11820

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

Conversation

mprse
Copy link
Contributor

@mprse mprse commented Nov 6, 2019

Description

Change naming: explicit pinmap to static pinmap.

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)

Reviewers

@jamesbeyond @0xc0170

@ciarmcom ciarmcom requested review from 0xc0170, jamesbeyond and a team November 6, 2019 12:00
@ciarmcom
Copy link
Member

ciarmcom commented Nov 6, 2019

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

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 8, 2019

Early CI started

Copy link
Contributor

@jamesbeyond jamesbeyond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbed-ci
Copy link

mbed-ci commented Nov 8, 2019

Test run: FAILED

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

Failed test jobs:

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

Copy link
Contributor

@kjbracey kjbracey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels a bit like a misnomer at the HAL level - what the HAL sees is merely an explicit pinmap, and whether it's actually static or not doesn't really matter to it. (It could have been the result of a dynamic lookup).

But from the application/system point of view, it makes sense. So this is fine.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 11, 2019

Ci restarted (I don't see much in the logs, more likely as CI error)

@mbed-ci
Copy link

mbed-ci commented Nov 11, 2019

Test run: FAILED

Summary: 3 of 4 test jobs failed
Build number : 2
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
Copy link
Contributor

0xc0170 commented Nov 11, 2019

@mprse Can you check the logs? I dont see there much from the failures, is this CI/branch error somewhere?

@mprse
Copy link
Contributor Author

mprse commented Nov 12, 2019

ERROR: The mbed tools were not found in "/builds/ws/mbed-os-ci_build-ARM@7/examples/mbed-os-example-blinky". \n You can run "mbed deploy" to install dependencies and tools.\n---\n'

Error: hudson.AbortException: script returned exit code 2

It looks like these failures are not related. I can rebase the feature branch.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 12, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Nov 12, 2019

Test run: FAILED

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

Failed test jobs:

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

@mprse
Copy link
Contributor Author

mprse commented Nov 12, 2019

These failures are caused because the location of examples has changed. Rebase is needed, but it requires a lot of merging. So now I'm testing if it still works after rebase.
@0xc0170 I will provide a rebased feature branch later today (hopefully).

@0xc0170 0xc0170 force-pushed the feature-hal-spec-explicit-pinmap branch from 28dea6d to 4a689ff Compare November 13, 2019 10:46
@mprse mprse force-pushed the explicit_to_static branch from c31b0cc to 32c2a07 Compare November 13, 2019 11:24
@0xc0170
Copy link
Contributor

0xc0170 commented Nov 13, 2019

CI restarted

I can see unittest failed now. Please review

@mbed-ci
Copy link

mbed-ci commented Nov 13, 2019

Test run: FAILED

Summary: 2 of 4 test jobs failed
Build number : 4
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_unittests
  • jenkins-ci/mbed-os-ci_build-ARM

@mprse
Copy link
Contributor Author

mprse commented Nov 14, 2019

Added pwmout_init_direct() stub. Hopefully, this will solve the issue with PWM unit test.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 14, 2019

Ci restarted

@mbed-ci
Copy link

mbed-ci commented Nov 14, 2019

Test run: FAILED

Summary: 1 of 4 test jobs failed
Build number : 5
Build artifacts

Failed test jobs:

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

@mprse
Copy link
Contributor Author

mprse commented Nov 14, 2019

[2019-11-14T09:27:59.781Z] [mbed] Working path "/builds/ws/mbed-os-ci_build-ARM/examples/mbed-os-example-mbed-crypto" (program)

[2019-11-14T09:27:59.781Z] [EXAMPLES]> INFO     In folder 'mbed-os-example-nfc'

[2019-11-14T09:27:59.781Z] [EXAMPLES]> INFO     Executing command 'mbed-cli deploy'...

[2019-11-14T09:28:02.295Z] [mbed] WARNING: Python 3 is not yet fully supported: Python errors may occur when compiling, testing and exporting

[2019-11-14T09:28:02.295Z] ---

[2019-11-14T09:28:02.295Z] [mbed] ERROR: OS Error: File exists

@jamesbeyond @0xc0170 Do you have any ideas on how to fix this?

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 14, 2019

There was an update to examples (=script - how we test). Also was propagated to CI. I wonder if this branch is older, and might have an issue there?

A rebase should answer this one

@mprse
Copy link
Contributor Author

mprse commented Nov 14, 2019

I have rebased it 3 days ago.

@mbed-ci
Copy link

mbed-ci commented Nov 14, 2019

Test run: FAILED

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

Failed test jobs:

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

@mprse
Copy link
Contributor Author

mprse commented Nov 14, 2019

Previous failure (example on ARM) is gone. But we got new failures. This time we got other errors on GCC:
Error: java.io.IOException: Can not call launch on a dummy launcher.
https://mbed-os.mbedcloudtesting.com/blue/organizations/jenkins/mbed-os-ci_build-GCC_ARM/detail/mbed-os-ci_build-GCC_ARM/3865/pipeline/368

@0xc0170 @jamesbeyond Since the failures are different in each run I think that we have some CI problem rather than some issue on this branch. 😢
We can try once more.

@jamesbeyond
Copy link
Contributor

jamesbeyond commented Nov 14, 2019

Previous failure (example on ARM) is gone. But we got new failures. This time we got other errors on GCC:
Error: java.io.IOException: Can not call launch on a dummy launcher.
https://mbed-os.mbedcloudtesting.com/blue/organizations/jenkins/mbed-os-ci_build-GCC_ARM/detail/mbed-os-ci_build-GCC_ARM/3865/pipeline/368

@0xc0170 @jamesbeyond Since the failures are different in each run I think that we have some CI problem rather than some issue on this branch. 😢
We can try once more.

Is this related with GCC9 updates? I'll try to ping CI team and investigation the problem

@mprse
Copy link
Contributor Author

mprse commented Nov 14, 2019

Is this released with GCC9 updates?

I don't know. But results are different in each run.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 14, 2019

@ARMmbed/mbed-os-test Please help ^^

@mprse
Copy link
Contributor Author

mprse commented Nov 15, 2019

@ARMmbed/mbed-os-test Any updates? Can we move forward with this one?

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 15, 2019

@mprse Please talk to @VeliMattiLahtela

@mbed-ci
Copy link

mbed-ci commented Nov 16, 2019

Test run: FAILED

Summary: 1 of 12 test jobs failed
Build number : 7
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_greentea-test

@mprse
Copy link
Contributor Author

mprse commented Nov 17, 2019

I see that we have progress. But still, I see some I think unrelated green-tea test failures:

K64F/(all compilers): tests-mbed-crypto-sanity
NUCLEO_F429ZI/ARM: tests-netsocket-dns, tests-netsocket-tls, tests-netsocket-udp, tests-network-interface
NUCLEO_F429ZI/GCC_ARM: tests-netsocket-tcp, tests-network-interface

@mbed-ci
Copy link

mbed-ci commented Nov 17, 2019

Test run: SUCCESS

Summary: 12 of 12 test jobs passed
Build number : 8
Build artifacts

@mprse
Copy link
Contributor Author

mprse commented Nov 18, 2019

Tests have passed, but still some Jenkins/pr-merge error:

HTTP ERROR 404
Problem accessing /job/iotsystest-docker-tools/job/mbed-os/job/PR-11820/1/display/redirect. Reason:

    Not Found

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 19, 2019

I'll fix pr merge now and this can go in

@0xc0170 0xc0170 removed the needs: CI label Nov 19, 2019
@0xc0170 0xc0170 merged commit 3927aae into ARMmbed:feature-hal-spec-explicit-pinmap Nov 19, 2019
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