self-actuated / vmmeter-action

VM Metering
1 stars 0 forks source link

Post vmmeter action failure: vmmeter port not found #1

Open crobert-1 opened 6 months ago

crobert-1 commented 6 months ago

Hello, we recently started using this action to help run the OpenTelemetry Collector tests on actuated arm builds. Here's a link to the workflow using the vmmeter-action. This action is failing intermittently on the Post operation:

Post Run vmmeter
Post job cleanup.
Error: vmmeter port not found

Example failure link. It looks like this is an error with the vmmeter-action, but please feel free to redirect if I've misunderstood something here. Please let me know if I can provide anymore information that would be helpful.

atoulme commented 6 months ago

From the logging output of the set up phase of the action:

vmmeter pid: 1770

I can deduce that the file '/tmp/vmmeter.port' was never created, and the code to read the file failed for a minute, after which the action gave up.

I would recommend that we make the second timeout modifiable via configuration, increase the default timeout to 5s, and fail if the port cannot be read explicitly.