Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Fix error in try/finally block for blc - #12561

Merged
sandeep-krishnamurthy merged 2 commits into
apache:masterfrom
sandeep-krishnamurthy:fix_blc_jenkins2
Sep 14, 2018
Merged

Fix error in try/finally block for blc#12561
sandeep-krishnamurthy merged 2 commits into
apache:masterfrom
sandeep-krishnamurthy:fix_blc_jenkins2

Conversation

@sandeep-krishnamurthy

Copy link
Copy Markdown

Description

This fixes an issue introduced in this PR - #12507 for broken link checker.
"finally" block was removed because regression checks were removed. but, I had missed to remove "try" block.
Fails with this error - http://jenkins.mxnet-ci.amazon-ml.com/job/Broken_Link_Checker_Pipeline/310/console

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • Changes are complete (i.e. I finished coding on this PR)
  • Code is well-documented:

@lebeg

timeout(time: 60, unit: 'MINUTES') {
try {
utils.init_git()
utils.docker_run('ubuntu_blc', 'broken_link_checker', false)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hm, shouldn't we catch and log here instead?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@lebeg - Added the catch block.

@kalyc

kalyc commented Sep 14, 2018

Copy link
Copy Markdown
Contributor

Thanks for your contribution @sandeep-krishnamurthy
@mxnet-label-bot[pr-awaiting-merge]

@marcoabreu marcoabreu added the pr-awaiting-merge Review and CI is complete. Ready to Merge label Sep 14, 2018
@sandeep-krishnamurthy
sandeep-krishnamurthy merged commit e213286 into apache:master Sep 14, 2018
anirudh2290 pushed a commit to anirudh2290/mxnet that referenced this pull request Sep 19, 2018
* Fix error in try/finally block for blc

* Add catch block for BLC
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

pr-awaiting-merge Review and CI is complete. Ready to Merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants