Automated backing up Hudson configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Automated backing up Hudson configuration

Colin Rogers-5
Message
Sonar dudes,
 
I'm in a position where I'd like to backup the xml files and the workspaces of my Hudson configuration.
 
Are there any nice ways to do this?
 
I've tried using CVS - but that causes issues when rename jobs....
 
Has anyone had any success doing this? Obviously I want to trigger the backup via Hudson itself!
 
Cheers,
Col.
Reply | Threaded
Open this post in threaded view
|

RE: Automated backing up Hudson configuration

Colin Rogers-5
Message
Obviously that mean to say "Hudson dudes".... it's still early here... sorry! :)
-----Original Message-----
From: Colin Rogers [mailto:[hidden email]]
Sent: 03 July 2008 10:00
To: [hidden email]
Subject: Automated backing up Hudson configuration

Sonar dudes,
 
I'm in a position where I'd like to backup the xml files and the workspaces of my Hudson configuration.
 
Are there any nice ways to do this?
 
I've tried using CVS - but that causes issues when rename jobs....
 
Has anyone had any success doing this? Obviously I want to trigger the backup via Hudson itself!
 
Cheers,
Col.
Reply | Threaded
Open this post in threaded view
|

Re: Automated backing up Hudson configuration

Tomas Musil
In reply to this post by Colin Rogers-5
Hi,
I've written simple ant script, where you specify fileset to include
hudson xml config files and also job configurations under job folder.
These files are zipped and copied via scp to some remote machine. Four
our purposes it's enough...

<project name="Backup" default="backup" basedir="../../..">
    <target name="backup">
        <property name="hudson.homedir" value="${basedir}"/>
        <tstamp>
            <format property="dateAndTime" pattern="yyyy-MM-dd"/>
        </tstamp>
        <zip destfile="/space/backups/backup-${dateAndTime}.zip">
            <fileset dir="${hudson.homedir}">
                <include name="**/config.xml"/>
                <include name="*.xml"/>
            </fileset>
        </zip>
        <scp file="/space/backups/backup-${dateAndTime}.zip"
todir="$somewhere"/>
    </target>
</project>



T.

Colin Rogers wrote:

> Sonar dudes,
>  
> I'm in a position where I'd like to backup the xml files and the
> workspaces of my Hudson configuration.
>  
> Are there any nice ways to do this?
>  
> I've tried using CVS - but that causes issues when rename jobs....
>  
> Has anyone had any success doing this? Obviously I want to trigger the
> backup via Hudson itself!
>  
> Cheers,
> Col.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Re: Automated backing up Hudson configuration

Colin Rogers-5
Cheers dude - thanks for the (very quick) reply! :D

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 03 July 2008 10:15
To: [hidden email]
Subject: Re: Automated backing up Hudson configuration


Hi,
I've written simple ant script, where you specify fileset to include
hudson xml config files and also job configurations under job folder.
These files are zipped and copied via scp to some remote machine. Four
our purposes it's enough...

<project name="Backup" default="backup" basedir="../../..">
    <target name="backup">
        <property name="hudson.homedir" value="${basedir}"/>
        <tstamp>
            <format property="dateAndTime" pattern="yyyy-MM-dd"/>
        </tstamp>
        <zip destfile="/space/backups/backup-${dateAndTime}.zip">
            <fileset dir="${hudson.homedir}">
                <include name="**/config.xml"/>
                <include name="*.xml"/>
            </fileset>
        </zip>
        <scp file="/space/backups/backup-${dateAndTime}.zip"
todir="$somewhere"/>
    </target>
</project>



T.

Colin Rogers wrote:

> Sonar dudes,
>  
> I'm in a position where I'd like to backup the xml files and the
> workspaces of my Hudson configuration.
>  
> Are there any nice ways to do this?
>  
> I've tried using CVS - but that causes issues when rename jobs....
>  
> Has anyone had any success doing this? Obviously I want to trigger the
> backup via Hudson itself!
>  
> Cheers,
> Col.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




Please visit our new website at: www.groundsure.com

The information transmitted is intended only for the person, or persons, or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, dissemination, retransmission or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited.  If you received this communication in error, please contact the sender and delete the material from the computer.

