Skip to content

Conversation

@Forgind
Copy link
Contributor

@Forgind Forgind commented Jan 18, 2025

The previous version apparently extended to:
find . -name *hangdump.dmp -exec cp {} /datadisks/disk1/work/A990088E/w/A95709AA/uploads /

The dmp was at:
/datadisks/disk1/work/A990088E/w/A95709AA/e/c6594614-4208-4b0b-b54d-967fbddc3173/dotnet_26747_20250118T001243_hangdump.dmp

So taking the env var and appending '..' should do the trick.

I'd be interested in seeing where '.' currently is, but I'd rather have this work now than add a pwd call then wait for it to fail again.

Helix file I inspected:
https://helixr1107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-sdk-refs-pull-45880-merge-90fdd365f73d4e9694/dotnet-watch.Tests.dll.1/1/console.9e9600b2.log?helixlogtype=result

The previous version apparently extended to:
find . -name *hangdump.dmp -exec cp {} /datadisks/disk1/work/A990088E/w/A95709AA/uploads /

The dmp was at:
/datadisks/disk1/work/A990088E/w/A95709AA/e/c6594614-4208-4b0b-b54d-967fbddc3173/dotnet_26747_20250118T001243_hangdump.dmp

So taking the env var and appending '..' should do the trick.

I'd be interested in seeing where '.' currently is, but I'd rather have this work now than add a pwd call then wait for it to fail again.
@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Jan 18, 2025
Copy link
Member

@nagilson nagilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good as discussed in triage.

@nagilson
Copy link
Member

If you plan on utilizing this fix in main today, it might be worth porting now.

@Forgind Forgind merged commit b18400f into release/9.0.3xx Jan 21, 2025
31 checks passed
@Forgind Forgind deleted the fix-dmp-copy branch January 21, 2025 22:51
@Forgind
Copy link
Contributor Author

Forgind commented Jan 21, 2025

If you plan on utilizing this fix in main today, it might be worth porting now.

It should work its way forward, and I'd rather have at least a little validation (i.e., something fails in a 2xx build, and we get dumps) before porting everywhere optimistically

@dsplaisted
Copy link
Member

@Forgind Looks like this may still not be working:

+ find /datadisks/disk1/work/A03D08B2/w/9E2508B0/uploads/.. -name *hangdump.dmp -exec cp {} /datadisks/disk1/work/A03D08B2/w/9E2508B0/uploads /
find: missing argument to `-exec'

From https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-sdk-refs-pull-46183-merge-a9954070d559475e84/dotnet-watch.Tests.dll.5/1/console.774f1b97.log?helixlogtype=result, which was from #46183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants