It's all about the answers!

Ask a question

Jenkins builds shows RTC error


Kowsaliya Singaravelu (112) | asked Oct 18 '16, 7:30 a.m.
Automated builds in Jenkins shows an RTC Error: "RTC checkout into workspace."

Following is printed on the console:

RTC : checkout...

RTC Checkout : Source control setup

RTC Checkout : Accepting changes into workspace "ABC_Workspace" ...

FATAL: RTC : checkout failure: Deferred operation failed

com.ibm.team.repository.common.InternalRepositoryException<http://stacktrace.jenkins-ci.org/search?query=com.ibm.team.repository.common.InternalRepositoryException>: Deferred operation failed
[…]

Caused by: com.ibm.team.repository.common.InternalRepositoryException: CRJAZ0447E The SQL statement did not run successfully.Integrity constraint violation

SQL: INSERT INTO CCM1USER.SCM_CONFIGURATION (STATE_ID, ITEM_ID, CONTEXT_ID, MODIFIED, MODIFIED_BY_ITEM_ID, NUM_SELECTIONS, BASE_CONFIGURATION_ITEM_ID, NUM_SELECTIONS_IN_BASE, OVERRIDES_CONFIGURATION_ITEM_D, CHANGE_HISTORY_ITEM_ID, HISTORY_GRAPH_NODE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

SQL Exception #1

SQL Message: ORA-00001: unique constraint (CCM1USER.SCM_SCM_CNFGRTN_HSTR_GRPH_NDDX) violated



SQL State: 23000

Error Code: 1

Class: com.ibm.team.repository.service.internal.dataaccess.write2.Row

Item Handle: com.ibm.team.scm.common.internal.impl.ConfigurationImpl@e4fa4f8 (stateId: [UUID _ieQigH2JEeagDJqfZ66lLg], itemId: [UUID _iYJTcH2JEeagDJqfZ66lLg], origin: <unset>, immutable: true) (contextId: [UUID _Dp6kMdwTEd2jUupDpQV1Rw], modified: 2016-09-18 12:20:35.896, workingCopy: false) (predecessor: <unset>) (numSelections: 53, numSelectionsInBase: 0, historyGraphNode: S3V0CuKMg2OJNO_RkAhLLPWxUd4aKKB5shWb1jvaXZo)

Any idea on why this error occurs.

Thanks in advance

One answer



permanent link
Luis Peregrina (18114) | answered Oct 19 '16, 10:56 a.m.
JAZZ DEVELOPER
 CCM1USER.SCM_SCM_CNFGRTN_HSTR_GRPH_NDDX sounds something like History Graph Node Index, so based on that I can assume there is a "UNIQUE" constraint for HISTORY_GRAPH_NODE. Sounds to me like it's reusing an UUID.

Your answer


Register or to post your answer.