• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

TestDoc/H04-Nov-2021-235161

compilation_warnings/H04-Nov-2021-10359

estimator/H04-Nov-2021-449298

model_backwards_compatibility_check/H04-Nov-2021-770456

.gitignoreH A D04-Nov-202115 32

JenkinsfileH A D04-Nov-20215.7 KiB150146

JenkinsfileForBinariesH A D04-Nov-20215.3 KiB138133

README.mdH A D04-Nov-20213.1 KiB6134

dist_async_kvstore.pyH A D04-Nov-20212 KiB5328

dist_device_sync_kvstore.pyH A D04-Nov-20214.9 KiB13293

dist_device_sync_kvstore_custom.pyH A D04-Nov-20213.4 KiB9760

dist_lenet.pyH A D04-Nov-20211.8 KiB5228

dist_sync_kvstore.pyH A D04-Nov-202118.7 KiB463356

download.shH A D04-Nov-20211.3 KiB3916

multi_lenet.pyH A D04-Nov-20214.7 KiB14793

test_image_classification.shH A D04-Nov-20212 KiB6841

test_kvstore.pyH A D04-Nov-202110.2 KiB260193

test_large_array.pyH A D04-Nov-202176.1 KiB2,0371,665

test_large_vector.pyH A D04-Nov-202135.9 KiB1,118887

test_np_random.pyH A D04-Nov-20216.3 KiB161122

test_optimizer.pyH A D04-Nov-20213.6 KiB9459

test_server_profiling.pyH A D04-Nov-20212.7 KiB7037

test_tlocal_racecondition.pyH A D04-Nov-20213.9 KiB11182

README.md

1<!--- Licensed to the Apache Software Foundation (ASF) under one -->
2<!--- or more contributor license agreements.  See the NOTICE file -->
3<!--- distributed with this work for additional information -->
4<!--- regarding copyright ownership.  The ASF licenses this file -->
5<!--- to you under the Apache License, Version 2.0 (the -->
6<!--- "License"); you may not use this file except in compliance -->
7<!--- with the License.  You may obtain a copy of the License at -->
8
9<!---   http://www.apache.org/licenses/LICENSE-2.0 -->
10
11<!--- Unless required by applicable law or agreed to in writing, -->
12<!--- software distributed under the License is distributed on an -->
13<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
14<!--- KIND, either express or implied.  See the License for the -->
15<!--- specific language governing permissions and limitations -->
16<!--- under the License. -->
17
18# Nightly Tests for MXNet
19
20These are some longer running tests that are scheduled to run every night, for master and for latest release branches.
21
22### Description
23There are two Jenkins pipelines that run these tests -
241. [Tests on source code](http://jenkins.mxnet-ci.amazon-ml.com/job/NightlyTests/)
252. [Tests on built binaries](http://jenkins.mxnet-ci.amazon-ml.com/job/NightlyTestsForBinaries/)
26
27### Adding a new Nightly Test
28Add your test script to the MXNet repo's `tests/nightly/` folder. Make sure to describe in a readme or in the
29comments the purpose of the test.
30
31#### Setting up the Docker Container
321. Your test must run on the CI slaves only within an official docker container available at ci/docker
332. Make sure your script itself does not install anything on the slaves. All dependencies must be added to the dockerfile.
343. For most tests you should be able to find an existing dockerfile that contains all the necessary dependencies - select based on the required os, cpu vs gpu, necessary dependencies etc
354. However, If there is no dockerfile which installs the required dependencies do the following -
36    a. Add your dependencies to a new install script in ci/docker/install
37    b. Now either run this install script within an existing dockerfile or create a new dockerfile.
38
39#### Running the test from the Jenkinsfile
40If the test runs on the MXNet source, modify tests/nightly/Jenkinsfile -
411. Add a function to ci/docker/runtimefunctions.sh which calls your test script.
422. In the Jenkinsfile, add a new test similar to existing tests under the `NightlyTests` stage. Make sure to call the right runtime function
43
44If the test runs on MXNet binaries modify tests/nightly/JenkinsfileForBinaries -
451. Add a function to ci/docker/runtimefunctions.sh which calls your test script.
462. In the Jenkinsfile, if needed, add a new build similar to existing tests under the `Build` stage.
473. Add a new test similar to existing tests under the `NightlyTests` stage. Make sure to call the right runtime function
48
49### Currently Running Tests
50
51#### Tests on Source
521. Amalgamation Tests
532. Compilation Warnings
543. Installation Guide
554. MXNet Javascript Test
565. Apache RAT check
57
58#### Tests on Binaries
591. Image Classification Test
602. Single Node KVStore
61