Runner crashed #87

Closed
opened 2023-03-28 14:41:40 +00:00 by lunny · 1 comments
/go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:141 +0x144
github.com/nektos/act/pkg/runner.(*RunContext).Executor.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/run_context.go:380 +0x7e
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1.1({0x1236260, 0xc000c16060})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/runner.go:158 +0x377
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1(0x736d26?, 0xc000cb0180?)
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:100 +0x5c
created by github.com/nektos/act/pkg/common.NewParallelExecutor.func1
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:98 +0x89
[root@runner1-gitea-com runner]#
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:141 +0x144
github.com/nektos/act/pkg/runner.(*RunContext).Executor.func1({0x1236260, 0xc000c16870})
                                                                                            /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/run_context.go:380 +0x7e
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1.1({0x1236260, 0xc000c16060})
                                                                                            /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/runner.go:158 +0x377
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1(0x736d26?, 0xc000cb0180?)
                                                                                            /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:100 +0x5c
created by github.com/nektos/act/pkg/common.NewParallelExecutor.func1
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:98 +0x89
[root@runner1-gitea-com runner]#
github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:141 +0x144
github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:129 +0x34
github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:129 +0x34
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:141 +0x144
github.com/nektos/act/pkg/runner.(*RunContext).Executor.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/run_context.go:380 +0x7e
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1.1({0x1236260, 0xc000c16060})
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/runner.go:158 +0x377
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1(0x736d26?, 0xc000cb0180?)
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:100 +0x5c
created by github.com/nektos/act/pkg/common.NewParallelExecutor.func1
       /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:98 +0x89
```log /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:141 +0x144 github.com/nektos/act/pkg/runner.(*RunContext).Executor.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/run_context.go:380 +0x7e github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1.1({0x1236260, 0xc000c16060}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/runner.go:158 +0x377 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1(0x736d26?, 0xc000cb0180?) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:100 +0x5c created by github.com/nektos/act/pkg/common.NewParallelExecutor.func1 /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:98 +0x89 [root@runner1-gitea-com runner]# github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:141 +0x144 github.com/nektos/act/pkg/runner.(*RunContext).Executor.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/run_context.go:380 +0x7e github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1.1({0x1236260, 0xc000c16060}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/runner.go:158 +0x377 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1(0x736d26?, 0xc000cb0180?) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:100 +0x5c created by github.com/nektos/act/pkg/common.NewParallelExecutor.func1 /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:98 +0x89 [root@runner1-gitea-com runner]# github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:141 +0x144 github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:129 +0x34 github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:129 +0x34 github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/common.Executor.Then.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:141 +0x144 github.com/nektos/act/pkg/runner.(*RunContext).Executor.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/run_context.go:380 +0x7e github.com/nektos/act/pkg/common.Executor.Finally.func1({0x1236260, 0xc000c16870}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1.1({0x1236260, 0xc000c16060}) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/runner/runner.go:158 +0x377 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1(0x736d26?, 0xc000cb0180?) /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:100 +0x5c created by github.com/nektos/act/pkg/common.NewParallelExecutor.func1 /go/pkg/mod/gitea.com/gitea/act@v0.234.3-0.20230224062034-1252e551b867/pkg/common/executor.go:98 +0x89 ```
Poster
Owner
time="2023-03-28T22:39:07+08:00" level=error msg="cannot accept task" error="deadline_exceeded: Post \"https://gitea.com/api/actions/runner.v1.RunnerService/FetchTask\": context deadline exceeded" func=pollTask
time="2023-03-28T22:39:07+08:00" level=error msg="can't find the task: deadline_exceeded: Post \"https://gitea.com/api/actions/runner.v1.RunnerService/FetchTask\": context deadline exceeded" func=Poll
time="2023-03-28T22:39:12+08:00" level=info msg="poller: request stage from remote server" func=pollTask
time="2023-03-28T22:39:13+08:00" level=info msg="plan: [build-and-preview-website]"
time="2023-03-28T22:39:13+08:00" level=info msg="task 784 repo is gitea/website-pr-preview https://gitea.com https://gitea.com"
time="2023-03-28T22:39:13+08:00" level=info msg="workflow prepared" buildID=784
panic: unclosed expression.

goroutine 32 [running]:
github.com/nektos/act/pkg/runner.rewriteSubExpression({0x123c520, 0xc00078a150}, {0xc0005add40, 0x191}, 0x1)
       github.com/nektos/act@v0.0.0/pkg/runner/expression.go:311 +0x866
github.com/nektos/act/pkg/runner.expressionEvaluator.Interpolate({{0x1235020?, 0xc0007642d0?}}, {0x123c520, 0xc00078a150}, {0xc0005add40, 0x191})
       github.com/nektos/act@v0.0.0/pkg/runner/expression.go:239 +0xef
github.com/nektos/act/pkg/runner.(*stepRun).setupShellCommand(0xc0005cb200, {0x123c520, 0xc00078a150})
       github.com/nektos/act@v0.0.0/pkg/runner/step_run.go:102 +0xf5
github.com/nektos/act/pkg/runner.(*stepRun).setupShellCommandExecutor.func1({0x123c520, 0xc00078a150})
       github.com/nektos/act@v0.0.0/pkg/runner/step_run.go:68 +0x3f