All reasonable precautions have been taken to ensure email transmissions are secure or error or virus free; but this cannot be guaranteed and we will not accept responsibility for loss or damage arising from the use of this email or any attachment.

GroundSure Limited is authorised and regulated by the Financial Services Authority, Firm Reference Number: 315420.

Emap International Limited, Company number: 435820 (England), Registered Office: Greater London House, Hampstead Road, London NW1 7EJ.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Automated backing up Hudson configuration

Kohsuke Kawaguchi
Administrator
In reply to this post by Tomas Musil

Thanks for sharing the tip.

Making Hudson do a back up by itself is one of the oldest RFEs at
https://hudson.dev.java.net/issues/show_bug.cgi?id=29

Anyone interested in writing a plugin would be highly welcome!

Tomas Musil wrote:

> Hi,
> I've written simple ant script, where you specify fileset to include
> hudson xml config files and also job configurations under job folder.
> These files are zipped and copied via scp to some remote machine. Four
> our purposes it's enough...
>
> <project name="Backup" default="backup" basedir="../../..">
>     <target name="backup">
>         <property name="hudson.homedir" value="${basedir}"/>
>         <tstamp>
>             <format property="dateAndTime" pattern="yyyy-MM-dd"/>
>         </tstamp>
>         <zip destfile="/space/backups/backup-${dateAndTime}.zip">
>             <fileset dir="${hudson.homedir}">
>                 <include name="**/config.xml"/>
>                 <include name="*.xml"/>
>             </fileset>
>         </zip>
>         <scp file="/space/backups/backup-${dateAndTime}.zip"
> todir="$somewhere"/>
>     </target>
> </project>
>
>
>
> T.
>
> Colin Rogers wrote:
>> Sonar dudes,
>>  
>> I'm in a position where I'd like to backup the xml files and the
>> workspaces of my Hudson configuration.
>>  
>> Are there any nice ways to do this?
>>  
>> I've tried using CVS - but that causes issues when rename jobs....
>>  
>> Has anyone had any success doing this? Obviously I want to trigger the
>> backup via Hudson itself!
>>  
>> Cheers,
>> Col.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Automated backing up Hudson configuration

Adam Purkiss
I keep thinking about it, but never have time......
 
if you could share the anticipated extension point and thoughts then maybe.......
 
Also would you treat this as separate to version control of config files or have a per project setup where you select version control from a drop down and enter details for it, one of them being file based rather then svn, etc
 
I suspect when a build is triggered the first thing it needs to do is commit config file. Would it only be the config file, or buildNumber as well and are there other files that you would want in, the rest dont seem important and buildNumber might be useful but not by much.






> Date: Thu, 3 Jul 2008 09:42:35 -0700

> From: [hidden email]
> To: [hidden email]
> Subject: Re: Automated backing up Hudson configuration
>
>
> Thanks for sharing the tip.
>
> Making Hudson do a back up by itself is one of the oldest RFEs at
> https://hudson.dev.java.net/issues/show_bug.cgi?id=29
>
> Anyone interested in writing a plugin would be highly welcome!
>
> Tomas Musil wrote:
> > Hi,
> > I've written simple ant script, where you specify fileset to include
> > hudson xml config files and also job configurations under job folder.
> > These files are zipped and copied via scp to some remote machine. Four
> > our purposes it's enough...
> >
> > <project name="Backup" default="backup" basedir="../../..">
> > <target name="backup">
> > <property name="hudson.homedir" value="${basedir}"/>
> > <tstamp>
> > <format property="dateAndTime" pattern="yyyy-MM-dd"/>
> > </tstamp>
> > <zip destfile="/space/backups/backup-${dateAndTime}.zip">
> > <fileset dir="${hudson.homedir}">
> > <include name="**/config.xml"/>
> > <include name="*.xml"/>
> > </fileset>
> > </zip>
> > <scp file="/space/backups/backup-${dateAndTime}.zip"
> > todir="$somewhere"/>
> > </target>
> > </project>
> >
> >
> >
> > T.
> >
> > Colin Rogers wrote:
> >> Sonar dudes,
> >>
> >> I'm in a position where I'd like to backup the xml files and the
> >> workspaces of my Hudson configuration.
> >>
> >> Are there any nice ways to do this?
> >>
> >> I've tried using CVS - but that causes issues when rename jobs....
> >>
> >> Has anyone had any success doing this? Obviously I want to trigger the
> >> backup via Hudson itself!
> >>
> >> Cheers,
> >> Col.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems [hidden email]



