com.ibm.team.build.internal.scm.SourceControlUtility$3: Status WARNING: com.ibm.team.filesystem.client code=2 Loading the directories in the file system would overwrite/remove existing directories. null children=[Status WARNING: com.ibm.team.filesystem.client code=0 /Build (requested to be loaded from both component Build and EPN-uEPN) null Status WARNING: com.ibm.team.filesystem.client code=0 /Test (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Data (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Lib (requested to be loaded from both component Build and ActionTools) null]

Jenkins JIRA | Danny Beerens | 3 years ago
  1. 0

    When a stream, or repository workspace, has multiple components where each component has a similar (sub) directory structure (e.g. "build"-folder, containing all build scripts and settings for that component), there's not a setting available that allows the load of these components as root folders in a sandbox. This means that when the components get loaded, not being root folders, there are directory collisions, which RTC cannot resolve (see log below). This causes the Jenkins Job to fail, even before the actual build steps are reached. Please introduce a configuration setting that allows components to be loaded as root folders. Settings Jenkins Job, Team Concert plugin: ========================================== Disabled: Override global RTC repository connection Enabled: Just accept and fetch from a build workspace Enabled: Poll SCM, schedule: H/25 * * * * Jenkins Job log: ================ Started by an SCM change [EnvInject] - Loading node environment variables. Building in workspace C:\Data\IBM\RTC RTC : checkout... RTC Checkout : Source control setup RTC Checkout : Accepting changes into workspace "sys24_Team_Build_Workspace" ... RTC Checkout : Fetching files to fetch destination "C:\Data\IBM\RTC" ... FATAL: RTC : checkout failure: Loading the directories in the file system would overwrite/remove existing directories. Loading the directories in the file system would overwrite/remove existing directories. /Build (requested to be loaded from both component Build and EPN-uEPN) /Test (requested to be loaded from both component Build and ActionTools) /Data (requested to be loaded from both component Build and ActionTools) /Lib (requested to be loaded from both component Build and ActionTools) com.ibm.team.build.internal.scm.SourceControlUtility$3: Status WARNING: com.ibm.team.filesystem.client code=2 Loading the directories in the file system would overwrite/remove existing directories. null children=[Status WARNING: com.ibm.team.filesystem.client code=0 /Build (requested to be loaded from both component Build and EPN-uEPN) null Status WARNING: com.ibm.team.filesystem.client code=0 /Test (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Data (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Lib (requested to be loaded from both component Build and ActionTools) null] at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:685) at com.ibm.team.build.internal.hjplugin.rtc.RepositoryConnection.checkout(RepositoryConnection.java:367) at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:321) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:92) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:103) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:30) at hudson.FilePath.act(FilePath.java:904) at hudson.FilePath.act(FilePath.java:877) at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:836) at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Contains : 0 /Build (requested to be loaded from both component Build and EPN-uEPN) Contains : 1 /Test (requested to be loaded from both component Build and ActionTools) Contains : 2 /Data (requested to be loaded from both component Build and ActionTools) Contains : 3 /Lib (requested to be loaded from both component Build and ActionTools) ERROR: RTC : checkout failure: Loading the directories in the file system would overwrite/remove existing directories. Loading the directories in the file system would overwrite/remove existing directories. /Build (requested to be loaded from both component Build and EPN-uEPN) /Test (requested to be loaded from both component Build and ActionTools) /Data (requested to be loaded from both component Build and ActionTools) /Lib (requested to be loaded from both component Build and ActionTools) Finished: FAILURE

    Jenkins JIRA | 3 years ago | Danny Beerens
    com.ibm.team.build.internal.scm.SourceControlUtility$3: Status WARNING: com.ibm.team.filesystem.client code=2 Loading the directories in the file system would overwrite/remove existing directories. null children=[Status WARNING: com.ibm.team.filesystem.client code=0 /Build (requested to be loaded from both component Build and EPN-uEPN) null Status WARNING: com.ibm.team.filesystem.client code=0 /Test (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Data (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Lib (requested to be loaded from both component Build and ActionTools) null]
  2. 0

    When a stream, or repository workspace, has multiple components where each component has a similar (sub) directory structure (e.g. "build"-folder, containing all build scripts and settings for that component), there's not a setting available that allows the load of these components as root folders in a sandbox. This means that when the components get loaded, not being root folders, there are directory collisions, which RTC cannot resolve (see log below). This causes the Jenkins Job to fail, even before the actual build steps are reached. Please introduce a configuration setting that allows components to be loaded as root folders. Settings Jenkins Job, Team Concert plugin: ========================================== Disabled: Override global RTC repository connection Enabled: Just accept and fetch from a build workspace Enabled: Poll SCM, schedule: H/25 * * * * Jenkins Job log: ================ Started by an SCM change [EnvInject] - Loading node environment variables. Building in workspace C:\Data\IBM\RTC RTC : checkout... RTC Checkout : Source control setup RTC Checkout : Accepting changes into workspace "sys24_Team_Build_Workspace" ... RTC Checkout : Fetching files to fetch destination "C:\Data\IBM\RTC" ... FATAL: RTC : checkout failure: Loading the directories in the file system would overwrite/remove existing directories. Loading the directories in the file system would overwrite/remove existing directories. /Build (requested to be loaded from both component Build and EPN-uEPN) /Test (requested to be loaded from both component Build and ActionTools) /Data (requested to be loaded from both component Build and ActionTools) /Lib (requested to be loaded from both component Build and ActionTools) com.ibm.team.build.internal.scm.SourceControlUtility$3: Status WARNING: com.ibm.team.filesystem.client code=2 Loading the directories in the file system would overwrite/remove existing directories. null children=[Status WARNING: com.ibm.team.filesystem.client code=0 /Build (requested to be loaded from both component Build and EPN-uEPN) null Status WARNING: com.ibm.team.filesystem.client code=0 /Test (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Data (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Lib (requested to be loaded from both component Build and ActionTools) null] at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:685) at com.ibm.team.build.internal.hjplugin.rtc.RepositoryConnection.checkout(RepositoryConnection.java:367) at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:321) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:92) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:103) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:30) at hudson.FilePath.act(FilePath.java:904) at hudson.FilePath.act(FilePath.java:877) at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:836) at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Contains : 0 /Build (requested to be loaded from both component Build and EPN-uEPN) Contains : 1 /Test (requested to be loaded from both component Build and ActionTools) Contains : 2 /Data (requested to be loaded from both component Build and ActionTools) Contains : 3 /Lib (requested to be loaded from both component Build and ActionTools) ERROR: RTC : checkout failure: Loading the directories in the file system would overwrite/remove existing directories. Loading the directories in the file system would overwrite/remove existing directories. /Build (requested to be loaded from both component Build and EPN-uEPN) /Test (requested to be loaded from both component Build and ActionTools) /Data (requested to be loaded from both component Build and ActionTools) /Lib (requested to be loaded from both component Build and ActionTools) Finished: FAILURE

    Jenkins JIRA | 3 years ago | Danny Beerens
    com.ibm.team.build.internal.scm.SourceControlUtility$3: Status WARNING: com.ibm.team.filesystem.client code=2 Loading the directories in the file system would overwrite/remove existing directories. null children=[Status WARNING: com.ibm.team.filesystem.client code=0 /Build (requested to be loaded from both component Build and EPN-uEPN) null Status WARNING: com.ibm.team.filesystem.client code=0 /Test (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Data (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Lib (requested to be loaded from both component Build and ActionTools) null]
  3. 0

    Team Concert Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 3 months ago
    com.ibm.team.build.internal.scm.SourceControlUtility$3: Status WARNING: com.ibm.team.filesystem.client code=2 Loading the directories in the file system would overwrite/remove existing directories. null children=[Status WARNING: com.ibm.team.filesystem.client code=0 /.project (requested to be loaded from both component CI and Core) null]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When choosing to load the Workflow Groovy Script direct from the SCM (the Groovy CPS DSL from SCM definition option) the following error occurs: RTC : checkout... RTC Checkout : Source control setup RTC Checkout : Accepting changes into workspace "xxx-main-jenkins-pipeline" ... RTC Checkout : Fetching files to fetch destination "/mnt/workspace/XXX-Docker-Workflow@script" ... FATAL: RTC : checkout failure: Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 com.ibm.team.build.internal.scm.SourceControlUtility$3: Status INFO: com.ibm.team.filesystem.client code=0 Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 null at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:693) at com.ibm.team.build.internal.hjplugin.rtc.RepositoryConnection.checkout(RepositoryConnection.java:440) at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:393) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:115) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:165) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:1107) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:106) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:109) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:58) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:183) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) FATAL: RTC : checkout failure: RTC : checkout failure: Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 It looks like an error in the RTC client that fails to create the file location The options configured are: "Just accept and fetch from a build workspace"

    Jenkins JIRA | 1 year ago | Nigel Harniman
    com.ibm.team.build.internal.scm.SourceControlUtility$3: Status INFO: com.ibm.team.filesystem.client code=0 Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 null
  6. 0

    When choosing to load the Workflow Groovy Script direct from the SCM (the Groovy CPS DSL from SCM definition option) the following error occurs: RTC : checkout... RTC Checkout : Source control setup RTC Checkout : Accepting changes into workspace "xxx-main-jenkins-pipeline" ... RTC Checkout : Fetching files to fetch destination "/mnt/workspace/XXX-Docker-Workflow@script" ... FATAL: RTC : checkout failure: Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 com.ibm.team.build.internal.scm.SourceControlUtility$3: Status INFO: com.ibm.team.filesystem.client code=0 Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 null at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:693) at com.ibm.team.build.internal.hjplugin.rtc.RepositoryConnection.checkout(RepositoryConnection.java:440) at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:393) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:115) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:165) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:1107) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:106) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:109) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:58) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:183) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) FATAL: RTC : checkout failure: RTC : checkout failure: Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 It looks like an error in the RTC client that fails to create the file location The options configured are: "Just accept and fetch from a build workspace"

    Jenkins JIRA | 1 year ago | Nigel Harniman
    com.ibm.team.build.internal.scm.SourceControlUtility$3: Status INFO: com.ibm.team.filesystem.client code=0 Failed to create /mnt/workspace/XXX-Docker-Workflow@script/.jazz5 null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.ibm.team.build.internal.scm.SourceControlUtility$3

      Status WARNING: com.ibm.team.filesystem.client code=2 Loading the directories in the file system would overwrite/remove existing directories. null children=[Status WARNING: com.ibm.team.filesystem.client code=0 /Build (requested to be loaded from both component Build and EPN-uEPN) null Status WARNING: com.ibm.team.filesystem.client code=0 /Test (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Data (requested to be loaded from both component Build and ActionTools) null Status WARNING: com.ibm.team.filesystem.client code=0 /Lib (requested to be loaded from both component Build and ActionTools) null]

      at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea()
    2. com.ibm.team
      RTCFacade.checkout
      1. com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:685)
      2. com.ibm.team.build.internal.hjplugin.rtc.RepositoryConnection.checkout(RepositoryConnection.java:367)
      3. com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:321)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. com.ibm.team
      RTCCheckoutTask.invoke
      1. com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:92)
      2. com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:103)
      3. com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:30)
      3 frames
    5. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:904)
      2. hudson.FilePath.act(FilePath.java:877)
      2 frames
    6. com.ibm.team
      RTCScm.checkout
      1. com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:836)
      1 frame
    7. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1369)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
      2 frames
    8. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    9. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
      2. hudson.model.Run.execute(Run.java:1575)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:241)
      5 frames