I changed the VERSION string to 0.5.0-SNAPSHOT (it's specified as one of the build arguments). I also changed the test output pattern. I've launched a build (#278) so we can see if it works.
Alan. On Oct 2, 2012, at 8:53 AM, Travis Crawford wrote: > Hey Alan - > > Can you make the two changes listed below? Updating the build version > number is very important before we publish incorrect jars, and > updating the test logs pattern would be very handy. > > Thanks! > Travis > > > > On Mon, Oct 1, 2012 at 12:31 PM, Travis Crawford > <[email protected]> wrote: >> >> Hey Alan - >> >> Can you make the following two config changes and manually start a new build? >> >> All - Alan and I made a change to our trunk build that should publish >> snapshot artifacts to maven after each successful build. >> TestNotificationListener failed for an unknown reason which caused >> this error. I'm not able to tell from the test failure what went >> wrong, but if it fails on CI again I'll look into it further. >> >> >> VERSION NUMBER ISSUE: >> >> Our trunk build still thinks its 0.4.0-SNAPSHOT (should be >> 0.5.0-SNAPSHOT). I believe this is because our build command contains: >> >> -Dhcatalog.version=$VERSION >> >> Can we remove this from the build? I believe we want the version in >> the properties files, rather than passing in something on the >> command-line. >> >> >> TEST LOGS >> >> Jenkins has a plugin installed that can parse XML test output, and >> generate a report of which tests are failing. I believe with switching >> to a subproject-based build our glob to match test output no longer >> matches. >> >> My guess is it looks something like: >> >> build/test/logs/TEST*.xml >> >> And that we need to change it to: >> >> **/TEST*.xml >> >> >> --travis >> >> >> >> >> On Mon, Oct 1, 2012 at 12:15 PM, Apache Jenkins Server >> <[email protected]> wrote: >>> See <https://builds.apache.org/job/Hcatalog-trunk-build/276/> >>> >>> ------------------------------------------ >>> [...truncated 5749 lines...] >>> jar: >>> >>> _check-ivy-retrieve: >>> >>> _ivy-init: >>> [echo] hcatalog-pig-adapter >>> [ivy:configure] :: loading settings :: file = >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/ivy/ivysettings.xml> >>> [echo] Generating >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/ivy/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.pom> >>> >>> ivy-init: >>> >>> ivy-retrieve: >>> >>> compile: >>> [echo] hcatalog-pig-adapter >>> >>> mvn-init: >>> [echo] hcatalog-pig-adapter >>> [get] Destination already exists (skipping): >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar> >>> >>> jar: >>> [echo] hcatalog-pig-adapter >>> [jar] Building jar: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.jar> >>> [artifact:install] [INFO] Installing >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.jar> >>> to >>> /home/jenkins/.m2/repository/org/apache/hcatalog/hcatalog-pig-adapter/0.4.0-SNAPSTHOT/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.jar >>> >>> mvn-init: >>> [echo] hcatalog-server-extensions >>> [get] Destination already exists (skipping): >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar> >>> >>> _check-mvn-dependencies: >>> >>> mvn-dependencies: >>> >>> ivy-retrieve: >>> >>> compile: >>> [echo] hcatalog-server-extensions >>> >>> jar: >>> [echo] hcatalog-server-extensions >>> [jar] Building jar: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/hcatalog-server-extensions-0.4.0-SNAPSTHOT.jar> >>> [artifact:install] [INFO] Installing >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/hcatalog-server-extensions-0.4.0-SNAPSTHOT.jar> >>> to >>> /home/jenkins/.m2/repository/org/apache/hcatalog/hcatalog-server-extensions/0.4.0-SNAPSTHOT/hcatalog-server-extensions-0.4.0-SNAPSTHOT.jar >>> >>> _check-ivy-retrieve: >>> >>> _ivy-init: >>> [echo] webhcat >>> [ivy:configure] :: loading settings :: file = >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/ivy/ivysettings.xml> >>> [echo] Generating >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/ivy/webhcat-0.4.0-SNAPSTHOT.pom> >>> >>> ivy-init: >>> >>> ivy-retrieve: >>> >>> compile: >>> [echo] webhcat >>> >>> mvn-init: >>> [echo] webhcat >>> [get] Destination already exists (skipping): >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar> >>> >>> jar: >>> [echo] webhcat >>> [jar] Building jar: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/webhcat-0.4.0-SNAPSTHOT.jar> >>> [artifact:install] [INFO] Installing >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/svr/build/webhcat-0.4.0-SNAPSTHOT.jar> >>> to >>> /home/jenkins/.m2/repository/org/apache/hcatalog/webhcat/0.4.0-SNAPSTHOT/webhcat-0.4.0-SNAPSTHOT.jar >>> >>> _check-ivy-retrieve: >>> >>> _ivy-init: >>> [echo] webhcat-java-client >>> [ivy:configure] :: loading settings :: file = >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/ivy/ivysettings.xml> >>> [echo] Generating >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/ivy/webhcat-java-client-0.4.0-SNAPSTHOT.pom> >>> >>> ivy-init: >>> >>> ivy-retrieve: >>> >>> compile: >>> [echo] webhcat-java-client >>> >>> mvn-init: >>> [echo] webhcat-java-client >>> [get] Destination already exists (skipping): >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar> >>> >>> jar: >>> [echo] webhcat-java-client >>> [jar] Building jar: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/webhcat-java-client-0.4.0-SNAPSTHOT.jar> >>> [artifact:install] [INFO] Installing >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/webhcat/java-client/build/webhcat-java-client-0.4.0-SNAPSTHOT.jar> >>> to >>> /home/jenkins/.m2/repository/org/apache/hcatalog/webhcat-java-client/0.4.0-SNAPSTHOT/webhcat-java-client-0.4.0-SNAPSTHOT.jar >>> [jar] Building jar: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/hcatalog/hcatalog-0.4.0-SNAPSTHOT.jar> >>> >>> compile-test: >>> [javac] Compiling 33 source files to >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/test/classes> >>> [javac] Note: Some input files use or override a deprecated API. >>> [javac] Note: Recompile with -Xlint:deprecation for details. >>> [javac] Note: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/src/test/org/apache/hcatalog/data/TestJsonSerDe.java> >>> uses unchecked or unsafe operations. >>> [javac] Note: Recompile with -Xlint:unchecked for details. >>> >>> test: >>> [mkdir] Created dir: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/test/logs> >>> [mkdir] Created dir: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/test/hcat_junit_warehouse> >>> [junit] WARNING: multiple versions of ant detected in path for junit >>> [junit] >>> jar:file:/home/jenkins/tools/ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/Project.class >>> [junit] and >>> jar:<https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/ivy/lib/test/ant-ant-1.6.5.jar!/org/apache/tools/ant/Project.class> >>> [junit] Running org.apache.hcatalog.cli.TestPermsGrp >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 17.723 sec >>> [junit] Running org.apache.hcatalog.cli.TestSemanticAnalysis >>> [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 21.644 sec >>> [junit] Running org.apache.hcatalog.cli.TestUseDatabase >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 13.22 sec >>> [junit] Running org.apache.hcatalog.common.TestHCatUtil >>> [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.398 sec >>> [junit] Running org.apache.hcatalog.common.TestHiveClientCache >>> [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 41.494 sec >>> [junit] Shutting down hive metastore. >>> [junit] Running org.apache.hcatalog.data.TestDefaultHCatRecord >>> [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.316 sec >>> [junit] Running org.apache.hcatalog.data.TestHCatRecordSerDe >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.36 sec >>> [junit] Running org.apache.hcatalog.data.TestJsonSerDe >>> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.43 sec >>> [junit] Running org.apache.hcatalog.data.TestLazyHCatRecord >>> [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.433 sec >>> [junit] Running org.apache.hcatalog.data.TestReaderWriter >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.764 sec >>> [junit] Running org.apache.hcatalog.data.schema.TestHCatSchema >>> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.088 sec >>> [junit] Running org.apache.hcatalog.data.schema.TestHCatSchemaUtils >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.142 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestHCatDynamicPartitioned >>> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 95.316 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestHCatHiveCompatibility >>> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 42.972 sec >>> [junit] Running >>> org.apache.hcatalog.mapreduce.TestHCatHiveThriftCompatibility >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 18.094 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestHCatInputFormat >>> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 17.849 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestHCatMultiOutputFormat >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 38.064 sec >>> [junit] Shutting down hive metastore. >>> [junit] Running org.apache.hcatalog.mapreduce.TestHCatNonPartitioned >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 20.439 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestHCatOutputFormat >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.274 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestHCatPartitioned >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 82.945 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestMultiOutputFormat >>> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 68.922 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestPassProperties >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 13.314 sec >>> [junit] Running org.apache.hcatalog.mapreduce.TestSequenceFileReadWrite >>> [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 65.614 sec >>> [junit] Running org.apache.hcatalog.rcfile.TestRCFileMapReduceInputFormat >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.357 sec >>> [junit] Running >>> org.apache.hcatalog.security.TestHdfsAuthorizationProvider >>> [junit] Tests run: 34, Failures: 0, Errors: 0, Time elapsed: 36.134 sec >>> >>> _check-ivy-retrieve: >>> >>> _ivy-init: >>> [echo] hcatalog-pig-adapter >>> [ivy:configure] :: loading settings :: file = >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/ivy/ivysettings.xml> >>> [echo] Generating >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/ivy/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.pom> >>> >>> ivy-init: >>> >>> ivy-retrieve: >>> >>> compile: >>> [echo] hcatalog-pig-adapter >>> >>> mvn-init: >>> [echo] hcatalog-pig-adapter >>> [get] Destination already exists (skipping): >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar> >>> >>> jar: >>> [echo] hcatalog-pig-adapter >>> [artifact:install] [INFO] Installing >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.jar> >>> to >>> /home/jenkins/.m2/repository/org/apache/hcatalog/hcatalog-pig-adapter/0.4.0-SNAPSTHOT/hcatalog-pig-adapter-0.4.0-SNAPSTHOT.jar >>> >>> compile-test: >>> [echo] hcatalog-pig-adapter >>> [mkdir] Created dir: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/test/classes> >>> [javac] Compiling 10 source files to >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/test/classes> >>> >>> test: >>> [echo] hcatalog-pig-adapter >>> [mkdir] Created dir: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/test/logs> >>> [mkdir] Created dir: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/test/hcat_junit_warehouse> >>> [junit] WARNING: multiple versions of ant detected in path for junit >>> [junit] >>> jar:file:/home/jenkins/tools/ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/Project.class >>> [junit] and >>> jar:<https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/hcatalog-pig-adapter/build/ivy/lib/test/ant-ant-1.6.5.jar!/org/apache/tools/ant/Project.class> >>> [junit] Running org.apache.hcatalog.pig.TestHCatLoader >>> [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 82.26 sec >>> [junit] Running org.apache.hcatalog.pig.TestHCatLoaderComplexSchema >>> [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 167.208 sec >>> [junit] Running org.apache.hcatalog.pig.TestHCatLoaderStorer >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 59.579 sec >>> [junit] Running org.apache.hcatalog.pig.TestHCatStorer >>> [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 145.693 sec >>> [junit] Running org.apache.hcatalog.pig.TestHCatStorerMulti >>> [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 40.827 sec >>> [junit] Running org.apache.hcatalog.pig.TestHCatStorerWrapper >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 20.709 sec >>> [junit] Running org.apache.hcatalog.pig.TestPigHCatUtil >>> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.365 sec >>> >>> mvn-init: >>> [echo] hcatalog-server-extensions >>> [get] Destination already exists (skipping): >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build/maven-ant-tasks-2.1.3.jar> >>> >>> _check-mvn-dependencies: >>> >>> mvn-dependencies: >>> >>> ivy-retrieve: >>> >>> compile: >>> [echo] hcatalog-server-extensions >>> >>> jar: >>> [echo] hcatalog-server-extensions >>> [artifact:install] [INFO] Installing >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/hcatalog-server-extensions-0.4.0-SNAPSTHOT.jar> >>> to >>> /home/jenkins/.m2/repository/org/apache/hcatalog/hcatalog-server-extensions/0.4.0-SNAPSTHOT/hcatalog-server-extensions-0.4.0-SNAPSTHOT.jar >>> >>> compile-test: >>> [echo] hcatalog-server-extensions >>> [mkdir] Created dir: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/test/classes> >>> [javac] Compiling 2 source files to >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/test/classes> >>> >>> test: >>> [echo] hcatalog-server-extensions >>> [mkdir] Created dir: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/test/logs> >>> [mkdir] Created dir: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/test/hcat_junit_warehouse> >>> [junit] WARNING: multiple versions of ant detected in path for junit >>> [junit] >>> jar:file:/home/jenkins/tools/ant/apache-ant-1.8.2/lib/ant.jar!/org/apache/tools/ant/Project.class >>> [junit] and >>> jar:<https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/server-extensions/build/lib/test/ant-1.6.5.jar!/org/apache/tools/ant/Project.class> >>> [junit] Running org.apache.hcatalog.listener.TestMsgBusConnection >>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 14.264 sec >>> [junit] Running org.apache.hcatalog.listener.TestNotificationListener >>> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 15.625 sec >>> [junit] Test org.apache.hcatalog.listener.TestNotificationListener FAILED >>> >>> BUILD FAILED >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build.xml>:231: >>> The following error occurred while executing this line: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/build-common.xml>:73: >>> The following error occurred while executing this line: >>> <https://builds.apache.org/job/Hcatalog-trunk-build/ws/trunk/ant/test.xml>:62: >>> Tests failed! >>> >>> Total time: 31 minutes 0 seconds >>> Build step 'Execute shell' marked build as failure >>> Archiving artifacts >>> Recording test results