Express yourself with free Messenger emoticons. Get them today!
Reply | Threaded
Open this post in threaded view
|

disk usage error

Adam Purkiss
In reply to this post by Kohsuke Kawaguchi
I installed the disk usage plugin but have not done anything else. I see the following error in my log (I am using the lastest snapshot and winstone)
 
Jul 3, 2008 12:46:10 PM hudson.model.PeriodicWork$1 run
INFO: Started Disk usage
Jul 3, 2008 12:46:10 PM hudson.plugins.disk_usage.DiskUsageThread execute
INFO: Starting disk usage thread
Jul 3, 2008 12:46:10 PM hudson.plugins.disk_usage.DiskUsageThread execute
WARNING: Error when recording disk usage for JOB_NAME
java.lang.NullPointerException
        at hudson.plugins.disk_usage.DiskUsageThread.calculateDiskUsageForBuild(DiskUsageThread.java:93)
        at hudson.plugins.disk_usage.DiskUsageThread.execute(DiskUsageThread.java:63)
        at hudson.model.PeriodicWork$1.run(PeriodicWork.java:41)
        at java.lang.Thread.run(Thread.java:619)
Jul 3, 2008 12:46:10 PM hudson.model.PeriodicWork$1 run
INFO: Finished Disk usage. 3 ms
Jul 3, 2008 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record run
INFO: Node monitoring Clock Difference completed in 0ms
Jul 3, 2008 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record run
INFO: Node monitoring Architecture completed in 0ms
Jul 3, 2008 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record run
INFO: Node monitoring Free Disk Space completed in 1ms
 
 
It seems to be for a single job and I dont think its really any different to the rest


R U Ready for Windows Live Messenger Beta 8.5? Try it today!
Reply | Threaded
Open this post in threaded view
|

Backing up $HUDSON_HOME

Kraft, Mike-2
In reply to this post by Kohsuke Kawaguchi
On a related note, how safe is it to simply copy the contents of
$HUDSON_HOME while Hudson is running? E.g., we run the Bacula backup
system and would like to create a Bacula job for our new Hudson server.
Should that job shut Hudson down first, then restart it?

Mike

> -----Original Message-----
> From: Kohsuke Kawaguchi [mailto:[hidden email]]
> Sent: July 3, 2008 10:43
> To: [hidden email]
> Subject: Re: Automated backing up Hudson configuration
>
>
> Thanks for sharing the tip.
>
> Making Hudson do a back up by itself is one of the oldest RFEs at
> https://hudson.dev.java.net/issues/show_bug.cgi?id=29
>
> Anyone interested in writing a plugin would be highly welcome!
>
> Tomas Musil wrote:
> > Hi,
> > I've written simple ant script, where you specify fileset
> to include
> > hudson xml config files and also job configurations under
> job folder.
> > These files are zipped and copied via scp to some remote
> machine. Four
> > our purposes it's enough...
> >
> > <project name="Backup" default="backup" basedir="../../..">
> >     <target name="backup">
> >         <property name="hudson.homedir" value="${basedir}"/>
> >         <tstamp>
> >             <format property="dateAndTime" pattern="yyyy-MM-dd"/>
> >         </tstamp>
> >         <zip destfile="/space/backups/backup-${dateAndTime}.zip">
> >             <fileset dir="${hudson.homedir}">
> >                 <include name="**/config.xml"/>
> >                 <include name="*.xml"/>
> >             </fileset>
> >         </zip>
> >         <scp file="/space/backups/backup-${dateAndTime}.zip"
> > todir="$somewhere"/>
> >     </target>
> > </project>
> >
> >
> >
> > T.
> >
> > Colin Rogers wrote:
> >> Sonar dudes,
> >>  
> >> I'm in a position where I'd like to backup the xml files and the
> >> workspaces of my Hudson configuration.
> >>  
> >> Are there any nice ways to do this?
> >>  
> >> I've tried using CVS - but that causes issues when rename jobs....
> >>  
> >> Has anyone had any success doing this? Obviously I want to trigger
> >> the backup via Hudson itself!
> >>  
> >> Cheers,
> >> Col.
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Automated backing up Hudson configuration

