-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Build failed.
PostPosted: Sat May 20, 2017 11:34 am 
Newbie

Joined: Sat May 20, 2017 8:38 am
Posts: 2
Hi there!

I have aт issue with execution command:
./gradlew clean build

I cloned hibernate-orm from github repositories, did nothing changes.

There is an outout:
Code:

:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
Configuration(s) specified but the install task does not exist in project :release.
:documentation:clean
:hibernate-c3p0:clean
:hibernate-core:clean
:hibernate-ehcache:clean
:hibernate-enhance-maven-plugin:clean UP-TO-DATE
:hibernate-entitymanager:clean UP-TO-DATE
:hibernate-envers:clean
:hibernate-gradle-plugin:clean UP-TO-DATE
:hibernate-hikaricp:clean UP-TO-DATE
:hibernate-infinispan:clean UP-TO-DATE
:hibernate-java8:clean UP-TO-DATE
:hibernate-jcache:clean UP-TO-DATE
:hibernate-jpamodelgen:clean
:hibernate-orm-modules:clean UP-TO-DATE
:hibernate-osgi:clean UP-TO-DATE
:hibernate-proxool:clean UP-TO-DATE
:hibernate-spatial:clean
:hibernate-testing:clean
:release:clean
:hibernate-jpamodelgen:jaxb
:hibernate-jpamodelgen:xjc SKIPPED
:hibernate-jpamodelgen:compileJava
:hibernate-jpamodelgen:processResources
:hibernate-jpamodelgen:classes
:hibernate-jpamodelgen:jar
:documentation:compileJava
Note: Hibernate JPA 2 Static-Metamodel Generator 5.2.11.SNAPSHOT
:documentation:processResources
:documentation:classes
:documentation:jar
:documentation:assemble
:hibernate-core:generateGrammarSource
:hibernate-core:xjc
:hibernate-core:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-core:processResources
:hibernate-core:classes
:hibernate-core:jar
:hibernate-core:generateTestGrammarSource UP-TO-DATE
:hibernate-testing:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-testing:processResources
:hibernate-testing:classes
:hibernate-testing:jar
:hibernate-core:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-core:copyBundleResources
:hibernate-core:processTestResources
:hibernate-core:testClasses
:hibernate-core:testJar
:hibernate-ehcache:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:hibernate-ehcache:processResources
:hibernate-ehcache:classes
:hibernate-ehcache:jar
:hibernate-spatial:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-spatial:processResources
:hibernate-spatial:classes
:hibernate-spatial:jar
:documentation:compileTestJava
Note: Hibernate JPA 2 Static-Metamodel Generator 5.2.11.SNAPSHOT
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:documentation:processTestResources
:documentation:testClasses
:documentation:test
:documentation:check
:documentation:build
:hibernate-c3p0:compileJava
:hibernate-c3p0:processResources
:hibernate-c3p0:classes
:hibernate-c3p0:jar
:hibernate-c3p0:assemble
:hibernate-c3p0:checkstyleMain
:hibernate-c3p0:findbugsMain
:hibernate-c3p0:compileTestJava
Note: /home/timur/IdeaProjects/hibernate-orm/hibernate-c3p0/src/test/java/org/hibernate/test/c3p0/StatementCacheTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/timur/IdeaProjects/hibernate-orm/hibernate-c3p0/src/test/java/org/hibernate/test/c3p0/OracleSQLCallableStatementProxyTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-c3p0:processTestResources
:hibernate-c3p0:testClasses
:hibernate-c3p0:findbugsTest
:hibernate-c3p0:test
:hibernate-c3p0:buildDashboard
:hibernate-c3p0:check
:hibernate-c3p0:build
:hibernate-core:assemble
:hibernate-core:checkstyleMain
:hibernate-core:findbugsMain
FindBugs rule violations were found. See the report at: file:///home/timur/IdeaProjects/hibernate-orm/hibernate-core/target/reports/findbugs/main.xml
:hibernate-core:findbugsTest
FindBugs rule violations were found. See the report at: file:///home/timur/IdeaProjects/hibernate-orm/hibernate-core/target/reports/findbugs/test.xml
:hibernate-envers:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-envers:processResources
:hibernate-envers:classes
:hibernate-envers:jar
:hibernate-infinispan:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-infinispan:processResources
:hibernate-infinispan:classes
:hibernate-infinispan:jar
:hibernate-infinispan:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-infinispan:processTestResources
:hibernate-infinispan:testClasses
:hibernate-infinispan:packageTests
:hibernate-infinispan:sourcesTestJar
:hibernate-orm-modules:copyAndExpandModuleXml
:hibernate-orm-modules:createModulesZip
:hibernate-orm-modules:installWildFly
:hibernate-orm-modules:installHibernateModule
:hibernate-orm-modules:prepareWildFlyForTests
:hibernate-core:test

