Closed cdhunt closed 1 year ago
Hi, sorry to hear that.
Can you share the dd-trace
logs to check what's causing the hang. If you cannot share it due to sensitive data you can open a support ticket with the zip file.
To extract the logs from the github action
you can do the following steps before running the dd-trace
command:
DD_TRACE_DEBUG
environment variable to true
. (Sample)dd-trace
tool, by running: https://github.com/tonyredondo/HeavyTest/blob/6897c91d5161d951c91dd6824950d7e0be94979e/.github/workflows/dotnet.yml#L33-L36After the dd-trace
command execution ensure to upload the logs as an artifact by using:
https://github.com/tonyredondo/HeavyTest/blob/6897c91d5161d951c91dd6824950d7e0be94979e/.github/workflows/dotnet.yml#L53-L57
Run the action and download the zip folder with the logs from the Summary tab.
Because it is getting stuck you can use the timeout-minutes
limit in the dd-trace
step to cancel it.
Closing this as no response, feel free to reopen if you still have the issue!
Describe the bug
We are attempting to use
dd-trace
to instrument xunit tests in dotnet in a GitHub Actions Ubuntu 20.04 runner. This has worked perfectly for us in CircleCI, but in GitHub Actions, the task gets stuck when invokingdd-trace ci run
. There is no output, even with debugging enabled. The task just hangs indefinitely. It works fine running locally on MacOS as well.To Reproduce Steps to reproduce the behavior:
Expected behavior Should run
dotnet test
Runtime environment (please complete the following information):
Additional context It works after downgrading to version 2.22.