Kohsuke Kawaguchi
Administrator
In reply to this post by Adam Purkiss
Adam Purkiss wrote:
> I keep thinking about it, but never have time......
>  
> if you could share the anticipated extension point and thoughts then
> maybe.......
 >
> Also would you treat this as separate to version control of config files
> or have a per project setup where you select version control from a drop
> down and enter details for it, one of them being file based rather then
> svn, etc
>  
 > I suspect when a build is triggered the first thing it needs to do is
> commit config file. Would it only be the config file, or buildNumber as
> well and are there other files that you would want in, the rest dont
> seem important and buildNumber might be useful but not by much.

Back up and revision control of configuration are two orthogonal things
to me. This is particularly so because the current thinking of the
default revision control scheme would be RCS. And yes, we've had
discussions about how to do revision control of configuration too, and
doing it in an extensible fashion so that you can use client/server VCS.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Backing up $HUDSON_HOME

Kohsuke Kawaguchi
Administrator
In reply to this post by Kraft, Mike-2
Kraft, Mike wrote:
> On a related note, how safe is it to simply copy the contents of
> $HUDSON_HOME while Hudson is running? E.g., we run the Bacula backup
> system and would like to create a Bacula job for our new Hudson server.
> Should that job shut Hudson down first, then restart it?

All the critical data (like job configuration and so on) are updated
atomically in the file system. So you can safely back them up while
Hudson is online. At worst you end up backing up some temporary files.

For some other files, like build output and so on, your back up can end
up capturing them partially if the build is in progress when your back
up run, but I don't think it's a big problem.


> Mike
>
>> -----Original Message-----
>> From: Kohsuke Kawaguchi [mailto:[hidden email]]
>> Sent: July 3, 2008 10:43
>> To: [hidden email]
>> Subject: Re: Automated backing up Hudson configuration
>>
>>
>> Thanks for sharing the tip.
>>
>> Making Hudson do a back up by itself is one of the oldest RFEs at
>> https://hudson.dev.java.net/issues/show_bug.cgi?id=29
>>
>> Anyone interested in writing a plugin would be highly welcome!
>>
>> Tomas Musil wrote:
>> > Hi,
>> > I've written simple ant script, where you specify fileset
>> to include
>> > hudson xml config files and also job configurations under
>> job folder.
>> > These files are zipped and copied via scp to some remote
>> machine. Four
>> > our purposes it's enough...
>> >
>> > <project name="Backup" default="backup" basedir="../../..">
>> >     <target name="backup">
>> >         <property name="hudson.homedir" value="${basedir}"/>
>> >         <tstamp>
>> >             <format property="dateAndTime" pattern="yyyy-MM-dd"/>
>> >         </tstamp>
>> >         <zip destfile="/space/backups/backup-${dateAndTime}.zip">
>> >             <fileset dir="${hudson.homedir}">
>> >                 <include name="**/config.xml"/>
>> >                 <include name="*.xml"/>
>> >             </fileset>
>> >         </zip>
>> >         <scp file="/space/backups/backup-${dateAndTime}.zip"
>> > todir="$somewhere"/>
>> >     </target>
>> > </project>
>> >
>> >
>> >
>> > T.
>> >
>> > Colin Rogers wrote:
>> >> Sonar dudes,
>> >>  
>> >> I'm in a position where I'd like to backup the xml files and the
>> >> workspaces of my Hudson configuration.
>> >>  
>> >> Are there any nice ways to do this?
>> >>  
>> >> I've tried using CVS - but that causes issues when rename jobs....
>> >>  
>> >> Has anyone had any success doing this? Obviously I want to trigger
>> >> the backup via Hudson itself!
>> >>  
>> >> Cheers,
>> >> Col.
>> >
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [hidden email]
>> > For additional commands, e-mail: [hidden email]
>> >
>> >
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: disk usage error

David Vrzalik-2
In reply to this post by Adam Purkiss
Hi,
you are right, I forgot that project worskpace might be missing. I committed
the fix and released new version.
Thanks...

On Thursday 03 July 2008 18:58:43 Adam Purkiss wrote:

