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

runtime: TestCgoPprof leaves profiling data files in TMPDIR #15541

Closed
0xmohit opened this issue May 4, 2016 · 1 comment
Closed

runtime: TestCgoPprof leaves profiling data files in TMPDIR #15541

0xmohit opened this issue May 4, 2016 · 1 comment
Milestone

Comments

@0xmohit
Copy link
Contributor

0xmohit commented May 4, 2016

  • What version of Go are you using (go version)?

    go version devel +0f84afe Wed May 4 17:46:37 2016 +0000 linux/amd64
    
  • What operating system and processor architecture are you using (go env)?

    ubuntu 15.10; 64-bit
    
  • What did you do?

    Run all.bash

  • What did you expect to see?

    Everything pass; clean TMPDIR

  • What did you see instead?

    The test passes, but leaves a number of files in /tmp:

-rw------- 1 mohit mohit  128 May  4 23:49 prof083001001
-rw------- 1 mohit mohit  128 May  4 23:50 prof276958859
-rw------- 1 mohit mohit  128 May  4 23:50 prof020665928
-rw------- 1 mohit mohit  128 May  4 23:51 prof019212206

It'd be nice to clean those up.


Shorter repro:

go test -x -v -run=CgoPprof runtime
@gopherbot
Copy link

CL https://golang.org/cl/22783 mentions this issue.

@bradfitz bradfitz added this to the Go1.7 milestone May 4, 2016
@golang golang locked and limited conversation to collaborators May 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants