when i run ant at the azkaban-plugins,then will get the failed msg。
[root@12ec19dae111 azkaban-plugins-3.0.0]#ls
INSTALL LICENSE NOTICE README.md build.properties build.xml eclipse-styles.xml extlib plugins
[root@12ec19dae111 azkaban-plugins-3.0.0]# ant
Buildfile: /root/soft/azkaban-plugins-3.0.0/build.xml
createDist:
[mkdir] Created dir: /root/soft/azkaban-plugins-3.0.0/dist
clean:
[echo] Deleting generated files in dist
git.info:
repo.file:
package-dep:
clean:
[echo] Deleting generated files in dist
build:
[copy] Copying 1 file to /root/soft/azkaban-plugins-3.0.0/plugins/jobtype/lib
[mkdir] Created dir: /root/soft/azkaban-plugins-3.0.0/dist/jobtype/classes
[javac] /root/soft/azkaban-plugins-3.0.0/plugins/jobtype/build.xml:78: warning: 'includeantruntime' was not set, def
aulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 54 source files to /root/soft/azkaban-plugins-3.0.0/dist/jobtype/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[mkdir] Created dir: /root/soft/azkaban-plugins-3.0.0/dist/jobtype/testclasses
[javac] /root/soft/azkaban-plugins-3.0.0/plugins/jobtype/build.xml:90: warning: 'includeantruntime' was not set, def
aulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 4 source files to /root/soft/azkaban-plugins-3.0.0/dist/jobtype/testclasses
junit:
[junit] Running azkaban.jobtype.TestHadoopJobUtilsExecutionJar
[junit] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec
[junit] Test azkaban.jobtype.TestHadoopJobUtilsExecutionJar FAILED
[junit] Running azkaban.jobtype.TestHadoopJobUtilsFindApplicationIdFromLog
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.236 sec
[junit] Running azkaban.jobtype.TestHadoopJobUtilsResolveJarSpec
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec
[junit] Running azkaban.jobtype.TestHadoopSparkJobGetMainArguments
[junit] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.338 sec
BUILD FAILED
/root/soft/azkaban-plugins-3.0.0/build.xml:92: The following error occurred while executing this line:
/root/soft/azkaban-plugins-3.0.0/plugins/jobtype/build.xml:109: Test failure detected, check test results.
when i run ant at the azkaban-plugins,then will get the failed msg。 [root@12ec19dae111 azkaban-plugins-3.0.0]#
ls
INSTALL LICENSE NOTICE README.md build.properties build.xml eclipse-styles.xml extlib plugins [root@12ec19dae111 azkaban-plugins-3.0.0]#ant
Buildfile: /root/soft/azkaban-plugins-3.0.0/build.xml createDist: [mkdir] Created dir: /root/soft/azkaban-plugins-3.0.0/dist clean: [echo] Deleting generated files in dist git.info: repo.file: package-dep: clean: [echo] Deleting generated files in dist build: [copy] Copying 1 file to /root/soft/azkaban-plugins-3.0.0/plugins/jobtype/lib [mkdir] Created dir: /root/soft/azkaban-plugins-3.0.0/dist/jobtype/classes [javac] /root/soft/azkaban-plugins-3.0.0/plugins/jobtype/build.xml:78: warning: 'includeantruntime' was not set, def aulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 54 source files to /root/soft/azkaban-plugins-3.0.0/dist/jobtype/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [mkdir] Created dir: /root/soft/azkaban-plugins-3.0.0/dist/jobtype/testclasses [javac] /root/soft/azkaban-plugins-3.0.0/plugins/jobtype/build.xml:90: warning: 'includeantruntime' was not set, def aulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 4 source files to /root/soft/azkaban-plugins-3.0.0/dist/jobtype/testclassesjunit: [junit] Running azkaban.jobtype.TestHadoopJobUtilsExecutionJar [junit] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec [junit] Test azkaban.jobtype.TestHadoopJobUtilsExecutionJar FAILED [junit] Running azkaban.jobtype.TestHadoopJobUtilsFindApplicationIdFromLog [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.236 sec [junit] Running azkaban.jobtype.TestHadoopJobUtilsResolveJarSpec [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec [junit] Running azkaban.jobtype.TestHadoopSparkJobGetMainArguments [junit] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.338 sec BUILD FAILED /root/soft/azkaban-plugins-3.0.0/build.xml:92: The following error occurred while executing this line: /root/soft/azkaban-plugins-3.0.0/plugins/jobtype/build.xml:109: Test failure detected, check test results.