> I installed the disk usage plugin but have not done anything else. I see
> the following error in my log (I am using the lastest snapshot and
> winstone)
>
> Jul 3, 2008 12:46:10 PM hudson.model.PeriodicWork$1 runINFO: Started Disk
> usageJul 3, 2008 12:46:10 PM hudson.plugins.disk_usage.DiskUsageThread
> executeINFO: Starting disk usage threadJul 3, 2008 12:46:10 PM
> hudson.plugins.disk_usage.DiskUsageThread executeWARNING: Error when
> recording disk usage for JOB_NAMEjava.lang.NullPointerException        at
> hudson.plugins.disk_usage.DiskUsageThread.calculateDiskUsageForBuild(DiskUs
>ageThread.java:93)        at
> hudson.plugins.disk_usage.DiskUsageThread.execute(DiskUsageThread.java:63)
>       at hudson.model.PeriodicWork$1.run(PeriodicWork.java:41)        at
> java.lang.Thread.run(Thread.java:619)Jul 3, 2008 12:46:10 PM
> hudson.model.PeriodicWork$1 runINFO: Finished Disk usage. 3 msJul 3, 2008
> 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record
> runINFO: Node monitoring Clock Difference completed in 0msJul 3, 2008
> 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record
> runINFO: Node monitoring Architecture completed in 0msJul 3, 2008 12:46:26
> PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record runINFO: Node
> monitoring Free Disk Space completed in 1ms
>
>
> It seems to be for a single job and I dont think its really any different
> to the rest
> _________________________________________________________________
> R U Ready for Windows Live Messenger Beta 8.5? Try it today!
> http://entertainment.sympatico.msn.ca/WindowsLiveMessenger

--
David Vrzalik

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: disk usage error

Adam Purkiss
Will wait for it to get through to the update manager......
 
thanks






> From: [hidden email]

> To: [hidden email]
> Date: Fri, 4 Jul 2008 11:40:26 +0200
> Subject: Re: disk usage error
>
> Hi,
> you are right, I forgot that project worskpace might be missing. I committed
> the fix and released new version.
> Thanks...
>
> On Thursday 03 July 2008 18:58:43 Adam Purkiss wrote:
> > I installed the disk usage plugin but have not done anything else. I see
> > the following error in my log (I am using the lastest snapshot and
> > winstone)
> >
> > Jul 3, 2008 12:46:10 PM hudson.model.PeriodicWork$1 runINFO: Started Disk
> > usageJul 3, 2008 12:46:10 PM hudson.plugins.disk_usage.DiskUsageThread
> > executeINFO: Starting disk usage threadJul 3, 2008 12:46:10 PM
> > hudson.plugins.disk_usage.DiskUsageThread executeWARNING: Error when
> > recording disk usage for JOB_NAMEjava.lang.NullPointerException at
> > hudson.plugins.disk_usage.DiskUsageThread.calculateDiskUsageForBuild(DiskUs
> >ageThread.java:93) at
> > hudson.plugins.disk_usage.DiskUsageThread.execute(DiskUsageThread.java:63)
> > at hudson.model.PeriodicWork$1.run(PeriodicWork.java:41) at
> > java.lang.Thread.run(Thread.java:619)Jul 3, 2008 12:46:10 PM
> > hudson.model.PeriodicWork$1 runINFO: Finished Disk usage. 3 msJul 3, 2008
> > 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record
> > runINFO: Node monitoring Clock Difference completed in 0msJul 3, 2008
> > 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record
> > runINFO: Node monitoring Architecture completed in 0msJul 3, 2008 12:46:26
> > PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record runINFO: Node
> > monitoring Free Disk Space completed in 1ms
> >
> >
> > It seems to be for a single job and I dont think its really any different
> > to the rest
> > _________________________________________________________________
> > R U Ready for Windows Live Messenger Beta 8.5? Try it today!
> > http://entertainment.sympatico.msn.ca/WindowsLiveMessenger
>
> --
> David Vrzalik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>



Reply | Threaded
Open this post in threaded view
|

RE: disk usage error

Adam Purkiss
Well its still not there so I updated manually. I am no longer seeing errors but I have the following problems:
 
1) Not all builds have a disk usage stat next to them (If any are missing it it the top on or two.
2) The Job that had the error has disk usage stats but does not have a pretty graph
 
