Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

RemoteBuildFailedError: Remote build failed #93

Open
AkshayKanchan opened this issue Sep 16, 2019 · 0 comments
Open

RemoteBuildFailedError: Remote build failed #93

AkshayKanchan opened this issue Sep 16, 2019 · 0 comments

Comments

@AkshayKanchan
Copy link

I am unable to balena push to my device below are the details of device/os and error log.

OS: balenaOS 2.38.0+rev1 (production)
Device: Raspberry PI 3 B (with 7" touch screen)
Error in console:
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Dashboard link: https://dashboard.balena-cloud.com/apps/1508961/devices"}
[Info] Dashboard link: https://dashboard.balena-cloud.com/apps/1508961/devices
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Building on arm01"}
[Info] Building on arm01
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Pulling previous images for caching purposes..."}
[Info] Pulling previous images for caching purposes...
[debug] handling message: {"message":"[=========================> ] 50%","replace":true}
[=========================> ] 50%[debug] handling message: {"type":"metadata","resource":"cursor","value":"erase"}
[debug] handling message: {"message":"\u001b[32m[Success]\u001b[39m Successfully pulled cache images"}
[Success] Successfully pulled cache images
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Step 1/12 : FROM balenalib/raspberrypi3-64-node:10-build as build"}
[main] Step 1/12 : FROM balenalib/raspberrypi3-64-node:10-build as build
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m ---> 0ce4fe10ef98"}
[main] ---> 0ce4fe10ef98
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Step 2/12 : WORKDIR /usr/src/app"}
[main] Step 2/12 : WORKDIR /usr/src/app
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m \u001b[42m\u001b[30mUsing cache\u001b[39m\u001b[49m"}
[main] Using cache
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m ---> fcb38d0cd634"}
[main] ---> fcb38d0cd634
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Step 3/12 : RUN install_packages apt-utils clang libxcb-image0 libxcb-util0 xdg-utils libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev libsmbclient libssh-4 libexpat-dev"}
[main] Step 3/12 : RUN install_packages apt-utils clang libxcb-image0 libxcb-util0 xdg-utils libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev libsmbclient libssh-4 libexpat-dev
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m ---> Running in 6bebcf0bc8ce"}
[main] ---> Running in 6bebcf0bc8ce
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Reading package lists..."}
[main] Reading package lists...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Building dependency tree..."}
[main] Building dependency tree...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Reading state information..."}
[main] Reading state information...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m \u001b[91mE: Unable to locate package libgnome-keyring-dev"}
[main] E: Unable to locate package libgnome-keyring-dev
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m \u001b[0m"}
[main]
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m apt failed, retrying"}
[main] apt failed, retrying
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Reading package lists..."}
[main] Reading package lists...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Building dependency tree..."}
[main] Building dependency tree...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Reading state information..."}
[main] Reading state information...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m \u001b[91mE: Unable to locate package libgnome-keyring-dev"}
[main] E: Unable to locate package libgnome-keyring-dev
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m \u001b[0m"}
[main]
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m apt failed, retrying"}
[main] apt failed, retrying
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Reading package lists..."}
[main] Reading package lists...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Building dependency tree..."}
[main] Building dependency tree...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Reading state information..."}
[main] Reading state information...
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m \u001b[91mE: Unable to locate package libgnome-keyring-dev"}
[main] E: Unable to locate package libgnome-keyring-dev
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m \u001b[0m"}
[main]
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m Removing intermediate container 6bebcf0bc8ce"}
[main] Removing intermediate container 6bebcf0bc8ce
[debug] handling message: {"message":"\u001b[34m[main]\u001b[39m \u001b[31mThe command '/bin/sh -c install_packages apt-utils clang libxcb-image0 libxcb-util0 xdg-utils libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev libsmbclient libssh-4 libexpat-dev' returned a non-zero code: 100\u001b[39m"}
[main] The command '/bin/sh -c install_packages apt-utils clang libxcb-image0 libxcb-util0 xdg-utils libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev libsmbclient libssh-4 libexpat-dev' returned a non-zero code: 100
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Uploading images"}
[Info] Uploading images
[debug] handling message: {"message":"[==================================================>] 100%","replace":true}
[==================================================>] 100%[debug] handling message: {"message":"[==================================================>] 100%","replace":true}
[==================================================>] 100%[debug] handling message: {"type":"metadata","resource":"cursor","value":"erase"}
[debug] handling message: {"message":"\u001b[32m[Success]\u001b[39m Successfully uploaded images"}
[Success] Successfully uploaded images
[debug] handling message: {"message":"\u001b[31m[Error]\u001b[39m Some services failed to build:","isError":true}
[Error] Some services failed to build:
[debug] handling message: {"message":"\u001b[31m[Error]\u001b[39m Service: main","isError":true}
[Error] Service: main
[debug] handling message: {"message":"\u001b[31m[Error]\u001b[39m Error: The command '/bin/sh -c install_packages apt-utils clang libxcb-image0 libxcb-util0 xdg-utils libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev libsmbclient libssh-4 libexpat-dev' returned a non-zero code: 100","isError":true}
[Error] Error: The command '/bin/sh -c install_packages apt-utils clang libxcb-image0 libxcb-util0 xdg-utils libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev libsmbclient libssh-4 libexpat-dev' returned a non-zero code: 100
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Built on arm01"}
[Info] Built on arm01
[debug] handling message: {"message":"\u001b[31m[Error]\u001b[39m Not deploying release.","isError":true}
[Error] Not deploying release.
RemoteBuildFailedError: Remote build failed
at Bluebird.then (/usr/lib/node_modules/balena-cli/build/utils/remote-build.js:56:23)
at tryCatcher (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/promise.js:517:31)
at Promise._settlePromise (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/promise.js:574:18)
at Promise._settlePromise0 (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/promise.js:699:18)
at _drainQueueStep (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (/usr/lib/node_modules/balena-cli/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
at process.topLevelDomainCallback (domain.js:126:23)

If you need help, don't hesitate in contacting our support forums at
https://forums.balena.io

For bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/

@AkshayKanchan AkshayKanchan changed the title Remote: error: hook declined to update refs/heads/master RemoteBuildFailedError: Remote build failed Sep 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant