You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by devel <de...@integra-sc.it> on 2019/05/30 17:12:45 UTC

error deploy syncope-2.1.4 with maven 3.5.2

Hi all,
i’m following the steps described at syncope side to deploy syncope with maven.
i’m using syncope 2.1.4 
maven :

[root@test_non_usare bin]# mvn --version
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)

 
i got this error:


ERROR] Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 263.684 s <<< FAILURE! - in org.apache.syncope.fit.core.PullTaskITCase
[ERROR] reconcileFromLDAP  Time elapsed: 24.004 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <null> but was: <or...@f36afeef>
	at org.apache.syncope.fit.core.PullTaskITCase.reconcileFromLDAP(PullTaskITCase.java:449)

……

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52:39 min
[INFO] Finished at: 2019-05-30T19:09:41+02:00
[INFO] Final Memory: 275M/916M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.1:verify (default) on project syncope-fit-core-reference: There are test failures.
[ERROR]
[ERROR] Please refer to /home/eyeass/syncope-2.1.4/fit/core-reference/target/failsafe-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.



how can i solve this error ?
Thanks


Re: error deploy syncope-2.1.4 with maven 3.5.2

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 31/05/19 09:47, devel wrote:
> Thank you Francesco for your reply,
>
> i read the different way to obtain syncope  but:
>
> Stand-alone: fear about the sentence "*Not meant for any production 
> environment."*
>
> Debian-package: we are on centos
>
> Guy Installer: failed to install
>
> Docker: We won’t use docker in production
>
> so it remain only maven solution.
>
> Can you give me some advices about what should i use?

Ok for the Maven solution, but it is not about building the project 
sources, it is rather about creating a local project *based* on Apache 
Syncope artifacts:

http://syncope.apache.org/docs/2.1/getting-started.html#create-project

e.g.

mvn archetype:generate \
     -DarchetypeGroupId=org.apache.syncope \
     -DarchetypeArtifactId=syncope-archetype \
     -DarchetypeRepository=http://repo1.maven.org/maven2 \
     -DarchetypeVersion=2.1.4

HTH
Regards.

>> Il giorno 31 mag 2019, alle ore 08:34, Francesco Chicchiriccò 
>> <ilgrosso@apache.org <ma...@apache.org>> ha scritto:
>>
>> Hi,
>> if you want to build your IdM solution on Apache Syncope, there is no 
>> need at all to build it from sources.
>>
>> Please look at one of the ways to obtain Apache Syncope:
>>
>> http://syncope.apache.org/docs/2.1/getting-started.html#obtain-apache-syncope
>>
>> About the failing test below, not sure what could be the reason; our 
>> CI did not find anything wrong when building the tag syncope-2.1.4:
>>
>> https://travis-ci.org/apache/syncope/builds/522050556
>>
>> Regards.
>>
>> On 30/05/19 19:12, devel wrote:
>>> Hi all,
>>> i’m following the steps described at syncope side to deploy syncope 
>>> with maven.
>>> i’m using syncope 2.1.4
>>> maven :
>>>
>>> [root@test_non_usare bin]# mvn --version
>>> Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 
>>> 2017-10-18T09:58:13+02:00)
>>>
>>>  i got this error:
>>>
>>>
>>> ERROR] Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time 
>>> elapsed: 263.684 s <<< FAILURE! - in 
>>> org.apache.syncope.fit.core.PullTaskITCase
>>> [ERROR] reconcileFromLDAP  Time elapsed: 24.004 s  <<< FAILURE!
>>> org.opentest4j.AssertionFailedError: expected: <null> but was: 
>>> <or...@f36afeef>
>>> at 
>>> org.apache.syncope.fit.core.PullTaskITCase.reconcileFromLDAP(PullTaskITCase.java:449)
>>>
>>> ……
>>>
>>> [INFO] BUILD FAILURE
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 52:39 min
>>> [INFO] Finished at: 2019-05-30T19:09:41+02:00
>>> [INFO] Final Memory: 275M/916M
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal 
>>> org.apache.maven.plugins:maven-failsafe-plugin:2.22.1:verify 
>>> (default) on project syncope-fit-core-reference: There are test 
>>> failures.
>>> [ERROR]
>>> [ERROR] Please refer to 
>>> /home/eyeass/syncope-2.1.4/fit/core-reference/target/failsafe-reports 
>>> for the individual test results.
>>> [ERROR] Please refer to dump files (if any exist) [date].dump, 
>>> [date]-jvmRun[N].dump and [date].dumpstream.
>>>
>>>
>>>
>>> how can i solve this error ?
>>> Thanks
>>
>>
>> -- 
>> Francesco Chicchiriccò
>>
>> Tirasa - Open Source Excellence
>> http://www.tirasa.net/
>>
>> Member at The Apache Software Foundation
>> Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
>> http://home.apache.org/~ilgrosso/
>>
>

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/


