It's all about the answers!

Ask a question

Problem with Jenkins build, Team Concert marks it as "Pending"


Rafael Hernandez (3222231) | asked Feb 18 '16, 6:37 p.m.
 Hi everyone

Just a few days ago, we started having troubles with RTC and Jenkins Integration, if we request a build in RTC jenkins take and sometimes build it but RTC always frezze on "Pending" or 80%.

we changes the URL from /jenkins to /jenkins/ and it didnt work also tried to create a new build engine but the problem persist

Checking the logs we have this error message:

2016-02-18 15:00:41,682 [ccm: AsynchronousTaskRunner-4 @@ 15:00] ERROR com.ibm.rational.connector.hudson                   - HudsonSyncLoopRunnable.processBuildsForEngine() Build engine [UUID _bLm9YNWaEeWBmOJXXxKwVQ]
com.ibm.team.repository.common.StaleDataException: UpdateItemCurrentRow failure:  Params=[_qvDSsNaCEeWPPN_t_ulscg,_Vd-FINWaEeWNXMh_SxhP1Q,_bQ2E0NZtEeWPPN_t_ulscg]
at com.ibm.team.repository.service.internal.dataaccess.UpdateItemCurrentRow.validateResult(UpdateItemCurrentRow.java:96)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.simulatedBatch(BatchingRowReceiver.java:400)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.executeBatch(BatchingRowReceiver.java:277)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.execute(BatchingRowReceiver.java:204)
at com.ibm.team.repository.service.internal.dataaccess.IRowReceiver$IRowReceiverLocator.executePendingChanges(IRowReceiver.java:143)
at com.ibm.team.repository.service.internal.dataaccess.FlushingMediatorService.flush(FlushingMediatorService.java:62)
at com.ibm.team.repository.service.internal.dataaccess.FlushingMediatorService.update(FlushingMediatorService.java:87)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.updateSimpleItem(RdbRepositoryDataMediator.java:2121)
at com.ibm.team.repository.service.internal.RepositoryItemService.doUpdateSimpleItem(RepositoryItemService.java:1702)
at com.ibm.team.repository.service.internal.RepositoryItemService.doSaveSimpleItem(RepositoryItemService.java:1646)
at com.ibm.team.repository.service.internal.RepositoryItemService.doSaveItem(RepositoryItemService.java:1446)
at com.ibm.team.repository.service.internal.RepositoryItemService.access$15(RepositoryItemService.java:1422)
at com.ibm.team.repository.service.internal.RepositoryItemService$23.run(RepositoryItemService.java:1416)
at com.ibm.team.repository.service.internal.RepositoryItemService$23.run(RepositoryItemService.java:1)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:383)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:288)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:96)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy151.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.RepositoryItemService.saveItem(RepositoryItemService.java:1413)
at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy259.saveItem(Unknown Source)
at com.ibm.team.repository.service.internal.ComponentRepositoryItemService.saveItem(ComponentRepositoryItemService.java:661)
at com.ibm.team.build.internal.service.AbstractTeamBuildService$6.run(AbstractTeamBuildService.java:1820)
at com.ibm.team.build.internal.service.AbstractTeamBuildService.runAsRetryable(AbstractTeamBuildService.java:435)
at com.ibm.team.build.internal.service.AbstractTeamBuildService.runAsRetryable(AbstractTeamBuildService.java:348)
at com.ibm.team.build.internal.service.AbstractTeamBuildService.saveWithoutProcess(AbstractTeamBuildService.java:1817)
at com.ibm.team.build.internal.service.AbstractTeamBuildService$21$1.run(AbstractTeamBuildService.java:2625)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService$3.run(PrimitiveTransactionService.java:162)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:567)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$2.run(RepositoryDatabase.java:351)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:472)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy108.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:348)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:288)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:96)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:91)
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy150.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.AbstractService.runInTransaction(AbstractService.java:1007)
at com.ibm.team.build.internal.service.AbstractTeamBuildService$21.run(AbstractTeamBuildService.java:2600)
at com.ibm.team.build.internal.service.AbstractTeamBuildService.runAsRetryable(AbstractTeamBuildService.java:435)
at com.ibm.team.build.internal.service.AbstractTeamBuildService.runAsRetryableIncludingStaleData(AbstractTeamBuildService.java:393)
at com.ibm.team.build.internal.service.AbstractTeamBuildService.runAsRetryableIncludingStaleData(AbstractTeamBuildService.java:370)
at com.ibm.team.build.internal.service.AbstractTeamBuildService.setLastContactTimeWithoutProcess(AbstractTeamBuildService.java:2597)
at com.ibm.team.build.internal.service.InternalTeamBuildRequestService.access$0(InternalTeamBuildRequestService.java:1)
at com.ibm.team.build.internal.service.InternalTeamBuildRequestService$1.run(InternalTeamBuildRequestService.java:44)
at com.ibm.team.build.internal.service.InternalTeamBuildRequestService$1.run(InternalTeamBuildRequestService.java:1)
at com.ibm.team.build.internal.service.AbstractTeamBuildService.runWithItemLock(AbstractTeamBuildService.java:488)
at com.ibm.team.build.internal.service.InternalTeamBuildRequestService.setLastContactTimeWithoutProcess(InternalTeamBuildRequestService.java:42)
at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy562.setLastContactTimeWithoutProcess(Unknown Source)
at com.ibm.rational.hudson.team.internal.service.HudsonSyncLoopRunnable.isEngineResponsive(HudsonSyncLoopRunnable.java:173)
at com.ibm.rational.hudson.team.internal.service.HudsonSyncLoopRunnable.processBuildsForEngine(HudsonSyncLoopRunnable.java:136)
at com.ibm.rational.hudson.team.internal.service.HudsonSyncLoopRunnable.run(HudsonSyncLoopRunnable.java:114)
at com.ibm.rational.hudson.team.internal.service.HudsonSyncLoopScheduledTask.runTask(HudsonSyncLoopScheduledTask.java:38)
at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:96)
at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy575.executeTask(Unknown Source)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:185)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:138)
at java.lang.Thread.run(Thread.java:790)
Caused by: com.ibm.team.repository.common.StaleDataException: CRJAZ0322I 1 row was expected but 0 rows were found for handle "com.ibm.team.build.internal.common.model.impl.BuildEngineActivityImpl@bfda08c2 (stateId: [UUID _qvDSsNaCEeWPPN_t_ulscg], itemId: [UUID _Vd-FINWaEeWNXMh_SxhP1Q], origin: <unset>, immutable: true) (contextId: [UUID _a9Ji8FMqEeWE97KATWP0xw], modified: 2016-02-18 15:00:40.667, workingCopy: <unset>) (predecessor: [UUID _bQ2E0NZtEeWPPN_t_ulscg]) (lastContact: 2016-02-18 15:00:36.64)".
at com.ibm.team.repository.service.internal.dataaccess.AbstractRow.oneOrStaleData(AbstractRow.java:326)
at com.ibm.team.repository.service.internal.dataaccess.UpdateItemCurrentRow.validateResult(UpdateItemCurrentRow.java:93)


We are working with RTC 5.0.2 and Jenkins ver. 1.620

Thanks in advance

One answer



permanent link
Ralph Schoon (60.9k33643) | answered Feb 22 '16, 3:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would suggest to open a ticket with support. A stale data exception means that the operation works on an older state of an object and there is a newer one that should be used.

As an alternative, I would suggest to delete the repository workspace you are using for the builds right now and create a new one. Also abandon all pending builds before you do that.

Make sure to use the correct Jenkins Integration as well. There are two of them and you should use the Team Concert plugin in Jenkins and not the older integration.



Comments
Rafael Hernandez commented Feb 22 '16, 10:33 a.m. | edited Feb 22 '16, 10:35 a.m.

We are using the correct RTC integration, also tried to abandon a build but im getting a message saying i dont have the last version.


I think im going to open a Ticket,

Best Regards


Ralph Schoon commented Feb 22 '16, 10:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Did you change the repository workspace?

Your answer


Register or to post your answer.