github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00078a150})
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:129 +0x34
github.com/nektos/act/pkg/runner.runStepExecutor.func1({0x123c520, 0xc00078a150})
       github.com/nektos/act@v0.0.0/pkg/runner/step.go:137 +0xd43
github.com/nektos/act/pkg/runner.newJobExecutor.func4({0x123c520, 0xc00078a150})
       github.com/nektos/act@v0.0.0/pkg/runner/job_executor.go:78 +0x5a
github.com/nektos/act/pkg/runner.useStepLogger.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/runner/job_executor.go:192 +0x3b0
github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:141 +0x144
github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:129 +0x34
github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:129 +0x34
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/common.Executor.Finally.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:175 +0x34
github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:141 +0x144
github.com/nektos/act/pkg/runner.(*RunContext).Executor.func1({0x123c520, 0xc00044b350})
       github.com/nektos/act@v0.0.0/pkg/runner/run_context.go:445 +0x58
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1.1({0x123c520, 0xc0009c2de0})
       github.com/nektos/act@v0.0.0/pkg/runner/runner.go:153 +0x193
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1(0x0?, 0x0?)
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:100 +0x5c
created by github.com/nektos/act/pkg/common.NewParallelExecutor.func1
       github.com/nektos/act@v0.0.0/pkg/common/executor.go:98 +0x89
```log time="2023-03-28T22:39:07+08:00" level=error msg="cannot accept task" error="deadline_exceeded: Post \"https://gitea.com/api/actions/runner.v1.RunnerService/FetchTask\": context deadline exceeded" func=pollTask time="2023-03-28T22:39:07+08:00" level=error msg="can't find the task: deadline_exceeded: Post \"https://gitea.com/api/actions/runner.v1.RunnerService/FetchTask\": context deadline exceeded" func=Poll time="2023-03-28T22:39:12+08:00" level=info msg="poller: request stage from remote server" func=pollTask time="2023-03-28T22:39:13+08:00" level=info msg="plan: [build-and-preview-website]" time="2023-03-28T22:39:13+08:00" level=info msg="task 784 repo is gitea/website-pr-preview https://gitea.com https://gitea.com" time="2023-03-28T22:39:13+08:00" level=info msg="workflow prepared" buildID=784 panic: unclosed expression. goroutine 32 [running]: github.com/nektos/act/pkg/runner.rewriteSubExpression({0x123c520, 0xc00078a150}, {0xc0005add40, 0x191}, 0x1) github.com/nektos/act@v0.0.0/pkg/runner/expression.go:311 +0x866 github.com/nektos/act/pkg/runner.expressionEvaluator.Interpolate({{0x1235020?, 0xc0007642d0?}}, {0x123c520, 0xc00078a150}, {0xc0005add40, 0x191}) github.com/nektos/act@v0.0.0/pkg/runner/expression.go:239 +0xef github.com/nektos/act/pkg/runner.(*stepRun).setupShellCommand(0xc0005cb200, {0x123c520, 0xc00078a150}) github.com/nektos/act@v0.0.0/pkg/runner/step_run.go:102 +0xf5 github.com/nektos/act/pkg/runner.(*stepRun).setupShellCommandExecutor.func1({0x123c520, 0xc00078a150}) github.com/nektos/act@v0.0.0/pkg/runner/step_run.go:68 +0x3f github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00078a150}) github.com/nektos/act@v0.0.0/pkg/common/executor.go:129 +0x34 github.com/nektos/act/pkg/runner.runStepExecutor.func1({0x123c520, 0xc00078a150}) github.com/nektos/act@v0.0.0/pkg/runner/step.go:137 +0xd43 github.com/nektos/act/pkg/runner.newJobExecutor.func4({0x123c520, 0xc00078a150}) github.com/nektos/act@v0.0.0/pkg/runner/job_executor.go:78 +0x5a github.com/nektos/act/pkg/runner.useStepLogger.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/runner/job_executor.go:192 +0x3b0 github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/common/executor.go:141 +0x144 github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/common/executor.go:129 +0x34 github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/common/executor.go:129 +0x34 github.com/nektos/act/pkg/common.Executor.Finally.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/common.Executor.Finally.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/common.Executor.Finally.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/common/executor.go:175 +0x34 github.com/nektos/act/pkg/common.Executor.Then.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/common/executor.go:141 +0x144 github.com/nektos/act/pkg/runner.(*RunContext).Executor.func1({0x123c520, 0xc00044b350}) github.com/nektos/act@v0.0.0/pkg/runner/run_context.go:445 +0x58 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1.1({0x123c520, 0xc0009c2de0}) github.com/nektos/act@v0.0.0/pkg/runner/runner.go:153 +0x193 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1(0x0?, 0x0?) github.com/nektos/act@v0.0.0/pkg/common/executor.go:100 +0x5c created by github.com/nektos/act/pkg/common.NewParallelExecutor.func1 github.com/nektos/act@v0.0.0/pkg/common/executor.go:98 +0x89 ```
wolfogre added the
kind
bug
label 2023-03-29 06:47:46 +00:00
lunny closed this issue 2023-04-19 05:53:48 +00:00
Sign in to join this conversation.
There is no content yet.