Vahid, I rerun the same command on current trunk but do not reproduce this issue.
I might be that you have some mis testing / util code in the folder, and although not added to the project, checkstyle still checks ALL files. Guozhang On Thu, Apr 21, 2016 at 11:05 AM, Vahid S Hashemian < vahidhashem...@us.ibm.com> wrote: > I have started getting this error when running './gradlew test': > > kafka@kafka:~/workspace/kafka$ ./gradlew test > To honour the JVM settings for this build a new JVM will be forked. Please > consider using the daemon: > https://docs.gradle.org/2.11/userguide/gradle_daemon.html. > Building project 'core' with Scala version 2.10.6 > :compileJava UP-TO-DATE > :processResources UP-TO-DATE > :classes UP-TO-DATE > :rat > Unknown license: /home/kafka/workspace/kafka/bin/gradlew > Unknown license: /home/kafka/workspace/kafka/bin/gradlew.bat > :rat FAILED > > FAILURE: Build failed with an exception. > > * Where: > Script '/home/kafka/workspace/kafka/gradle/rat.gradle' line: 63 > > * What went wrong: > Execution failed for task ':rat'. > > Found 2 files with unknown licenses. > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. > > BUILD FAILED > > Total time: 8.821 secs > > Does anyone know what the issue is? Thanks. > > Regards, > Vahid Hashemian > > -- -- Guozhang