Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] About locally releng testing

Hi Andrew,

Thanks for your response! Some thoughts below:

- It took me hours on running this test, comparing to 6 mins in your local test. So, there must be something wrong. Do you have command line to run out the result? Greatly appreciate if you can share.

- I can't open link http://download.eclipse.org/e4/updates/orion/0.2-I-builds, would you kindly share me more info on opening it? Is my problem related to unreachable link? How to open more logs for the test?

Many thanks for your help!

Best Regards,
Lamu Guo

2011/4/29 Andrew Niefer <aniefer@xxxxxxxxxx>
The "Run Orion Releng Tests" launch configuration is working for me.  I posted my console output here: http://pastebin.com/BFjMF35W
It did wait for a relatively long time just at the point after the ch.qos.logback messages, but it did eventually continue.  

At this point is is contacting http://download.eclipse.org/e4/updates/orion/0.2-I-builds to get the latest releng build of Orion.

It will install the orion server plus the required test bundles in
${buildDirectory}/test/eclipse
You should make sure this folder is empty first, I found it doesn't when there is an older version already at that location.

After the install is done, the tests are run and the results will be in ${buildDirectory}/test/eclipse/*.xml, these can be opened in the junit view.

If you haven't already seen it, there is a wiki page giving an overview of this here: http://wiki.eclipse.org/Orion/Running_Releng_JUnits

This runTests.xml script is the same script used in the nightly releng builds, however there the build uses the "runTests" target which first compiles the test bundles.  It also launches _javascript_ unit tests, the "Run Orion Releng Tests" launch configuration is only set up to run the server java unit tests.  The _javascript_ tests also use the runTests.sh script, which won't work on Windows.

-Andrew


From: ¹ùÏþ·å <lamuguo@xxxxxxxxx>
To: orion-dev@xxxxxxxxxxx
Date: 04/29/2011 01:23 PM
Subject: Re: [orion-dev] About locally releng testing
Sent by: orion-dev-bounces@xxxxxxxxxxx





BTW, would like to know where is the script to run nightly test for
orion project?

Thinking about study from tests. Thanks!

Best Regards,
Lamu Guo

On Thu, Apr 28, 2011 at 6:28 PM, ¹ùÏþ·å <lamuguo@xxxxxxxxx> wrote:
> Hi,
>
> I am a newbie of this project. I started an instance, and tried some
> edit on it. It is cool and should be on the way of coding trend.
>
> With links below, I can run orion in eclipse correctly. But for unit
> tests, I have some problems.
>
http://wiki.eclipse.org/Orion/Getting_the_source
>
http://wiki.eclipse.org/Orion/Running_Releng_JUnits
>
> Here is command I used to run test with orion-0.2M6 target (I guess
> the target isn't enough for running the test):
> $(JAVA_HOME)/bin/java -Xms124m -Xmx712m -Dfile.encoding=UTF-8
> -classpath $(ORION_HOME)/eclipse-orion-0.2M6/plugins/org.eclipse.equinox.launcher_1.2.0.v20110124-0830.jar
> org.eclipse.equinox.launcher.Main -application
> org.eclipse.orion.application -data
> /usr/local/google/code/self-workspace/../runtime-buildOrion
> -configuration
file:$(WORKSPACE)/.metadata/.plugins/org.eclipse.pde.core/Run
> Orion Releng Tests/ -dev
>
file:$(WORKSPACE)/.metadata/.plugins/org.eclipse.pde.core/Run Orion
> Releng Tests/dev.properties -f
> $(ORION_HOME)/org.eclipse.orion.server/releng/org.eclipse.orion.releng/builder/scripts/runTests.xml
> -DbuildType=N -DrunTestsLocally=true
> -DbuildDirectory=$(ORION_HOME)/org.eclipse.orion.server/tests
> junitTests
>
> However, it keeps running and no response like below:
>
> 09:04:41,916 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
> Could NOT find resource [logback.groovy]
> 09:04:41,916 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
> Could NOT find resource [logback-test.xml]
> 09:04:41,916 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
> Found resource [logback.xml] at
> [bundleresource://2.fwk489242803:1/logback.xml]
> 09:04:41,938 |-INFO in
> ch.qos.logback.classic.joran.action.ConfigurationAction - debug
> attribute not set
> 09:04:41,938 |-INFO in ch.qos.logback.core.joran.action.AppenderAction
> - About to instantiate appender of type
> [ch.qos.logback.core.ConsoleAppender]
> 09:04:41,940 |-INFO in ch.qos.logback.core.joran.action.AppenderAction
> - Naming appender as [STDOUT]
> 09:04:41,958 |-INFO in
> ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing
> component [layout] on top of the object stack.
> 09:04:41,979 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] -
> This appender no longer admits a layout as a sub-component, set an
> encoder instead.
> 09:04:41,979 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] -
> To ensure compatibility, wrapping your layout in
> LayoutWrappingEncoder.
> 09:04:41,979 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] -
> See also
http://logback.qos.ch/codes.html#layoutInsteadOfEncoder
for

> details
> 09:04:41,980 |-INFO in
> ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level
> of ROOT logger to WARN
> 09:04:41,980 |-INFO in
> ch.qos.logback.core.joran.action.AppenderRefAction - Attaching
> appender named [STDOUT] to Logger[ROOT]
>
> 09:04:42.575 [Start Level Event Dispatcher] WARN
> o.a.s.h.c.SpellCheckComponent - No queryConverter defined, using
> default converter
>
> Any ideas on this? Thanks!
>
> Best Regards,
> Lamu Guo
>
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx

_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/orion-dev



Back to the top