Jenkins build became unstable: Stripes master on GitHub #2

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins build became unstable: Stripes master on GitHub #2

Ben Gunter-2
See <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/2/changes>


------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Hudson / Jenkins not available anymore

Marcus Kraßmann-2
Hi devs,

The url http://www.stripesframework.org/hudson/ does not resolve to any
CI system, even it still produces emails on build errors. Can this be fixed?

Kind regards,
Marcus


Am 03.04.2014 13:54, schrieb Ben Gunter:
> See <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/2/changes>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-development mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/stripes-development


------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: Stripes master on GitHub #3

Ben Gunter-2
In reply to this post by Ben Gunter-2
See <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/3/changes>

Changes:

[bgunter] Minor updates to the POMs.

------------------------------------------
Started by GitHub push by bengunter
Started by GitHub push by bengunter
Building in workspace <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/ws/>
Fetching changes from the remote Git repository
Fetching upstream changes from https://github.com/StripesFramework/stripes.git
Checking out Revision d8e83a235dce03f5a732f319ce0417344a124f6f (origin/master)
Parsing POMs
Downloaded artifact http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
Modules changed, recalculating dependency graph
[workspace] $ /usr/java/default/bin/java -Duser.home=/var/lib/jenkins -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.4.jar:/usr/local/maven2/boot/classworlds-1.1.jar hudson.maven.agent.Main /usr/local/maven2 /usr/local/apache-tomcat-6.0.35/webapps/jenkins/WEB-INF/lib/remoting-2.33.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.4.jar 59797 /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
<===[JENKINS REMOTING CAPACITY]===>   channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven:  -B -f <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/ws/pom.xml> clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Stripes Parent
[INFO]   Stripes
[INFO]   Stripes Examples Webapp
[INFO]   Stripes Distribution Module
[INFO] ------------------------------------------------------------------------
[INFO] Building Stripes Parent
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.2/maven-enforcer-plugin-1.2.pom
5K downloaded  (maven-enforcer-plugin-1.2.pom)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.2/maven-enforcer-plugin-1.2.jar
24K downloaded  (maven-enforcer-plugin-1.2.jar)
[INFO] [clean:clean {execution: default-clean}]
Downloading: http://repo1.maven.org/maven2/org/apache/maven/enforcer/enforcer-api/1.2/enforcer-api-1.2.pom
2K downloaded  (enforcer-api-1.2.pom)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-dependency-tree/2.0/maven-dependency-tree-2.0.pom
4K downloaded  (maven-dependency-tree-2.0.pom)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-dependency-tree/2.0/maven-dependency-tree-2.0.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/enforcer/enforcer-rules/1.2/enforcer-rules-1.2.jar
54K downloaded  (maven-dependency-tree-2.0.jar)
74K downloaded  (enforcer-rules-1.2.jar)
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/ws/pom.xml> to /var/lib/jenkins/.m2/repository/net/sourceforge/stripes/stripes-parent/1.6.0-SNAPSHOT/stripes-parent-1.6.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata

input contained no data
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Thu Apr 03 08:00:27 CDT 2014
[INFO] Final Memory: 18M/206M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving /var/lib/jenkins/.m2/repository/net/sourceforge/stripes/stripes-parent/1.6.0-SNAPSHOT/stripes-parent-1.6.0-SNAPSHOT.pom to net.sourceforge.stripes/stripes-parent/1.6.0-SNAPSHOT/stripes-parent-1.6.0-SNAPSHOT.pom
/var/lib/jenkins/.m2/repository/net/sourceforge/stripes/stripes-parent/1.6.0-SNAPSHOT/stripes-parent-1.6.0-SNAPSHOT.pom is not inside <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/ws/;> will archive in a separate pass
Sending e-mails to: [hidden email]
channel stopped

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Re: Hudson / Jenkins not available anymore

Ben Gunter
In reply to this post by Marcus Kraßmann-2
We switched to Jenkins long ago: http://www.stripesframework.org/jenkins

Is that Hudson link still on the Stripes website somewhere?


On Thu, Apr 3, 2014 at 8:06 AM, Marcus Kraßmann <[hidden email]> wrote:
Hi devs,

The url http://www.stripesframework.org/hudson/ does not resolve to any
CI system, even it still produces emails on build errors. Can this be fixed?

Kind regards,
Marcus


Am 03.04.2014 13:54, schrieb Ben Gunter:
> See <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/2/changes>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-development mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/stripes-development


------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development


------------------------------------------------------------------------------

_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Re: Hudson / Jenkins not available anymore

