[Fuego] Fuego install error message with port number

Tim.Bird at sony.com Tim.Bird at sony.com
Tue Feb 23 19:09:55 UTC 2021


Daniel,

Please see my comments inline below.

> -----Original Message-----
> From: Fuego <fuego-bounces at lists.linuxfoundation.org> On Behalf Of Daniel Lin ???
> 
> Hi Tim,
> I try to install fuego with privileged permission and different port as below,
> ./install.sh --priv mycvitek 8888
> but always happened the error message in the following.
> but if I don’t with port number,this error message count not happened.
> How can I solved this ?

If I understand correctly, you do not see the error messages if you
use the default port (8090), with a command like this:
$ ./install.sh --priv mycvitek

But you DO see the error messages if you specify the port '8888' (as
shown in this command line you provided above).

Is that correct?

First - there are two broad categories of errors in your report:
1) something about a double free or corruption in the golang runtime
2) some Debian repository errors in step 34/71 of the docker build

When you say there is a difference in the error message when the
port is specified vs. not, does that apply to both error messages?


> 
> Thanks so much.
> Daniel
> 
> qa11 at qa11-Latitude-5490:~/fuego$ ./install.sh --priv mycvitek 8888
> 
> Using Port 8888
> 
> double free or corruption (out)

This is the start of the first set of error messages

This appears to be a bug in docker or Ubuntu.  I found this bug report
which seems very, very  similar:
https://github.com/docker/docker-credential-helpers/issues/103

Are you using Ubuntu 18.04?

One user appeared to solve that problem by uninstalling docker-compose.
If you think this is the bug you are seeing, then please try that, or other things
listed in the bug report on github.

Here are the instructions to remote docker-compose:
$ sudo apt-get remove docker-compose
$ sudo apt autoremove


> 
> SIGABRT: abort
> 
> PC=0x7fb01983ff47 m=0 sigcode=18446744073709551610
> 
> signal arrived during cgo execution
> 
> 
> 
> goroutine 1 [syscall, locked to thread]:
> 
> runtime.cgocall(0x4afd50, 0xc420055cc0, 0xc420055ce8)
> 
>           /usr/lib/go-1.8/src/runtime/cgocall.go:131 +0xe2 fp=0xc420055c90 sp=0xc420055c50
> 
> github.com/docker/docker-credential-helpers/secretservice._Cfunc_free(0xc54920)
> 
>           github.com/docker/docker-credential-helpers/secretservice/_obj/_cgo_gotypes.go:111 +0x41 fp=0xc420055cc0 sp=0xc420055c90
> 
> github.com/docker/docker-credential-helpers/secretservice.Secretservice.List.func5(0xc54920)
> 
>           /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-
> linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:96 +0x60 fp=0xc420055cf8
> sp=0xc420055cc0
> 
> github.com/docker/docker-credential-helpers/secretservice.Secretservice.List(0x0, 0x756060, 0xc4200123d0)
> 
>           /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-
> linux-gnu/src/github.com/docker/docker-credential-helpers/secretservice/secretservice_linux.go:97 +0x217 fp=0xc420055da0
> sp=0xc420055cf8
> 
> github.com/docker/docker-credential-helpers/secretservice.(*Secretservice).List(0x77e548, 0xc420055e88, 0x410022, 0xc420012330)
> 
>           <autogenerated>:4 +0x46 fp=0xc420055de0 sp=0xc420055da0
> 
> github.com/docker/docker-credential-helpers/credentials.List(0x756ba0, 0x77e548, 0x7560e0, 0xc42000e018, 0x0, 0x10)
> 
>           /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-
> linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:145 +0x3e fp=0xc420055e68 sp=0xc420055de0
> 
> github.com/docker/docker-credential-helpers/credentials.HandleCommand(0x756ba0, 0x77e548, 0x7ffd7187f75a, 0x4, 0x7560a0,
> 0xc42000e010, 0x7560e0, 0xc42000e018, 0x40e398, 0x4d35c0)
> 
>           /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-
> linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:60 +0x16d fp=0xc420055ed8 sp=0xc420055e68
> 
> github.com/docker/docker-credential-helpers/credentials.Serve(0x756ba0, 0x77e548)
> 
>           /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-0.5.0/obj-x86_64-
> linux-gnu/src/github.com/docker/docker-credential-helpers/credentials/credentials.go:41 +0x1cb fp=0xc420055f58 sp=0xc420055ed8
> 
> main.main()
> 
>           /build/golang-github-docker-docker-credential-helpers-cMhSy1/golang-github-docker-docker-credential-helpers-
> 0.5.0/secretservice/cmd/main_linux.go:9 +0x4f fp=0xc420055f88 sp=0xc420055f58
> 
> runtime.main()
> 
>           /usr/lib/go-1.8/src/runtime/proc.go:185 +0x20a fp=0xc420055fe0 sp=0xc420055f88
> 
> runtime.goexit()
> 
>           /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420055fe8 sp=0xc420055fe0
> 
> 
> 
> goroutine 17 [syscall, locked to thread]:
> 
> runtime.goexit()
> 
>           /usr/lib/go-1.8/src/runtime/asm_amd64.s:2197 +0x1
> 
> 
> 
> rax    0x0
> 
> rbx    0x7ffd7187d240
> 
> rcx    0x7fb01983ff47
> 
> rdx    0x0
> 
> rdi    0x2
> 
> rsi    0x7ffd7187cfd0
> 
> rbp    0x7ffd7187d340
> 
> rsp    0x7ffd7187cfd0
> 
> r8     0x0
> 
> r9     0x7ffd7187cfd0
> 
> r10    0x8
> 
> r11    0x246
> 
> r12    0x7ffd7187d240
> 
> r13    0x1000
> 
> r14    0x0
> 
> r15    0x30
> 
> rip    0x7fb01983ff47
> 
> rflags 0x246
> 
> cs     0x33
> 
> fs     0x0
> 
> gs     0x0
> 
> Sending build context to Docker daemon  4.876GB
> 
> Step 1/71 : FROM debian:stretch-slim
> 
> ---> c2f145c34384
> 
> Step 2/71 : MAINTAINER tim.bird at sony.com <mailto:tim.bird at sony.com>
> 
> ---> Using cache

