You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather unsatisfactorily, I rebooted the android device. The os/exec test passes in 2.2s now (instead of 22s). It is also failing to fail on TestPipeLookPathLeak.
As the test itself includes a time.Sleep loop, I suspect the device simply became slow enough to make the test flaky.
It's not clear why the device became flaky. It was a couple of months since a reboot, but top showed no active processes and ps didn't reveal any cruft. None of the temporary directories appeared to be full.
Keeping the issue open for now just in case some evidence appears.
I believe this is because the lsof command on Android ignores the -p option (used to select only info on a specified pid). The test simply compares the line count of the lsof output at the beginning and end of the test and if they differ, it assumes fd leaks.
The text was updated successfully, but these errors were encountered: