Sergey Kozlov created IGNITE-2149:
-------------------------------------

             Summary: Build Apache Ignite failed for Java8
                 Key: IGNITE-2149
                 URL: https://issues.apache.org/jira/browse/IGNITE-2149
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 1.5
            Reporter: Sergey Kozlov
            Assignee: Artem Shutak
            Priority: Blocker
             Fix For: 1.5


{noformat}
[19:20:12] :                                             [exec] [WARNING] 
COMPILATION WARNING : 
[19:20:12] :                                             [exec] [INFO] 
-------------------------------------------------------------
[19:20:12] :                                             [exec] [WARNING] 
/home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/ttl/CacheTtlAbstractSelfTest.java:
 Some input files use unchecked or unsafe operations.
[19:20:12] :                                             [exec] [WARNING] 
/home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/ttl/CacheTtlAbstractSelfTest.java:
 Recompile with -Xlint:unchecked for details.
[19:20:12] :                                             [exec] [INFO] 2 
warnings 
[19:20:12] :                                             [exec] [INFO] 
-------------------------------------------------------------
[19:20:12] :                                             [exec] [INFO] 
-------------------------------------------------------------
[19:20:12] :                                             [exec] [ERROR] 
COMPILATION ERROR : 
[19:20:12] :                                             [exec] [INFO] 
-------------------------------------------------------------
[19:20:12] :                                             [exec] [ERROR] 
/home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteBinaryObjectFieldsQuerySelfTest.java:[213,17]
 reference to assertEquals is ambiguous
[19:20:12] :                                             [exec]   both method 
assertEquals(java.lang.Object,java.lang.Object) in junit.framework.TestCase and 
method assertEquals(int,int) in junit.framework.TestCase match
[19:20:12] :                                             [exec] [INFO] 1 error
[19:20:12] :                                             [exec] [INFO] 
-------------------------------------------------------------
[19:20:12] :                                             [exec] [INFO] 
------------------------------------------------------------------------
[19:20:12] :                                             [exec] [INFO] Reactor 
Summary:
[19:20:12] :                                             [exec] [INFO] 
[19:20:12] :                                             [exec] [INFO] 
ignite-apache-license-gen ......................... SUCCESS [1.177s]
[19:20:12] :                                             [exec] [INFO] 
ignite-tools ...................................... SUCCESS [6.047s]
[19:20:12] :                                             [exec] [INFO] 
ignite-core ....................................... SUCCESS [1:11.104s]
[19:20:12] :                                             [exec] [INFO] 
ignite-log4j ...................................... SUCCESS [1.929s]
[19:20:12] :                                             [exec] [INFO] 
ignite-urideploy .................................. SUCCESS [2.380s]
[19:20:12] :                                             [exec] [INFO] 
ignite-spring ..................................... SUCCESS [2.634s]
[19:20:12] :                                             [exec] [INFO] 
ignite-hadoop ..................................... SUCCESS [5.968s]
[19:20:12] :                                             [exec] [INFO] 
ignite-extdata-p2p ................................ SUCCESS [2.085s]
[19:20:12] :                                             [exec] [INFO] 
ignite-extdata-uri-dep ............................ SUCCESS [1.272s]
[19:20:12] :                                             [exec] [INFO] 
ignite-extdata-uri ................................ SUCCESS [0.388s]
[19:20:12] :                                             [exec] [INFO] 
ignite-indexing ................................... FAILURE [1.375s]
[19:20:12] :                                             [exec] [INFO] 
ignite-rest-http .................................. SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-clients .................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-web ........................................ SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-aop ........................................ SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-ssh ........................................ SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-jta ........................................ SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-aws ........................................ SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-log4j2 ..................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-slf4j ...................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-jcl ........................................ SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-codegen .................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-gce ........................................ SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-cloud ...................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-mesos ...................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-kafka ...................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-flume ...................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-yarn ....................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-jms11 ...................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-twitter .................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-mqtt ....................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-zookeeper .................................. SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-camel ...................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-osgi-paxlogging ............................ SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-osgi-karaf ................................. SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-osgi ....................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-scalar ..................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-spark ...................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-visor-console .............................. SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-visor-plugins .............................. SKIPPED
[19:20:12] :                                             [exec] [INFO] 
ignite-schema-import .............................. SKIPPED
[19:20:12] :                                             [exec] [INFO] 
apache-ignite ..................................... SKIPPED
[19:20:12] :                                             [exec] [INFO] 
------------------------------------------------------------------------
[19:20:12] :                                             [exec] [INFO] BUILD 
FAILURE
[19:20:12] :                                             [exec] [INFO] 
------------------------------------------------------------------------
[19:20:12] :                                             [exec] [INFO] Total 
time: 1:37.199s
[19:20:12] :                                             [exec] [INFO] Finished 
at: Sun Dec 13 11:20:12 EST 2015
[19:20:12] :                                             [exec] [INFO] Final 
Memory: 103M/816M
[19:20:12] :                                             [exec] [INFO] 
------------------------------------------------------------------------
[19:20:12] :                                             [exec] [ERROR] Failed 
to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile 
(default-testCompile) on project ignite-indexing: Compilation failure
[19:20:12] :                                             [exec] [ERROR] 
/home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteBinaryObjectFieldsQuerySelfTest.java:[213,17]
 reference to assertEquals is ambiguous
[19:20:12] :                                             [exec] [ERROR] both 
method assertEquals(java.lang.Object,java.lang.Object) in 
junit.framework.TestCase and method assertEquals(int,int) in 
junit.framework.TestCase match
[19:20:12] :                                             [exec] [ERROR] -> 
[Help 1]
[19:20:12] :                                             [exec] [ERROR] 
[19:20:12] :                                             [exec] [ERROR] To see 
the full stack trace of the errors, re-run Maven with the -e switch.
[19:20:12] :                                             [exec] [ERROR] Re-run 
Maven using the -X switch to enable full debug logging.
[19:20:12] :                                             [exec] [ERROR] 
[19:20:12] :                                             [exec] [ERROR] For 
more information about the errors and possible solutions, please read the 
following articles:
[19:20:12] :                                             [exec] [ERROR] [Help 
1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[19:20:12] :                                             [exec] [ERROR] 
[19:20:12] :                                             [exec] [ERROR] After 
correcting the problems, you can resume the build with the command
[19:20:12] :                                             [exec] [ERROR]   mvn 
<goals> -rf :ignite-indexing
[19:20:12]E:                                             [exec] Result: 1
[19:20:12]E:                                     [build_ignite] fail
[19:20:12]E:                                             [fail] ERROR: mvn 
clean install -f 
/home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/pom.xml  
-DskipTests failed
[19:20:12]E:                             [antcall] The following error occurred 
while executing this line:
/home/teamcity/buildAgent/work/4b78de95608af2b1/ggtest/teamcity.xml:362: ERROR: 
mvn clean install -f 
/home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/pom.xml  
-DskipTests failed
[19:20:12]W:     [Step 3/5] Process exited with code 1
{noformat}



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

Reply via email to