Failed to import commits graph error, but it is ok to clone it in my own device
Error info in upsource project when trying to import a project from gitlab:
15:20:37: Project platform-backend init failed due to unrecoverable VCS problem: Failed to import commits graph: Check for VCS changes completed with errors. jetbrains.vcs.server.api.VcsServiceException: Failed to construct commits graph for platform-backend{mappings: 1, mounts: 0}. Failed to construct graph for platform-backend:. Failed to collect commits graph for platform-backend:. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
And here is logs of upsource-fronted:
[2021-07-21 07:20:37,709] ERROR lyzer:INIT_CLUSTER-2 latform-backend ti.init.InitCommitsGraphDriver - Project platform-backend init failed due to unrecoverable VCS problem: Failed to import commits graph: Check for VCS changes completed with errors. jetbrains.vcs.server.api.VcsServiceException: Failed to construct commits graph for platform-backend{mappings: 1, mounts: 0}. Failed to construct graph for platform-backend:. Failed to collect commits graph for platform-backend:. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
com.jetbrains.upsource.UpsourceException: Failed to import commits graph: Check for VCS changes completed with errors. jetbrains.vcs.server.api.VcsServiceException: Failed to construct commits graph for platform-backend{mappings: 1, mounts: 0}. Failed to construct graph for platform-backend:. Failed to collect commits graph for platform-backend:. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at com.jetbrains.upsource.backend.cli.multi.init.InitCommitsGraphDriver.analyze(InitCommitsGraphDriver.java:90)
at com.jetbrains.upsource.backend.cli.stages.driver.InitGlobalDriverWrapper.analyze(InitGlobalDriverWrapper.java:39)
at com.jetbrains.upsource.backend.cli.multi.init.InitPipeline.a(InitPipeline.java:73)
at __. project_platform-backend .__.run(JavaGeneratorTemplate.java:43)
at com.jetbrains.upsource.common.NamedFrameUtil.withProject(NamedFrameUtil.java:21)
at com.jetbrains.upsource.backend.cli.multi.tasks.MultiProjectTaskFactory$TaskExecutor.executeTask(MultiProjectTaskFactory.java:170)
at com.jetbrains.upsource.backend.cli.multi.tasks.MultiProjectTaskFactory$TaskExecutor$1.run(MultiProjectTaskFactory.java:153)
at com.jetbrains.upsource.backend.cli.multi.executor.ProjectSyncExecutor$ProjectTasks$1$1.run(ProjectSyncExecutor.java:199)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at com.jetbrains.upsource.util.NamedDaemonThreadFactory.a(NamedDaemonThreadFactory.java:34)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Error: jetbrains.vcs.server.api.VcsServiceException: Failed to construct commits graph for platform-backend{mappings: 1, mounts: 0}. Failed to construct graph for platform-backend:. Failed to collect commits graph for platform-backend:. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at com.jetbrains.upsource.backend.cli.vcs.service.VcsServiceClient.processNewRevisions(VcsServiceClient.java:78)
at com.jetbrains.upsource.backend.cli.multi.vcs.ImportProjectFromVcsCommitsImpl.a(ImportProjectFromVcsCommitsImpl.kt:172)
at com.jetbrains.upsource.backend.cli.multi.vcs.ImportProjectFromVcsCommitsImpl.executeTask(ImportProjectFromVcsCommitsImpl.kt:75)
at com.jetbrains.upsource.lifetimes.Lifetime.a(Lifetime.java:102)
at com.jetbrains.upsource.lifetimes.Lifetime.nested(Lifetime.java:115)
at com.jetbrains.upsource.lifetimes.Lifetime.runSync(Lifetime.java:102)
at com.jetbrains.upsource.backend.cli.multi.vcs.VcsAccessorFactory$VcsCommitCollectorImpl.collectChanges(VcsAccessorFactory.java:90)
at com.jetbrains.upsource.backend.cli.multi.init.InitCommitsGraphDriver.analyze(InitCommitsGraphDriver.java:87)
... 11 more
Caused by: jetbrains.vcs.server.api.VcsServiceException: Failed to construct commits graph for platform-backend{mappings: 1, mounts: 0}. Failed to construct graph for platform-backend:. Failed to collect commits graph for platform-backend:. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphFactory.fetchGraph(CompositeGraphFactory.java:103)
at jetbrains.vcs.server.core.impl.graph.GraphServiceImpl.fetchGraph(GraphServiceImpl.java:68)
at jetbrains.vcs.server.core.impl.graph.FetchServiceImpl.fetch(FetchServiceImpl.java:22)
at com.jetbrains.upsource.backend.cli.vcs.service.VcsServiceClient.processNewRevisions(VcsServiceClient.java:72)
... 18 more
Caused by: jetbrains.vcs.server.api.VcsServiceException: Failed to construct graph for platform-backend:. Failed to collect commits graph for platform-backend:. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at jetbrains.vcs.server.core.impl.graph.global.MappingCommitsGraphFutures$2.graph(MappingCommitsGraphFutures.java:41)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphBuilder.includeMappings(CompositeGraphBuilder.java:128)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphBuilder.loadGraphs(CompositeGraphBuilder.java:96)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphBuilder.fetchAllGraphs(CompositeGraphBuilder.java:62)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphFactory.fetchGraph(CompositeGraphFactory.java:99)
... 21 more
Caused by: jetbrains.vcs.server.api.VcsServiceException: Failed to construct graph for platform-backend:. Failed to collect commits graph for platform-backend:. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at jetbrains.vcs.server.core.impl.graph.global.MappingCommitsGraphFutures.error(MappingCommitsGraphFutures.java:57)
at jetbrains.vcs.server.core.impl.graph.global.MappingCommitsGraphFutures.errorGraph(MappingCommitsGraphFutures.java:31)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphBuilder.lambda$loadGraphs$0(CompositeGraphBuilder.java:117)
at jetbrains.vcs.server.core.impl.threading.TrueParallelExecutionImpl$2.call(TrueParallelExecutionImpl.java:86)
at __. project_platform-backend .__.call(JavaGeneratorTemplate.java:39)
at com.jetbrains.upsource.common.NamedFrameUtil.withProject(NamedFrameUtil.java:27)
at com.jetbrains.upsource.backend.cli.vcs.service.VcsServiceConnections$2.lambda$wrapMappingTask$0(VcsServiceConnections.java:73) at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at jetbrains.vcs.server.core.impl.threading.TrueParallelExecutionImpl$1$1.run(TrueParallelExecutionImpl.java:51)
... 1 more
Caused by: jetbrains.vcs.server.api.VcsServiceException: Failed to collect commits graph for platform-backend:. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at jetbrains.vcs.server.core.impl.graph.worker.VcsGraphSource.fetchCommits(VcsGraphSource.java:37)
at jetbrains.vcs.server.core.impl.graph.mapping.MappingCommitsGraphFactory.buildGraph(MappingCommitsGraphFactory.java:70)
at jetbrains.vcs.server.core.impl.graph.incremental.CachingCommitGraphFactory.buildGraph(CachingCommitGraphFactory.java:55)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphFactory$1.buildGraph(CompositeGraphFactory.java:85)
at jetbrains.vcs.server.core.impl.graph.global.CompositeGraphBuilder.lambda$loadGraphs$0(CompositeGraphBuilder.java:110)
... 9 more
Caused by: jetbrains.buildServer.vcs.VcsException: jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at jetbrains.buildServer.buildTriggers.vcs.git.commitInfo.GitCommitsInfoBuilder.lambda$collectCommits$0(GitCommitsInfoBuilder.java:66)
at jetbrains.buildServer.buildTriggers.vcs.git.RepositoryManagerImpl.runWithDisabledRemove(RepositoryManagerImpl.java:268)
at jetbrains.buildServer.buildTriggers.vcs.git.commitInfo.GitCommitsInfoBuilder.collectCommits(GitCommitsInfoBuilder.java:59)
at jetbrains.vcs.api.services.collectChanges.CommitsInfoServiceProvider$1.collectCommits(CommitsInfoServiceProvider.java:33)
at jetbrains.vcs.server.core.impl.graph.worker.VcsGraphSource.fetchCommits(VcsGraphSource.java:33)
... 13 more
Caused by: jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at jetbrains.buildServer.buildTriggers.vcs.git.GitCollectChangesPolicy.fetchAllRefs(GitCollectChangesPolicy.java:143)
at jetbrains.buildServer.buildTriggers.vcs.git.GitFetchService.fetchRepositoryImpl(GitFetchService.java:59)
at jetbrains.buildServer.buildTriggers.vcs.git.GitFetchService.getOrCreateRepositoryState(GitFetchService.java:72)
at jetbrains.buildServer.buildTriggers.vcs.git.commitInfo.GitCommitsInfoBuilder.lambda$collectCommits$0(GitCommitsInfoBuilder.java:62)
... 17 more
Caused by: jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/feature#v2.2日志补充功能' (LOCK_FAILURE)
at jetbrains.buildServer.buildTriggers.vcs.git.GitServerUtil.checkFetchSuccessful(GitServerUtil.java:327)
at jetbrains.buildServer.buildTriggers.vcs.git.FetchCommandImpl.fetchInSameProcess(FetchCommandImpl.java:291)
at jetbrains.buildServer.buildTriggers.vcs.git.FetchCommandImpl.fetch(FetchCommandImpl.java:88)
at jetbrains.buildServer.buildTriggers.vcs.git.CommitLoaderImpl.fetch(CommitLoaderImpl.java:108)
at jetbrains.buildServer.buildTriggers.vcs.git.GitCollectChangesPolicy$FetchAllRefs.fetchTrackedRefs(GitCollectChangesPolicy.java:268)
at jetbrains.buildServer.buildTriggers.vcs.git.GitCollectChangesPolicy.fetchAllRefs(GitCollectChangesPolicy.java:140)
... 20 more
It's quite stronge for me, other project can be import well. Please help me with that.
Please sign in to leave a comment.