[Anthill-pro] SVN Labelling
Yanko, Curtis
curt_yanko at uhc.com
Tue Jan 8 13:59:01 CST 2008
I think you definitely want to label with the originating WF and then do the replace label with the promote. I also think we determined the replace label was a copy and not a rename.
The other trick is to just define the tags directory in the WF and then pre-pend it with builds or releases in the label step.
Having said all that I haven't actually implemented this yet but your timing is uncanny in that I need to this in the next week or so.
===
-Curt
W: 860.702.9059
M: 860.881.2050
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Mathew Joseph
Sent: Tuesday, January 08, 2008 2:23 PM
To: AnthillPro user and support list.
Subject: [Anthill-pro] SVN Labelling
This is a question regarding SVN labelling..
I have 2 workflows, one for the build and the second for promoting it to a released status.
I svn tag the build during the second step. This however does not work well with the archiving feature since the build has to be tagged in the originating workflow.
how do i ensure that i can archive the build and at the same time tag specific builds as released?
I remember Curtis mentioning that what they do is tag during the first step with a BLD label and in the second step as REL LABEL. I presume this is done using the Replace Label option. However, since the label that was given during the originating workflow has now changed, does this mean that AHP cannot archive this build?
Ideally, I would like to tag all my builds in tags/builds and all releases under tags/releases
Is there any way to achieve this?
Apparently,
On Tue, 2008-01-08 at 14:12 -0500, Ryan Smith wrote:
> Mladen,
>
> It looks like it had a problem inserting the amount of time a test case took. It looks like we need to specify a larger numeric as the Derby default is only DECIMAL/NUMERIC(5,0). It seems any test taking more than 1.5 minutes could cause it to fail.
>
> Is it possible for you to share the unit test results with us so we can verify our fix will work. If you can, please send them to support at urbancode.com.
>
>
> Ryan Smith
>
> Mladen Maravić wrote:
> > Nope, this does nothing. Is it possible that somewhere during the
> > 3.4.1->3.4.6 update some column wasn't altered? (Since I'm seeing
> > Caused
> > by: org.apache.derby.client.am.SqlException: The resulting value is
> > outside the range for the data type DECIMAL/NUMERIC(5,0). in the
> > log)
> >
> >
> >
> > Mladen
> >
> >
> >
> > *From:* anthill-pro-bounces at lists.urbancode.com
> > [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of
> > *Yanko, Curtis
> > *Sent:* Tuesday, January 08, 2008 2:54 PM
> > *To:* AnthillPro user and support list.
> > *Subject:* RE: [Anthill-pro] Publish JUnit results step fails in
> > 3.4.6
> >
> >
> >
> > Before anything, try bouncing that agent.
> >
> >
> >
> > ===
> >
> > -Curt
> >
> > W: 860.702.9059
> >
> > M: 860.881.2050
> >
> >
> >
> >
> >
> > --------------------------------------------------------------------
> > ----
> >
> > *From:* anthill-pro-bounces at lists.urbancode.com
> > [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of
> > *Mladen Maravic
> > *Sent:* Tuesday, January 08, 2008 8:51 AM
> > *To:* anthill-pro at lists.urbancode.com
> > *Subject:* [Anthill-pro] Publish JUnit results step fails in 3.4.6
> >
> > In 3.4.6 a publish JUnit test step fails with the following exception:
> >
> >
> >
> > 2008-01-08 14:28:32,154 INFO 9973 6 - Beginning report publish step
> >
> > 2008-01-08 14:28:34,966 INFO 9973 6 - Reports publish step complete
> >
> > 2008-01-08 14:28:36,294 ERROR 9973 6 - Caught unexpected exception -
> > com.urbancode.anthill3.domain.persistent.PersistenceException: Error
> > storing object in database
> >
> > com.urbancode.anthill3.domain.persistent.PersistenceException: Error
> > storing object in database
> >
> > at
> > com.urbancode.anthill3.domain.test.TestCaseDaoSql.insert(TestCaseDao
> > Sql.java:56)
> >
> > at
> > com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfW
> > orkDefault.java:136)
> >
> > at
> > com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java
> > :700)
> >
> > at
> > com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecut
> > or.java:322)
> >
> > at
> > com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecut
> > or.java:351)
> >
> > at
> > com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(
> > SimpleAgentJobDelegate.java:215)
> >
> > at
> > com.urbancode.anthill3.services.jobs.Job.start(Job.java:118)
> >
> > at
> > com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run
> > (JobServiceDefault.java:409)
> >
> > at
> > com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.ja
> > va:208)
> >
> > Caused by: org.apache.derby.client.am.SqlException: The resulting
> > value is outside the range for the data type DECIMAL/NUMERIC(5,0).
> >
> > at
> > org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
> >
> > at
> > org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Un
> > known
> > Source)
> >
> > at
> > org.apache.derby.client.net.NetStatementReply.readExecute(Unknown
> > Source)
> >
> > at
> > org.apache.derby.client.net.StatementReply.readExecute(Unknown
> > Source)
> >
> > at
> > org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknow
> > n
> > Source)
> >
> > at
> > org.apache.derby.client.am.PreparedStatement.readExecute(Unknown
> > Source)
> >
> > at
> > org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown
> > Source)
> >
> > at
> > org.apache.derby.client.am.PreparedStatement.executeUpdateX(Unknown
> > Source)
> >
> > at
> > org.apache.derby.client.am.PreparedStatement.executeUpdate(Unknown
> > Source)
> >
> > at
> > com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogP
> > reparedStatement.java:183)
> >
> > at
> > org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(De
> > legatingPreparedStatement.java:101)
> >
> > at
> > com.urbancode.anthill3.domain.test.TestCaseDaoSql.insert(TestCaseDao
> > Sql.java:53)
> >
> > ... 8 more
> >
> > 2008-01-08 14:28:36,513 ERROR 9973 6 -
> > com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot
> > be changed once set
> >
> > 2008-01-08 14:28:36,513 ERROR 9973 6 - Caught unexpected exception -
> > java.lang.IllegalStateException:
> > com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot
> > be changed once set
> >
> > java.lang.IllegalStateException:
> > com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot
> > be changed once set
> >
> > at
> > com.urbancode.anthill3.domain.persistent.AbstractPersistent.setId(Ab
> > stractPersistent.java:91)
> >
> > at
> > com.urbancode.anthill3.domain.persistent.HiLoIdentityGenerator.assig
> > nIdentity(HiLoIdentityGenerator.java:62)
> >
> > at
> > com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfW
> > orkDefault.java:127)
> >
> > at
> > com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java
> > :700)
> >
> > at
> > com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecut
> > or.java:322)
> >
> > at
> > com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecut
> > or.java:351)
> >
> > at
> > com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(
> > SimpleAgentJobDelegate.java:215)
> >
> > at
> > com.urbancode.anthill3.services.jobs.Job.start(Job.java:118)
> >
> > at
> > com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run
> > (JobServiceDefault.java:409)
> >
> > at
> > com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.ja
> > va:208)
> >
> > 2008-01-08 14:28:36,528 ERROR 9973 6 -
> > com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot
> > be changed once set
> >
> > 2008-01-08 14:28:36,560 ERROR 9973 6 - Caught unexpected exception -
> > java.lang.IllegalStateException:
> > com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot
> > be changed once set
> >
> > java.lang.IllegalStateException:
> > com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot
> > be changed once set
> >
> > at
> > com.urbancode.anthill3.domain.persistent.AbstractPersistent.setId(Ab
> > stractPersistent.java:91)
> >
> > at
> > com.urbancode.anthill3.domain.persistent.HiLoIdentityGenerator.assig
> > nIdentity(HiLoIdentityGenerator.java:62)
> >
> > at
> > com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfW
> > orkDefault.java:127)
> >
> > at
> > com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java
> > :700)
> >
> > at
> > com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecut
> > or.java:322)
> >
> > at
> > com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecut
> > or.java:351)
> >
> > at
> > com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(
> > SimpleAgentJobDelegate.java:215)
> >
> > at
> > com.urbancode.anthill3.services.jobs.Job.start(Job.java:118)
> >
> > at
> > com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run
> > (JobServiceDefault.java:409)
> >
> > at
> > com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.ja
> > va:208)
> >
> > 2008-01-08 14:28:36,560 ERROR 9973 6 -
> > com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot
> > be changed once set
> >
> > java.lang.IllegalStateException:
> > com.urbancode.anthill3.domain.test.TestReport: Persistent IDs cannot
> > be changed once set
> >
> > at
> > com.urbancode.anthill3.domain.persistent.AbstractPersistent.setId(Ab
> > stractPersistent.java:91)
> >
> > at
> > com.urbancode.anthill3.domain.persistent.HiLoIdentityGenerator.assig
> > nIdentity(HiLoIdentityGenerator.java:62)
> >
> > at
> > com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfW
> > orkDefault.java:127)
> >
> > at
> > com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java
> > :700)
> >
> > at
> > com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(
> > SimpleAgentJobDelegate.java:241)
> >
> > at
> > com.urbancode.anthill3.services.jobs.Job.start(Job.java:118)
> >
> > at
> > com.urbancode.anthill3.services.jobs.JobServiceDefault$JobRunner.run
> > (JobServiceDefault.java:409)
> >
> > at
> > com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.ja
> > va:208)
> >
> > 2008-01-08 14:28:36,591 INFO 9973 6 - Job 9973 released working
> > directory
> > D:\anthill-agent\var\jobs\projects\PBZ365_06_RetailServices\dev_nigh
> > tly
> > on agent agent01
> >
> >
> >
> >
> >
> >
> >
> > svgroup_mail
> >
> > MLADEN MARAVIĆ
> >
> > V. RAVNICE 15, HR-10000 ZAGREB, CROATIA
> >
> > *PHONE:* +385 1 2958 747
> >
> > *FAX:* +385 1 2989 324
> >
> > *GSM:* +385 91 3841 397
> >
> > mladen.maravic at svgroup.hr <mailto:mladen.maravic at svgroup.hr>
> >
> > www.svgroup.hr <http://www.svgroup.hr/>
> >
> >
> >
> >
> >
> > This e-mail, including attachments, may include confidential and/or
> > proprietary information, and may be used only by the person or
> > entity to which it is addressed. If the reader of this e-mail is not
> > the intended recipient or his or her authorized agent, the reader is
> > hereby notified that any dissemination, distribution or copying of
> > this e-mail is prohibited. If you have received this e-mail in
> > error, please notify the sender by replying to this message and delete this e-mail immediately.
> >
> >
> > --------------------------------------------------------------------
> > ----
> >
> > _______________________________________________
> > Anthill-pro mailing list
> > Anthill-pro at lists.urbancode.com
> > http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
--
Regards,
Mathew Joseph
Build & Release Engineer
Bravura Solutions
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
More information about the Anthill-pro
mailing list