There does not seem to be any error in the log related to your plugin. I have recently disabled the CI-game and do see the following error however:
failed to locate class: com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.cigame.UserScoreProperty : hudson.plugins.cigame.UserScoreProperty




 


From: [hidden email]
To: [hidden email]
Date: Fri, 4 Jul 2008 09:09:19 -0400
Subject: RE: disk usage error

Will wait for it to get through to the update manager......
 
thanks








> From: [hidden email]
> To: [hidden email]
> Date: Fri, 4 Jul 2008 11:40:26 +0200
> Subject: Re: disk usage error
>
> Hi,
> you are right, I forgot that project worskpace might be missing. I committed
> the fix and released new version.
> Thanks...
>
> On Thursday 03 July 2008 18:58:43 Adam Purkiss wrote:
> > I installed the disk usage plugin but have not done anything else. I see
> > the following error in my log (I am using the lastest snapshot and
> > winstone)
> >
> > Jul 3, 2008 12:46:10 PM hudson.model.PeriodicWork$1 runINFO: Started Disk
> > usageJul 3, 2008 12:46:10 PM hudson.plugins.disk_usage.DiskUsageThread
> > executeINFO: Starting disk usage threadJul 3, 2008 12:46:10 PM
> > hudson.plugins.disk_usage.DiskUsageThread executeWARNING: Error when
> > recording disk usage for JOB_NAMEjava.lang.NullPointerException at
> > hudson.plugins.disk_usage.DiskUsageThread.calculateDiskUsageForBuild(DiskUs
> >ageThread.java:93) at
> > hudson.plugins.disk_usage.DiskUsageThread.execute(DiskUsageThread.java:63)
> > at hudson.model.PeriodicWork$1.run(PeriodicWork.java:41) at
> > java.lang.Thread.run(Thread.java:619)Jul 3, 2008 12:46:10 PM
> > hudson.model.PeriodicWork$1 runINFO: Finished Disk usage. 3 msJul 3, 2008
> > 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record
> > runINFO: Node monitoring Clock Difference completed in 0msJul 3, 2008
> > 12:46:26 PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record
> > runINFO: Node monitoring Architecture completed in 0msJul 3, 2008 12:46:26
> > PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record runINFO: Node
> > monitoring Free Disk Space completed in 1ms
> >
> >
> > It seems to be for a single job and I dont think its really any different
> > to the rest
> > _________________________________________________________________
> > R U Ready for Windows Live Messenger Beta 8.5? Try it today!
> > http://entertainment.sympatico.msn.ca/WindowsLiveMessenger
>
> --
> David Vrzalik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>







Reply | Threaded
Open this post in threaded view
|

Re: disk usage error

David Vrzalik-2
On Friday 04 July 2008 19:49:05 Adam Purkiss wrote:
> Well its still not there so I updated manually. I am no longer seeing
> errors but I have the following problems:
>
> 1) Not all builds have a disk usage stat next to them (If any are missing
> it it the top on or two.

Disk usage is counted each 15 minutes (or you can start it manually on the
management page). Could you make sure that the information is misssing even
after the cycle is over?

> 2) The Job that had the error has disk usage stats
> but does not have a pretty graph

You are saying that the graph is ugly? :) Or you just can't see anything?
Also, you need to have at least 2 builds to see a graph...

