[Bug 1565978] Comment bridged from LTC Bugzilla

bugproxy bugproxy at us.ibm.com
Sat Apr 9 11:49:44 UTC 2016


------- Comment From manjuhr1 at in.ibm.com 2016-04-09 07:41 EDT-------
Hi (In reply to comment #15)
> This bug was fixed in the package golang-1.6 - 1.6-0ubuntu5
>
> ---------------
> golang-1.6 (1.6-0ubuntu5) xenial; urgency=medium
>
> * Fix GOVER calculation in debian/rules to only pull out MAJOR.MINOR.
> * Two patches backported from upstream tip:
> - d/patches/0002-maxcpus-fix.patch (LP: #1565978)
> - d/patches/0003-crypto-dsa-eliminate-invalid-PublicKey-early.patch
>
> -- Michael Hudson-Doyle <michael.hudson at ubuntu.com>  Fri, 08 Apr 2016
> 13:54:12 +1200

Hello,

docker .io installation fails with golang-1.6-0ubuntu5 :

root at dockerlp1:~# dpkg -l |grep golang-1.6 | awk -F' ' '{print $1 "\t" $2 "\t" $3}'
ii      golang-1.6      1.6-0ubuntu5
ii      golang-1.6-doc  1.6-0ubuntu5
ii      golang-1.6-go   1.6-0ubuntu5
ii      golang-1.6-src  1.6-0ubuntu5

root at dockerlp1:~# apt-get install docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
aufs-tools lxc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
docker.io
0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded.
Need to get 0 B/7,981 kB of archives.
After this operation, 44.6 MB of additional disk space will be used.
Selecting previously unselected package docker.io.
(Reading database ... 104201 files and directories currently installed.)
Preparing to unpack .../docker.io_1.10.3-0ubuntu4_ppc64el.deb ...
Unpacking docker.io (1.10.3-0ubuntu4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-3ubuntu2) ...
Setting up docker.io (1.10.3-0ubuntu4) ...
addgroup: The group `docker' already exists as a system group. Exiting.
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
dpkg: error processing package docker.io (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-3ubuntu2) ...
Errors were encountered while processing:
docker.io
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at dockerlp1:~#
root at dockerlp1:~#
root at dockerlp1:~# systemctl status docker.service
? docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2016-04-09 06:35:25 CDT; 5s ago
Docs: https://docs.docker.com
Main PID: 13778 (code=exited, status=2)

Apr 09 06:35:25 dockerlp1 docker[13778]: runtime.procresize(0x190, 0x0)
Apr 09 06:35:25 dockerlp1 docker[13778]:         /usr/lib/go-1.6/src/runtime/proc.go:3158 +0xbd4
Apr 09 06:35:25 dockerlp1 docker[13778]: runtime.schedinit()
Apr 09 06:35:25 dockerlp1 docker[13778]:         /usr/lib/go-1.6/src/runtime/proc.go:452 +0x140
Apr 09 06:35:25 dockerlp1 docker[13778]: runtime.rt0_go(0x0, 0x0, 0x0, 0x3fffffbf12a0, 0xa01749f27c975be7, 0x3fff94e67300, 0xa01749f217e37ba7, 0x0, 0x0, 0x0,
Apr 09 06:35:25 dockerlp1 docker[13778]:         /usr/lib/go-1.6/src/runtime/asm_ppc64x.s:72 +0xac
Apr 09 06:35:25 dockerlp1 systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 09 06:35:25 dockerlp1 systemd[1]: Failed to start Docker Application Container Engine.
Apr 09 06:35:25 dockerlp1 systemd[1]: docker.service: Unit entered failed state.
Apr 09 06:35:25 dockerlp1 systemd[1]: docker.service: Failed with result 'exit-code'.

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

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

Status in golang-1.6 package in Ubuntu:
  Fix Released

Bug description:
  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.

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



More information about the foundations-bugs mailing list