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

os: TestStartProcess and TestHostname fail on android #11268

mikioh opened this issue Jun 18, 2015 · 1 comment

os: TestStartProcess and TestHostname fail on android #11268

mikioh opened this issue Jun 18, 2015 · 1 comment


Copy link

@mikioh mikioh commented Jun 18, 2015


go_android_exec: adb shell mkdir -p /data/local/tmp/os.test-7203
go_android_exec: adb push /tmp/go-build611040176/os/_test/os.test /data/local/tmp/os.test-7203/os.test-7203-tmp
199 KB/s (2565204 bytes in 12.544s)
go_android_exec: adb shell cp '/data/local/tmp/os.test-7203/os.test-7203-tmp' '/data/local/tmp/os.test-7203/os.test-7203'
go_android_exec: adb shell rm '/data/local/tmp/os.test-7203/os.test-7203-tmp'
go_android_exec: adb shell export TMPDIR="/data/local/tmp/os.test-7203"; export GOROOT="/data/local/tmp/goroot"; export GOPATH="/data/local/tmp/gopath"; cd "/data/local/tmp/goroot/src/os"; '/data/local/tmp/os.test-7203/os.test-7203' -test.short=true -test.timeout=4m0s; echo -n exitcode=$?
--- FAIL: TestStartProcess (0.00s)
    os_test.go:780: StartProcess: fork/exec /bin/pwd: no such file or directory
--- FAIL: TestHostname (0.01s)
    os_test.go:1210: fork/exec /bin/hostname: no such file or directory
exitcode=1go_android_exec: adb shell rm -rf /data/local/tmp/os.test-7203
FAIL    os  13.867s

There needs to have some proper access methods to android-specific system properties.

@mikioh mikioh added this to the Go1.6 milestone Jun 18, 2015

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jun 18, 2015

CL mentions this issue.

mikioh pushed a commit that referenced this issue Jun 19, 2015
Updates #11268.

Change-Id: Ib0cabd1c1806e884df9e40f6a9a1cdecf2f76823
Reviewed-by: David Crawshaw <>
@mikioh mikioh added the OS-Android label Jun 19, 2015
@rsc rsc modified the milestones: Unplanned, Go1.6 Nov 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.