Open janvda opened 6 years ago
When entering the command
git push resin master --force
I got error:
The command '/bin/sh -c pip3 install -r requirements.txt && pip3 install --upgrade google-assistant-library' returned a non-zero code: 2
FYI here below you find the full trace of the git push command:
$ git push resin master --force Enter passphrase for key '/c/Users/IBM_ADMIN/.ssh/id_rsa': Counting objects: 45, done. Delta compression using up to 4 threads. Compressing objects: 100% (45/45), done. Writing objects: 100% (45/45), 8.61 KiB | 518.00 KiB/s, done. Total 45 (delta 18), reused 0 (delta 0) [Info] Starting build for pi3four, user gh_janvda [Info] Dashboard link: https://dashboard.balena-cloud.com/apps/1284969/devices [Info] Building on arm02 [Info] Pulling previous images for caching purposes... [Success] Successfully pulled cache images [main] Step 1/14 : FROM resin/raspberrypi3-debian:stretch [main] ---> 034592df92b1 [main] Step 2/14 : RUN apt-get update && apt-get install -yq --no-install-recommends python3 python3-pip python-dev alsa-utils python3-setuptools rsync git && apt-get clean && rm -rf /var/lib/apt/lists/* [main] ---> Running in 43c70be55119 [main] Ign:1 http://deb.debian.org/debian stretch InRelease [main] Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB] [main] Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB] [main] Get:4 http://deb.debian.org/debian stretch Release [118 kB] [main] Get:5 http://deb.debian.org/debian stretch Release.gpg [2434 B] [main] Get:6 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB] [main] Get:7 http://archive.raspbian.org/raspbian stretch InRelease [15.0 kB] [main] Get:8 http://security.debian.org/debian-security stretch/updates/main armhf Packages [440 kB] [main] Get:9 http://deb.debian.org/debian stretch-updates/main armhf Packages [5108 B] [main] Get:10 http://deb.debian.org/debian stretch/main armhf Packages [6927 kB] [main] Get:11 http://archive.raspberrypi.org/debian stretch/main armhf Packages [181 kB] [main] Get:12 http://archive.raspbian.org/raspbian stretch/firmware armhf Packages [1232 B] [main] Get:13 http://archive.raspbian.org/raspbian stretch/non-free armhf Packages [95.2 kB] [main] Get:14 http://archive.raspbian.org/raspbian stretch/rpi armhf Packages [1360 B] [main] Get:15 http://archive.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB] [main] Get:16 http://archive.raspbian.org/raspbian stretch/contrib armhf Packages [56.9 kB] [main] Fetched 19.7 MB in 21s (923 kB/s) [main] Reading package lists... [main] Reading package lists... [main] Building dependency tree... [main] Reading state information... [main] The following additional packages will be installed: [main] dh-python gcc-6-base git-man libasound2 libasound2-data libc-dev-bin [main] libc6-dev libcurl3-gnutls liberror-perl libexpat1 libexpat1-dev [main] libfftw3-single3 libgcc1 libgomp1 libmpdec2 libnewt0.52 libpopt0 [main] libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev [main] libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib [main] libpython3.5-minimal libpython3.5-stdlib libsamplerate0 libslang2 libstdc++6 [main] linux-libc-dev mime-support python python-minimal python-pip-whl python2.7 [main] python2.7-dev python2.7-minimal python3-minimal python3-pkg-resources [main] python3.5 python3.5-minimal whiptail [main] Suggested packages: [main] libdpkg-perl gettext-base git-daemon-run | git-daemon-sysvinit git-doc [main] git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn [main] libasound2-plugins glibc-doc manpages-dev libfftw3-bin libfftw3-dev [main] python-doc python-tk python2.7-doc binutils binfmt-support python3-doc [main] python3-tk python3-venv python-setuptools-doc python3.5-venv python3.5-doc [main] openssh-client openssh-server [main] Recommended packages: [main] patch ssh-client manpages manpages-dev libfribidi0 bzip2 file xz-utils [main] build-essential python3-dev python3-wheel [main] The following NEW packages will be installed: [main] alsa-utils dh-python git git-man libasound2 libasound2-data libc-dev-bin [main] libc6-dev libcurl3-gnutls liberror-perl libexpat1 libexpat1-dev [main] libfftw3-single3 libgomp1 libmpdec2 libnewt0.52 libpopt0 libpython-dev [main] libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal [main] libpython2.7-stdlib libpython3-stdlib libpython3.5-minimal [main] libpython3.5-stdlib libsamplerate0 libslang2 linux-libc-dev mime-support [main] python python-dev python-minimal python-pip-whl python2.7 python2.7-dev [main] python2.7-minimal python3 python3-minimal python3-pip python3-pkg-resources [main] python3-setuptools python3.5 python3.5-minimal rsync whiptail [main] The following packages will be upgraded: [main] gcc-6-base libgcc1 libstdc++6 [main] 3 upgraded, 46 newly installed, 0 to remove and 7 not upgraded. [main] Need to get 53.3 MB of archives. [main] After this operation, 127 MB of additional disk space will be used. [main] Get:1 http://security.debian.org/debian-security stretch/updates/main armhf libpython2.7-minimal armhf 2.7.13-2+deb9u3 [389 kB] [main] Get:2 http://deb.debian.org/debian stretch/main armhf python-minimal armhf 2.7.13-2 [40.5 kB] [main] Get:3 http://deb.debian.org/debian stretch/main armhf mime-support all 3.60 [36.7 kB] [main] Get:4 http://deb.debian.org/debian stretch/main armhf libexpat1 armhf 2.2.0-2+deb9u1 [64.4 kB] [main] Get:5 http://deb.debian.org/debian stretch/main armhf libpython-stdlib armhf 2.7.13-2 [20.0 kB] [main] Get:6 http://deb.debian.org/debian stretch/main armhf python armhf 2.7.13-2 [154 kB] [main] Get:7 http://deb.debian.org/debian stretch/main armhf liberror-perl all 0.17024-1 [26.9 kB] [main] Get:8 http://deb.debian.org/debian stretch/main armhf python3-minimal armhf 3.5.3-1 [35.3 kB] [main] Get:9 http://security.debian.org/debian-security stretch/updates/main armhf python2.7-minimal armhf 2.7.13-2+deb9u3 [1176 kB] [main] Get:10 http://deb.debian.org/debian stretch/main armhf libmpdec2 armhf 2.4.2-1 [69.6 kB] [main] Get:11 http://deb.debian.org/debian stretch/main armhf libpython3-stdlib armhf 3.5.3-1 [18.6 kB] [main] Get:12 http://deb.debian.org/debian stretch/main armhf dh-python all 2.20170125 [86.8 kB] [main] Get:13 http://deb.debian.org/debian stretch/main armhf python3 armhf 3.5.3-1 [21.6 kB] [main] Get:14 http://security.debian.org/debian-security stretch/updates/main armhf libpython2.7-stdlib armhf 2.7.13-2+deb9u3 [1821 kB] [main] Get:15 http://security.debian.org/debian-security stretch/updates/main armhf python2.7 armhf 2.7.13-2+deb9u3 [285 kB] [main] Get:16 http://security.debian.org/debian-security stretch/updates/main armhf libcurl3-gnutls armhf 7.52.1-5+deb9u7 [262 kB] [main] Get:17 http://security.debian.org/debian-security stretch/updates/main armhf git-man all 1:2.11.0-3+deb9u4 [1433 kB] [main] Get:18 http://deb.debian.org/debian stretch/main armhf libslang2 armhf 2.3.1-5 [461 kB] [main] Get:19 http://deb.debian.org/debian stretch/main armhf libnewt0.52 armhf 0.52.19-1+b1 [65.7 kB] [main] Get:20 http://deb.debian.org/debian stretch/main armhf libpopt0 armhf 1.16-10+b2 [46.1 kB] [main] Get:21 http://security.debian.org/debian-security stretch/updates/main armhf git armhf 1:2.11.0-3+deb9u4 [3661 kB] [main] Get:22 http://archive.raspberrypi.org/debian stretch/main armhf libasound2-data all 1.1.3-5+rpi3 [173 kB] [main] Get:23 http://deb.debian.org/debian stretch/main armhf whiptail armhf 0.52.19-1+b1 [37.4 kB] [main] Get:24 http://archive.raspbian.org/raspbian stretch/main armhf gcc-6-base armhf 6.3.0-18+rpi1+deb9u1 [180 kB] [main] Get:25 http://security.debian.org/debian-security stretch/updates/main armhf libpython3.5-minimal armhf 3.5.3-1+deb9u1 [565 kB] [main] Get:26 http://security.debian.org/debian-security stretch/updates/main armhf python3.5-minimal armhf 3.5.3-1+deb9u1 [1441 kB] [main] Get:27 http://security.debian.org/debian-security stretch/updates/main armhf libpython3.5-stdlib armhf 3.5.3-1+deb9u1 [2085 kB] [main] Get:28 http://deb.debian.org/debian stretch/main armhf libfftw3-single3 armhf 3.3.5-3 [715 kB] [main] Get:29 http://security.debian.org/debian-security stretch/updates/main armhf python3.5 armhf 3.5.3-1+deb9u1 [229 kB] [main] Get:30 http://security.debian.org/debian-security stretch/updates/main armhf linux-libc-dev armhf 4.9.110-3+deb9u6 [1326 kB] [main] Get:31 http://deb.debian.org/debian stretch/main armhf libsamplerate0 armhf 0.1.8-8+b2 [946 kB] [main] Get:32 http://security.debian.org/debian-security stretch/updates/main armhf libpython2.7 armhf 2.7.13-2+deb9u3 [940 kB] [main] Get:33 http://security.debian.org/debian-security stretch/updates/main armhf libpython2.7-dev armhf 2.7.13-2+deb9u3 [27.7 MB] [main] Get:34 http://deb.debian.org/debian stretch/main armhf alsa-utils armhf 1.1.3-1 [1035 kB] [main] Get:35 http://deb.debian.org/debian stretch/main armhf libc-dev-bin armhf 2.24-11+deb9u3 [253 kB] [main] Get:36 http://archive.raspberrypi.org/debian stretch/main armhf libasound2 armhf 1.1.3-5+rpi3 [440 kB] [main] Get:37 http://deb.debian.org/debian stretch/main armhf libc6-dev armhf 2.24-11+deb9u3 [1995 kB] [main] Get:38 http://archive.raspbian.org/raspbian stretch/main armhf libgcc1 armhf 1:6.3.0-18+rpi1+deb9u1 [38.3 kB] [main] Get:39 http://archive.raspbian.org/raspbian stretch/main armhf libstdc++6 armhf 6.3.0-18+rpi1+deb9u1 [334 kB] [main] Get:40 http://archive.raspbian.org/raspbian stretch/main armhf libgomp1 armhf 6.3.0-18+rpi1+deb9u1 [63.9 kB] [main] Get:41 http://security.debian.org/debian-security stretch/updates/main armhf python2.7-dev armhf 2.7.13-2+deb9u3 [289 kB] [main] Get:42 http://deb.debian.org/debian stretch/main armhf libexpat1-dev armhf 2.2.0-2+deb9u1 [116 kB] [main] Get:43 http://deb.debian.org/debian stretch/main armhf libpython-dev armhf 2.7.13-2 [20.0 kB] [main] Get:44 http://deb.debian.org/debian stretch/main armhf python-dev armhf 2.7.13-2 [1130 B] [main] Get:45 http://deb.debian.org/debian stretch/main armhf python3-pkg-resources all 33.1.1-1 [137 kB] [main] Get:46 http://deb.debian.org/debian stretch/main armhf python3-setuptools all 33.1.1-1 [215 kB] [main] Get:47 http://deb.debian.org/debian stretch/main armhf rsync armhf 3.1.2-1+deb9u1 [380 kB] [main] Get:48 http://archive.raspberrypi.org/debian stretch/main armhf python-pip-whl all 9.0.1-2+rpt2 [1399 kB] [main] Get:49 http://archive.raspberrypi.org/debian stretch/main armhf python3-pip all 9.0.1-2+rpt2 [142 kB] [main] debconf: delaying package configuration, since apt-utils is not installed [main] [main] Fetched 53.3 MB in 1s (27.2 MB/s) [main] Selecting previously unselected package libpython2.7-minimal:armhf. [main] (Reading database ... (Reading database ... 75%ase ... 5% [main] (Reading database ... 80% [main] (Reading database ... 85% [main] (Reading database ... 90% [main] (Reading database ... 95% (Reading database ... 10455 files and directories currently installed.) [main] Preparing to unpack .../libpython2.7-minimal_2.7.13-2+deb9u3_armhf.deb ... [main] Unpacking libpython2.7-minimal:armhf (2.7.13-2+deb9u3) ... [main] Selecting previously unselected package python2.7-minimal. [main] Preparing to unpack .../python2.7-minimal_2.7.13-2+deb9u3_armhf.deb ... [main] Unpacking python2.7-minimal (2.7.13-2+deb9u3) ... [main] Selecting previously unselected package python-minimal. [main] Preparing to unpack .../python-minimal_2.7.13-2_armhf.deb ... [main] Unpacking python-minimal (2.7.13-2) ... [main] Selecting previously unselected package mime-support. [main] Preparing to unpack .../mime-support_3.60_all.deb ... [main] Unpacking mime-support (3.60) ... [main] Preparing to unpack .../gcc-6-base_6.3.0-18+rpi1+deb9u1_armhf.deb ... [main] Unpacking gcc-6-base:armhf (6.3.0-18+rpi1+deb9u1) over (6.3.0-18+deb9u1) ... [main] Setting up gcc-6-base:armhf (6.3.0-18+rpi1+deb9u1) ... [main] (Reading database ... (Reading database ... 75%ase ... 5% [main] (Reading database ... 80% [main] (Reading database ... 85% [main] (Reading database ... 90% [main] (Reading database ... 95% (Reading database ... 10719 files and directories currently installed.) [main] Preparing to unpack .../libgcc1_1%3a6.3.0-18+rpi1+deb9u1_armhf.deb ... [main] Unpacking libgcc1:armhf (1:6.3.0-18+rpi1+deb9u1) over (1:6.3.0-18+deb9u1) ... [main] Setting up libgcc1:armhf (1:6.3.0-18+rpi1+deb9u1) ... [main] (Reading database ... (Reading database ... 75%ase ... 5% [main] (Reading database ... 80% [main] (Reading database ... 85% [main] (Reading database ... 90% [main] (Reading database ... 95% (Reading database ... 10719 files and directories currently installed.) [main] Preparing to unpack .../libstdc++6_6.3.0-18+rpi1+deb9u1_armhf.deb ... [main] Unpacking libstdc++6:armhf (6.3.0-18+rpi1+deb9u1) over (6.3.0-18+deb9u1) ... [main] Setting up libstdc++6:armhf (6.3.0-18+rpi1+deb9u1) ... [main] Selecting previously unselected package libexpat1:armhf. [main] (Reading database ... (Reading database ... 75%ase ... 5% [main] (Reading database ... 80% [main] (Reading database ... 85% [main] (Reading database ... 90% [main] (Reading database ... 95% (Reading database ... 10719 files and directories currently installed.) [main] Preparing to unpack .../libexpat1_2.2.0-2+deb9u1_armhf.deb ... [main] Unpacking libexpat1:armhf (2.2.0-2+deb9u1) ... [main] Selecting previously unselected package libpython2.7-stdlib:armhf. [main] Preparing to unpack .../libpython2.7-stdlib_2.7.13-2+deb9u3_armhf.deb ... [main] Unpacking libpython2.7-stdlib:armhf (2.7.13-2+deb9u3) ... [main] Selecting previously unselected package python2.7. [main] Preparing to unpack .../python2.7_2.7.13-2+deb9u3_armhf.deb ... [main] Unpacking python2.7 (2.7.13-2+deb9u3) ... [main] Selecting previously unselected package libpython-stdlib:armhf. [main] Preparing to unpack .../libpython-stdlib_2.7.13-2_armhf.deb ... [main] Unpacking libpython-stdlib:armhf (2.7.13-2) ... [main] Setting up libpython2.7-minimal:armhf (2.7.13-2+deb9u3) ... [main] Setting up python2.7-minimal (2.7.13-2+deb9u3) ... [main] Setting up python-minimal (2.7.13-2) ... [main] Selecting previously unselected package python. [main] (Reading database ... (Reading database ... 75%ase ... 5% [main] (Reading database ... 80% [main] (Reading database ... 85% [main] (Reading database ... 90% [main] (Reading database ... 95% (Reading database ... 11237 files and directories currently installed.) [main] Preparing to unpack .../00-python_2.7.13-2_armhf.deb ... [main] Unpacking python (2.7.13-2) ... [main] Selecting previously unselected package libcurl3-gnutls:armhf. [main] Preparing to unpack .../01-libcurl3-gnutls_7.52.1-5+deb9u7_armhf.deb ... [main] Unpacking libcurl3-gnutls:armhf (7.52.1-5+deb9u7) ... [main] Selecting previously unselected package liberror-perl. [main] Preparing to unpack .../02-liberror-perl_0.17024-1_all.deb ... [main] Unpacking liberror-perl (0.17024-1) ... [main] Selecting previously unselected package git-man. [main] Preparing to unpack .../03-git-man_1%3a2.11.0-3+deb9u4_all.deb ... [main] Unpacking git-man (1:2.11.0-3+deb9u4) ... [main] Selecting previously unselected package git. [main] Preparing to unpack .../04-git_1%3a2.11.0-3+deb9u4_armhf.deb ... [main] Unpacking git (1:2.11.0-3+deb9u4) ... [main] Selecting previously unselected package libpython3.5-minimal:armhf. [main] Preparing to unpack .../05-libpython3.5-minimal_3.5.3-1+deb9u1_armhf.deb ... [main] Unpacking libpython3.5-minimal:armhf (3.5.3-1+deb9u1) ... [main] Selecting previously unselected package python3.5-minimal. [main] Preparing to unpack .../06-python3.5-minimal_3.5.3-1+deb9u1_armhf.deb ... [main] Unpacking python3.5-minimal (3.5.3-1+deb9u1) ... [main] Selecting previously unselected package python3-minimal. [main] Preparing to unpack .../07-python3-minimal_3.5.3-1_armhf.deb ... [main] Unpacking python3-minimal (3.5.3-1) ... [main] Selecting previously unselected package libmpdec2:armhf. [main] Preparing to unpack .../08-libmpdec2_2.4.2-1_armhf.deb ... [main] Unpacking libmpdec2:armhf (2.4.2-1) ... [main] Selecting previously unselected package libpython3.5-stdlib:armhf. [main] Preparing to unpack .../09-libpython3.5-stdlib_3.5.3-1+deb9u1_armhf.deb ... [main] Unpacking libpython3.5-stdlib:armhf (3.5.3-1+deb9u1) ... [main] Selecting previously unselected package python3.5. [main] Preparing to unpack .../10-python3.5_3.5.3-1+deb9u1_armhf.deb ... [main] Unpacking python3.5 (3.5.3-1+deb9u1) ... [main] Selecting previously unselected package libpython3-stdlib:armhf. [main] Preparing to unpack .../11-libpython3-stdlib_3.5.3-1_armhf.deb ... [main] Unpacking libpython3-stdlib:armhf (3.5.3-1) ... [main] Selecting previously unselected package dh-python. [main] Preparing to unpack .../12-dh-python_2.20170125_all.deb ... [main] Unpacking dh-python (2.20170125) ... [main] Setting up libpython3.5-minimal:armhf (3.5.3-1+deb9u1) ... [main] Setting up libexpat1:armhf (2.2.0-2+deb9u1) ... [main] Setting up python3.5-minimal (3.5.3-1+deb9u1) ... [main] Setting up python3-minimal (3.5.3-1) ... [main] Selecting previously unselected package python3. [main] (Reading database ... (Reading database ... 75%ase ... 5% [main] (Reading database ... 80% [main] (Reading database ... 85% [main] (Reading database ... 90% [main] (Reading database ... 95% (Reading database ... 13097 files and directories currently installed.) [main] Preparing to unpack .../00-python3_3.5.3-1_armhf.deb ... [main] Unpacking python3 (3.5.3-1) ... [main] Selecting previously unselected package libslang2:armhf. [main] Preparing to unpack .../01-libslang2_2.3.1-5_armhf.deb ... [main] Unpacking libslang2:armhf (2.3.1-5) ... [main] Selecting previously unselected package libnewt0.52:armhf. [main] Preparing to unpack .../02-libnewt0.52_0.52.19-1+b1_armhf.deb ... [main] Unpacking libnewt0.52:armhf (0.52.19-1+b1) ... [main] Selecting previously unselected package libpopt0:armhf. [main] Preparing to unpack .../03-libpopt0_1.16-10+b2_armhf.deb ... [main] Unpacking libpopt0:armhf (1.16-10+b2) ... [main] Selecting previously unselected package whiptail. [main] Preparing to unpack .../04-whiptail_0.52.19-1+b1_armhf.deb ... [main] Unpacking whiptail (0.52.19-1+b1) ... [main] Selecting previously unselected package libasound2-data. [main] Preparing to unpack .../05-libasound2-data_1.1.3-5+rpi3_all.deb ... [main] Unpacking libasound2-data (1.1.3-5+rpi3) ... [main] Selecting previously unselected package libasound2:armhf. [main] Preparing to unpack .../06-libasound2_1.1.3-5+rpi3_armhf.deb ... [main] Unpacking libasound2:armhf (1.1.3-5+rpi3) ... [main] Selecting previously unselected package libgomp1:armhf. [main] Preparing to unpack .../07-libgomp1_6.3.0-18+rpi1+deb9u1_armhf.deb ... [main] Unpacking libgomp1:armhf (6.3.0-18+rpi1+deb9u1) ... [main] Selecting previously unselected package libfftw3-single3:armhf. [main] Preparing to unpack .../08-libfftw3-single3_3.3.5-3_armhf.deb ... [main] Unpacking libfftw3-single3:armhf (3.3.5-3) ... [main] Selecting previously unselected package libsamplerate0:armhf. [main] Preparing to unpack .../09-libsamplerate0_0.1.8-8+b2_armhf.deb ... [main] Unpacking libsamplerate0:armhf (0.1.8-8+b2) ... [main] Selecting previously unselected package alsa-utils. [main] Preparing to unpack .../10-alsa-utils_1.1.3-1_armhf.deb ... [main] Unpacking alsa-utils (1.1.3-1) ... [main] Selecting previously unselected package libc-dev-bin. [main] Preparing to unpack .../11-libc-dev-bin_2.24-11+deb9u3_armhf.deb ... [main] Unpacking libc-dev-bin (2.24-11+deb9u3) ... [main] Selecting previously unselected package linux-libc-dev:armhf. [main] Preparing to unpack .../12-linux-libc-dev_4.9.110-3+deb9u6_armhf.deb ... [main] Unpacking linux-libc-dev:armhf (4.9.110-3+deb9u6) ... [main] Selecting previously unselected package libc6-dev:armhf. [main] Preparing to unpack .../13-libc6-dev_2.24-11+deb9u3_armhf.deb ... [main] Unpacking libc6-dev:armhf (2.24-11+deb9u3) ... [main] Selecting previously unselected package libexpat1-dev:armhf. [main] Preparing to unpack .../14-libexpat1-dev_2.2.0-2+deb9u1_armhf.deb ... [main] Unpacking libexpat1-dev:armhf (2.2.0-2+deb9u1) ... [main] Selecting previously unselected package libpython2.7:armhf. [main] Preparing to unpack .../15-libpython2.7_2.7.13-2+deb9u3_armhf.deb ... [main] Unpacking libpython2.7:armhf (2.7.13-2+deb9u3) ... [main] Selecting previously unselected package libpython2.7-dev:armhf. [main] Preparing to unpack .../16-libpython2.7-dev_2.7.13-2+deb9u3_armhf.deb ... [main] Unpacking libpython2.7-dev:armhf (2.7.13-2+deb9u3) ... [main] Selecting previously unselected package libpython-dev:armhf. [main] Preparing to unpack .../17-libpython-dev_2.7.13-2_armhf.deb ... [main] Unpacking libpython-dev:armhf (2.7.13-2) ... [main] Selecting previously unselected package python2.7-dev. [main] Preparing to unpack .../18-python2.7-dev_2.7.13-2+deb9u3_armhf.deb ... [main] Unpacking python2.7-dev (2.7.13-2+deb9u3) ... [main] Selecting previously unselected package python-dev. [main] Preparing to unpack .../19-python-dev_2.7.13-2_armhf.deb ... [main] Unpacking python-dev (2.7.13-2) ... [main] Selecting previously unselected package python-pip-whl. [main] Preparing to unpack .../20-python-pip-whl_9.0.1-2+rpt2_all.deb ... [main] Unpacking python-pip-whl (9.0.1-2+rpt2) ... [main] Selecting previously unselected package python3-pip. [main] Preparing to unpack .../21-python3-pip_9.0.1-2+rpt2_all.deb ... [main] Unpacking python3-pip (9.0.1-2+rpt2) ... [main] Selecting previously unselected package python3-pkg-resources. [main] Preparing to unpack .../22-python3-pkg-resources_33.1.1-1_all.deb ... [main] Unpacking python3-pkg-resources (33.1.1-1) ... [main] Selecting previously unselected package python3-setuptools. [main] Preparing to unpack .../23-python3-setuptools_33.1.1-1_all.deb ... [main] Unpacking python3-setuptools (33.1.1-1) ... [main] Selecting previously unselected package rsync. [main] Preparing to unpack .../24-rsync_3.1.2-1+deb9u1_armhf.deb ... [main] Unpacking rsync (3.1.2-1+deb9u1) ... [main] Setting up libgomp1:armhf (6.3.0-18+rpi1+deb9u1) ... [main] Setting up python-pip-whl (9.0.1-2+rpt2) ... [main] Setting up git-man (1:2.11.0-3+deb9u4) ... [main] Setting up libpopt0:armhf (1.16-10+b2) ... [main] Setting up mime-support (3.60) ... [main] Setting up liberror-perl (0.17024-1) ... [main] Setting up libcurl3-gnutls:armhf (7.52.1-5+deb9u7) ... [main] Setting up libasound2-data (1.1.3-5+rpi3) ... [main] Setting up linux-libc-dev:armhf (4.9.110-3+deb9u6) ... [main] Setting up libasound2:armhf (1.1.3-5+rpi3) ... [main] Setting up rsync (3.1.2-1+deb9u1) ... [main] invoke-rc.d: could not determine current runlevel [main] invoke-rc.d: policy-rc.d denied execution of restart. [main] Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service → /lib/systemd/system/rsync.service. [main] Processing triggers for libc-bin (2.24-11+deb9u3) ... [main] Processing triggers for systemd (232-25+deb9u4) ... [main] Setting up libfftw3-single3:armhf (3.3.5-3) ... [main] Setting up libc-dev-bin (2.24-11+deb9u3) ... [main] Setting up libsamplerate0:armhf (0.1.8-8+b2) ... [main] Setting up libc6-dev:armhf (2.24-11+deb9u3) ... [main] Setting up libslang2:armhf (2.3.1-5) ... [main] Setting up git (1:2.11.0-3+deb9u4) ... [main] Setting up libpython2.7-stdlib:armhf (2.7.13-2+deb9u3) ... [main] Setting up libmpdec2:armhf (2.4.2-1) ... [main] Setting up libpython3.5-stdlib:armhf (3.5.3-1+deb9u1) ... [main] Setting up python2.7 (2.7.13-2+deb9u3) ... [main] Setting up libpython-stdlib:armhf (2.7.13-2) ... [main] Setting up libpython2.7:armhf (2.7.13-2+deb9u3) ... [main] Setting up libexpat1-dev:armhf (2.2.0-2+deb9u1) ... [main] Setting up libpython2.7-dev:armhf (2.7.13-2+deb9u3) ... [main] Setting up libnewt0.52:armhf (0.52.19-1+b1) ... [main] Setting up python2.7-dev (2.7.13-2+deb9u3) ... [main] Setting up python (2.7.13-2) ... [main] Setting up python3.5 (3.5.3-1+deb9u1) ... [main] Setting up libpython3-stdlib:armhf (3.5.3-1) ... [main] Setting up libpython-dev:armhf (2.7.13-2) ... [main] Setting up python-dev (2.7.13-2) ... [main] Setting up whiptail (0.52.19-1+b1) ... [main] Setting up alsa-utils (1.1.3-1) ... [main] Setting up python3 (3.5.3-1) ... [main] Setting up python3-pkg-resources (33.1.1-1) ... [main] Setting up python3-pip (9.0.1-2+rpt2) ... [main] Setting up python3-setuptools (33.1.1-1) ... [main] Setting up dh-python (2.20170125) ... [main] Processing triggers for libc-bin (2.24-11+deb9u3) ... [main] Processing triggers for systemd (232-25+deb9u4) ... [main] ---> 4c200c2b3dac [main] Removing intermediate container 43c70be55119 [main] Step 3/14 : RUN cp `which uname` /bin/uname-orig && echo '#!/bin/bash\nif [[ $1 == "-m" ]]; then echo "armv7l"; else /bin/uname-orig $@; fi;' > `which uname` [main] ---> Running in 4de35971e988 [main] ---> c0afb28bcae9 [main] Removing intermediate container 4de35971e988 [main] Step 4/14 : COPY Dockerbin/asound.conf /etc/asound.conf [main] ---> 05910c439499 [main] Removing intermediate container 11837cd2abd6 [main] Step 5/14 : COPY Dockerbin/assistant.json /root/assistant.json [main] ---> 7eadbe06dd45 [main] Removing intermediate container 4eab2345735a [main] Step 6/14 : WORKDIR /usr/src/app [main] ---> e0dac15a86ec [main] Removing intermediate container e234a8680a53 [main] Step 7/14 : COPY ./app ./ [main] ---> 96211b9bc52a [main] Removing intermediate container 2be04d48f33a [main] Step 8/14 : RUN git clone https://github.com/google/aiyprojects-raspbian.git && mv aiyprojects-raspbian/src/* . && rm -rf aiyprojects-raspbian [main] ---> Running in 80c931889f2a [main] Cloning into 'aiyprojects-raspbian'... [main] [main] ---> bec347579274 [main] Removing intermediate container 80c931889f2a [main] Step 9/14 : COPY pip.conf /etc/pip.conf [main] ---> 4e461bee978d [main] Removing intermediate container 7225b9e5ec12 [main] Step 10/14 : RUN pip3 install -r requirements.txt && pip3 install --upgrade google-assistant-library [main] ---> Running in 710514820c5c [main] Collecting google-assistant-grpc==0.0.2 (from -r requirements.txt (line 1)) [main] Downloading https://files.pythonhosted.org/packages/b8/a2/66439fd88eb402514869d595e483237e937df2ff6f77ba99f77f8a65fc66/google_assistant_grpc-0.0.2-py2.py3-none-any.whl [main] Collecting grpc-google-cloud-speech-v1beta1==0.14.0 (from -r requirements.txt (line 2)) [main] Downloading https://www.piwheels.hostedpi.com/simple/grpc-google-cloud-speech-v1beta1/grpc_google_cloud_speech_v1beta1-0.14.0-py3-none-any.whl [main] Collecting google-auth-oauthlib==0.1.0 (from -r requirements.txt (line 3)) [main] Downloading https://files.pythonhosted.org/packages/5b/c3/07c0cc6f43f520fcab7bd89c7f680ca549675036cf1abfd33d3b3f016197/google_auth_oauthlib-0.1.0-py2.py3-none-any.whl [main] Collecting numpy (from -r requirements.txt (line 4)) [main] Downloading https://files.pythonhosted.org/packages/83/6b/d03277eacf113697675cd659086a4dcf9472108e2f1a83884c0271bdca46/numpy-1.15.3.zip (4.5MB) [main] Collecting rpi.gpio (from -r requirements.txt (line 5)) [main] Downloading https://files.pythonhosted.org/packages/f0/19/89e634790eb10d64ca87ce5c01751e784a730cf102262205d815275e883a/RPi.GPIO-0.6.4.tar.gz [main] Collecting pysocks (from -r requirements.txt (line 6)) [main] Downloading https://www.piwheels.hostedpi.com/simple/pysocks/PySocks-1.6.8-py3-none-any.whl [main] Collecting grpcio>=1.3.5 (from google-assistant-grpc==0.0.2->-r requirements.txt (line 1)) [main] Downloading https://files.pythonhosted.org/packages/be/84/9afa550ae7bfc65a7150f66ecdbf267617a2d584d9f845b4ef7d026a24ad/grpcio-1.16.0.tar.gz (14.5MB) [main] Collecting googleapis-common-protos>=1.5.2 (from google-assistant-grpc==0.0.2->-r requirements.txt (line 1)) [main] Exception: [main] Traceback (most recent call last): [main] File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 594, in urlopen [main] chunked=chunked) [main] File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 391, in _make_request [main] six.raise_from(e, None) [main] File "<string>", line 2, in raise_from [main] File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 387, in _make_request [main] httplib_response = conn.getresponse() [main] File "/usr/lib/python3.5/http/client.py", line 1198, in getresponse [main] response.begin() [main] File "/usr/lib/python3.5/http/client.py", line 297, in begin [main] version, status, reason = self._read_status() [main] File "/usr/lib/python3.5/http/client.py", line 266, in _read_status [main] raise RemoteDisconnected("Remote end closed connection without" [main] http.client.RemoteDisconnected: Remote end closed connection without response [main] During handling of the above exception, another exception occurred: [main] Traceback (most recent call last): [main] File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main [main] status = self.run(options, args) [main] File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run [main] wb.build(autobuilding=True) [main] File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build [main] self.requirement_set.prepare_files(self.finder) [main] File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files [main] ignore_dependencies=self.ignore_dependencies)) [main] File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in _prepare_file [main] require_hashes [main] File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278, in populate_link [main] self.link = finder.find_requirement(self, upgrade) [main] File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in find_requirement [main] all_candidates = self.find_all_candidates(req.name) [main] File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in find_all_candidates [main] for page in self._get_pages(url_locations, project_name): [main] File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in _get_pages [main] page = self._get_page(location) [main] File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page [main] return HTMLPage.get_page(link, session=self.session) [main] File "/usr/lib/python3/dist-packages/pip/index.py", line 792, in get_page [main] "Cache-Control": "max-age=600", [main] File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get [main] return self.request('GET', url, **kwargs) [main] File "/usr/lib/python3/dist-packages/pip/download.py", line 386, in request [main] return super(PipSession, self).request(method, url, *args, **kwargs) [main] File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request [main] resp = self.send(prep, **send_kwargs) [main] File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send [main] r = adapter.send(request, **kwargs) [main] File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send [main] resp = super(CacheControlAdapter, self).send(request, **kw) [main] File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send [main] timeout=timeout [main] File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen [main] _stacktrace=sys.exc_info()[2]) [main] File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment [main] total -= 1 [main] TypeError: unsupported operand type(s) for -=: 'Retry' and 'int' [main] [main] Removing intermediate container 710514820c5c [main] The command '/bin/sh -c pip3 install -r requirements.txt && pip3 install --upgrade google-assistant-library' returned a non-zero code: 2 [Info] Uploading images [Success] Successfully uploaded images [Error] Some services failed to build: [Error] Service: main [Error] Error: The command '/bin/sh -c pip3 install -r requirements.txt && pip3 install --upgrade google-assistant-library' returned a non-zero code: 2 [Error] Not deploying release. remote: error: hook declined to update refs/heads/master To git.resin.io:gh_janvda/pi3four.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'gh_janvda@git.resin.io:gh_janvda/pi3four.git' BE02506@20FM-PC0CP7KD MINGW64 ~/balena/balena-google-aiy (master)
When entering the command
I got error:
FYI here below you find the full trace of the git push command: