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

Open
mikioh opened this Issue Jun 18, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@mikioh
Contributor

mikioh commented Jun 18, 2015

See http://build.golang.org/log/8f8c15bb002fa2ba25799e34e155095462700a47

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
FAIL
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

@gopherbot

This comment has been minimized.

gopherbot commented Jun 18, 2015

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

mikioh pushed a commit that referenced this issue Jun 19, 2015

Mikio Hara
os: skip TestStartProcess and TestHostname on android
Updates #11268.

Change-Id: Ib0cabd1c1806e884df9e40f6a9a1cdecf2f76823
Reviewed-on: https://go-review.googlesource.com/11223
Reviewed-by: David Crawshaw <crawshaw@golang.org>

@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