Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

node-test-commit-arm-fanned failing

未关闭
#4,481 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
git, shell

调研方向

The issue is a Jenkins CI failure on the 'node-test-commit-arm-fanned' job due to a git lock file conflict. Start by examining the Jenkins job configuration and logs linked in the issue. Check for concurrent git processes or stale lock files on the build agent. Understanding Jenkins pipeline and git operations on the specific Ubuntu runner is needed to diagnose and clean up the state.

由索引模型根据 Issue 内容生成。

描述

incident platform:arm

Builds on test-mnx-ubuntu2204-x64-1 from (and including) https://ci.nodejs.org/job/node-test-commit-arm-fanned/50177/console are failing:

15:36:51  > git reset --hard # timeout=10
15:36:51 ERROR: Error fetching remote repo 'origin'
15:36:51 hudson.plugins.git.GitException: Failed to fetch from git@github.com:nodejs/node.git
15:36:51 	at PluginClassLoader for git//hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:998)
15:36:51 	at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1239)
15:36:51 	at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1310)
15:36:51 	at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1277)
15:36:51 	at hudson.scm.SCM.checkout(SCM.java:540)
15:36:51 	at hudson.model.AbstractProject.checkout(AbstractProject.java:1254)
15:36:51 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:648)
15:36:51 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:84)
15:36:51 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521)
15:36:51 	at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:131)
15:36:51 	at hudson.model.Run.execute(Run.java:1849)
15:36:51 	at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:61)
15:36:51 	at hudson.model.ResourceController.execute(ResourceController.java:97)
15:36:51 	at hudson.model.Executor.run(Executor.java:456)
15:36:51 Caused by: hudson.plugins.git.GitException: Command "git reset --hard" returned status code 128:
15:36:51 stdout: 
15:36:51 stderr: fatal: Unable to create '/home/iojs/build/workspace/node-test-commit-arm-fanned/.git/index.lock': File exists.
15:36:51 
15:36:51 Another git process seems to be running in this repository, e.g.
15:36:51 an editor opened by 'git commit'. Please make sure all processes
15:36:51 are terminated then try again. If it still fails, a git process
15:36:51 may have crashed in this repository earlier:
15:36:51 remove the file manually to continue.

The first failing build was slightly different: https://ci.nodejs.org/job/node-test-commit-arm-fanned/50176/console

15:02:46  > git reset --hard # timeout=10
15:02:52 ERROR: Error fetching remote repo 'origin'
15:02:52 hudson.plugins.git.GitException: Failed to fetch from git@github.com:nodejs/node.git
15:02:52 	at PluginClassLoader for git//hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:998)
15:02:52 	at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1239)
15:02:52 	at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1310)
15:02:52 	at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1277)
15:02:52 	at hudson.scm.SCM.checkout(SCM.java:540)
15:02:52 	at hudson.model.AbstractProject.checkout(AbstractProject.java:1254)
15:02:52 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:648)
15:02:52 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:84)
15:02:52 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521)
15:02:52 	at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:131)
15:02:52 	at hudson.model.Run.execute(Run.java:1849)
15:02:52 	at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:61)
15:02:52 	at hudson.model.ResourceController.execute(ResourceController.java:97)
15:02:52 	at hudson.model.Executor.run(Executor.java:456)
15:02:52 Caused by: hudson.plugins.git.GitException: Command "git reset --hard" returned status code 135:
15:02:52 stdout: 
15:02:52 stderr: 
15:02:52 	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2852)
15:02:52 	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2777)
15:02:52 	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2772)
15:02:52 	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:2055)
15:02:52 	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.reset(CliGitAPIImpl.java:711)
15:02:52 	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clean(CliGitAPIImpl.java:1098)
15:02:52 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
15:02:52 	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
15:02:52 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:986)
15:02:52 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:961)
15:02:52 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:907)
15:02:52 	at hudson.remoting.UserRequest.perform(UserRequest.java:225)
15:02:52 	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
15:02:52 	at hudson.remoting.Request$2.run(Request.java:391)
15:02:52 	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81)
15:02:52 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
15:02:52 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
15:02:52 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
15:02:52 	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:312)
15:02:52 	at java.base/java.lang.Thread.run(Thread.java:1474)
15:02:52 	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 67.158.54.159/67.158.54.159:41175
15:02:52 		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1916)
15:02:52 		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:384)
15:02:52 		at hudson.remoting.Channel.call(Channel.java:1108)
15:02:52 		at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:306)
15:02:52 		at PluginClassLoader for git-client/jdk.proxy116/jdk.proxy116.$Proxy200.clean(Unknown Source)
15:02:52 		at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl.clean(RemoteGitImpl.java:535)
15:02:52 		at PluginClassLoader for git//hudson.plugins.git.extensions.impl.CleanBeforeCheckout.decorateFetchCommand(CleanBeforeCheckout.java:46)
15:02:52 		at PluginClassLoader for git//hudson.plugins.git.extensions.GitSCMExtension.decorateFetchCommand(GitSCMExtension.java:296)
15:02:52 		at PluginClassLoader for git//hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:994)
15:02:52 		at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1239)
15:02:52 		at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1310)
15:02:52 		at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1277)
15:02:52 		at hudson.scm.SCM.checkout(SCM.java:540)
15:02:52 		at hudson.model.AbstractProject.checkout(AbstractProject.java:1254)
15:02:52 		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:648)
15:02:52 		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:84)
15:02:52 		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521)
15:02:52 		at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:131)
15:02:52 		at hudson.model.Run.execute(Run.java:1849)
15:02:52 		at PluginClassLoader for jenkins-multijob-plugin//com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:61)
15:02:52 		at hudson.model.ResourceController.execute(ResourceController.java:97)
15:02:52 		at hudson.model.Executor.run(Executor.java:456)
15:02:52 ERROR: Error fetching remote repo 'origin'
主要语言
Jinja
星标
541
派生
185
平均合并
2 天 18 小时
30 天内合并 PR
6

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nodejs/build 的其他 Issue

查看 nodejs/build 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。