Larry Meadors
It's in the emails from all the builds that are failing.

Larry


On Thu, Apr 3, 2014 at 7:20 AM, Ben Gunter <[hidden email]> wrote:

> We switched to Jenkins long ago: http://www.stripesframework.org/jenkins
>
> Is that Hudson link still on the Stripes website somewhere?
>
>
> On Thu, Apr 3, 2014 at 8:06 AM, Marcus Kraßmann <[hidden email]> wrote:
>>
>> Hi devs,
>>
>> The url http://www.stripesframework.org/hudson/ does not resolve to any
>> CI system, even it still produces emails on build errors. Can this be
>> fixed?
>>
>> Kind regards,
>> Marcus
>>
>>
>> Am 03.04.2014 13:54, schrieb Ben Gunter:
>> > See
>> > <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/2/changes>
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > _______________________________________________
>> > Stripes-development mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/stripes-development
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Stripes-development mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Stripes-development mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Re: Hudson / Jenkins not available anymore

Marcus Kraßmann-2
In reply to this post by Ben Gunter
It survived at http://www.stripesframework.org/display/stripes/1.5.x+Maven+Build+and+Continuous+Integration but I just changed it to the new one.
And as Larry writes, it is still in the generated emails.


Am 03.04.2014 15:20, schrieb Ben Gunter:
We switched to Jenkins long ago: http://www.stripesframework.org/jenkins

Is that Hudson link still on the Stripes website somewhere?


On Thu, Apr 3, 2014 at 8:06 AM, Marcus Kraßmann <[hidden email]> wrote:
Hi devs,

The url http://www.stripesframework.org/hudson/ does not resolve to any
CI system, even it still produces emails on build errors. Can this be fixed?

Kind regards,
Marcus


Am 03.04.2014 13:54, schrieb Ben Gunter:
> See <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/2/changes>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-development mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/stripes-development


------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development



------------------------------------------------------------------------------


_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development


------------------------------------------------------------------------------

_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Re: Hudson / Jenkins not available anymore

Ben Gunter
In reply to this post by Larry Meadors
Yes, I noticed that after I asked. Thanks for letting me know. I just updated the Jenkins configuration so it's hopefully fixed now.


On Thu, Apr 3, 2014 at 9:27 AM, Larry Meadors <[hidden email]> wrote:
It's in the emails from all the builds that are failing.

Larry


On Thu, Apr 3, 2014 at 7:20 AM, Ben Gunter <[hidden email]> wrote:
> We switched to Jenkins long ago: http://www.stripesframework.org/jenkins
>
> Is that Hudson link still on the Stripes website somewhere?
>
>
> On Thu, Apr 3, 2014 at 8:06 AM, Marcus Kraßmann <[hidden email]> wrote:
>>
>> Hi devs,
>>
>> The url http://www.stripesframework.org/hudson/ does not resolve to any
>> CI system, even it still produces emails on build errors. Can this be
>> fixed?
>>
>> Kind regards,
>> Marcus
>>
>>
>> Am 03.04.2014 13:54, schrieb Ben Gunter:
>> > See
>> > <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/2/changes>
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > _______________________________________________
>> > Stripes-development mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/stripes-development
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Stripes-development mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Stripes-development mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development


------------------------------------------------------------------------------

_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Re: Hudson / Jenkins not available anymore

Larry Meadors
Nice, thanks.

Any chance you might add cobertura reporting to the build? It's a
minor change to the pom to create the raw data and then one change to
the build config in jenkins, but it's pretty useful when you're trying
to measure / improve your testing.

I can change the pom and send a pull request if you'd like, but won't
waste my time if you're not interested. :)

Larry



On Thu, Apr 3, 2014 at 7:33 AM, Ben Gunter <[hidden email]> wrote:

