hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11489) Jenkins PreCommit-HIVE-SPARK-Build fails with TestCliDriver.initializationError
Date Sat, 24 Oct 2015 00:32:27 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972191#comment-14972191
] 

Szehon Ho commented on HIVE-11489:
----------------------------------

This is really strange... all the debug logs indicate the generated TestCliDriver files are
good.

My only hunch now is that it might not be compiled into the class file (and it takes what
is shipped).

See the following log: []http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-SPARK-Build-971/failed/TestCliDriver-acid_join.q-part_inherit_tbl_props_empty.q-ppr_pushdown2.q-and-3-more/maven-test.txt|http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-SPARK-Build-971/failed/TestCliDriver-acid_join.q-part_inherit_tbl_props_empty.q-ppr_pushdown2.q-and-3-more/maven-test.txt]

{noformat}
Generated /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/generated-test-sources/java/org/apache/hadoop/hive/cli/TestContribNegativeCliDriver.java
from template TestNegativeCliDriver.vm
[INFO] Executed tasks
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-test-source (add-test-sources) @ hive-it-qfile
---
[INFO] Test Source directory: /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/generated-test-sources/java
added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-it-qfile
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-it-qfile ---
[INFO] Executing tasks

main:
   [delete] Deleting directory /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/tmp
   [delete] Deleting directory /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/warehouse
    [mkdir] Created dir: /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/tmp
    [mkdir] Created dir: /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/warehouse
    [mkdir] Created dir: /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/tmp/conf
     [copy] Copying 10 files to /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-it-qfile ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-it-qfile ---
[INFO] Surefire report directory: /home/hiveptest/54.176.26.173-hiveptest-2/apache-git-source-source/itests/qtest/target/surefire-reports
{noformat}

Looks like a bug in the maven plugin?

> Jenkins PreCommit-HIVE-SPARK-Build fails with TestCliDriver.initializationError
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-11489
>                 URL: https://issues.apache.org/jira/browse/HIVE-11489
>             Project: Hive
>          Issue Type: Task
>          Components: Testing Infrastructure
>            Reporter: Sergio Peña
>            Assignee: Sergio Peña
>         Attachments: HIVE-11489.2-spark.patch, HIVE-11489.3-spark.patch
>
>
> The Jenkins job {{PreCommit-HIVE-SPARK-Build}} is failing due to many {{TestCliDriver.initializationError}}
test results.
> {noformat}
> Error Message
> Unexpected exception java.io.FileNotFoundException: /data/hive-ptest/working/apache-git-source-source/itests/qtest/target/generated-test-sources/java/org/apache/hadoop/hive/cli/TestCliDriverQFileNames.txt
(No such file or directory)
>  at java.io.FileInputStream.open(Native Method)
>  at java.io.FileInputStream.<init>(FileInputStream.java:146)
>  at java.io.FileReader.<init>(FileReader.java:72)
>  at org.apache.hadoop.hive.ql.QTestUtil.addTestsToSuiteFromQfileNames(QTestUtil.java:2019)
>  at org.apache.hadoop.hive.cli.TestCliDriver.suite(TestCliDriver.java:120)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35)
>  at org.junit.internal.runners.SuiteMethod.<init>(SuiteMethod.java:24)
>  at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:11)
>  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
>  at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
>  at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
>  at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
>  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:262)
>  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
>  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
>  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
>  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Stacktrace
> junit.framework.AssertionFailedError: Unexpected exception java.io.FileNotFoundException:
/data/hive-ptest/working/apache-git-source-source/itests/qtest/target/generated-test-sources/java/org/apache/hadoop/hive/cli/TestCliDriverQFileNames.txt
(No such file or directory)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
> 	at java.io.FileReader.<init>(FileReader.java:72)
> 	at org.apache.hadoop.hive.ql.QTestUtil.addTestsToSuiteFromQfileNames(QTestUtil.java:2019)
> 	at org.apache.hadoop.hive.cli.TestCliDriver.suite(TestCliDriver.java:120)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35)
> 	at org.junit.internal.runners.SuiteMethod.<init>(SuiteMethod.java:24)
> 	at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:11)
> 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> 	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> 	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:262)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at org.apache.hadoop.hive.ql.QTestUtil.addTestsToSuiteFromQfileNames(QTestUtil.java:2045)
> 	at org.apache.hadoop.hive.cli.TestCliDriver.suite(TestCliDriver.java:120)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message