Jump to content

Search the Community

Showing results for tags 'teamcity-plugin'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Plastic SCM
    • General
    • Installation and configuration
    • Unity 3D
    • Plastic SCM on Mac
    • Plastic SCM on Linux
    • Gluon
    • Git interop
    • Integrations
    • Community Edition
    • Branching and merging
    • Announcements
  • Plastic SCM 4.0 Beta (Closed)
  • Plastic Cloud
    • General
    • Configuration
  • SemanticMerge
    • General
    • License
    • SCM's configuration
    • Share your experience!
    • External Parsers
  • GitJungle
  • Method History for Subversion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Greetings! We are trying to use the Teamcity plugin with the "checkout on agent" configuration. This configuration works fine on Windows, but for a Linux agent the checkout does not work. The build fails event before the first build step: Looking at the teamcity-agent.log the next exception trace appears: [2019-10-01 17:54:40,649] ERROR - pl.patch.ProjectSourcesOnAgent - Problem while checkout on agent java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils at com.codicesoftware.plugins.teamcity.PathUtils.isFileInSymlinkContained(PathUtils.java:34) at com.codicesoftware.plugins.teamcity.PathUtils.getCanonicalPath(PathUtils.java:16) at com.codicesoftware.plugins.teamcity.WorkspaceManager.ensureWorkspaceExists(WorkspaceManager.java:21) at com.codicesoftware.plugins.teamcity.PlasticAgentVcsSupport.updateSources(PlasticAgentVcsSupport.java:67) at jetbrains.buildServer.agent.impl.vcs.AgentVcsManagerExImpl$CheckoutSupportImpl.updateSources(AgentVcsManagerExImpl.java:108) at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent$1.run(ProjectSourcesOnAgent.java:186) at java.base/java.lang.Thread.run(Thread.java:834) [2019-10-01 17:54:40,651] WARN - l.patch.AbstractSourcesUpdater - Error while checkout on agent: Problem while checkout on agent: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils jetbrains.buildServer.vcs.VcsException: Problem while checkout on agent: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent$1.run(ProjectSourcesOnAgent.java:192) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils at com.codicesoftware.plugins.teamcity.PathUtils.isFileInSymlinkContained(PathUtils.java:34) at com.codicesoftware.plugins.teamcity.PathUtils.getCanonicalPath(PathUtils.java:16) at com.codicesoftware.plugins.teamcity.WorkspaceManager.ensureWorkspaceExists(WorkspaceManager.java:21) at com.codicesoftware.plugins.teamcity.PlasticAgentVcsSupport.updateSources(PlasticAgentVcsSupport.java:67) at jetbrains.buildServer.agent.impl.vcs.AgentVcsManagerExImpl$CheckoutSupportImpl.updateSources(AgentVcsManagerExImpl.java:108) at jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent$1.run(ProjectSourcesOnAgent.java:186) ... 1 more Plugin version: Do you know why may this be happening? I have looked at the plugin folder in the agent and the commons-lang.jar is there. Regards!
  2. Hello guys, we are expiriencing issues while trying to download changes from Plastic repositories from TeamCity 8.0.6. The issue it that we just can't download full repository and build just fails on step of checking changes. See full build log attached. Here I want to ask few questions: 1) Please look at the first line of the log. Checking for changes takes about 20 minutes and that is short one. Now I have a build that hung on that state for a 1 hour. What should we do in such case? How can we debug what is wrong? 2) On each of 3 attempts, repository data has been transeffered (see line [17:23:40]Repository sources transferred: 8.84 GB total), but immediately after that checking changes fails with: [17:23:41]Will repeat attempt when server will be available, number of attempts left: 2 So why does oit fail? When can we see any error information? 3) Please explain the error in 3rd attempt. [16:58:28]Checking for changes [17:14:51]Publishing internal artifacts [17:14:51]Clearing temporary directory: D:\BuildAgent\temp\buildTmp [17:14:51]Checkout directory: D:\BuildAgent\work\bc163f1a08a61a14 [17:14:51]Updating sources: server side checkout (8m:49s) [17:14:52]Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist [17:14:52]Transferring cached clean patch for VCS root: CT_SW_CONSOLE [17:16:52]Transferring repository sources: 6.47 GB so far... [17:17:09]Building and caching clean patch for VCS root: COMMON_CDR [17:17:58]Transferring cached clean patch for VCS root: COMMON_CDR [17:18:20]Building and caching clean patch for VCS root: CT_SW_MIDDLEWARE [17:19:37]Transferring cached clean patch for VCS root: CT_SW_MIDDLEWARE [17:19:41]Building and caching clean patch for VCS root: CT_SW_OPENSOURCE [17:19:36]Transferring repository sources: 8.64 GB so far... [17:23:40]Transferring repository sources: 8.84 GB so far... [17:23:40]Repository sources transferred: 8.84 GB total [17:23:40]Average transfer speed: 17.13 MB per second [17:23:41]Will repeat attempt when server will be available, number of attempts left: 2 [17:23:51]Updating sources: server side checkout (7m:21s) [17:23:51]Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist [17:23:51]Transferring cached clean patch for VCS root: CT_SW_CONSOLE [17:25:51]Transferring repository sources: 5.33 GB so far... [17:26:36]Transferring cached clean patch for VCS root: COMMON_CDR [17:26:59]Transferring cached clean patch for VCS root: CT_SW_MIDDLEWARE [17:31:13]Transferring repository sources: 8.84 GB so far... [17:31:13]Repository sources transferred: 8.84 GB total [17:31:13]Average transfer speed: 20.51 MB per second [17:31:13]Will repeat attempt when server will be available, number of attempts left: 1 [17:31:23]Updating sources: server side checkout (6m:51s) [17:38:15]Patch was finished unexpectedly, can be found in file: D:\BuildAgent\temp\globalTmp\temp8509378732555898338patch_604838 [17:38:15]jetbrains.buildServer.RunBuildException [17:38:15]jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Patch was finished unexpectedly, probably it was broken when downloaded from server at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.throwError(PatchDownloaderImpl.java:114) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:100) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:65) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesPatcherBase.copyPatchToTempFile(UpdateSourcesPatcherBase.java:70) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer.updateSources(UpdateSourcesFromServer.java:62) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doSourceUpdate(UpdateSourcesBuildStageBase.java:91) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doRecoverableStage(UpdateSourcesBuildStageBase.java:59) at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doLastAttempt(RecoverableBuildStage.java:112) at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doBuildStage(RecoverableBuildStage.java:70) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:70) at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50) at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:248) at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48) at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:221) at java.lang.Thread.run(Unknown Source) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(Unknown Source) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readAction(LowLevelPatcher.java:29) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readPatchStream(LowLevelPatcher.java:98) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:88) at jetbrains.buildServer.vcs.patches.AbstractPatcher.applyPatch(AbstractPatcher.java:42) at jetbrains.buildServer.agent.impl.patch.PatchApplierImpl.applyPatch(PatchApplierImpl.java:18) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatchInFileIsCompleted(PatchDownloaderImpl.java:84) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:94) ... 18 more [17:38:15]Publishing internal artifacts [17:38:15]Build failed to start. Artifacts will not be published for this build [17:38:01]Build finished
×
×
  • Create New...