You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2011/04/22 01:15:53 UTC

Help w/ Tapestry build

I've been trying to switch the Tapestry build over to Gradle (from Maven).

We had a hacky way of getting Maven running with the DISPLAY
environment variable set up, so that Xvfb & FireFox could be used as
part of the testing.

I attempted to reproduce that for the Gradle build, adding extra build
steps to export DISPLAY ... that doesn't seem to have worked.

Hm. Looks like user ngn reverted it to the old Maven based build.
That isn't what we want or need!

Does anyone know of the correct way to configure the Gradle test to
work with Xvfb?

Thanks,

Howard



---------- Forwarded message ----------
From: Apache Jenkins Server <hu...@hudson.apache.org>
Date: Thu, Apr 21, 2011 at 3:25 PM
Subject: Build failed in Jenkins: tapestry-trunk-freestyle #323
To: dev@tapestry.apache.org


See <https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/323/>

------------------------------------------
Started by user hlship
Building remotely on ubuntu2
Updating https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk
At revision 1095835
no change for https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk
since the previous build
[tapestry-trunk-freestyle] $ /bin/bash -xe /tmp/hudson7776783937523270982.sh
+ Xvfb :6 -ac -screen 0 1024x768x8
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic,
removing from list!
[dix] Could not init font path element
/usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element
/usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/Type1,
removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi,
removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi,
removing from list!
Process leaked file descriptors. See
http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build
for more information
[tapestry-trunk-freestyle] $ /bin/bash -xe /tmp/hudson1618358468006362048.sh
+ export DISPLAY=:6.0
+ DISPLAY=:6.0
[trunk] $ /home/hudson/tools/gradle/gradle-1.0-milestone-2/bin/gradle
continuousIntegration
:plastic:compileJava UP-TO-DATE
:plastic:compileGroovy UP-TO-DATE
:plastic:processResources UP-TO-DATE
:plastic:classes UP-TO-DATE
:plastic:jar UP-TO-DATE
:plastic:sourcesJar UP-TO-DATE
:tapestry-annotations:compileJava UP-TO-DATE
:tapestry-annotations:compileGroovy UP-TO-DATE
:tapestry-annotations:processResources UP-TO-DATE
:tapestry-annotations:classes UP-TO-DATE
:tapestry-annotations:jar UP-TO-DATE
:tapestry-annotations:sourcesJar UP-TO-DATE
:tapestry-core:generateGrammarSource UP-TO-DATE
:tapestry-func:compileJava UP-TO-DATE
:tapestry-func:compileGroovy UP-TO-DATE
:tapestry-func:processResources UP-TO-DATE
:tapestry-func:classes UP-TO-DATE
:tapestry-func:jar UP-TO-DATE
:tapestry-func:sourcesJar UP-TO-DATE
:tapestry-json:compileJava UP-TO-DATE
:tapestry-json:compileGroovy UP-TO-DATE
:tapestry-json:processResources UP-TO-DATE
:tapestry-json:classes UP-TO-DATE
:tapestry-json:jar UP-TO-DATE
:tapestry-json:sourcesJar UP-TO-DATE
:tapestry-test:compileJava UP-TO-DATE
:tapestry-test:compileGroovy UP-TO-DATE
:tapestry-test:processResources UP-TO-DATE
:tapestry-test:classes UP-TO-DATE
:tapestry-test:jar UP-TO-DATE
:tapestry-test:sourcesJar UP-TO-DATE
:tapestry-ioc:compileJava UP-TO-DATE
:tapestry-ioc:compileGroovy UP-TO-DATE
:tapestry-ioc:processResources UP-TO-DATE
:tapestry-ioc:classes UP-TO-DATE
:tapestry-ioc:jar UP-TO-DATE
:tapestry-ioc:sourcesJar UP-TO-DATE
:tapestry-core:compileJava UP-TO-DATE
:tapestry-core:compileGroovy UP-TO-DATE
:tapestry-core:processResources UP-TO-DATE
:tapestry-core:classes UP-TO-DATE
:tapestry-core:jar UP-TO-DATE
:tapestry-core:sourcesJar UP-TO-DATE
:tapestry-beanvalidator:compileJava UP-TO-DATE
:tapestry-beanvalidator:compileGroovy UP-TO-DATE
:tapestry-beanvalidator:processResources UP-TO-DATE
:tapestry-beanvalidator:classes UP-TO-DATE
:tapestry-hibernate-core:compileJava UP-TO-DATE
:tapestry-hibernate-core:compileGroovy UP-TO-DATE
:tapestry-hibernate-core:processResources UP-TO-DATE
:tapestry-hibernate-core:classes UP-TO-DATE
:tapestry-hibernate-core:jar UP-TO-DATE
:tapestry-hibernate-core:sourcesJar UP-TO-DATE
:tapestry-hibernate:compileJava UP-TO-DATE
:tapestry-hibernate:compileGroovy UP-TO-DATE
:tapestry-hibernate:processResources UP-TO-DATE
:tapestry-hibernate:classes UP-TO-DATE
:tapestry-jmx:compileJava UP-TO-DATE
:tapestry-jmx:compileGroovy UP-TO-DATE
:tapestry-jmx:processResources UP-TO-DATE
:tapestry-jmx:classes UP-TO-DATE
:tapestry-jpa:compileJava:: problems summary ::
:::: ERRORS
       unknown resolver
