Bug 1378990 - get stack trace when doing oc new-project on Mac running with macOS 10.12
Summary: get stack trace when doing oc new-project on Mac running with macOS 10.12
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: oc
Version: 3.x
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.x
Assignee: Fabiano Franz
QA Contact: Peter Ruan
URL:
Whiteboard:
Depends On: 1381593
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-23 19:50 UTC by Peter Ruan
Modified: 2017-02-16 22:12 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Binaries compiled with Golang versions prior to 1.7 will segfault most of the times in macOS Sierra (10.12) given incompatibilities between the Go syscall wrappers and Darwin. Consequence: Users of the OpenShift command-line tools ('oc', 'oadm', and others) in macOS Sierra (10.12) get a stack trace in the attempt of running commands. Fix: The Go 1.7 fix was backported by the go-tools team to Go 1.6 which was then used to compile our command-line tools in this release. Result: Users of the OpenShift command-line tools can use it normally in macOS Sierra (10.12).
Clone Of:
Environment:
Last Closed: 2017-02-16 22:12:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1380544 0 medium CLOSED OpenShift v3.3 MacOSX Client fails after Mac OSX update to Sierra 2021-02-22 00:41:40 UTC

Internal Links: 1380544

Description Peter Ruan 2016-09-23 19:50:17 UTC
Description of problem:
  I get a stack-trace when doing oc new-project on Mac running with 10.12

Version-Release number of selected component (if applicable):
$ oc version                                        [ruby-2.3.0]
oc v1.3.0
kubernetes v1.3.0+52492b4
features: Basic-Auth

Server https://ec2-52-90-253-219.compute-1.amazonaws.com:8443
openshift v1.4.0-alpha.0+8134786
kubernetes v1.4.0-beta.3+d19513f

How reproducible:
intermittent 

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
      [19:43:31] INFO> Shell Commands: oc new-project wgoq3 --config=/Users/pruan/workdir/dhcp-16-164-pruan/ose_auto1.kubeconfig
      fatal error: unexpected signal during runtime execution
      [signal 0xb code=0x1 addr=0x3ceb6adb5f00 pc=0xf59b]

      runtime stack:
      runtime.throw(0x276dee0, 0x2a)
      	/usr/local/go/src/runtime/panic.go:547 +0x90
      runtime.sigpanic()
      	/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a
      runtime.unlock(0x384a160)
      	/usr/local/go/src/runtime/lock_sema.go:107 +0x14b
      runtime.(*mheap).alloc_m(0x384a160, 0x1, 0x10000000007, 0x3f8a850)
      	/usr/local/go/src/runtime/mheap.go:492 +0x314
      runtime.(*mheap).alloc.func1()
      	/usr/local/go/src/runtime/mheap.go:502 +0x41
      runtime.systemstack(0xc820499e58)
      	/usr/local/go/src/runtime/asm_amd64.s:307 +0xab
      runtime.(*mheap).alloc(0x384a160, 0x1, 0x10000000007, 0xf23f)
      	/usr/local/go/src/runtime/mheap.go:503 +0x63
      runtime.(*mcentral).grow(0x384b740, 0x0)
      	/usr/local/go/src/runtime/mcentral.go:209 +0x93
      runtime.(*mcentral).cacheSpan(0x384b740, 0xc8204de770)
      	/usr/local/go/src/runtime/mcentral.go:89 +0x47d
      runtime.(*mcache).refill(0x3f244b0, 0xc800000007, 0xc8206d4858)
      	/usr/local/go/src/runtime/mcache.go:119 +0xcc
      runtime.mallocgc.func2()
      	/usr/local/go/src/runtime/malloc.go:642 +0x2b
      runtime.systemstack(0xc820026000)
      	/usr/local/go/src/runtime/asm_amd64.s:291 +0x79
      runtime.mstart()
      	/usr/local/go/src/runtime/proc.go:1051

      goroutine 1 [running]:
      runtime.systemstack_switch()
      	/usr/local/go/src/runtime/asm_amd64.s:245 fp=0xc8206d4180 sp=0xc8206d4178
      runtime.mallocgc(0x60, 0x22118a0, 0x0, 0xc8207ad8c0)
      	/usr/local/go/src/runtime/malloc.go:643 +0x869 fp=0xc8206d4258 sp=0xc8206d4180
      runtime.newobject(0x22118a0, 0x7)
      	/usr/local/go/src/runtime/malloc.go:781 +0x42 fp=0xc8206d4280 sp=0xc8206d4258
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).mapping(0xc8207ad8c0, 0xc8207ddf80)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:176 +0x45 fp=0xc8206d4358 sp=0xc8206d4280
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0xc8207ddf80)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:112 +0x170 fp=0xc8206d43b8 sp=0xc8206d4358
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).mapping(0xc8207ad8c0, 0xc8207ddb00)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:180 +0x1d0 fp=0xc8206d4490 sp=0xc8206d43b8
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:112 +0x170 fp=0xc8206d44f0 sp=0xc8206d4490
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).sequence(0xc8207ad8c0, 0xc8207dda40)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:169 +0x1b1 fp=0xc8206d45c0 sp=0xc8206d44f0
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0xc8207dda40)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:114 +0x14e fp=0xc8206d4620 sp=0xc8206d45c0
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).mapping(0xc8207ad8c0, 0x1444b52)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:180 +0x1d0 fp=0xc8206d46f8 sp=0xc8206d4620
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:112 +0x170 fp=0xc8206d4758 sp=0xc8206d46f8
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).document(0xc8207ad8c0, 0xc8206d4818)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:139 +0x128 fp=0xc8206d47f0 sp=0xc8206d4758
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0x2adc208)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:116 +0x50 fp=0xc8206d4850 sp=0xc8206d47f0
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.Unmarshal(0xc820276500, 0x373, 0x4a8, 0x19dbb60, 0xc8206bbcf0, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/yaml.go:84 +0x193 fp=0xc8206d48f8 sp=0xc8206d4850
      github.com/openshift/origin/vendor/github.com/ghodss/yaml.JSONToYAML(0xc820276500, 0x373, 0x4a8, 0x0, 0x0, 0x0, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/ghodss/yaml/yaml.go:54 +0x9a fp=0xc8206d4960 sp=0xc8206d48f8
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/json.(*Serializer).Encode(0xc82000aa40, 0x3f7c458, 0xc8200bce70, 0x3f80ca0, 0xc82032fe30, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/json/json.go:171 +0xea fp=0xc8206d4a60 sp=0xc8206d4960
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/versioning.(*codec).Encode(0xc82016a580, 0x3fc2c60, 0xc8207dcde0, 0x3f80ca0, 0xc82032fe30, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/versioning/versioning.go:192 +0xd73 fp=0xc8206d4d90 sp=0xc8206d4a60
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime.Encode(0x3f86478, 0xc82016a580, 0x3fc2c60, 0xc8207dcde0, 0x0, 0x0, 0x0, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/codec.go:46 +0xce fp=0xc8206d4df0 sp=0xc8206d4d90
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd.Write(0x0, 0x0, 0x0, 0x0, 0x300, 0xc8207bf6b0, 0xc8207e2030, 0xc8207e2150, 0xc8207e22a0, 0xc8207cd9c0, ...)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd/loader.go:422 +0xfd fp=0xc8206d4e68 sp=0xc8206d4df0
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd.WriteToFile(0x0, 0x0, 0x0, 0x0, 0x300, 0xc8207bf6b0, 0xc8207e2030, 0xc8207e2150, 0xc8207e22a0, 0xc8207cd9c0, ...)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd/loader.go:377 +0x46 fp=0xc8206d4f50 sp=0xc8206d4e68
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd.ModifyConfig(0x3f85e50, 0xc8202c13b0, 0x0, 0x0, 0x0, 0x0, 0xc820523300, 0xc820693a70, 0xc820693aa0, 0xc820693ad0, ...)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd/config.go:241 +0x10b4 fp=0xc8206d53a0 sp=0xc8206d4f50
      github.com/openshift/origin/pkg/cmd/cli/cmd.ProjectOptions.RunProject(0x0, 0x0, 0x0, 0x0, 0xc820523300, 0xc820693a70, 0xc820693aa0, 0xc820693ad0, 0xc820693b00, 0xc820303700, ...)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/cmd/cli/cmd/project.go:244 +0xdf0 fp=0xc8206d5a28 sp=0xc8206d53a0
      github.com/openshift/origin/pkg/cmd/cli/cmd.(*NewProjectOptions).Run(0xc82009b180, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/cmd/cli/cmd/request_project.go:133 +0x385 fp=0xc8206d5bf0 sp=0xc8206d5a28
      github.com/openshift/origin/pkg/cmd/cli/cmd.NewCmdRequestProject.func1(0xc82057cd80, 0xc820696f00, 0x1, 0x2)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/cmd/cli/cmd/request_project.go:71 +0x10f fp=0xc8206d5c78 sp=0xc8206d5bf0
      github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).execute(0xc82057cd80, 0xc820696da0, 0x2, 0x2, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:603 +0x896 fp=0xc8206d5d90 sp=0xc8206d5c78
      github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc820558d80, 0xc82057cd80, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:689 +0x55c fp=0xc8206d5ea0 sp=0xc8206d5d90
      github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).Execute(0xc820558d80, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:648 +0x2d fp=0xc8206d5ec8 sp=0xc8206d5ea0
      main.main()
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/oc/oc.go:29 +0x180 fp=0xc8206d5f30 sp=0xc8206d5ec8
      runtime.main()
      	/usr/local/go/src/runtime/proc.go:188 +0x2b0 fp=0xc8206d5f80 sp=0xc8206d5f30
      runtime.goexit()
      	/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8206d5f88 sp=0xc8206d5f80

      goroutine 5 [chan receive]:
      github.com/openshift/origin/vendor/github.com/golang/glog.(*loggingT).flushDaemon(0x3840940)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/golang/glog/glog.go:879 +0x67
      created by github.com/openshift/origin/vendor/github.com/golang/glog.init.1
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/golang/glog/glog.go:410 +0x297

      goroutine 7 [syscall]:
      os/signal.signal_recv(0x0)
      	/usr/local/go/src/runtime/sigqueue.go:116 +0x132
      os/signal.loop()
      	/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
      created by os/signal.init.1
      	/usr/local/go/src/os/signal/signal_unix.go:28 +0x37

      goroutine 52 [IO wait]:
      net.runtime_pollWait(0x3f87660, 0x72, 0xc82051c000)
      	/usr/local/go/src/runtime/netpoll.go:160 +0x60
      net.(*pollDesc).Wait(0xc8201fcd80, 0x72, 0x0, 0x0)
      	/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
      net.(*pollDesc).WaitRead(0xc8201fcd80, 0x0, 0x0)
      	/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
      net.(*netFD).Read(0xc8201fcd20, 0xc82051c000, 0x1000, 0x1000, 0x0, 0x3f74050, 0xc8200102a0)
      	/usr/local/go/src/net/fd_unix.go:250 +0x23a
      net.(*conn).Read(0xc82008a2a0, 0xc82051c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
      	/usr/local/go/src/net/net.go:172 +0xe4
      crypto/tls.(*block).readFromUntil(0xc8206c2a20, 0x3f87908, 0xc82008a2a0, 0x5, 0x0, 0x0)
      	/usr/local/go/src/crypto/tls/conn.go:460 +0xcc
      crypto/tls.(*Conn).readRecord(0xc8204da300, 0x2adfb17, 0x0, 0x0)
      	/usr/local/go/src/crypto/tls/conn.go:562 +0x2d1
      crypto/tls.(*Conn).Read(0xc8204da300, 0xc8205dd000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
      	/usr/local/go/src/crypto/tls/conn.go:939 +0x167
      net/http.noteEOFReader.Read(0x3f8bd68, 0xc8204da300, 0xc8206c0548, 0xc8205dd000, 0x1000, 0x1000, 0x4e73, 0x0, 0x0)
      	/usr/local/go/src/net/http/transport.go:1690 +0x67
      net/http.(*noteEOFReader).Read(0xc8206a2d80, 0xc8205dd000, 0x1000, 0x1000, 0xc8204f1d0d, 0x0, 0x0)
      	<autogenerated>:284 +0xd0
      bufio.(*Reader).fill(0xc82069c540)
      	/usr/local/go/src/bufio/bufio.go:97 +0x1e9
      bufio.(*Reader).Peek(0xc82069c540, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
      	/usr/local/go/src/bufio/bufio.go:132 +0xcc
      net/http.(*persistConn).readLoop(0xc8206c04e0)
      	/usr/local/go/src/net/http/transport.go:1076 +0x177
      created by net/http.(*Transport).dialConn
      	/usr/local/go/src/net/http/transport.go:860 +0x10a6

      goroutine 53 [select]:
      net/http.(*persistConn).writeLoop(0xc8206c04e0)
      	/usr/local/go/src/net/http/transport.go:1280 +0x472
      created by net/http.(*Transport).dialConn
      	/usr/local/go/src/net/http/transport.go:861 +0x10cb


      [19:43:32] INFO> Exit Status: 512
      [19:43:32] ERROR> fatal error: unexpected signal during runtime execution
      [signal 0xb code=0x1 addr=0x3ceb6adb5f00 pc=0xf59b]

      runtime stack:
      runtime.throw(0x276dee0, 0x2a)
      	/usr/local/go/src/runtime/panic.go:547 +0x90
      runtime.sigpanic()
      	/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a
      runtime.unlock(0x384a160)
      	/usr/local/go/src/runtime/lock_sema.go:107 +0x14b
      runtime.(*mheap).alloc_m(0x384a160, 0x1, 0x10000000007, 0x3f8a850)
      	/usr/local/go/src/runtime/mheap.go:492 +0x314
      runtime.(*mheap).alloc.func1()
      	/usr/local/go/src/runtime/mheap.go:502 +0x41
      runtime.systemstack(0xc820499e58)
      	/usr/local/go/src/runtime/asm_amd64.s:307 +0xab
      runtime.(*mheap).alloc(0x384a160, 0x1, 0x10000000007, 0xf23f)
      	/usr/local/go/src/runtime/mheap.go:503 +0x63
      runtime.(*mcentral).grow(0x384b740, 0x0)
      	/usr/local/go/src/runtime/mcentral.go:209 +0x93
      runtime.(*mcentral).cacheSpan(0x384b740, 0xc8204de770)
      	/usr/local/go/src/runtime/mcentral.go:89 +0x47d
      runtime.(*mcache).refill(0x3f244b0, 0xc800000007, 0xc8206d4858)
      	/usr/local/go/src/runtime/mcache.go:119 +0xcc
      runtime.mallocgc.func2()
      	/usr/local/go/src/runtime/malloc.go:642 +0x2b
      runtime.systemstack(0xc820026000)
      	/usr/local/go/src/runtime/asm_amd64.s:291 +0x79
      runtime.mstart()
      	/usr/local/go/src/runtime/proc.go:1051

      goroutine 1 [running]:
      runtime.systemstack_switch()
      	/usr/local/go/src/runtime/asm_amd64.s:245 fp=0xc8206d4180 sp=0xc8206d4178
      runtime.mallocgc(0x60, 0x22118a0, 0x0, 0xc8207ad8c0)
      	/usr/local/go/src/runtime/malloc.go:643 +0x869 fp=0xc8206d4258 sp=0xc8206d4180
      runtime.newobject(0x22118a0, 0x7)
      	/usr/local/go/src/runtime/malloc.go:781 +0x42 fp=0xc8206d4280 sp=0xc8206d4258
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).mapping(0xc8207ad8c0, 0xc8207ddf80)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:176 +0x45 fp=0xc8206d4358 sp=0xc8206d4280
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0xc8207ddf80)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:112 +0x170 fp=0xc8206d43b8 sp=0xc8206d4358
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).mapping(0xc8207ad8c0, 0xc8207ddb00)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:180 +0x1d0 fp=0xc8206d4490 sp=0xc8206d43b8
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:112 +0x170 fp=0xc8206d44f0 sp=0xc8206d4490
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).sequence(0xc8207ad8c0, 0xc8207dda40)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:169 +0x1b1 fp=0xc8206d45c0 sp=0xc8206d44f0
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0xc8207dda40)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:114 +0x14e fp=0xc8206d4620 sp=0xc8206d45c0
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).mapping(0xc8207ad8c0, 0x1444b52)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:180 +0x1d0 fp=0xc8206d46f8 sp=0xc8206d4620
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:112 +0x170 fp=0xc8206d4758 sp=0xc8206d46f8
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).document(0xc8207ad8c0, 0xc8206d4818)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:139 +0x128 fp=0xc8206d47f0 sp=0xc8206d4758
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.(*parser).parse(0xc8207ad8c0, 0x2adc208)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/decode.go:116 +0x50 fp=0xc8206d4850 sp=0xc8206d47f0
      github.com/openshift/origin/vendor/gopkg.in/yaml%2ev2.Unmarshal(0xc820276500, 0x373, 0x4a8, 0x19dbb60, 0xc8206bbcf0, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/gopkg.in/yaml.v2/yaml.go:84 +0x193 fp=0xc8206d48f8 sp=0xc8206d4850
      github.com/openshift/origin/vendor/github.com/ghodss/yaml.JSONToYAML(0xc820276500, 0x373, 0x4a8, 0x0, 0x0, 0x0, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/ghodss/yaml/yaml.go:54 +0x9a fp=0xc8206d4960 sp=0xc8206d48f8
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/json.(*Serializer).Encode(0xc82000aa40, 0x3f7c458, 0xc8200bce70, 0x3f80ca0, 0xc82032fe30, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/json/json.go:171 +0xea fp=0xc8206d4a60 sp=0xc8206d4960
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/versioning.(*codec).Encode(0xc82016a580, 0x3fc2c60, 0xc8207dcde0, 0x3f80ca0, 0xc82032fe30, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/versioning/versioning.go:192 +0xd73 fp=0xc8206d4d90 sp=0xc8206d4a60
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime.Encode(0x3f86478, 0xc82016a580, 0x3fc2c60, 0xc8207dcde0, 0x0, 0x0, 0x0, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/codec.go:46 +0xce fp=0xc8206d4df0 sp=0xc8206d4d90
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd.Write(0x0, 0x0, 0x0, 0x0, 0x300, 0xc8207bf6b0, 0xc8207e2030, 0xc8207e2150, 0xc8207e22a0, 0xc8207cd9c0, ...)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd/loader.go:422 +0xfd fp=0xc8206d4e68 sp=0xc8206d4df0
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd.WriteToFile(0x0, 0x0, 0x0, 0x0, 0x300, 0xc8207bf6b0, 0xc8207e2030, 0xc8207e2150, 0xc8207e22a0, 0xc8207cd9c0, ...)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd/loader.go:377 +0x46 fp=0xc8206d4f50 sp=0xc8206d4e68
      github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd.ModifyConfig(0x3f85e50, 0xc8202c13b0, 0x0, 0x0, 0x0, 0x0, 0xc820523300, 0xc820693a70, 0xc820693aa0, 0xc820693ad0, ...)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/client/unversioned/clientcmd/config.go:241 +0x10b4 fp=0xc8206d53a0 sp=0xc8206d4f50
      github.com/openshift/origin/pkg/cmd/cli/cmd.ProjectOptions.RunProject(0x0, 0x0, 0x0, 0x0, 0xc820523300, 0xc820693a70, 0xc820693aa0, 0xc820693ad0, 0xc820693b00, 0xc820303700, ...)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/cmd/cli/cmd/project.go:244 +0xdf0 fp=0xc8206d5a28 sp=0xc8206d53a0
      github.com/openshift/origin/pkg/cmd/cli/cmd.(*NewProjectOptions).Run(0xc82009b180, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/cmd/cli/cmd/request_project.go:133 +0x385 fp=0xc8206d5bf0 sp=0xc8206d5a28
      github.com/openshift/origin/pkg/cmd/cli/cmd.NewCmdRequestProject.func1(0xc82057cd80, 0xc820696f00, 0x1, 0x2)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/cmd/cli/cmd/request_project.go:71 +0x10f fp=0xc8206d5c78 sp=0xc8206d5bf0
      github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).execute(0xc82057cd80, 0xc820696da0, 0x2, 0x2, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:603 +0x896 fp=0xc8206d5d90 sp=0xc8206d5c78
      github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc820558d80, 0xc82057cd80, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:689 +0x55c fp=0xc8206d5ea0 sp=0xc8206d5d90
      github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).Execute(0xc820558d80, 0x0, 0x0)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:648 +0x2d fp=0xc8206d5ec8 sp=0xc8206d5ea0
      main.main()
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/oc/oc.go:29 +0x180 fp=0xc8206d5f30 sp=0xc8206d5ec8
      runtime.main()
      	/usr/local/go/src/runtime/proc.go:188 +0x2b0 fp=0xc8206d5f80 sp=0xc8206d5f30
      runtime.goexit()
      	/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8206d5f88 sp=0xc8206d5f80

      goroutine 5 [chan receive]:
      github.com/openshift/origin/vendor/github.com/golang/glog.(*loggingT).flushDaemon(0x3840940)
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/golang/glog/glog.go:879 +0x67
      created by github.com/openshift/origin/vendor/github.com/golang/glog.init.1
      	/go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/golang/glog/glog.go:410 +0x297

      goroutine 7 [syscall]:
      os/signal.signal_recv(0x0)
      	/usr/local/go/src/runtime/sigqueue.go:116 +0x132
      os/signal.loop()
      	/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
      created by os/signal.init.1
      	/usr/local/go/src/os/signal/signal_unix.go:28 +0x37

      goroutine 52 [IO wait]:
      net.runtime_pollWait(0x3f87660, 0x72, 0xc82051c000)
      	/usr/local/go/src/runtime/netpoll.go:160 +0x60
      net.(*pollDesc).Wait(0xc8201fcd80, 0x72, 0x0, 0x0)
      	/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
      net.(*pollDesc).WaitRead(0xc8201fcd80, 0x0, 0x0)
      	/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
      net.(*netFD).Read(0xc8201fcd20, 0xc82051c000, 0x1000, 0x1000, 0x0, 0x3f74050, 0xc8200102a0)
      	/usr/local/go/src/net/fd_unix.go:250 +0x23a
      net.(*conn).Read(0xc82008a2a0, 0xc82051c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
      	/usr/local/go/src/net/net.go:172 +0xe4
      crypto/tls.(*block).readFromUntil(0xc8206c2a20, 0x3f87908, 0xc82008a2a0, 0x5, 0x0, 0x0)
      	/usr/local/go/src/crypto/tls/conn.go:460 +0xcc
      crypto/tls.(*Conn).readRecord(0xc8204da300, 0x2adfb17, 0x0, 0x0)
      	/usr/local/go/src/crypto/tls/conn.go:562 +0x2d1
      crypto/tls.(*Conn).Read(0xc8204da300, 0xc8205dd000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
      	/usr/local/go/src/crypto/tls/conn.go:939 +0x167
      net/http.noteEOFReader.Read(0x3f8bd68, 0xc8204da300, 0xc8206c0548, 0xc8205dd000, 0x1000, 0x1000, 0x4e73, 0x0, 0x0)
      	/usr/local/go/src/net/http/transport.go:1690 +0x67
      net/http.(*noteEOFReader).Read(0xc8206a2d80, 0xc8205dd000, 0x1000, 0x1000, 0xc8204f1d0d, 0x0, 0x0)
      	<autogenerated>:284 +0xd0
      bufio.(*Reader).fill(0xc82069c540)
      	/usr/local/go/src/bufio/bufio.go:97 +0x1e9
      bufio.(*Reader).Peek(0xc82069c540, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
      	/usr/local/go/src/bufio/bufio.go:132 +0xcc
      net/http.(*persistConn).readLoop(0xc8206c04e0)
      	/usr/local/go/src/net/http/transport.go:1076 +0x177
      created by net/http.(*Transport).dialConn
      	/usr/local/go/src/net/http/transport.go:860 +0x10a6

      goroutine 53 [select]:
      net/http.(*persistConn).writeLoop(0xc8206c04e0)
      	/usr/local/go/src/net/http/transport.go:1280 +0x472
      created by net/http.(*Transport).dialConn
      	/usr/local/go/src/net/http/transport.go:861 +0x10cb

      unable to create project, see log (RuntimeError)
      /Users/pruan/workspace/cucushift/features/step_definitions/project.rb:21:in `/^I have a project$/'
      features/rest/user_scope.feature:5:in `Given I have a project'

Comment 1 Abhishek Gupta 2016-09-23 21:29:18 UTC
Marking this as UpcomingRelease as this is not a blocker and not a regression.

Comment 2 Peter Ruan 2016-09-23 21:32:53 UTC
 I'm thinking it's some OS related issue with oc. since I didn't see that prior to the OS upgrade of the MacOS.

Comment 3 Juan Vallejo 2016-09-26 13:54:20 UTC
(In reply to Peter Ruan from comment #2)
>  I'm thinking it's some OS related issue with oc. since I didn't see that
> prior to the OS upgrade of the MacOS.

I think this is likely to be the case. This thread[1] suggests downloading "go1.7rc5" as it contains a few fixes for mac. Could you try using rc5[2] and reporting back if it fixes this issue?

[1] https://groups.google.com/forum/#!topic/golang-nuts/XaVT6fi1g30
[2] https://golang.org/dl/#go1.7rc5

Comment 4 Juan Vallejo 2016-09-26 14:14:55 UTC
Related github issue: https://github.com/openshift/origin/issues/11085

Comment 5 Fabiano Franz 2016-10-07 17:47:24 UTC
There's a pre-release version of atomic-openshift-clients-redistributable build with a patched version of Go that might fix the macOS Sierra issue.

This is not yet the final fix, but we need some help from QE to test this on Mac. Here follows the information from the go-tools team:

"I haven't tested on older releases of macOS/OSX. I would much appreciate if someone could test it on all versions of macOS/OSX you are targeting.
I have built with patched go latest redistributables from atomic-openshift http://file.brq.redhat.com/jcajka/atomic-openshift-clients-redistributable-3.3.1.1-1.git.0.629a1d8.el7.x86_64.rpm  and also prepared internal repo with patched Go https://copr.devel.redhat.com/coprs/jcajka/golang1.6-macos-backport/."

Comment 6 XiaochuanWang 2016-10-09 06:03:50 UTC
According to comment 2, this is tested by same env and client as bug https://bugzilla.redhat.com/show_bug.cgi?id=1380544.
The step is also covered by bug 1380544.

Tested on on macOS Sierra version 10.12
OC client from Comment 5 rpm package: http://file.brq.redhat.com/jcajka/atomic-openshift-clients-redistributable-3.3.1.1-1.git.0.629a1d8.el7.x86_64.rpm

$ ./oc version
oc v3.3.1.1
kubernetes v1.3.0+52492b4
features: Basic-Auth

Server https://xxx:8443
openshift v3.3.1.1
kubernetes v1.3.0+52492b4

Steps:
oc new-project xiaocwan-t
oc run hello --image=openshift/hello-openshift
oc get pod
oc edit dc/hello
oc deploy hello --latest
oc get pod
oc delete dc hello
oc get pod

Not reproduced on above client version, could Dev help to confirm the client package and the steps, if there's no problem, QE will change the status to Verified.

Comment 7 Peter Ruan 2016-10-13 02:29:21 UTC
Running oc version
oc v3.3.1.1
kubernetes v1.3.0+52492b4

I didn't experience any traceback.  Marking bug as verified.


Note You need to log in before you can comment on or make changes to this bug.