[ 
https://issues.apache.org/jira/browse/SLING-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070317#comment-13070317
 ] 

Phil Rice commented on SLING-2147:
----------------------------------

Thank you very much for looking into this: I am very uncomfortable
with having source code and failing tests.

The changes you suggested had little impact on my main machine. I
increased the sling.testing.timeout.multiplier to 4 and the
HttpTestBase.readyTimeoutSeconds to 240. I still have test failures.
I've increased them to 10 and 500 and that didn't help either. However
encouraged by the fact that you had no problems, I tried on my old
slow laptop (which had previous failed as well). Somewhat to my
surprise it worked on the laptop.

So I think its fair to say the problem has now shifted. Firstly it was
because of maven issues, then slowdown and now its almost certainly a
configuration issue. I'm going to start chasing down whether it's now
because I am using some ports on my main machine (for instance it has
apache and tomcat running while the laptop is way too old and slow for
that). I'd appreciate any advice on ports to investigate or other
possible configuration issues.

Once again thanks for looking into this.




> Cannot build Sling using instructions given on Sling wiki
> ---------------------------------------------------------
>
>                 Key: SLING-2147
>                 URL: https://issues.apache.org/jira/browse/SLING-2147
>             Project: Sling
>          Issue Type: Bug
>         Environment: svn: Slik SVN 1.6.17/64 bit edition (the very latest as 
> I write this)
> maven:  3.0.3 (64 bit)
>            Reporter: Phil
>         Attachments: 
> org.apache.sling.installer.it.BundleInstallUpgradeDowngradeTest.txt
>
>
> Steps to reproduce:
> 1: clean maven repository (I know that means you have to download the
> internet but...)
> 2: rm -rf sling
> 3: svn checkout http://svn.apache.org/repos/asf/sling/trunk sling
> 4: mvn clean install
> The tail end of the build is
> [INFO] Apache Sling Settings ............................. SUCCESS [1.562s]
> [INFO] Apache Sling Thread Dumper ........................ SUCCESS [0.930s]
> [INFO] Apache Sling Web Console Branding ................. SUCCESS [0.426s]
> [INFO] Apache Sling Web Console Security Provider ........ SUCCESS [2.554s]
> [INFO] Apache Sling Integration Tests .................... SUCCESS [4.815s]
> [INFO] Apache Sling Groovy Extensions .................... SUCCESS [5.481s]
> [INFO] Apache Sling Explorer ............................. SUCCESS [0.651s]
> [INFO] Apache Sling Test Tools ........................... SUCCESS [2.124s]
> [INFO] Apache Sling JUnit Core ........................... SUCCESS [2.459s]
> [INFO] Apache Sling JUnit Scriptable Tests Provider ...... SUCCESS [2.873s]
> [INFO] Apache Sling JUnit Remote Tests Runners ........... SUCCESS [1.446s]
> [INFO] Apache Sling Installer ............................ SUCCESS [3.360s]
> [INFO] Apache Sling File Installer ....................... SUCCESS [1.118s]
> [INFO] Apache Sling JCR Installer ........................ SUCCESS [2:19.554s]
> [INFO] Apache Sling Installer Configuration Admin Support  SUCCESS [2.239s]
> [INFO] Apache Sling Deployment Package Installer ......... SUCCESS [1.341s]
> [INFO] Apache Sling Installer Integration Tests .......... FAILURE [1:29.908s]
> [INFO] Apache Sling Launchpad Installer .................. SKIPPED
> [INFO] Apache Sling Launchpad Content .................... SKIPPED
> [INFO] Apache Sling Launchpad Application Builder ........ SKIPPED
> [INFO] Apache Sling Sample Server-Side Tests ............. SKIPPED
> [INFO] Apache Sling Failing Server-Side Tests ............ SKIPPED
> [INFO] Apache Sling Sample Integration Tests ............. SKIPPED
> [INFO] Apache Sling Launchpad Testing Services ........... SKIPPED
> [INFO] Apache Sling Launchpad Testing Services WAR ....... SKIPPED
> [INFO] org.apache.sling.launchpad.test-bundles ........... SKIPPED
> [INFO] Apache Sling Launchpad Testing .................... SKIPPED
> [INFO] Apache Sling (Builder) ............................ SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 14:17.001s
> [INFO] Finished at: Sun Jul 17 09:08:05 BST 2011
> [INFO] Final Memory: 91M/1486M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on 
> project org.apache.sling.installer.it: There are test failures.
> [ERROR]
> [ERROR] Please refer to 
> C:\Users\Phil\workspaces\sling6\installer\it\target\surefire-reports for the 
> individual test results.
> [ERROR] -> [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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :org.apache.sling.installer.it

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to