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

Create a make target to run Apache Rat checks #14936

Closed
mjwall opened this issue May 12, 2019 · 1 comment · Fixed by #15127
Closed

Create a make target to run Apache Rat checks #14936

mjwall opened this issue May 12, 2019 · 1 comment · Fixed by #15127

Comments

@mjwall
Copy link
Member

mjwall commented May 12, 2019

Description

Need a make target to run Apache Rat to facilitate running it and get some consistency between runs from different people.

Environment info (Required)

python apache-mxnet-src-1.4.1.rc0-incubating/tools/diagnose.py 
----------Python Info----------
Version      : 3.7.1
Compiler     : GCC 7.3.0
Build        : ('default', 'Dec 14 2018 19:28:38')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 18.1
Directory    : /home/mikewall/anaconda3/lib/python3.7/site-packages/pip
----------MXNet Info-----------
No MXNet installed.
----------System Info----------
Platform     : Linux-4.18.0-18-generic-x86_64-with-debian-buster-sid
system       : Linux
node         : batman3
release      : 4.18.0-18-generic
version      : #19-Ubuntu SMP Tue Apr 2 18:13:16 UTC 2019
----------Hardware Info----------
machine      : x86_64
processor    : x86_64
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              12
On-line CPU(s) list: 0-11
Thread(s) per core:  2
Core(s) per socket:  6
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               158
Model name:          Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Stepping:            10
CPU MHz:             2834.267
CPU max MHz:         4100.0000
CPU min MHz:         800.0000
BogoMIPS:            4416.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            9216K
NUMA node0 CPU(s):   0-11
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0313 sec, LOAD: 0.6029 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0382 sec, LOAD: 0.5735 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0597 sec, LOAD: 0.7586 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0526 sec, LOAD: 0.7645 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0194 sec, LOAD: 0.4700 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0332 sec, LOAD: 0.1826 sec.

Package used (Python/R/Scala/Julia):
None, working with the 1.4.1-rc0 src artifact

Build info (Required if built from source)

See diagnostics above

MXNet commit hash:
https://github.com/apache/incubator-mxnet/tree/1a7199691f5cbc6012bb53eecbf884bed5ae6590/

Build config:
No change

Error Message:

None

Minimum reproducible example

Steps to reproduce

$> java -jar ~/opt/apache-rat/apache-rat-0.12/apache-rat-0.12.jar apache-mxnet-src-1.4.1.rc0-incubating.tar.gz -E apache-mxnet-src-1.4.1.rc0-incubating/tests/nightly/apache_rat_license_check/rat-excludes  | grep ^==\ File | grep -v 3rdparty
== File: apache-mxnet-src-1.4.1.rc0-incubating/example/image-classification/predict-cpp/Makefile
== File: apache-mxnet-src-1.4.1.rc0-incubating/example/image-classification/predict-cpp/README.md
== File: apache-mxnet-src-1.4.1.rc0-incubating/example/image-classification/README.md
== File: apache-mxnet-src-1.4.1.rc0-incubating/example/image-classification/symbols/README.md
== File: apache-mxnet-src-1.4.1.rc0-incubating/example/quantization/README.md
== File: apache-mxnet-src-1.4.1.rc0-incubating/example/quantization/common
== File: apache-mxnet-src-1.4.1.rc0-incubating/tests/python/quantization/common.py
== File: apache-mxnet-src-1.4.1.rc0-incubating/docs/_static/js/clipboard.min.js
== File: apache-mxnet-src-1.4.1.rc0-incubating/docs/_static/js/clipboard.js
== File: apache-mxnet-src-1.4.1.rc0-incubating/docs/api/python/profiler/profiler.md
== File: apache-mxnet-src-1.4.1.rc0-incubating/julia/docs/src/api/optimizer.md
$> java -jar ~/opt/apache-rat/apache-rat-0.12/apache-rat-0.12.jar apache-mxnet-src-1.4.1.rc0-incubating -E apache-mxnet-src-1.4.1.rc0-incubating/tests/nightly/apache_rat_license_check/rat-excludes  | grep ^==\ File
== File: apache-mxnet-src-1.4.1.rc0-incubating/docs/_static/js/clipboard.js
== File: apache-mxnet-src-1.4.1.rc0-incubating/docs/_static/js/clipboard.min.js
== File: apache-mxnet-src-1.4.1.rc0-incubating/docs/api/python/profiler/profiler.md
== File: apache-mxnet-src-1.4.1.rc0-incubating/example/quantization/README.md
== File: apache-mxnet-src-1.4.1.rc0-incubating/julia/docs/src/api/optimizer.md

What have you tried to solve it?

nothing

@mxnet-label-bot
Copy link
Contributor

Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended labels: Feature

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants