Hive QA commented on HIVE-14747:

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: https://builds.apache.org/job/Hive-Build/123/testReport
Console output: https://builds.apache.org/job/Hive-Build/123/console
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit 
status 1 and output '+ date '+%Y-%m-%d %T.%3N'
2017-08-09 07:48:00.620
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export 
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'MAVEN_OPTS=-Xmx1g -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128'
+ MAVEN_OPTS='-Xmx1g -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128'
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/Hive-Build-123/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2017-08-09 07:48:00.623
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 16bfb9c HIVE-17191: Add InterfaceAudience and InterfaceStability 
annotations for StorageHandler APIs (Sahil Takiar, reviewd by Aihua Xu)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 16bfb9c HIVE-17191: Add InterfaceAudience and InterfaceStability 
annotations for StorageHandler APIs (Sahil Takiar, reviewd by Aihua Xu)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-08-09 07:48:01.453
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ [[ maven == \m\a\v\e\n ]]
+ rm -rf /data/hiveptest/working/maven/org/apache/hive
+ mvn -B clean install -DskipTests -T 4 -q 
[ERROR] Failed to execute goal on project spark-client: Could not resolve 
dependencies for project org.apache.hive:spark-client:jar:3.0.0-SNAPSHOT: 
Failed to collect dependencies for [com.esotericsoftware:kryo-shaded:jar:3.0.3 
(compile), com.google.guava:guava:jar:14.0.1 (compile), 
io.netty:netty-all:jar:4.0.29.Final (compile), 
org.apache.hive:hive-common:jar:3.0.0-SNAPSHOT (compile), 
org.apache.spark:spark-core_2.11:jar:2.0.0 (compile), junit:junit:jar:4.11 
(test), org.mockito:mockito-all:jar:1.10.19 (test), 
com.sun.jersey:jersey-servlet:jar:1.14 (test), 
org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2 (test), 
org.apache.hive:hive-service-rpc:jar:3.0.0-SNAPSHOT (compile), 
org.slf4j:slf4j-api:jar:1.7.10 (compile)]: Failed to read artifact descriptor 
for javax.ws.rs:javax.ws.rs-api:jar:2.0.1: Could not transfer artifact 
javax.ws.rs:javax.ws.rs-api:pom:2.0.1 from/to datanucleus 
(http://www.datanucleus.org/downloads/maven2): Connect to localhost:3128 
[localhost/, localhost/0:0:0:0:0:0:0:1] failed: Connection refused 
(Connection refused) -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :spark-client
+ exit 1

This message is automatically generated.

ATTACHMENT ID:  - Hive-Build

> Remove JAVA paths from profiles by sending them from ptest-client
> -----------------------------------------------------------------
>                 Key: HIVE-14747
>                 URL: https://issues.apache.org/jira/browse/HIVE-14747
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive, Testing Infrastructure
>            Reporter: Sergio Peña
>            Assignee: Barna Zsombor Klara
>         Attachments: HIVE-14747.01.patch, HIVE-14747.02.patch, 
> HIVE-14747.03.patch, HIVE-14747.04.patch, HIVE-14747.05.patch
> Hive ptest uses some properties files per branch that contain information 
> about how to execute the tests.
> This profile includes JAVA paths to build and execute the tests. We should 
> get rid of these by passing such information from Jenkins to the 
> ptest-server. In case a profile needs a different java version, then we can 
> create a specific Jenkins job for that.

This message was sent by Atlassian JIRA

Reply via email to