catchpoint / workflow-telemetry-action

Github action to collect metrics (CPU, memory, I/O, etc ...) from your workflows to help you debug and optimize your CI/CD pipeline
Apache License 2.0
292 stars 39 forks source link

Post Collect Telemetry Failed #53

Open moficodes opened 11 months ago

moficodes commented 11 months ago

Hey There,

The post action failed with following error. Any idea what might be causing this?

[Workflow Telemetry] Getting process tracer result from file /home/runner/actions-runner/_work/_actions/catchpoint/workflow-telemetry-action/v1/dist/proc-tracer/proc-trace.out ...
Error: [Workflow Telemetry] Unable to report process tracer result
Error: [Workflow Telemetry] Error
Error: Error: ENOENT: no such file or directory, open '/home/runner/actions-runner/_work/_actions/catchpoint/workflow-telemetry-action/v1/dist/proc-tracer/proc-trace.out'
[Workflow Telemetry] Reporting all content ...
Error: [Workflow Telemetry] Resource not accessible by integration

@jmhbnz FYI.

moficodes commented 11 months ago

Update. The post actually worked. But the error is there. Is that expected?

jmhbnz commented 11 months ago

Looks like this could be related to https://github.com/catchpoint/workflow-telemetry-action/issues/21.

cpuguy83 commented 8 months ago

Came across this action and hit this. Curious why not write to $GITHUB_STEP_SUMMARY?

cpuguy83 commented 8 months ago

Oh yeah I guess it did actually write to the summary but hit this error.

serkan-ozal commented 8 months ago

Hi @moficodes, it seems that the problem is caused by failed process tracer eBPF program internally used by this action to trace process activities from kernel level. Are you using this action on a self hosted runner?

serkan-ozal commented 8 months ago

@moficodes is it also possible to run workflow with debug logs enabled and then share the debug logs?

massongit commented 5 months ago

https://github.com/catchpoint/workflow-telemetry-action/blob/f974e0c5942f8f37973c4cc395704165fbe629ba/src/processTracer.ts#L78-L95

I think the above code causes this error if we run this action with a ARM64 self hosted runner, since the binaries in https://github.com/catchpoint/workflow-telemetry-action/tree/master/dist/proc-tracer are for AMD64.

massongit commented 5 months ago

@serkan-ozal @rwxdash https://github.com/catchpoint/workflow-telemetry-action/blob/f974e0c5942f8f37973c4cc395704165fbe629ba/src/processTracer.ts#L78-L95 Is it possible to build the binaries in https://github.com/catchpoint/workflow-telemetry-action/tree/master/dist/proc-tracer on ARM64 as well as AMD64 and switch them running above depending on the runner's architecture?

massongit commented 2 months ago

@serkan-ozal @rwxdash Is it possible for you to do https://github.com/catchpoint/workflow-telemetry-action/issues/53#issuecomment-2134274517 ?

massongit commented 3 weeks ago

@rwxdash @suleymanbarman @serkan-ozal Is it possible for you to do https://github.com/catchpoint/workflow-telemetry-action/issues/53#issuecomment-2134274517 ?