org.hibernate.jpa.test.cdi.BasicCdiTest > classMethod FAILED
    org.jboss.arquillian.container.spi.client.container.DeploymentException
        Caused by: java.lang.Exception

org.hibernate.jpa.test.cdi.extended.NonConversationalPersistenceContextExtendedTest > classMethod FAILED
    org.jboss.arquillian.container.spi.client.container.DeploymentException
        Caused by: java.lang.Exception

org.hibernate.jpa.test.cdi.extended.ManualFlushConversationalPersistenceContextExtendedTest > classMethod FAILED
    org.jboss.arquillian.container.spi.client.container.DeploymentException
        Caused by: java.lang.Exception

org.hibernate.jpa.test.cdi.extended.ConversationalPersistenceContextExtendedTest > classMethod FAILED
    org.jboss.arquillian.container.spi.client.container.DeploymentException
        Caused by: java.lang.Exception

org.hibernate.test.wf.ddl.cmt.emf.DdlInWildFlyUsingBmtAndEmfTest > classMethod FAILED
    org.jboss.arquillian.container.spi.client.container.DeploymentException
        Caused by: java.lang.Exception

org.hibernate.test.wf.ddl.cmt.sf.DdlInWildFlyUsingCmtAndSfTest > classMethod FAILED
    org.jboss.arquillian.container.spi.client.container.DeploymentException
        Caused by: java.lang.Exception

org.hibernate.test.wf.ddl.bmt.emf.DdlInWildFlyUsingBmtAndEmfTest > classMethod FAILED
    org.jboss.arquillian.container.spi.client.container.DeploymentException
        Caused by: java.lang.Exception

org.hibernate.test.wf.ddl.bmt.sf.DdlInWildFlyUsingBmtAndSfTest > classMethod FAILED
    org.jboss.arquillian.container.spi.client.container.DeploymentException
        Caused by: java.lang.Exception

5657 tests completed, 8 failed, 256 skipped
:hibernate-core:test FAILED
:hibernate-core:buildDashboard

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':hibernate-core:test'.
> There were failing tests. See the report at: file:///home/timur/IdeaProjects/hibernate-orm/hibernate-core/target/reports/tests/test/index.html




Top
 Profile  
 
 Post subject: Re: Build failed.
PostPosted: Sat May 20, 2017 2:18 pm 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1638
Location: Romania
If you're running on Windows, then it's probably because the NVidia Driver is stealing the port 9990 which is required by Wildfly.

Check out this article to find out what you can do to fix the issue.

_________________
If you liked my answer, you are going to love my High-Performance Java Persistence book and my blog as well.


Top
 Profile  
 
 Post subject: Re: Build failed.
PostPosted: Sun May 21, 2017 2:32 am 
Newbie

Joined: Sat May 20, 2017 8:38 am
Posts: 2
Thank you for reply!

Unfortunately my OS is Ubuntu 17.04. Will your solution for windows help me?


Top
 Profile  
 
 Post subject: Re: Build failed.
PostPosted: Sun May 21, 2017 10:52 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1638
Location: Romania
If the port 9990 is taken by some other process, then sure. Use lsof for this:

Code:
lsof -i :9990

_________________
If you liked my answer, you are going to love my High-Performance Java Persistence book and my blog as well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.