Skip to content

Instantly share code, notes, and snippets.

@eyala
Last active August 29, 2015 14:08
Show Gist options
  • Save eyala/7bd0cfc535e3faefeddd to your computer and use it in GitHub Desktop.
Save eyala/7bd0cfc535e3faefeddd to your computer and use it in GitHub Desktop.
Build error while running ant clean test-commit
eyal@eyal-samsung:~/git/pig$ ant clean test-commit
Buildfile: /home/eyal/git/pig/build.xml
clean:
[delete] Deleting directory /home/eyal/git/pig/src-gen
[delete] Deleting directory /home/eyal/git/pig/build
[delete] Deleting directory /home/eyal/git/pig/test/org/apache/pig/test/utils/dotGraph/parser
clean:
clean:
setWindowsPath:
setLinuxPath:
ivy-download:
[get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
[get] To: /home/eyal/git/pig/ivy/ivy-2.2.0.jar
[get] Not modified - so not downloaded
ivy-init-dirs:
[mkdir] Created dir: /home/eyal/git/pig/build/ivy
[mkdir] Created dir: /home/eyal/git/pig/build/ivy/lib
[mkdir] Created dir: /home/eyal/git/pig/build/ivy/report
[mkdir] Created dir: /home/eyal/git/pig/build/ivy/maven
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /home/eyal/git/pig/ivy/ivysettings.xml
ivy-resolve:
ivy-compile:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/eyal/git/pig/ivy/ivysettings.xml
init:
[mkdir] Created dir: /home/eyal/git/pig/src-gen/org/apache/pig/impl/logicalLayer/parser
[mkdir] Created dir: /home/eyal/git/pig/src-gen/org/apache/pig/tools/pigscript/parser
[mkdir] Created dir: /home/eyal/git/pig/src-gen/org/apache/pig/tools/parameters
[mkdir] Created dir: /home/eyal/git/pig/build/classes
[mkdir] Created dir: /home/eyal/git/pig/build/test/classes
[mkdir] Created dir: /home/eyal/git/pig/test/org/apache/pig/test/utils/dotGraph/parser
[mkdir] Created dir: /home/eyal/git/pig/src-gen/org/apache/pig/data/parser
[move] Moving 1 file to /home/eyal/git/pig/build/ivy/lib/Pig
cc-compile:
[javacc] Java Compiler Compiler Version 4.2 (Parser Generator)
[javacc] (type "javacc" with no arguments for help)
[javacc] Reading from file /home/eyal/git/pig/src/org/apache/pig/tools/pigscript/parser/PigScriptParser.jj . . .
[javacc] File "TokenMgrError.java" does not exist. Will create one.
[javacc] File "ParseException.java" does not exist. Will create one.
[javacc] File "Token.java" does not exist. Will create one.
[javacc] File "JavaCharStream.java" does not exist. Will create one.
[javacc] Parser generated successfully.
[javacc] Java Compiler Compiler Version 4.2 (Parser Generator) [javacc] Warning: Lookahead adequacy checking not being performed since option LOOKAHEAD is more than 1. Set option FORCE_LA_CHECK to true to force checking.
[javacc] (type "javacc" with no arguments for help)
[javacc] Reading from file /home/eyal/git/pig/src/org/apache/pig/tools/parameters/PigFileParser.jj . . .
[javacc] File "TokenMgrError.java" does not exist. Will create one.
[javacc] File "ParseException.java" does not exist. Will create one.
[javacc] File "Token.java" does not exist. Will create one.
[javacc] File "JavaCharStream.java" does not exist. Will create one.
[javacc] Parser generated with 0 errors and 1 warnings.
[javacc] Java Compiler Compiler Version 4.2 (Parser Generator)
[javacc] (type "javacc" with no arguments for help)
[javacc] Reading from file /home/eyal/git/pig/src/org/apache/pig/tools/parameters/ParamLoader.jj . . .
[javacc] File "TokenMgrError.java" is being rebuilt.
[javacc] File "ParseException.java" is being rebuilt.
[javacc] File "Token.java" is being rebuilt.
[javacc] File "JavaCharStream.java" is being rebuilt.
[javacc] Parser generated successfully.
[jjtree] Java Compiler Compiler Version 4.2 (Tree Builder)
[jjtree] (type "jjtree" with no arguments for help)
[jjtree] Reading from file /home/eyal/git/pig/test/org/apache/pig/test/utils/dotGraph/DOTParser.jjt . . .
[jjtree] File "Node.java" does not exist. Will create one.
[jjtree] File "SimpleNode.java" does not exist. Will create one.
[jjtree] File "DOTParserTreeConstants.java" does not exist. Will create one.
[jjtree] File "JJTDOTParserState.java" does not exist. Will create one.
[jjtree] Annotated grammar generated successfully in /home/eyal/git/pig/test/org/apache/pig/test/utils/dotGraph/parser/DOTParser.jj
[javacc] Java Compiler Compiler Version 4.2 (Parser Generator)
[javacc] (type "javacc" with no arguments for help)
[javacc] Reading from file /home/eyal/git/pig/test/org/apache/pig/test/utils/dotGraph/parser/DOTParser.jj . . .
[javacc] File "TokenMgrError.java" does not exist. Will create one.
[javacc] File "ParseException.java" does not exist. Will create one.
[javacc] File "Token.java" does not exist. Will create one.
[javacc] File "SimpleCharStream.java" does not exist. Will create one.
[javacc] Parser generated successfully.
prepare:
[mkdir] Created dir: /home/eyal/git/pig/src-gen/org/apache/pig/parser
genLexer:
genParser:
genTreeParser:
gen:
compile:
[echo] *** Building Main Sources ***
[echo] *** To compile with all warnings enabled, supply -Dall.warnings=1 on command line ***
[echo] *** Else, you will only be warned about deprecations ***
[javac] Compiling 909 source files to /home/eyal/git/pig/build/classes
[javac] /home/eyal/.ivy2/cache/org.apache.hbase/hbase-common/jars/hbase-common-0.96.0-hadoop1.jar(org/apache/hadoop/hbase/io/ImmutableBytesWritable.class): warning: Cannot find annotation method 'value()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressWarnings not found
[javac] /home/eyal/.ivy2/cache/org.apache.hbase/hbase-common/jars/hbase-common-0.96.0-hadoop1.jar(org/apache/hadoop/hbase/io/ImmutableBytesWritable.class): warning: Cannot find annotation method 'justification()' in type 'edu.umd.cs.findbugs.annotations.SuppressWarnings'
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 warnings
[copy] Copying 1 file to /home/eyal/git/pig/build/classes/org/apache/pig/tools/grunt
[copy] Copying 1 file to /home/eyal/git/pig/build/classes/org/apache/pig/tools/grunt
[copy] Copying 2 files to /home/eyal/git/pig/build/classes/python
[copy] Copying 2 files to /home/eyal/git/pig/build/classes/META-INF
ivy-buildJar:
jar:
[echo] svnString Unversioned directory
[jar] Building jar: /home/eyal/git/pig/build/pig-0.14.0-SNAPSHOT.jar
[echo] svnString Unversioned directory
[jar] Building jar: /home/eyal/git/pig/build/pig-0.14.0-SNAPSHOT-withouthadoop.jar
[jar] META-INF/DEPENDENCIES already added, skipping
[jar] META-INF/LICENSE already added, skipping
[jar] META-INF/NOTICE already added, skipping
[jar] META-INF/LICENSE already added, skipping
[jar] META-INF/NOTICE already added, skipping
[jar] META-INF/ASL2.0 already added, skipping
[jar] META-INF/LICENSE already added, skipping
[jar] META-INF/NOTICE already added, skipping
[jar] META-INF/DEPENDENCIES already added, skipping
[jar] META-INF/LICENSE already added, skipping
[jar] META-INF/NOTICE already added, skipping
[jar] META-INF/DEPENDENCIES already added, skipping
[jar] META-INF/LICENSE already added, skipping
[jar] META-INF/NOTICE already added, skipping
copyCommonDependencies:
[mkdir] Created dir: /home/eyal/git/pig/lib
[copy] Copying 33 files to /home/eyal/git/pig/lib
copyh1Dependencies:
[mkdir] Created dir: /home/eyal/git/pig/lib/h1
[copy] Copying 8 files to /home/eyal/git/pig/lib/h1
[copy] Copying 1 file to /home/eyal/dev/git/pig
[mkdir] Created dir: /home/eyal/git/pig/legacy
[move] Moving 1 file to /home/eyal/git/pig/legacy
copyh2Dependencies:
ivy-test:
compile-test:
[echo] *** Building Test Sources ***
[echo] *** To compile with all warnings enabled, supply -Dall.warnings=1 on command line ***
[echo] *** Else, you will only be warned about deprecations ***
[javac] Compiling 400 source files to /home/eyal/git/pig/build/test/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 1 file to /home/eyal/git/pig/build/test/classes
debugger.set:
debugger.unset:
debugger.check:
test-commit:
[mkdir] Created dir: /home/eyal/git/pig/build/test/logs
[mkdir] Created dir: /tmp/pig_junit_tmp1236119171
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/home/eyal/.ivy2/cache/ant/ant/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
[junit] Running org.apache.pig.builtin.TestSUBTRACT
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
[junit] Running org.apache.pig.test.TestAdd
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.177 sec
[junit] Running org.apache.pig.test.TestBagFormat
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec
[junit] Running org.apache.pig.test.TestBoolean
[junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 sec
[junit] Running org.apache.pig.test.TestBuiltin
[junit] Tests run: 0, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.237 sec
[junit] Test org.apache.pig.test.TestBuiltin FAILED
[junit] Running org.apache.pig.test.TestCase
[junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.527 sec
[junit] Running org.apache.pig.test.TestCmdLineParser
[junit] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
[junit] Running org.apache.pig.test.TestCommit
[junit] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.061 sec
[junit] Test org.apache.pig.test.TestCommit FAILED
[junit] Running org.apache.pig.test.TestConstExpr
[junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.195 sec
[junit] Running org.apache.pig.test.TestConversions
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.697 sec
[junit] Running org.apache.pig.test.TestDataBag
[junit] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.557 sec
[junit] Running org.apache.pig.test.TestDataModel
[junit] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 sec
[junit] Running org.apache.pig.test.TestDeleteOnFail
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
[junit] Running org.apache.pig.test.TestDivide
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.222 sec
[junit] Running org.apache.pig.test.TestEqualTo
[junit] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec
[junit] Running org.apache.pig.test.TestExampleGenerator
[junit] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.618 sec
[junit] Running org.apache.pig.test.TestForEach
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec
[junit] Running org.apache.pig.test.TestFuncSpec
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec
[junit] Running org.apache.pig.test.TestGTOrEqual
[junit] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 sec
[junit] Running org.apache.pig.test.TestGreaterThan
[junit] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec
[junit] Running org.apache.pig.test.TestIn
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.54 sec
[junit] Running org.apache.pig.test.TestInputOutputFileValidator
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.749 sec
[junit] Running org.apache.pig.test.TestInstantiateFunc
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.107 sec
[junit] Running org.apache.pig.test.TestLOLoadDeterminedSchema
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.73 sec
[junit] Running org.apache.pig.test.TestLTOrEqual
[junit] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
[junit] Running org.apache.pig.test.TestLessThan
[junit] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec
[junit] Running org.apache.pig.test.TestLoad
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
[junit] Test org.apache.pig.test.TestLoad FAILED
[junit] Running org.apache.pig.test.TestLocalRearrange
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
[junit] Test org.apache.pig.test.TestLocalRearrange FAILED
[junit] Running org.apache.pig.test.TestLogToPhyCompiler
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.697 sec
[junit] Running org.apache.pig.test.TestLogicalPlanBuilder
[junit] Tests run: 154, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.615 sec
[junit] Running org.apache.pig.test.TestMRCompiler
[junit] Tests run: 0, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.309 sec
[junit] Test org.apache.pig.test.TestMRCompiler FAILED
[junit] Running org.apache.pig.test.TestMod
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
[junit] Running org.apache.pig.test.TestMultiQueryLocal
[junit] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.513 sec
[junit] Running org.apache.pig.test.TestMultiply
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec
[junit] Running org.apache.pig.test.TestNotEqualTo
[junit] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec
[junit] Running org.apache.pig.test.TestNull
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.194 sec
[junit] Running org.apache.pig.test.TestPOBinCond
[junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.21 sec
[junit] Running org.apache.pig.test.TestPOCast
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.542 sec
[junit] Running org.apache.pig.test.TestPODistinct
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
[junit] Running org.apache.pig.test.TestPOGenerate
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 sec
[junit] Running org.apache.pig.test.TestPOMapLookUp
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
[junit] Running org.apache.pig.test.TestPOSort
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.161 sec
[junit] Running org.apache.pig.test.TestPOUserFunc
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 sec
[junit] Running org.apache.pig.test.TestParamSubPreproc
[junit] Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.362 sec
[junit] Running org.apache.pig.test.TestPhyOp
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
[junit] Running org.apache.pig.test.TestPigScriptParser
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.359 sec
[junit] Running org.apache.pig.test.TestPigServer
[junit] Tests run: 0, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.29 sec
[junit] Test org.apache.pig.test.TestPigServer FAILED
[junit] Running org.apache.pig.test.TestPoissonSampleLoader
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.72 sec
[junit] Running org.apache.pig.test.TestRegexp
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 sec
[junit] Running org.apache.pig.test.TestSchema
[junit] Tests run: 28, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.765 sec
[junit] Test org.apache.pig.test.TestSchema FAILED
[junit] Running org.apache.pig.test.TestSchemaUtil
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
[junit] Running org.apache.pig.test.TestStore
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
[junit] Test org.apache.pig.test.TestStore FAILED
[junit] Running org.apache.pig.test.TestStringUDFs
[junit] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec
[delete] Deleting directory /tmp/pig_junit_tmp1236119171
BUILD FAILED
/home/eyal/git/pig/build.xml:876: Tests failed!
Total time: 5 minutes 46 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment