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

Enable verbose builds when running example build tests #4530

Merged
merged 1 commit into from Jun 15, 2017

Conversation

bridadan
Copy link
Contributor

@bridadan bridadan commented Jun 12, 2017

Description

Currently when building examples in CI, the following command is run for each TARGET, TOOLCHAIN, and EXAMPLE combination:

cd <EXAMPLE> && mbed compile -t <TOOLCHAIN> -m <TARGET> --silent

The --silent hides valuable debug information when certain errors occur. This PR enables verbose mode to reveal this information. The command will now become:

cd <EXAMPLE> && mbed compile -t <TOOLCHAIN> -m <TARGET> -v

Status

READY

Todos

  • morph test

FYI @c1728p9

Copy link
Contributor

@theotherjimmy theotherjimmy left a comment

Choose a reason for hiding this comment

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

Looks great. -v might be too much, and might slow things down.

@bridadan
Copy link
Contributor Author

retest uvisor

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 13, 2017

Looks great. -v might be too much, and might slow things down.

what would you suggest @theotherjimmy ?

I believe this is the one I reported yesterday, that examples show Error but not actual error, this should fix it ? It would be enough to report errors , I assume this PR is fixing that?

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 13, 2017

retest uvisor

@bridadan
Copy link
Contributor Author

We have verbose turned on for compiles, so not too much different here. I'd recommend doing a CI run to see how it affects the compile time. (normal morph test)

@bridadan
Copy link
Contributor Author

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 542

All builds and test passed!

@bridadan
Copy link
Contributor Author

If you look at the Jenkins results, it looks like the "Example Build" stage slowed down by 15 minutes, but that's not actually true. What actually happened was the "Example Build" stage was started, then blocked for 15 minutes because another build was executing. The actual building still took ~20 minutes.

So looks like this should be ok!

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.

None yet

6 participants