Repository navigation
Closed
Closed
Copy link
Labels
Description
Checks
- I've already read https://github.com/actions/actions-runner-controller/blob/master/TROUBLESHOOTING.md and I'm sure my issue is not covered in the troubleshooting guide.
- I'm not using a custom entrypoint in my runner image
Controller Version
0.27.1
Helm Chart Version
0.22.0
CertManager Version
v1.11.0
Deployment Method
Helm
cert-manager installation
Installet correctly
Checks
- This isn't a question or user support case (For Q&A and community support, go to Discussions. It might also be a good idea to contract with any of contributors and maintainers if your business is so critical and therefore you need priority support
- I've read releasenotes before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
- My actions-runner-controller version (v0.x.y) does support the feature
- I've already upgraded ARC (including the CRDs, see charts/actions-runner-controller/docs/UPGRADING.md for details) to the latest and it didn't fix the issue
- I've migrated to the workflow job webhook event (if you using webhook driven scaling)
Resource Definitions
image:
tag: v0.27.1
pullPolicy: Always
actionsMetricsServer:
enabled: trueTo Reproduce
Run `actionsMetricsServer` with a latest imageDescribe the bug
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1420079]
goroutine 15 [running]:
github.com/actions/actions-runner-controller/pkg/actionsmetrics.(*EventReader).fetchAndParseWorkflowJobLogs(0x1583e40?, {0x19d0ed0?, 0xc0001a2000?}, 0xe?)
github.com/actions/actions-runner-controller/pkg/actionsmetrics/event_reader.go:208 +0x59
github.com/actions/actions-runner-controller/pkg/actionsmetrics.(*EventReader).ProcessWorkflowJobEvent(0xc00018abd0, {0x19d0ed0, 0xc0001a2000}, {0x15fa880?, 0xc0005f01b0})
github.com/actions/actions-runner-controller/pkg/actionsmetrics/event_reader.go:139 +0x105b
github.com/actions/actions-runner-controller/pkg/actionsmetrics.(*EventReader).ProcessWorkflowJobEvents(0xc00018abd0, {0x19d0ed0, 0xc0001a2000})
github.com/actions/actions-runner-controller/pkg/actionsmetrics/event_reader.go:44 +0x59
main.main.func1()
github.com/actions/actions-runner-controller/cmd/actionsmetricsserver/main.go:157 +0x6c
created by main.main
github.com/actions/actions-runner-controller/cmd/actionsmetricsserver/main.go:154 +0xdefDescribe the expected behavior
See the metrics
Whole Controller Logs
Controller logs is fineWhole Runner Pod Logs
Runner logs is fineAdditional Context
Related issue: #2309
Reacted by Zane Hala, Taehyun Kim, StevenPJ and DongHo Jung
Activity
[-]Still present random `SIGSEGV segmentation violation` in `action-metric-server` [/-][+]Still present random `SIGSEGV segmentation violation` in `action-metrics-server` [/+]zanehala-wk commentedon Mar 20, 2023
+1, hitting this same issue.
WissemChb commentedon Mar 21, 2023
+1, having the same issue.
dongho-jung commentedon Mar 27, 2023
I had the same issue. So I did some digging and found out that this line's reader.GitHubClient was nil. The reader.GitHubClient is set in the this line. However, in order for this property to be set, the conditions in this line must be met.
Come to think of it, it was strange. I was sure I had set the github_webhook_secret_token, but upon checking, there was no secret called actions-metrics-server. actionsMetricsServer.enabled and actionsMetricsServer.secret.create were definitely true.
After some time, it turned out that the necessary file for creating this secret was missing in the ChartVersion=0.22.0 release.
I checked the last chart app version and you can also download and check actions-runner-controller-0.22.0.tgz
@mumoshu maybe chart version should be updated too?
mumoshu commentedon Mar 30, 2023
Thank you everyone for reporting and @0xF4D3C0D3 for the detailed feedback!
FYI, I've released the new chart version today.
I'll shortly fix the issue and publish the next patch version for the controller.
actions-metrics: Do our best not to fail the whole event processing o…