http://mirrors.ibiblio.org/pub/mirrors/eclipse/rt/eclipselink/maven.repo

       unknown resolver
http://mirrors.ibiblio.org/pub/mirrors/eclipse/rt/eclipselink/maven.repo

       unknown resolver
http://mirrors.ibiblio.org/pub/mirrors/eclipse/rt/eclipselink/maven.repo

 UP-TO-DATE
:tapestry-jpa:compileGroovy UP-TO-DATE
:tapestry-jpa:processResources UP-TO-DATE
:tapestry-jpa:classes UP-TO-DATE
:tapestry-spring:compileJava UP-TO-DATE
:tapestry-spring:compileGroovy UP-TO-DATE
:tapestry-spring:processResources UP-TO-DATE
:tapestry-spring:classes UP-TO-DATE
:tapestry-upload:compileJava UP-TO-DATE
:tapestry-upload:compileGroovy UP-TO-DATE
:tapestry-upload:processResources UP-TO-DATE
:tapestry-upload:classes UP-TO-DATE
:tapestry-yuicompressor:compileJava UP-TO-DATE
:tapestry-yuicompressor:compileGroovy UP-TO-DATE
:tapestry-yuicompressor:processResources UP-TO-DATE
:tapestry-yuicompressor:classes UP-TO-DATE
:aggregateJavadoc UP-TO-DATE
:plastic:assemble UP-TO-DATE
:plastic:compileTestJava UP-TO-DATE
:plastic:compileTestGroovy UP-TO-DATE
:plastic:processTestResources UP-TO-DATE
:plastic:testClasses UP-TO-DATE
:plastic:test UP-TO-DATE
:plastic:check UP-TO-DATE
:plastic:build UP-TO-DATE
:tapestry-annotations:assemble UP-TO-DATE
:tapestry-annotations:compileTestJava UP-TO-DATE
:tapestry-annotations:compileTestGroovy UP-TO-DATE
:tapestry-annotations:processTestResources UP-TO-DATE
:tapestry-annotations:testClasses UP-TO-DATE
:tapestry-annotations:test UP-TO-DATE
:tapestry-annotations:check UP-TO-DATE
:tapestry-annotations:build UP-TO-DATE
:tapestry-beanvalidator:jar UP-TO-DATE
:tapestry-beanvalidator:sourcesJar UP-TO-DATE
:tapestry-beanvalidator:assemble UP-TO-DATE
:tapestry-beanvalidator:compileTestJava UP-TO-DATE
:tapestry-beanvalidator:compileTestGroovy UP-TO-DATE
:tapestry-beanvalidator:processTestResources UP-TO-DATE
:tapestry-beanvalidator:testClasses UP-TO-DATE
:tapestry-beanvalidator:testTest
org.apache.tapestry5.beanvalidator.integration.TapestryBeanValidationIntegrationTests
FAILED
7 tests completed, 1 failure


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tapestry-beanvalidator:test'.
Cause: There were failing tests. See the report at
<https://builds.apache.org/hudson/job/tapestry-trunk-freestyle/ws/trunk/tapestry-beanvalidator/build/reports/tests.>

* Try:
Run with --stacktrace option to get the stack trace. Run with --info
or --debug option to get more log output.

BUILD FAILED

