node-test-pull-request workspace locked on test-mnx-ubuntu2204-x64-1
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- git
- 领域
- ci-cd, infrastructure
调研方向
Start with the node-test-pull-request job and build 77845 console output, then inspect the test-mnx-ubuntu2204-x64-1 workspace at /home/iojs/build/workspace/node-test-pull-request@13. Check the reported .git/index.lock and whether another Git process is active. Done means checkout succeeds and jobs can run in that workspace again.
由索引模型根据 Issue 内容生成。
描述
It looks like the node-test-pull-request@13 workspace on node-test-pull-request is locked and preventing jobs from running in that workspace:
e,g. https://ci.nodejs.org/job/node-test-pull-request/77845/console
18:04:01 > git checkout -f 16fcfb4de5715713b7a678fd109fed6ee817987e # timeout=10
18:04:01 hudson.plugins.git.GitException: Command "git checkout -f 16fcfb4de5715713b7a678fd109fed6ee817987e" returned status code 128:
18:04:01 stdout:
18:04:01 stderr: fatal: Unable to create '/home/iojs/build/workspace/node-test-pull-request@13/.git/index.lock': File exists.
18:04:01
18:04:01 Another git process seems to be running in this repository, e.g.
18:04:01 an editor opened by 'git commit'. Please make sure all processes
18:04:01 are terminated then try again. If it still fails, a git process
18:04:01 may have crashed in this repository earlier:
18:04:01 remove the file manually to continue.
18:04:01
18:04:01 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2852)
18:04:01 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3182)
18:04:01 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 67.158.54.159/67.158.54.159:41175
18:04:01 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1916)
18:04:01 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:384)
18:04:01 at hudson.remoting.Channel.call(Channel.java:1108)
18:04:01 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:155)
18:04:01 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
18:04:01 at java.base/java.lang.reflect.Method.invoke(Method.java:580)
18:04:01 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:140)
18:04:01 at PluginClassLoader for git-client/jdk.proxy116/jdk.proxy116.$Proxy207.execute(Unknown Source)
18:04:01 at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1360)
18:04:01 at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1277)
18:04:01 at hudson.scm.SCM.checkout(SCM.java:540)
18:04:01 at hudson.model.AbstractProject.checkout(AbstractProject.java:1254)
18:04:01 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:648)
18:04:01 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:84)
18:04:01 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521)
18:04:01 at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:131)
18:04:01 at hudson.model.Run.execute(Run.java:1849)
18:04:01 at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:61)
18:04:01 at hudson.model.ResourceController.execute(ResourceController.java:97)
18:04:01 at hudson.model.Executor.run(Executor.java:456)
18:04:01 Caused: hudson.plugins.git.GitLockFailedException: Could not lock repository. Please try again
18:04:01 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3205)
18:04:01 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:173)
18:04:01 at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:164)
18:04:01 at hudson.remoting.UserRequest.perform(UserRequest.java:225)
18:04:01 at hudson.remoting.UserRequest.perform(UserRequest.java:50)
18:04:01 at hudson.remoting.Request$2.run(Request.java:391)
18:04:01 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81)
18:04:01 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
18:04:01 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
18:04:01 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
18:04:01 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:312)
18:04:01 at java.base/java.lang.Thread.run(Thread.java:1474)
18:04:01 Caused: java.io.IOException: Could not checkout 16fcfb4de5715713b7a678fd109fed6ee817987e
18:04:01 at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1363)
18:04:01 at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1277)
18:04:01 at hudson.scm.SCM.checkout(SCM.java:540)
18:04:01 at hudson.model.AbstractProject.checkout(AbstractProject.java:1254)
18:04:01 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:648)
18:04:01 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:84)
18:04:01 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521)
18:04:01 at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:131)
18:04:01 at hudson.model.Run.execute(Run.java:1849)
18:04:01 at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:61)
18:04:01 at hudson.model.ResourceController.execute(ResourceController.java:97)
18:04:01 at hudson.model.Executor.run(Executor.java:456)
18:04:01 Collecting metadata...
- 主要语言
- Jinja
- 星标
- 541
- 派生
- 185
- 平均合并
- 2 天 19 小时
- 30 天内合并 PR
- 6
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodejs/build 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
platform:ppc
难度 1/5 1 小时以内 新手友好度 65/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 2 天内回复
相似的 Issue
-
bot-found bug priority: P3
难度 2/5 1-3 小时 新手友好度 84/100
madenvel/KalinkaPlayer#179 ·
-
难度 1/5 1-3 小时 新手友好度 94/100
makeplane/helm-charts#332 ·
维护者通常 1 天内回复
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 84/100
microsoft/fabric-cicd#1141 · 1 条评论 ·
-
agentic-workflows
难度 1/5 1 小时以内 新手友好度 85/100
githubnext/gh-aw-workshop#3933 ·
维护者通常 2 天内回复
-
Remove CAAPF未关闭kind/chore kind/cleanup needs-area
难度 2/5 1-3 小时 新手友好度 86/100
rancher/turtles#2848 · 3 条评论 ·
维护者通常 1 天内回复