Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Collect Telemetry Failed #53

Open
moficodes opened this issue Nov 30, 2023 · 9 comments
Open

Post Collect Telemetry Failed #53

moficodes opened this issue Nov 30, 2023 · 9 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@moficodes
Copy link

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
Copy link
Author

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

@jmhbnz
Copy link

jmhbnz commented Nov 30, 2023

Looks like this could be related to #21.

@cpuguy83
Copy link

cpuguy83 commented Feb 9, 2024

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

@cpuguy83
Copy link

cpuguy83 commented Feb 9, 2024

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

@serkan-ozal
Copy link
Member

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
Copy link
Member

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

@serkan-ozal serkan-ozal added help wanted Extra attention is needed question Further information is requested labels Feb 17, 2024
@massongit
Copy link
Contributor

massongit commented May 22, 2024

const child: ChildProcess = spawn(
'sudo',
[
path.join(__dirname, `../proc-tracer/${procTracerBinaryName}`),
'-f',
'json',
'-o',
procTraceOutFilePath
],
{
detached: true,
stdio: 'ignore',
env: {
...process.env
}
}
)
child.unref()

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
Copy link
Contributor

massongit commented May 28, 2024

@serkan-ozal @rwxdash

const child: ChildProcess = spawn(
'sudo',
[
path.join(__dirname, `../proc-tracer/${procTracerBinaryName}`),
'-f',
'json',
'-o',
procTraceOutFilePath
],
{
detached: true,
stdio: 'ignore',
env: {
...process.env
}
}
)
child.unref()

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
Copy link
Contributor

@serkan-ozal @rwxdash Is it possible for you to do #53 (comment) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants