Public bug reported:

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: ubuntu
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-139450 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-139450 severity-high
targetmilestone-inin---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1565978

Title:
  ISST-LTE:pVM: golang does not support huge amount (>256)  CPUs
  machines (as E870)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1565978/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to