> Yes, I noticed that after I asked. Thanks for letting me know. I just
> updated the Jenkins configuration so it's hopefully fixed now.
>
>
> On Thu, Apr 3, 2014 at 9:27 AM, Larry Meadors <[hidden email]>
> wrote:
>>
>> It's in the emails from all the builds that are failing.
>>
>> Larry
>>
>>
>> On Thu, Apr 3, 2014 at 7:20 AM, Ben Gunter <[hidden email]> wrote:
>> > We switched to Jenkins long ago: http://www.stripesframework.org/jenkins
>> >
>> > Is that Hudson link still on the Stripes website somewhere?
>> >
>> >
>> > On Thu, Apr 3, 2014 at 8:06 AM, Marcus Kraßmann <[hidden email]>
>> > wrote:
>> >>
>> >> Hi devs,
>> >>
>> >> The url http://www.stripesframework.org/hudson/ does not resolve to any
>> >> CI system, even it still produces emails on build errors. Can this be
>> >> fixed?
>> >>
>> >> Kind regards,
>> >> Marcus
>> >>
>> >>
>> >> Am 03.04.2014 13:54, schrieb Ben Gunter:
>> >> > See
>> >> >
>> >> > <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/2/changes>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ------------------------------------------------------------------------------
>> >> > _______________________________________________
>> >> > Stripes-development mailing list
>> >> > [hidden email]
>> >> > https://lists.sourceforge.net/lists/listinfo/stripes-development
>> >>
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> _______________________________________________
>> >> Stripes-development mailing list
>> >> [hidden email]
>> >> https://lists.sourceforge.net/lists/listinfo/stripes-development
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Stripes-development mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/stripes-development
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Stripes-development mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Re: Hudson / Jenkins not available anymore

Ben Gunter
I've never used it before, but if you think it'll be useful, go ahead and do the pull request.


On Thu, Apr 3, 2014 at 9:38 AM, Larry Meadors <[hidden email]> wrote:
Nice, thanks.

Any chance you might add cobertura reporting to the build? It's a
minor change to the pom to create the raw data and then one change to
the build config in jenkins, but it's pretty useful when you're trying
to measure / improve your testing.

I can change the pom and send a pull request if you'd like, but won't
waste my time if you're not interested. :)

Larry



On Thu, Apr 3, 2014 at 7:33 AM, Ben Gunter <[hidden email]> wrote:
> Yes, I noticed that after I asked. Thanks for letting me know. I just
> updated the Jenkins configuration so it's hopefully fixed now.
>
>
> On Thu, Apr 3, 2014 at 9:27 AM, Larry Meadors <[hidden email]>
> wrote:
>>
>> It's in the emails from all the builds that are failing.
>>
>> Larry
>>
>>
>> On Thu, Apr 3, 2014 at 7:20 AM, Ben Gunter <[hidden email]> wrote:
>> > We switched to Jenkins long ago: http://www.stripesframework.org/jenkins
>> >
>> > Is that Hudson link still on the Stripes website somewhere?
>> >
>> >
>> > On Thu, Apr 3, 2014 at 8:06 AM, Marcus Kraßmann <[hidden email]>
>> > wrote:
>> >>
>> >> Hi devs,
>> >>
>> >> The url http://www.stripesframework.org/hudson/ does not resolve to any
>> >> CI system, even it still produces emails on build errors. Can this be
>> >> fixed?
>> >>
>> >> Kind regards,
>> >> Marcus
>> >>
>> >>
>> >> Am 03.04.2014 13:54, schrieb Ben Gunter:
>> >> > See
>> >> >
>> >> > <http://www.stripesframework.org/hudson/job/Stripes%20master%20on%20GitHub/2/changes>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ------------------------------------------------------------------------------
>> >> > _______________________________________________
>> >> > Stripes-development mailing list
>> >> > [hidden email]
>> >> > https://lists.sourceforge.net/lists/listinfo/stripes-development
>> >>
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> _______________________________________________
>> >> Stripes-development mailing list
>> >> [hidden email]
>> >> https://lists.sourceforge.net/lists/listinfo/stripes-development
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Stripes-development mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/stripes-development
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Stripes-development mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>


------------------------------------------------------------------------------

_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

Re: Hudson / Jenkins not available anymore

Larry Meadors
Done deal - I also added IDEA's project files to the .gitignore file.

Once that's merged, you have to make 2 changes to the build config to
get those included in the build output:

 - in "Goals and options", add cobertura:cobertura to the maven command
 - in "Post-build Actions", add "Publish Cobertura Coverage Report",
and give it the path to the xml output.

The path should be something like
"**/stripes/target/site/cobertura/coverage.xml".

If you're serious about ferreting out stuff that could be better
tested (we're around 40% coverage now, so there's certainly room for
improvement), there are two other changes I'd recommend:

1) Enable the "Stability auto update" in the "Advanced..." section of
the coverage report - that will fail the build if someone chucks
untested code into the project that causes the coverage metrics to
drop.  It will automatically ratchet up the coverage on each commit.

2) Install and add the "Coverage / Complexity Scatter Plot" plugin for
Jenkins - it looks at both coverage and complexity so you can find
higher risk code that's untested. That's pretty useful for people
(like me) who are looking for ways to contribute. :-)

Larry

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development