Note that for many of the docker steps, the cache is being used.
This might cause problems as sometimes Debian moves things around in 
their repositories, and the intermediate (cached) docker images used
during the Fuego image and container build may contain stale references
to Debian repository data.

> 
> ---> 88220916ab9e
> 
> Step 3/71 : ARG HTTP_PROXY
> 
> ---> Using cache
> 
> ---> 9c64fb96cf56
> 
> Step 4/71 : ENV http_proxy ${HTTP_PROXY}
> 
> ---> Using cache
> 
> ---> 0262e3f4b2b1
> 
> Step 5/71 : ENV https_proxy ${HTTP_PROXY}
> 
> ---> Using cache
> 
> ---> ad665506e270
> 
> Step 6/71 : ARG DEBIAN_FRONTEND=noninteractive
> 
> ---> Using cache
> 
> ---> 16a98e5baf64
> 
> Step 7/71 : WORKDIR /
> 
> ---> Using cache
> 
> ---> 6a8967cb56c2
> 
> Step 8/71 : RUN echo deb http://deb.debian.org/debian <http://deb.debian.org/debian>  stretch main non-free > /etc/apt/sources.list
> 
> ---> Using cache
> 
> ---> 9c6b5948d621
> 
> Step 9/71 : RUN echo deb http://security.debian.org/debian-security <http://security.debian.org/debian-security>  stretch/updates main
> >> /etc/apt/sources.list
> 
> ---> Using cache
> 
> ---> f8b76fe48a34
> 
> Step 10/71 : RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
> 
> ---> Using cache
> 
> ---> 5b0789cead7d
> 
> Step 11/71 : RUN mkdir -p /usr/share/man/man1
> 
> ---> Using cache
> 
> ---> 92ba79d07b00
> 
> Step 12/71 : RUN apt-get update -q=2 && apt-get -q=2 -V --no-install-recommends install         python-lxml python-simplejson python-
> yaml python-openpyxl    python-requests python-reportlab python-parsedatetime         python-pexpect python-pip python-setuptools
> python-wheel
> 
> ---> Using cache
> 
> ---> a5956e4518e9
> 
> Step 13/71 : RUN pip install filelock
> 
> ---> Using cache
> 
> ---> b0bd5902b2f4
> 
> Step 14/71 : RUN apt-get -q=2 -V --no-install-recommends install           git sshpass openssh-client sudo net-tools wget curl lava-tool
> bash-completion iproute2
> 
> ---> Using cache
> 
> ---> 03f2c4ad92db
> 
> Step 15/71 : RUN apt-get -q=2 -V --no-install-recommends install           build-essential cmake bison flex automake libtool         libelf-dev
> libssl-dev libsdl1.2-dev libcairo2-dev libxmu-dev libxmuu-dev libglib2.0-dev libaio-dev u-boot-tools pkg-config
> 
> ---> Using cache
> 
> ---> 148308815ac3
> 
> Step 16/71 : RUN apt-get -q=2 -V --no-install-recommends install           iperf iperf3 netperf bzip2 bc python-matplotlib python-xmltodict
> netpipe-tcp iputils-ping
> 
> ---> Using cache
> 
> ---> 761a6d111b4b
> 
> Step 17/71 : RUN pip install flake8
> 
> ---> Using cache
> 
> ---> 90dbca13c492
> 
> Step 18/71 : RUN apt-get -q=2 -V --no-install-recommends install     python-serial     diffstat     vim     time
> 
> ---> Using cache
> 
> ---> 39aef0a560f5
> 
> Step 19/71 : RUN /bin/bash -c 'echo "dash dash/sh boolean false" | debconf-set-selections ; dpkg-reconfigure dash'
> 
> ---> Using cache
> 
> ---> c75a5473fe74
> 
> Step 20/71 : RUN if [ -n "$HTTP_PROXY" ]; then echo "use_proxy = on" >> /etc/wgetrc; fi
> 
> ---> Using cache
> 
> ---> 17f963aadda6
> 
> Step 21/71 : RUN if [ -n "$HTTP_PROXY" ]; then echo -e "http_proxy=$HTTP_PROXY\nhttps_proxy=$HTTP_PROXY" >> /etc/environment; fi
> 
> ---> Using cache
> 
> ---> 48ab422ffe67
> 
> Step 22/71 : ARG user=jenkins
> 
> ---> Using cache
> 
> ---> cd880c8883c4
> 
> Step 23/71 : ARG group=jenkins
> 
> ---> Using cache
> 
> ---> 6905adbcafe3
> 
> Step 24/71 : ARG uid=1000
> 
> ---> Using cache
> 
> ---> 760b6239ad0f
> 
> Step 25/71 : ARG gid=${uid}
> 
> ---> Using cache
> 
> ---> 830e054bec94
> 
> Step 26/71 : ARG JENKINS_PORT=8090
> 
> ---> Using cache
> 
> ---> e7d16d8e4544
> 
> Step 27/71 : ARG JENKINS_VERSION=2.164.2
> 
> ---> Using cache
> 
> ---> 0594e3c78999
> 
> Step 28/71 : ARG JENKINS_SHA=4536f43f61b1fca6c58bd91040fa09304eea96ab
> 
> ---> Using cache
> 
> ---> da7d1a10e403
> 
> Step 29/71 : ARG JENKINS_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_${JENKINS_VERSION}_all.deb
> 
> ---> Using cache
> 
> ---> 785a783b0e7d
> 
> Step 30/71 : ARG JENKINS_UC=https://updates.jenkins.io
> 
> ---> Using cache
> 
> ---> 24b3cac0b9f2
> 
> Step 31/71 : ARG REF=/var/lib/jenkins/plugins
> 
> ---> Using cache
> 
> ---> 6fc7846145ba
> 
> Step 32/71 : ENV JENKINS_HOME=/var/lib/jenkins
> 
> ---> Using cache
> 
> ---> f2addc50ad03
> 
> Step 33/71 : ENV JENKINS_PORT=$JENKINS_PORT
> 
> ---> Using cache
> 
> ---> 1fc6f600cf3b
> 
> Step 34/71 : RUN apt-get -q=2 -V --no-install-recommends install           default-jdk daemon psmisc adduser procps unzip
> 
> ---> Running in 4ca0ee162e1a
> 
> E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre-headless_8u232-b09-
> 1~deb9u1_amd64.deb <http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre-headless_8u232-b09-
> 1~deb9u1_amd64.deb>   404  Not Found [IP: 151.101.66.132 80]
> 
> E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib-networking/glib-networking-common_2.50.0-1_all.deb
> <http://deb.debian.org/debian/pool/main/g/glib-networking/glib-networking-common_2.50.0-1_all.deb>   404  Not Found
> 
> E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib-networking/glib-networking-services_2.50.0-1+b1_amd64.deb
> <http://deb.debian.org/debian/pool/main/g/glib-networking/glib-networking-services_2.50.0-1+b1_amd64.deb>   404  Not Found
> 
> E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib-networking/glib-networking_2.50.0-1+b1_amd64.deb
> <http://deb.debian.org/debian/pool/main/g/glib-networking/glib-networking_2.50.0-1+b1_amd64.deb>   404  Not Found
> 
> E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre_8u232-b09-
> 1~deb9u1_amd64.deb <http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre_8u232-b09-
> 1~deb9u1_amd64.deb>   404  Not Found [IP: 151.101.66.132 80]
> 
> E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk-headless_8u232-b09-
> 1~deb9u1_amd64.deb <http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk-headless_8u232-b09-
> 1~deb9u1_amd64.deb>   404  Not Found [IP: 151.101.66.132 80]
> 
> E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk_8u232-b09-
> 1~deb9u1_amd64.deb <http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk_8u232-b09-
> 1~deb9u1_amd64.deb>   404  Not Found [IP: 151.101.66.132 80]
> 
> E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
> 
> The command '/bin/sh -c apt-get -q=2 -V --no-install-recommends install      default-jdk daemon psmisc adduser procps unzip' returned a
> non-zero code: 100

I would recommend trying the Fuego install program with the --nocache option,
to avoid problems with stale data in docker cached images.

That is, can you try the following:
$ ./install.sh --no-cache --priv mycvitek 8888

Please let me know if this fixes the problem for you or not.

Thanks,
 -- Tim



More information about the Fuego mailing list