> There does not seem to be any error in the log related to your plugin. I
> have recently disabled the CI-game and do see the following error however:
> failed to locate class:
> com.thoughtworks.xstream.mapper.CannotResolveClassException:
> hudson.plugins.cigame.UserScoreProperty :
> hudson.plugins.cigame.UserScoreProperty
>
>
>
>
> From: [hidden email]: [hidden email]: Fri, 4 Jul
> 2008 09:09:19 -0400Subject: RE: disk usage error
>
>
> Will wait for it to get through to the update manager...... thanks
>
> > From: [hidden email]> To: [hidden email]> Date: Fri, 4
> > Jul 2008 11:40:26 +0200> Subject: Re: disk usage error> > Hi,> you are
> > right, I forgot that project worskpace might be missing. I committed >
> > the fix and released new version.> Thanks...> > On Thursday 03 July 2008
> > 18:58:43 Adam Purkiss wrote:> > I installed the disk usage plugin but
> > have not done anything else. I see> > the following error in my log (I am
> > using the lastest snapshot and> > winstone)> >> > Jul 3, 2008 12:46:10 PM
> > hudson.model.PeriodicWork$1 runINFO: Started Disk> > usageJul 3, 2008
> > 12:46:10 PM hudson.plugins.disk_usage.DiskUsageThread> > executeINFO:
> > Starting disk usage threadJul 3, 2008 12:46:10 PM> >
> > hudson.plugins.disk_usage.DiskUsageThread executeWARNING: Error when> >
> > recording disk usage for JOB_NAMEjava.lang.NullPointerException at> >
> > hudson.plugins.disk_usage.DiskUsageThread.calculateDiskUsageForBuild(Disk
> >Us> >ageThread.java:93) at> >
> > hudson.plugins.disk_usage.DiskUsageThread.execute(DiskUsageThread.java:63
> >) > > at hudson.model.PeriodicWork$1.run(PeriodicWork.java:41) at> >
> > java.lang.Thread.run(Thread.java:619)Jul 3, 2008 12:46:10 PM> >
> > hudson.model.PeriodicWork$1 runINFO: Finished Disk usage. 3 msJul 3,
> > 2008> > 12:46:26 PM
> > hudson.node_monitors.AbstractNodeMonitorDescriptor$Record> > runINFO:
> > Node monitoring Clock Difference completed in 0msJul 3, 2008> > 12:46:26
> > PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record> > runINFO:
> > Node monitoring Architecture completed in 0msJul 3, 2008 12:46:26> > PM
> > hudson.node_monitors.AbstractNodeMonitorDescriptor$Record runINFO: Node>
> > > monitoring Free Disk Space completed in 1ms> >> >> > It seems to be for
> > a single job and I dont think its really any different> > to the rest> >
> > _________________________________________________________________> > R U
> > Ready for Windows Live Messenger Beta 8.5? Try it today!> >
> > http://entertainment.sympatico.msn.ca/WindowsLiveMessenger> > -- > David
> > Vrzalik> >
> > ---------------------------------------------------------------------> To
> > unsubscribe, e-mail: [hidden email]> For
> > additional commands, e-mail: [hidden email]>
>
> _________________________________________________________________

--
David Vrzalik

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: disk usage error

Adam Purkiss
The builds all existed before the plugin ran without error, but I clicked the button and it got the missing ones by the looks of it.
 
 
I meant there was not even an empty graph and there was more then one build. Again clicking the button seems have corrected this issue......
 
 
My best guess is the error caused due to the 0.3 release might have left something that was not cleared up, or the run when hudson first started up clashed somehow so it could not finish.
 
Whatever it all seems to be good now????
 




 


> From: [hidden email]

