srochel opened a new issue #11666: actionable exit code when rat check failed
URL: https://github.com/apache/incubator-mxnet/issues/11666
 
 
   Note: Providing complete information in the most concise form is the best 
way to get help. This issue template serves as the checklist for essential 
information to most of the technical issues and bug reports. For non-technical 
issues and feature requests, feel free to present the information in what you 
believe is the best form.
   
   For Q & A and discussion, please start a discussion thread at 
https://discuss.mxnet.io 
   
   ## Description
   (Brief description of the problem in no more than 2 sentences.)
   RAT check failed, but end of build queue doesn't contain easy to understand 
exit message.
   
   Example:
   
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-11325/34/pipeline
   ....
   2018-07-12 09:49:55,633 The following files do not contain a valid license, 
you can use `python tools/license_header.py add [file]` to addthem 
automatically: 
   
   ....
   
   build.py: 2018-07-12 09:49:56,001 Running of command in container failed 
(1): docker run --rm -t --shm-size=500m -v 
/home/jenkins_slave/workspace/sanity-lint:/work/mxnet -v 
/home/jenkins_slave/workspace/sanity-lint/build:/work/build -v 
/efs-ccache:/work/ccache -u 1001:1001 -e CCACHE_MAXSIZE=500G -e 
CCACHE_TEMPDIR=/tmp/ccache -e CCACHE_DIR=/work/ccache -e 
CCACHE_LOGFILE=/tmp/ccache.log mxnetci/build.ubuntu_cpu 
/work/runtime_functions.sh sanity_check
   
   build.py: 2018-07-12 09:49:56,001 You can try to get into the container by 
using the following command: docker run --rm -t --shm-size=500m -v 
/home/jenkins_slave/workspace/sanity-lint:/work/mxnet -v 
/home/jenkins_slave/workspace/sanity-lint/build:/work/build -v 
/efs-ccache:/work/ccache -u 1001:1001 -ti --entrypoint /bin/bash -e 
CCACHE_MAXSIZE=500G -e CCACHE_TEMPDIR=/tmp/ccache -e CCACHE_DIR=/work/ccache -e 
CCACHE_LOGFILE=/tmp/ccache.log mxnetci/build.ubuntu_cpu 
/work/runtime_functions.sh sanity_check
   
   Traceback (most recent call last):
   
     File "ci/build.py", line 362, in <module>
   
       sys.exit(main())
   
     File "ci/build.py", line 295, in main
   
       command=command, docker_registry=args.docker_registry, 
local_ccache_dir=args.ccache_dir)
   
     File "ci/build.py", line 189, in container_run
   
       raise subprocess.CalledProcessError(ret, cmd)
   
   subprocess.CalledProcessError: Command 'docker run --rm -t --shm-size=500m 
-v /home/jenkins_slave/workspace/sanity-lint:/work/mxnet -v 
/home/jenkins_slave/workspace/sanity-lint/build:/work/build -v 
/efs-ccache:/work/ccache -u 1001:1001 -e CCACHE_MAXSIZE=500G -e 
CCACHE_TEMPDIR=/tmp/ccache -e CCACHE_DIR=/work/ccache -e 
CCACHE_LOGFILE=/tmp/ccache.log mxnetci/build.ubuntu_cpu 
/work/runtime_functions.sh sanity_check' returned non-zero exit status 1
   
   script returned exit code 1
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to