Total time: 47.911 secs
[WARNINGS] Skipping publisher since build result is FAILURE
[TASKS] Skipping publisher since build result is FAILURE
Failed to send e-mail to hlship because no e-mail address is known,
and no default e-mail domain is configured


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org




-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Help w/ Tapestry build

Posted by Howard Lewis Ship <hl...@gmail.com>.
I think I mis-interpreted the "compare job history" output.

In any case, I've hacked together a working build ... I guess I just
needed to think about it over night.  It doesn't use the Gradle task,
but instead hard-codes a couple of paths (to Gradle, primarily).  Just
finished and its working!

On Fri, Apr 22, 2011 at 12:30 AM, Niklas Gustavsson
<ni...@protocol7.com> wrote:
> On Fri, Apr 22, 2011 at 1:15 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
>> Hm. Looks like user ngn reverted it to the old Maven based build.
>> That isn't what we want or need!
>
> Looking further into this, what made you think the build was reverted
> into a Maven build? Your build output in your mail shows Gradle
> running and the config change log clearly shows this being a Gradle
> build:
> https://builds.apache.org/hudson/jobConfigHistory/configOutput?type=raw&file=%2Fhome%2Fhudson%2Fhudson%2Fjobs%2Ftapestry-trunk-freestyle%2Fconfig-history%2F2011-04-21_06-14-07
>
> /niklas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Re: Help w/ Tapestry build

Posted by Howard Lewis Ship <hl...@gmail.com>.
I think I mis-interpreted the "compare job history" output.

In any case, I've hacked together a working build ... I guess I just
needed to think about it over night.  It doesn't use the Gradle task,
but instead hard-codes a couple of paths (to Gradle, primarily).  Just
finished and its working!

On Fri, Apr 22, 2011 at 12:30 AM, Niklas Gustavsson
<ni...@protocol7.com> wrote:
> On Fri, Apr 22, 2011 at 1:15 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
>> Hm. Looks like user ngn reverted it to the old Maven based build.
>> That isn't what we want or need!
>
> Looking further into this, what made you think the build was reverted
> into a Maven build? Your build output in your mail shows Gradle
> running and the config change log clearly shows this being a Gradle
> build:
> https://builds.apache.org/hudson/jobConfigHistory/configOutput?type=raw&file=%2Fhome%2Fhudson%2Fhudson%2Fjobs%2Ftapestry-trunk-freestyle%2Fconfig-history%2F2011-04-21_06-14-07
>
> /niklas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Help w/ Tapestry build

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, Apr 22, 2011 at 1:15 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> Hm. Looks like user ngn reverted it to the old Maven based build.
> That isn't what we want or need!

Looking further into this, what made you think the build was reverted
into a Maven build? Your build output in your mail shows Gradle
running and the config change log clearly shows this being a Gradle
build:
https://builds.apache.org/hudson/jobConfigHistory/configOutput?type=raw&file=%2Fhome%2Fhudson%2Fhudson%2Fjobs%2Ftapestry-trunk-freestyle%2Fconfig-history%2F2011-04-21_06-14-07

/niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Help w/ Tapestry build

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, Apr 22, 2011 at 1:15 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> Hm. Looks like user ngn reverted it to the old Maven based build.
> That isn't what we want or need!

That would be me, but not what I intended to do. The only setting I
changed was to configure the installed Gradle to use. It was because
of that missing, your build previously ended with in IOException
trying to run Gradle.

/niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Help w/ Tapestry build

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, Apr 22, 2011 at 1:15 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> Hm. Looks like user ngn reverted it to the old Maven based build.
> That isn't what we want or need!

Looking further into this, what made you think the build was reverted
into a Maven build? Your build output in your mail shows Gradle
running and the config change log clearly shows this being a Gradle
build:
https://builds.apache.org/hudson/jobConfigHistory/configOutput?type=raw&file=%2Fhome%2Fhudson%2Fhudson%2Fjobs%2Ftapestry-trunk-freestyle%2Fconfig-history%2F2011-04-21_06-14-07

/niklas

Re: Help w/ Tapestry build

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, Apr 22, 2011 at 1:15 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> Hm. Looks like user ngn reverted it to the old Maven based build.
> That isn't what we want or need!

That would be me, but not what I intended to do. The only setting I
changed was to configure the installed Gradle to use. It was because
of that missing, your build previously ended with in IOException
trying to run Gradle.

/niklas