I tried to build SSHD from the src tgz (taken from
https://repository.apache.org/content/repositories/orgapachemina-1000/org/apache/sshd/apache-sshd/0.10.0/),
and it failed :


Failed tests:
  testReExchangeFromServer(org.apache.sshd.KeyReExchangeTest)

Tests run: 104, Failures: 1, Errors: 0, Skipped: 2

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Mina SSHD .................................. SUCCESS [3.891s]
[INFO] Apache Mina SSHD :: Core .......................... FAILURE
[5:11.944s]
[INFO] Apache Mina SSHD :: PAM ........................... SKIPPED
[INFO] Apache Mina SSHD :: SFTP .......................... SKIPPED
[INFO] Apache Mina SSHD :: Assembly ...................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5:16.324s
[INFO] Finished at: Thu Feb 13 07:19:35 CET 2014
[INFO] Final Memory: 24M/77M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (jce) on
project sshd-core: There are test failures.
[ERROR]
[ERROR] Please refer to
/Users/elecharny/Downloads/apache-sshd-0.10.0/sshd-core/target/surefire-reports-jce
for the individual test results.


The tack trace :
-------------------------------------------------------------------------------
Test set: org.apache.sshd.KeyReExchangeTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.12 sec
<<< FAILURE!
testReExchangeFromServer(org.apache.sshd.KeyReExchangeTest)  Time
elapsed: 0.169 sec  <<< FAILURE!
arrays first differed at element [12284]; expected:<51> but was:<48>
        at
org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
        at org.junit.Assert.internalArrayEquals(Assert.java:473)
        at org.junit.Assert.assertArrayEquals(Assert.java:294)
        at org.junit.Assert.assertArrayEquals(Assert.java:305)
        at
org.apache.sshd.KeyReExchangeTest.testReExchangeFromServer(KeyReExchangeTest.java:205)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        ...

Mac OSX, java version "1.7.0_25"





Le 2/12/14 11:47 PM, Guillaume Nodet a écrit :
> That's not the distribution we point users to.   I need to find a way to
> get rid of that one.
>
>
> 2014-02-12 23:20 GMT+01:00 Emmanuel Lécharny <elecha...@gmail.com>:
>
>> Le 2/12/14 11:06 PM, Guillaume Nodet a écrit :
>>> Can you paste the output, I've just downloaded
>>>
>> http://repository.apache.org/content/repositories/orgapachemina-1000/org/apache/sshd/apache-sshd/0.10.0/apache-sshd-0.10.0-src.tar.gzand
>>> it builds correctly for me.
>> I donwloaded the source package from
>>
>>
>> https://repository.apache.org/content/repositories/orgapachemina-1000/org/apache/sshd/sshd/0.10.0/
>>
>> and after an unzip :
>>
>> $ mvn clean install
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Build Order:
>> [INFO]
>> [INFO] Apache Mina SSHD
>> [INFO] Apache Mina SSHD :: Core
>> [INFO] Apache Mina SSHD :: PAM
>> [INFO] Apache Mina SSHD :: SFTP
>> [INFO] Apache Mina SSHD :: Assembly
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Mina SSHD 0.10.0
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ sshd ---
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ sshd ---
>> [INFO] Setting property: classpath.resource.loader.class =>
>> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
>> [INFO] Setting property: velocimacro.messages.on => 'false'.
>> [INFO] Setting property: resource.loader => 'classpath'.
>> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>> [INFO]
>> [INFO] --- apache-rat-plugin:0.9:check (default) @ sshd ---
>> [INFO] 55 implicit excludes (use -debug for more details).
>> [INFO] Exclude: **/*.iml
>> [INFO] Exclude: src/docs/**
>> [INFO] Exclude: **/stty-output-*.txt
>> [INFO] 17 resources included (use -debug for more details)
>> [INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0
>> approved: 10 licence.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Mina SSHD .................................. FAILURE [3.212s]
>> [INFO] Apache Mina SSHD :: Core .......................... SKIPPED
>> [INFO] Apache Mina SSHD :: PAM ........................... SKIPPED
>> [INFO] Apache Mina SSHD :: SFTP .......................... SKIPPED
>> [INFO] Apache Mina SSHD :: Assembly ...................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 3.774s
>> [INFO] Finished at: Wed Feb 12 22:34:08 CET 2014
>> [INFO] Final Memory: 10M/75M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.9:check
>> (default) on project sshd: Too many files with unapproved license: 1 See
>> RAT report in: /Users/elecharny/Downloads/sshd-0.10.0/target/rat.txt ->
>> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
>>


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to