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

Fix Nightly Tests for Binaries #16451

Merged
merged 4 commits into from
Oct 14, 2019
Merged

Fix Nightly Tests for Binaries #16451

merged 4 commits into from
Oct 14, 2019

Conversation

mseth10
Copy link
Contributor

@mseth10 mseth10 commented Oct 11, 2019

Description

This PR fixes nightly tests for binaries, that have been failing since 09/19.

One of the errors is because requirements file was not copied to the teat environment.
The other errors are due to numpy warnings treated as errors.

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage:
  • Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
  • Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
  • Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
  • Code is well-documented:
  • For user-facing API changes, API doc string has been updated.
  • For new C++ functions in header files, their functionalities and arguments are documented.
  • For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
  • Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
  • To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

  • Feature1, tests, (and when applicable, API doc)
  • Feature2, tests, (and when applicable, API doc)

Comments

  • If this change is a backward incompatible change, why must this change be made.
  • Interesting edge cases to note here

@@ -111,7 +111,7 @@ def run_notebook(notebook, notebook_dir, kernel=None, no_cache=False, temp_dir='
nbformat.write(notebook, output_file)
output_nb = io.open(output_file, mode='r', encoding='utf-8')
for line in output_nb:
if "Warning:" in line:
if "Warning:" in line and "numpy operator signatures" not in line:
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

The warning message of numpy operator signature is for python version < 3.5. It does not affect functionality, but merely used for building numpy op documentation. I'm fine with this change.

@mseth10
Copy link
Contributor Author

mseth10 commented Oct 12, 2019

@ThomasDelteil @larroy ping for review

@mseth10
Copy link
Contributor Author

mseth10 commented Oct 13, 2019

@marcoabreu can you please review and merge. Thanks.

@mseth10 mseth10 closed this Oct 13, 2019
@mseth10 mseth10 reopened this Oct 13, 2019
Copy link
Contributor

@samskalicky samskalicky left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix @mseth10

Copy link
Contributor

@rondogency rondogency left a comment

Choose a reason for hiding this comment

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

LGTM

@zachgk zachgk merged commit 1256976 into apache:master Oct 14, 2019
@@ -29,6 +29,7 @@ COPY install/deb_ubuntu_ccache.sh /work/
RUN /work/deb_ubuntu_ccache.sh

COPY install/ubuntu_python.sh /work/
COPY install/requirements /work/
Copy link
Contributor

Choose a reason for hiding this comment

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

so the test environment is in the '/work/` directory?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, work directory is created inside the docker and all required files are copied there.

aaronmarkham pushed a commit to aaronmarkham/incubator-mxnet that referenced this pull request Oct 16, 2019
* copy missing requirements file

* not treating numpy warnings as errors

* updating six package version

* Revert "updating six package version"

This reverts commit 02433c5.
@mseth10 mseth10 deleted the debug_nightly branch June 1, 2020 10:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants