[Bug 1565978] [NEW] ISST-LTE:pVM: golang does not support huge amount (>256) CPUs machines (as E870)

Launchpad Bug Tracker 1565978 at bugs.launchpad.net
Mon Apr 4 20:06:28 UTC 2016


You have been subscribed to a public bug:

Docker and golang packages are not able to run on e870 machine due to a
lot of CPU on these machines.

The current machine has 400 CPUs and shows the following error:

runtime stack:
runtime.throw(0x654c60, 0x17)
        /usr/lib/go/src/runtime/panic.go:530 +0x8c
runtime.procresize(0x190, 0x0)
        /usr/lib/go/src/runtime/proc.go:3158 +0xbd4
runtime.schedinit()
        /usr/lib/go/src/runtime/proc.go:452 +0x140
runtime.rt0_go(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x3fffd512de59, ...)
        /usr/lib/go/src/runtime/asm_ppc64x.s:72 +0xac
/var/lib/dpkg/info/golang-go.postinst: line 18: 100 +  : syntax error: operand expected (error token is "+  ")
dpkg: error processing package golang-go (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of golang-doc:
 golang-doc depends on golang-go; however:
  Package golang-go is not configured yet.

dpkg: error processing package golang-doc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of golang:
 golang depends on golang-doc (>= 2:1.6-1ubuntu1); however:
  Package golang-doc is not configured yet.
 golang depends on golang-go (>= 2:1.6-1ubuntu1); however:
  Package golang-go is not configured yet.

dpkg: error processing package golang (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                      Errors were encountered while processing:
 golang-go
 golang-doc
 golang
E: Sub-process /usr/bin/dpkg returned an error code (1)

Looking at the code I see:

_MaxGomaxprocs = 1 << 8

        if old < 0 || old > _MaxGomaxprocs || nprocs <= 0 || nprocs > _MaxGomaxprocs {
                throw("procresize: invalid arg")
        }

If I decrease the amount of CPU to < 256, I don't see a problem.

** Affects: golang-1.6 (Ubuntu)
     Importance: Undecided
     Assignee: Michael Hudson-Doyle (mwhudson)
         Status: New


** Tags: architecture-ppc64le bugnameltc-139450 severity-high targetmilestone-inin---
-- 
ISST-LTE:pVM: golang does not support huge amount (>256)  CPUs machines (as E870)
https://bugs.launchpad.net/bugs/1565978
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to golang-1.6 in Ubuntu.



More information about the foundations-bugs mailing list