Re: error deploy syncope-2.1.4 with maven 3.5.2

Posted by devel <de...@integra-sc.it>.
Thank you Francesco for your reply,

i read the different way to obtain syncope  but:

Stand-alone: fear about the sentence "Not meant for any production environment."

Debian-package: we are on centos

Guy Installer: failed to install

Docker: We won’t use docker in production

so it remain only maven solution.

Can you give me some advices about what should i use?



> Il giorno 31 mag 2019, alle ore 08:34, Francesco Chicchiriccò <il...@apache.org> ha scritto:
> 
> Hi,
> if you want to build your IdM solution on Apache Syncope, there is no need at all to build it from sources.
> 
> Please look at one of the ways to obtain Apache Syncope:
> 
> http://syncope.apache.org/docs/2.1/getting-started.html#obtain-apache-syncope
> 
> About the failing test below, not sure what could be the reason; our CI did not find anything wrong when building the tag syncope-2.1.4:
> 
> https://travis-ci.org/apache/syncope/builds/522050556
> 
> Regards.
> 
> On 30/05/19 19:12, devel wrote:
>> Hi all,
>> i’m following the steps described at syncope side to deploy syncope with maven.
>> i’m using syncope 2.1.4
>> maven :
>> 
>> [root@test_non_usare bin]# mvn --version
>> Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)
>> 
>>  i got this error:
>> 
>> 
>> ERROR] Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 263.684 s <<< FAILURE! - in org.apache.syncope.fit.core.PullTaskITCase
>> [ERROR] reconcileFromLDAP  Time elapsed: 24.004 s  <<< FAILURE!
>> org.opentest4j.AssertionFailedError: expected: <null> but was: <or...@f36afeef>
>> 	at org.apache.syncope.fit.core.PullTaskITCase.reconcileFromLDAP(PullTaskITCase.java:449)
>> 
>> ……
>> 
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 52:39 min
>> [INFO] Finished at: 2019-05-30T19:09:41+02:00
>> [INFO] Final Memory: 275M/916M
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.1:verify (default) on project syncope-fit-core-reference: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to /home/eyeass/syncope-2.1.4/fit/core-reference/target/failsafe-reports for the individual test results.
>> [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
>> 
>> 
>> 
>> how can i solve this error ?
>> Thanks
> 
> 
> -- 
> Francesco Chicchiriccò
> 
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
> 
> Member at The Apache Software Foundation
> Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
> http://home.apache.org/~ilgrosso/
> 


Re: error deploy syncope-2.1.4 with maven 3.5.2

Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi,
if you want to build your IdM solution on Apache Syncope, there is no 
need at all to build it from sources.

Please look at one of the ways to obtain Apache Syncope:

http://syncope.apache.org/docs/2.1/getting-started.html#obtain-apache-syncope

About the failing test below, not sure what could be the reason; our CI 
did not find anything wrong when building the tag syncope-2.1.4:

https://travis-ci.org/apache/syncope/builds/522050556

Regards.

On 30/05/19 19:12, devel wrote:
> Hi all,
> i’m following the steps described at syncope side to deploy syncope with maven.
> i’m using syncope 2.1.4
> maven :
>
> [root@test_non_usare bin]# mvn --version
> Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)
>
>   
> i got this error:
>
>
> ERROR] Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 263.684 s <<< FAILURE! - in org.apache.syncope.fit.core.PullTaskITCase
> [ERROR] reconcileFromLDAP  Time elapsed: 24.004 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <null> but was: <or...@f36afeef>
> 	at org.apache.syncope.fit.core.PullTaskITCase.reconcileFromLDAP(PullTaskITCase.java:449)
>
> ……
>
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 52:39 min
> [INFO] Finished at: 2019-05-30T19:09:41+02:00
> [INFO] Final Memory: 275M/916M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.1:verify (default) on project syncope-fit-core-reference: There are test failures.
> [ERROR]
> [ERROR] Please refer to /home/eyeass/syncope-2.1.4/fit/core-reference/target/failsafe-reports for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
>
>
>
> how can i solve this error ?
> Thanks


-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/