> To: [hidden email]
> Date: Fri, 4 Jul 2008 19:55:28 +0200
> Subject: Re: disk usage error
>
> On Friday 04 July 2008 19:49:05 Adam Purkiss wrote:
> > Well its still not there so I updated manually. I am no longer seeing
> > errors but I have the following problems:
> >
> > 1) Not all builds have a disk usage stat next to them (If any are missing
> > it it the top on or two.
>
> Disk usage is counted each 15 minutes (or you can start it manually on the
> management page). Could you make sure that the information is misssing even
> after the cycle is over?
>
> > 2) The Job that had the error has disk usage stats
> > but does not have a pretty graph
>
> You are saying that the graph is ugly? :) Or you just can't see anything?
> Also, you need to have at least 2 builds to see a graph...
>
> > There does not seem to be any error in the log related to your plugin. I
> > have recently disabled the CI-game and do see the following error however:
> > failed to locate class:
> > com.thoughtworks.xstream.mapper.CannotResolveClassException:
> > hudson.plugins.cigame.UserScoreProperty :
> > hudson.plugins.cigame.UserScoreProperty
> >
> >
> >
> >
> > From: [hidden email]: [hidden email]: Fri, 4 Jul
> > 2008 09:09:19 -0400Subject: RE: disk usage error
> >
> >
> > Will wait for it to get through to the update manager...... thanks
> >
> > > From: [hidden email]> To: [hidden email]> Date: Fri, 4
> > > Jul 2008 11:40:26 +0200> Subject: Re: disk usage error> > Hi,> you are
> > > right, I forgot that project worskpace might be missing. I committed >
> > > the fix and released new version.> Thanks...> > On Thursday 03 July 2008
> > > 18:58:43 Adam Purkiss wrote:> > I installed the disk usage plugin but
> > > have not done anything else. I see> > the following error in my log (I am
> > > using the lastest snapshot and> > winstone)> >> > Jul 3, 2008 12:46:10 PM
> > > hudson.model.PeriodicWork$1 runINFO: Started Disk> > usageJul 3, 2008
> > > 12:46:10 PM hudson.plugins.disk_usage.DiskUsageThread> > executeINFO:
> > > Starting disk usage threadJul 3, 2008 12:46:10 PM> >
> > > hudson.plugins.disk_usage.DiskUsageThread executeWARNING: Error when> >
> > > recording disk usage for JOB_NAMEjava.lang.NullPointerException at> >
> > > hudson.plugins.disk_usage.DiskUsageThread.calculateDiskUsageForBuild(Disk
> > >Us> >ageThread.java:93) at> >
> > > hudson.plugins.disk_usage.DiskUsageThread.execute(DiskUsageThread.java:63
> > >) > > at hudson.model.PeriodicWork$1.run(PeriodicWork.java:41) at> >
> > > java.lang.Thread.run(Thread.java:619)Jul 3, 2008 12:46:10 PM> >
> > > hudson.model.PeriodicWork$1 runINFO: Finished Disk usage. 3 msJul 3,
> > > 2008> > 12:46:26 PM
> > > hudson.node_monitors.AbstractNodeMonitorDescriptor$Record> > runINFO:
> > > Node monitoring Clock Difference completed in 0msJul 3, 2008> > 12:46:26
> > > PM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record> > runINFO:
> > > Node monitoring Architecture completed in 0msJul 3, 2008 12:46:26> > PM
> > > hudson.node_monitors.AbstractNodeMonitorDescriptor$Record runINFO: Node>
> > > > monitoring Free Disk Space completed in 1ms> >> >> > It seems to be for
> > > a single job and I dont think its really any different> > to the rest> >
> > > _________________________________________________________________> > R U
> > > Ready for Windows Live Messenger Beta 8.5? Try it today!> >
> > > http://entertainment.sympatico.msn.ca/WindowsLiveMessenger> > -- > David
> > > Vrzalik> >
> > > ---------------------------------------------------------------------> To
> > > unsubscribe, e-mail: [hidden email]> For
> > > additional commands, e-mail: [hidden email]>
> >
> > _________________________________________________________________
>
> --
> David Vrzalik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>



Reply | Threaded
Open this post in threaded view
|

Re: disk usage error

David Vrzalik-2
On Friday 04 July 2008 20:02:33 Adam Purkiss wrote:

> The builds all existed before the plugin ran without error, but I clicked
> the button and it got the missing ones by the looks of it.
>
>
> I meant there was not even an empty graph and there was more then one
> build. Again clicking the button seems have corrected this issue......
>
>
> My best guess is the error caused due to the 0.3 release might have left
> something that was not cleared up, or the run when hudson first started up
> clashed somehow so it could not finish.
>
> Whatever it all seems to be good now????

OK, I don't know what happenned (maybe Hudson timer failed to execute the
task?), but if it works for you in the end I think it's good enough.


--
David Vrzalik

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: disk usage error

Adam Purkiss
Not sure, was wondering if it clashed with hudson startup somehow but lets not worry about it unless others see strange behaviour. I cannot reproduce it now....




> From: [hidden email]

> To: [hidden email]
> Date: Fri, 4 Jul 2008 20:11:24 +0200
> Subject: Re: disk usage error
>
> On Friday 04 July 2008 20:02:33 Adam Purkiss wrote:
> > The builds all existed before the plugin ran without error, but I clicked
> > the button and it got the missing ones by the looks of it.
> >
> >
> > I meant there was not even an empty graph and there was more then one
> > build. Again clicking the button seems have corrected this issue......
> >
> >
> > My best guess is the error caused due to the 0.3 release might have left
> > something that was not cleared up, or the run when hudson first started up
> > clashed somehow so it could not finish.
> >
> > Whatever it all seems to be good now????
>
> OK, I don't know what happenned (maybe Hudson timer failed to execute the
> task?), but if it works for you in the end I think it's good enough.
>
>
> --
> David Vrzalik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>