Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got a problem when I build [matrix-riot-web ] on Riot Web repository on self-build setting in Pi4 #510

Open
elohffa opened this issue May 18, 2020 · 5 comments

Comments

@elohffa
Copy link

elohffa commented May 18, 2020

HI , I gotta a problem again , when I setup the environment on Pi4 , OS is from original as Pi . I already enable
matrix_riot_web_container_image_self_build: true in the var.yml and main.yml at /roles/matrix-riot-web/defaults . I get a few day to digging in google , I find a same issue on another users when build the docker image from original source on arm64 device.
element-hq/element-web#6153 . Any clue and suggestion to helping me to solve this issue.

TASK [matrix-riot-web : Ensure Riot Web repository is present on self-build] ********************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:27
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/source_control/git.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=sdebnrqlpqfpnhqanjfinnsglnvhghbh] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sdebnrqlpqfpnhqanjfinnsglnvhghbh ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (0, '\n{"after": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a", "warnings": [], "changed": false, "remote_url_changed": false, "invocation": {"module_args": {"force": true, "track_submodules": false, "reference": null, "verify_commit": false, "ssh_opts": null, "bare": false, "archive": null, "executable": null, "recursive": true, "umask": null, "version": "v1.6.0", "dest": "/matrix/riot-web/docker-src", "clone": true, "gpg_whitelist": [], "update": true, "repo": "https://github.com/vector-im/riot-web.git", "remote": "origin", "refspec": null, "separate_git_dir": null, "accept_hostkey": false, "depth": null, "key_file": null}}, "before": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a"}\n', '')
ok: [matrix.xxxx.com] => {
"after": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a",
"before": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a",
"changed": false,
"invocation": {
"module_args": {
"accept_hostkey": false,
"archive": null,
"bare": false,
"clone": true,
"depth": null,
"dest": "/matrix/riot-web/docker-src",
"executable": null,
"force": true,
"gpg_whitelist": [],
"key_file": null,
"recursive": true,
"reference": null,
"refspec": null,
"remote": "origin",
"repo": "https://github.com/vector-im/riot-web.git",
"separate_git_dir": null,
"ssh_opts": null,
"track_submodules": false,
"umask": null,
"update": true,
"verify_commit": false,
"version": "v1.6.0"
}
},
"remote_url_changed": false
}

TASK [matrix-riot-web : Ensure Riot Web Docker image is built] **********************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:35
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/cloud/docker/docker_image.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=dgdeadjsgbeurevcrdoveepwzjuslexe] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-dgdeadjsgbeurevcrdoveepwzjuslexe ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (1, '\n{"msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\\n', u' ---> 5e7bbf318a1f\\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\\n', u' ---> Using cache\\n', u' ---> 7967277d62ec\\n', u'Step 3/18 : ARG REACT_SDK_REPO=\"https://github.com/matrix-org/matrix-react-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> af39442984c8\\n', u'Step 4/18 : ARG REACT_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 293f0a46a885\\n', u'Step 5/18 : ARG JS_SDK_REPO=\"https://github.com/matrix-org/matrix-js-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> 41de0a30c004\\n', u'Step 6/18 : ARG JS_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 493f7e1d75b1\\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\\n', u' ---> Using cache\\n', u' ---> e88c1c9dcb4a\\n', u'Step 8/18 : WORKDIR /src', u'\\n', u' ---> Using cache\\n', u' ---> dac501846ed6\\n', u'Step 9/18 : COPY . /src', u'\\n', u' ---> Using cache\\n', u' ---> 987ff46a2f2f\\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\\n', u' ---> Using cache\\n', u' ---> ad47656f7faa\\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\\n', u' ---> Running in 1f67fb579ce6\\n', u'yarn install v1.22.4\\n', u'[1/4] Resolving packages...\\n', u'[2/4] Fetching packages...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'\\x1b[91merror An unexpected error occurred: \"https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz: ESOCKETTIMEDOUT\".\\n\\x1b[0m', u'info If you think this is a bug, please open a bug report with the information provided in \"/src/yarn-error.log\".\\n', u'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'info There appears to be trouble with your network connection. Retrying...\\n', u'Removing intermediate container 1f67fb579ce6\\n']", "failed": true, "invocation": {"module_args": {"force": null, "force_absent": false, "docker_host": "unix://var/run/docker.sock", "tag": "latest", "client_key": null, "repository": null, "nocache": false, "force_tag": false, "load_path": null, "use_tls": null, "source": "build", "state": "present", "build": {"pull": true, "args": null, "target": null, "nocache": false, "container_limits": null, "dockerfile": "Dockerfile", "cache_from": null, "etc_hosts": null, "path": "/matrix/riot-web/docker-src", "rm": true, "use_config_proxy": null, "http_timeout": null, "network": null}, "rm": true, "dockerfile": null, "client_cert": null, "api_version": "auto", "archive_path": null, "timeout": 60, "ca_cert": null, "tls_hostname": "localhost", "push": false, "force_source": false, "path": null, "tls": false, "pull": null, "name": "vectorim/riot-web:v1.6.0", "container_limits": null, "http_timeout": null, "ssl_version": null, "buildargs": null, "debug": false, "validate_certs": false}}}\n', '')
<61.93.42.156> Failed to connect to the host via ssh:
fatal: [matrix.xxxx.com]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"api_version": "auto",
"archive_path": null,
"build": {
"args": null,
"cache_from": null,
"container_limits": null,
"dockerfile": "Dockerfile",
"etc_hosts": null,
"http_timeout": null,
"network": null,
"nocache": false,
"path": "/matrix/riot-web/docker-src",
"pull": true,
"rm": true,
"target": null,
"use_config_proxy": null
},
"buildargs": null,
"ca_cert": null,
"client_cert": null,
"client_key": null,
"container_limits": null,
"debug": false,
"docker_host": "unix://var/run/docker.sock",
"dockerfile": null,
"force": null,
"force_absent": false,
"force_source": false,
"force_tag": false,
"http_timeout": null,
"load_path": null,
"name": "vectorim/riot-web:v1.6.0",
"nocache": false,
"path": null,
"pull": null,
"push": false,
"repository": null,
"rm": true,
"source": "build",
"ssl_version": null,
"state": "present",
"tag": "latest",
"timeout": 60,
"tls": false,
"tls_hostname": "localhost",
"use_tls": null,
"validate_certs": false
}
},
"msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\n', u' ---> 5e7bbf318a1f\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\n', u' ---> Using cache\n', u' ---> 7967277d62ec\n', u'Step 3/18 : ARG REACT_SDK_REPO="https://github.com/matrix-org/matrix-react-sdk.git"', u'\n', u' ---> Using cache\n', u' ---> af39442984c8\n', u'Step 4/18 : ARG REACT_SDK_BRANCH="master"', u'\n', u' ---> Using cache\n', u' ---> 293f0a46a885\n', u'Step 5/18 : ARG JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git"', u'\n', u' ---> Using cache\n', u' ---> 41de0a30c004\n', u'Step 6/18 : ARG JS_SDK_BRANCH="master"', u'\n', u' ---> Using cache\n', u' ---> 493f7e1d75b1\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\n', u' ---> Using cache\n', u' ---> e88c1c9dcb4a\n', u'Step 8/18 : WORKDIR /src', u'\n', u' ---> Using cache\n', u' ---> dac501846ed6\n', u'Step 9/18 : COPY . /src', u'\n', u' ---> Using cache\n', u' ---> 987ff46a2f2f\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\n', u' ---> Using cache\n', u' ---> ad47656f7faa\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\n', u' ---> Running in 1f67fb579ce6\n', u'yarn install v1.22.4\n', u'[1/4] Resolving packages...\n', u'[2/4] Fetching packages...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'\x1b[91merror An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz: ESOCKETTIMEDOUT".\n\x1b[0m', u'info If you think this is a bug, please open a bug report with the information provided in "/src/yarn-error.log".\n', u'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'info There appears to be trouble with your network connection. Retrying...\n', u'Removing intermediate container 1f67fb579ce6\n']"
}

PLAY RECAP **************************************************************************************************
matrix.xxxx.com : ok=74 changed=0 unreachable=0 failed=1 skipped=306 rescued=0 ignored=0

@spantaleev
Copy link
Owner

The error seems to indicate that you have some trouble with your internet connection. Perhaps npm is down or something. Perhaps trying again would solve it.

@elohffa
Copy link
Author

elohffa commented May 19, 2020

I try more than 6 times in a day , I also get this issue , I'm afraid the source of npm is down ,but could u let me how to find the original URL of the source of npm ?

@elohffa
Copy link
Author

elohffa commented May 20, 2020

Here is the problem I get and it was said , the https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz is not found . Could u let me know how to fix this ?

TASK [matrix-riot-web : Ensure Matrix riot-web path exists] ***********************************************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:7
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=vhdbycrhwwwtvekhpbymgosjjpopwahz] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-vhdbycrhwwwtvekhpbymgosjjpopwahz ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (0, '\n{"group": "matrix", "uid": 1001, "changed": false, "owner": "matrix", "state": "directory", "gid": 1001, "mode": "0750", "path": "/matrix/riot-web", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/matrix/riot-web", "owner": "matrix", "follow": true, "group": "matrix", "unsafe_writes": null, "state": "directory", "content": null, "serole": null, "selevel": null, "setype": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": 488, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/matrix/riot-web"}, "before": {"path": "/matrix/riot-web"}}, "size": 4096}\n', '')
ok: [matrix.psycrypto.com] => (item={u'path': u'/matrix/riot-web', u'when': True}) => {
"ansible_loop_var": "item",
"changed": false,
"diff": {
"after": {
"path": "/matrix/riot-web"
},
"before": {
"path": "/matrix/riot-web"
}
},
"gid": 1001,
"group": "matrix",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "matrix",
"mode": 488,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": "matrix",
"path": "/matrix/riot-web",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": {
"path": "/matrix/riot-web",
"when": true
},
"mode": "0750",
"owner": "matrix",
"path": "/matrix/riot-web",
"size": 4096,
"state": "directory",
"uid": 1001
}
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=qlsdeaoqlaekogrkpzjihahvkswuzyou] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-qlsdeaoqlaekogrkpzjihahvkswuzyou ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (0, '\n{"group": "matrix", "uid": 1001, "changed": false, "owner": "matrix", "state": "directory", "gid": 1001, "mode": "0750", "path": "/matrix/riot-web/docker-src", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/matrix/riot-web/docker-src", "owner": "matrix", "follow": true, "group": "matrix", "unsafe_writes": null, "state": "directory", "content": null, "serole": null, "selevel": null, "setype": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": 488, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/matrix/riot-web/docker-src"}, "before": {"path": "/matrix/riot-web/docker-src"}}, "size": 4096}\n', '')
ok: [matrix.psycrypto.com] => (item={u'path': u'/matrix/riot-web/docker-src', u'when': True}) => {
"ansible_loop_var": "item",
"changed": false,
"diff": {
"after": {
"path": "/matrix/riot-web/docker-src"
},
"before": {
"path": "/matrix/riot-web/docker-src"
}
},
"gid": 1001,
"group": "matrix",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "matrix",
"mode": 488,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": "matrix",
"path": "/matrix/riot-web/docker-src",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": {
"path": "/matrix/riot-web/docker-src",
"when": true
},
"mode": "0750",
"owner": "matrix",
"path": "/matrix/riot-web/docker-src",
"size": 4096,
"state": "directory",
"uid": 1001
}

TASK [matrix-riot-web : Ensure riot-web Docker image is pulled] *******************************************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:19
skipping: [matrix.psycrypto.com] => {
"changed": false,
"skip_reason": "Conditional result was False"
}

TASK [matrix-riot-web : Ensure Riot Web repository is present on self-build] ******************************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:27
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/source_control/git.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=sayhoiaudiunuujtrhzqabsdxpmgmygc] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sayhoiaudiunuujtrhzqabsdxpmgmygc ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (0, '\n{"after": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a", "warnings": [], "changed": false, "remote_url_changed": false, "invocation": {"module_args": {"force": true, "track_submodules": false, "reference": null, "verify_commit": false, "ssh_opts": null, "bare": false, "archive": null, "executable": null, "recursive": true, "umask": null, "version": "v1.6.0", "dest": "/matrix/riot-web/docker-src", "clone": true, "gpg_whitelist": [], "update": true, "repo": "https://github.com/vector-im/riot-web.git", "remote": "origin", "refspec": null, "separate_git_dir": null, "accept_hostkey": false, "depth": null, "key_file": null}}, "before": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a"}\n', '')
ok: [matrix.psycrypto.com] => {
"after": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a",
"before": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a",
"changed": false,
"invocation": {
"module_args": {
"accept_hostkey": false,
"archive": null,
"bare": false,
"clone": true,
"depth": null,
"dest": "/matrix/riot-web/docker-src",
"executable": null,
"force": true,
"gpg_whitelist": [],
"key_file": null,
"recursive": true,
"reference": null,
"refspec": null,
"remote": "origin",
"repo": "https://github.com/vector-im/riot-web.git",
"separate_git_dir": null,
"ssh_opts": null,
"track_submodules": false,
"umask": null,
"update": true,
"verify_commit": false,
"version": "v1.6.0"
}
},
"remote_url_changed": false
}

TASK [matrix-riot-web : Ensure Riot Web Docker image is built] ********************************************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:35
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/cloud/docker/docker_image.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=spsvxolyohvijixnqsbubsdttxupxwbp] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-spsvxolyohvijixnqsbubsdttxupxwbp ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (1, '\n{"msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\\n', u' ---> 5e7bbf318a1f\\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\\n', u' ---> Using cache\\n', u' ---> 7967277d62ec\\n', u'Step 3/18 : ARG REACT_SDK_REPO=\"https://github.com/matrix-org/matrix-react-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> af39442984c8\\n', u'Step 4/18 : ARG REACT_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 293f0a46a885\\n', u'Step 5/18 : ARG JS_SDK_REPO=\"https://github.com/matrix-org/matrix-js-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> 41de0a30c004\\n', u'Step 6/18 : ARG JS_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 493f7e1d75b1\\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\\n', u' ---> Using cache\\n', u' ---> e88c1c9dcb4a\\n', u'Step 8/18 : WORKDIR /src', u'\\n', u' ---> Using cache\\n', u' ---> dac501846ed6\\n', u'Step 9/18 : COPY . /src', u'\\n', u' ---> Using cache\\n', u' ---> 0260b789b3ad\\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\\n', u' ---> Using cache\\n', u' ---> 77d28e027578\\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\\n', u' ---> Running in eb3915568579\\n', u'yarn install v1.22.4\\n', u'[1/4] Resolving packages...\\n', u'[2/4] Fetching packages...\\n', u'info [email protected]: The platform \"linux\" is incompatible with this module.\\n', u'info \"[email protected]\" is an optional dependency and failed compatibility check. Excluding it from installation.\\n', u'info [email protected]: The platform \"linux\" is incompatible with this module.\\n', u'info \"[email protected]\" is an optional dependency and failed compatibility check. Excluding it from installation.\\n', u'[3/4] Linking dependencies...\\n', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has unmet peer dependency \"emojibase@*\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has unmet peer dependency \"jquery@>= 1.11.0\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has incorrect peer dependency \"[email protected] - 16.2\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > diff-dom > [email protected]\" has unmet peer dependency \"rollup@>=0.66.0 <3\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > [email protected]\" has unmet peer dependency \"core-js-bundle@^3.6.4\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > [email protected]\" has unmet peer dependency \"regenerator-runtime@^0.13.3\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > typeson-registry > [email protected]\" has unmet peer dependency \"core-js-bundle@^3.1.3\".\\n\\x1b[0m', u'[4/4] Building fresh packages...\\n', u'\\x1b[91merror /src/node_modules/canvas: Command failed.\\nExit code: 1\\nCommand: node-pre-gyp install --fallback-to-build\\nArguments: \\nDirectory: /src/node_modules/canvas\\nOutput:\\nnode-pre-gyp info it worked if it ends with ok\\nnode-pre-gyp info using [email protected]\\nnode-pre-gyp info using [email protected] | linux | arm\\nnode-pre-gyp WARN Using request for node-pre-gyp https download \\nnode-pre-gyp info check checked for \"/src/node_modules/canvas/build/Release/canvas.node\" (not found)\\nnode-pre-gyp http GET https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz\\nnode-pre-gyp http 404 https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz\\nnode-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz \\nnode-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp) \\nnode-pre-gyp http 404 status code downloading tarball https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz \\ngyp info it worked if it ends with ok\\ngyp info using [email protected]\\ngyp info using [email protected] | linux | arm\\ngyp info ok \\ngyp info it worked if it ends with ok\\ngyp info using [email protected]\\ngyp info using [email protected] | linux | arm\\ngyp info find Python using Python version 2.7.13 found at \"/usr/bin/python\"\\ngyp http GET https://nodejs.org/download/release/v10.20.1/node-v10.20.1-headers.tar.gz\\ngyp http 200 https://nodejs.org/download/release/v10.20.1/node-v10.20.1-headers.tar.gz\\ngyp http GET https://nodejs.org/download/release/v10.20.1/SHASUMS256.txt\\ngyp http 200 https://nodejs.org/download/release/v10.20.1/SHASUMS256.txt\\ngyp info spawn /usr/bin/python\\ngyp info spawn args [ \\'/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py\\',\\ngyp info spawn args \\'binding.gyp\\',\\ngyp info spawn args \\'-f\\',\\ngyp info spawn args \\'make\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/src/node_modules/canvas/build/config.gypi\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/root/.cache/node-gyp/10.20.1/include/node/common.gypi\\',\\ngyp info spawn args \\'-Dlibrary=shared_library\\',\\ngyp info spawn args \\'-Dvisibility=default\\',\\ngyp info spawn args \\'-Dnode_root_dir=/root/.cache/node-gyp/10.20.1\\',\\ngyp info spawn args \\'-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp\\',\\ngyp info spawn args \\'-Dnode_lib_file=/root/.cache/node-gyp/10.20.1/<(target_arch)/node.lib\\',\\ngyp info spawn args \\'-Dmodule_root_dir=/src/node_modules/canvas\\',\\ngyp info spawn args \\'-Dnode_engine=v8\\',\\ngyp info spawn args \\'--depth=.\\',\\ngyp info spawn args \\'--no-parallel\\',\\ngyp info spawn args \\'--generator-output\\',\\ngyp info spawn args \\'build\\',\\ngyp info spawn args \\'-Goutput_dir=.\\' ]\\nPackage pangocairo was not found in the pkg-config search path.\\nPerhaps you should add the directory containing pangocairo.pc\\\\\'\\\\nto the PKG_CONFIG_PATH environment variable\\\\nNo package \\\\\'pangocairo\\\\\' found\\\\ngyp: Call to \\\\\'pkg-config pangocairo --libs\\\\\' returned exit status 1 while in binding.gyp. while trying to load binding.gyp\\\\ngyp ERR! configure error \\\\ngyp ERR! stack Error: gypfailed with exit code: 1\\\\ngyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)\\\\ngyp ERR! stack at ChildProcess.emit (events.js:198:13)\\\\ngyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)\\\\ngyp ERR! System Linux 4.19.97-v7l+\\\\ngyp ERR! command \\"/usr/local/bin/node\\" \\"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\\" \\"configure\\" \\"--fallback-to-build\\" \\"--module=/src/node_modules/canvas/build/Release/canvas.node\\" \\"--module_name=canvas\\" \\"--module_path=/src/node_modules/canvas/build/Release\\" \\"--napi_version=6\\" \\"--node_abi_napi=napi\\" \\"--napi_build_version=0\\" \\"--node_napi_label=node-v64\\"\\\\ngyp ERR! cwd /src/node_modules/canvas\\\\ngyp ERR! node -v v10.20.1\\\\ngyp ERR! node-gyp -v v5.1.0\\\\ngyp ERR! not ok \\\\nnode-pre-gyp ERR! build error \\\\nnode-pre-gyp ERR! stack Error: Failed to execute \\\\\'/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/src/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/src/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64\\\\\' (1)\\\\nnode-pre-gyp ERR! stack at ChildProcess.<anonymous> (/src/node_modules/node-pre-gyp/lib/util/compile.js:83:29)\\\\nnode-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)\\\\nnode-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)\\\\nnode-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)\\\\nnode-pre-gyp ERR! System Linux 4.19.97-v7l+\\\\nnode-pre-gyp ERR! command \\"/usr/local/bin/node\\" \\"/src/node_modules/canvas/node_modules/.bin/node-pre-gyp\\" \\"install\\" \\"--fallback-to-build\\"\\\\nnode-pre-gyp ERR! cwd /src/node_modules/canvas\\\\nnode-pre-gyp ERR! node -v v10.20.1\\\\nnode-pre-gyp ERR! node-pre-gyp -v v0.11.0\\\\nnode-pre-gyp ERR! not ok \\\\nFailed to execute \\\\\'/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/src/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/src/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64\\\\\' (1)\\\\n\\\\x1b[0m\', u\'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\\\\n\', u\'Removing intermediate container eb3915568579\\\\n\']", "failed": true, "invocation": {"module_args": {"force": null, "force_absent": false, "docker_host": "unix://var/run/docker.sock", "tag": "latest", "client_key": null, "repository": null, "nocache": false, "force_tag": false, "load_path": null, "use_tls": null, "source": "build", "state": "present", "build": {"pull": true, "args": null, "target": null, "nocache": false, "container_limits": null, "dockerfile": "Dockerfile", "cache_from": null, "etc_hosts": null, "path": "/matrix/riot-web/docker-src", "rm": true, "use_config_proxy": null, "http_timeout": null, "network": null}, "rm": true, "dockerfile": null, "client_cert": null, "api_version": "auto", "archive_path": null, "timeout": 60, "ca_cert": null, "tls_hostname": "localhost", "push": false, "force_source": false, "path": null, "tls": false, "pull": null, "name": "vectorim/riot-web:v1.6.0", "container_limits": null, "http_timeout": null, "ssl_version": null, "buildargs": null, "debug": false, "validate_certs": false}}}\n', '') <61.93.42.156> Failed to connect to the host via ssh: fatal: [matrix.psycrypto.com]: FAILED! => { "changed": false, "invocation": { "module_args": { "api_version": "auto", "archive_path": null, "build": { "args": null, "cache_from": null, "container_limits": null, "dockerfile": "Dockerfile", "etc_hosts": null, "http_timeout": null, "network": null, "nocache": false, "path": "/matrix/riot-web/docker-src", "pull": true, "rm": true, "target": null, "use_config_proxy": null }, "buildargs": null, "ca_cert": null, "client_cert": null, "client_key": null, "container_limits": null, "debug": false, "docker_host": "unix://var/run/docker.sock", "dockerfile": null, "force": null, "force_absent": false, "force_source": false, "force_tag": false, "http_timeout": null, "load_path": null, "name": "vectorim/riot-web:v1.6.0", "nocache": false, "path": null, "pull": null, "push": false, "repository": null, "rm": true, "source": "build", "ssl_version": null, "state": "present", "tag": "latest", "timeout": 60, "tls": false, "tls_hostname": "localhost", "use_tls": null, "validate_certs": false } }, "msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\\n', u' ---> 5e7bbf318a1f\\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\\n', u' ---> Using cache\\n', u' ---> 7967277d62ec\\n', u'Step 3/18 : ARG REACT_SDK_REPO=\"https://github.com/matrix-org/matrix-react-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> af39442984c8\\n', u'Step 4/18 : ARG REACT_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 293f0a46a885\\n', u'Step 5/18 : ARG JS_SDK_REPO=\"https://github.com/matrix-org/matrix-js-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> 41de0a30c004\\n', u'Step 6/18 : ARG JS_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 493f7e1d75b1\\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\\n', u' ---> Using cache\\n', u' ---> e88c1c9dcb4a\\n', u'Step 8/18 : WORKDIR /src', u'\\n', u' ---> Using cache\\n', u' ---> dac501846ed6\\n', u'Step 9/18 : COPY . /src', u'\\n', u' ---> Using cache\\n', u' ---> 0260b789b3ad\\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\\n', u' ---> Using cache\\n', u' ---> 77d28e027578\\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\\n', u' ---> Running in eb3915568579\\n', u'yarn install v1.22.4\\n', u'[1/4] Resolving packages...\\n', u'[2/4] Fetching packages...\\n', u'info [email protected]: The platform \"linux\" is incompatible with this module.\\n', u'info \"[email protected]\" is an optional dependency and failed compatibility check. Excluding it from installation.\\n', u'info [email protected]: The platform \"linux\" is incompatible with this module.\\n', u'info \"[email protected]\" is an optional dependency and failed compatibility check. Excluding it from installation.\\n', u'[3/4] Linking dependencies...\\n', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has unmet peer dependency \"emojibase@*\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has unmet peer dependency \"jquery@>= 1.11.0\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has incorrect peer dependency \"[email protected] - 16.2\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > diff-dom > [email protected]\" has unmet peer dependency \"rollup@>=0.66.0 <3\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > [email protected]\" has unmet peer dependency \"core-js-bundle@^3.6.4\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > [email protected]\" has unmet peer dependency \"regenerator-runtime@^0.13.3\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > typeson-registry > [email protected]\" has unmet peer dependency \"core-js-bundle@^3.1.3\".\\n\\x1b[0m', u'[4/4] Building fresh packages...\\n', u'\\x1b[91merror /src/node_modules/canvas: Command failed.\\nExit code: 1\\nCommand: node-pre-gyp install --fallback-to-build\\nArguments: \\nDirectory: /src/node_modules/canvas\\nOutput:\\nnode-pre-gyp info it worked if it ends with ok\\nnode-pre-gyp info using [email protected]\\nnode-pre-gyp info using [email protected] | linux | arm\\nnode-pre-gyp WARN Using request for node-pre-gyp https download \\nnode-pre-gyp info check checked for \"/src/node_modules/canvas/build/Release/canvas.node\" (not found)\\nnode-pre-gyp http GET https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz\\nnode-pre-gyp http 404 https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz\\nnode-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz \\nnode-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp) \\nnode-pre-gyp http 404 status code downloading tarball https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz \\ngyp info it worked if it ends with ok\\ngyp info using [email protected]\\ngyp info using [email protected] | linux | arm\\ngyp info ok \\ngyp info it worked if it ends with ok\\ngyp info using [email protected]\\ngyp info using [email protected] | linux | arm\\ngyp info find Python using Python version 2.7.13 found at \"/usr/bin/python\"\\ngyp http GET https://nodejs.org/download/release/v10.20.1/node-v10.20.1-headers.tar.gz\\ngyp http 200 https://nodejs.org/download/release/v10.20.1/node-v10.20.1-headers.tar.gz\\ngyp http GET https://nodejs.org/download/release/v10.20.1/SHASUMS256.txt\\ngyp http 200 https://nodejs.org/download/release/v10.20.1/SHASUMS256.txt\\ngyp info spawn /usr/bin/python\\ngyp info spawn args [ \\'/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py\\',\\ngyp info spawn args \\'binding.gyp\\',\\ngyp info spawn args \\'-f\\',\\ngyp info spawn args \\'make\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/src/node_modules/canvas/build/config.gypi\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/root/.cache/node-gyp/10.20.1/include/node/common.gypi\\',\\ngyp info spawn args \\'-Dlibrary=shared_library\\',\\ngyp info spawn args \\'-Dvisibility=default\\',\\ngyp info spawn args \\'-Dnode_root_dir=/root/.cache/node-gyp/10.20.1\\',\\ngyp info spawn args \\'-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp\\',\\ngyp info spawn args \\'-Dnode_lib_file=/root/.cache/node-gyp/10.20.1/<(target_arch)/node.lib\\',\\ngyp info spawn args \\'-Dmodule_root_dir=/src/node_modules/canvas\\',\\ngyp info spawn args \\'-Dnode_engine=v8\\',\\ngyp info spawn args \\'--depth=.\\',\\ngyp info spawn args \\'--no-parallel\\',\\ngyp info spawn args \\'--generator-output\\',\\ngyp info spawn args \\'build\\',\\ngyp info spawn args \\'-Goutput_dir=.\\' ]\\nPackage pangocairo was not found in the pkg-config search path.\\nPerhaps you should add the directory containingpangocairo.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'pangocairo\' found\ngyp: Call to \'pkg-config pangocairo --libs\' returned exit status 1 while in binding.gyp. while trying to load binding.gyp\ngyp ERR! configure error \ngyp ERR! stack Error: gyp failed with exit code: 1\ngyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)\ngyp ERR! stack at ChildProcess.emit (events.js:198:13)\ngyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)\ngyp ERR! System Linux 4.19.97-v7l+\ngyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/src/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/src/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"\ngyp ERR! cwd /src/node_modules/canvas\ngyp ERR! node -v v10.20.1\ngyp ERR! node-gyp -v v5.1.0\ngyp ERR! not ok \nnode-pre-gyp ERR! build error \nnode-pre-gyp ERR! stack Error: Failed to execute \'/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/src/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/src/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64\' (1)\nnode-pre-gyp ERR! stack at ChildProcess. (/src/node_modules/node-pre-gyp/lib/util/compile.js:83:29)\nnode-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)\nnode-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)\nnode-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)\nnode-pre-gyp ERR! System Linux 4.19.97-v7l+\nnode-pre-gyp ERR! command "/usr/local/bin/node" "/src/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"\nnode-pre-gyp ERR! cwd /src/node_modules/canvas\nnode-pre-gyp ERR! node -v v10.20.1\nnode-pre-gyp ERR! node-pre-gyp -v v0.11.0\nnode-pre-gyp ERR! not ok \nFailed to execute \'/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/src/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/src/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64\' (1)\n\x1b[0m', u'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n', u'Removing intermediate container eb3915568579\n']"
}

@elohffa elohffa closed this as completed May 20, 2020
@elohffa
Copy link
Author

elohffa commented May 20, 2020

Here is the problem I get and it was said , the https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz is not found . Could u let me know how to fix this ?

TASK [matrix-riot-web : Ensure Matrix riot-web path exists] ***********************************************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:7
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=vhdbycrhwwwtvekhpbymgosjjpopwahz] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-vhdbycrhwwwtvekhpbymgosjjpopwahz ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (0, '\n{"group": "matrix", "uid": 1001, "changed": false, "owner": "matrix", "state": "directory", "gid": 1001, "mode": "0750", "path": "/matrix/riot-web", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/matrix/riot-web", "owner": "matrix", "follow": true, "group": "matrix", "unsafe_writes": null, "state": "directory", "content": null, "serole": null, "selevel": null, "setype": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": 488, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/matrix/riot-web"}, "before": {"path": "/matrix/riot-web"}}, "size": 4096}\n', '')
ok: [matrix.psycrypto.com] => (item={u'path': u'/matrix/riot-web', u'when': True}) => {
"ansible_loop_var": "item",
"changed": false,
"diff": {
"after": {
"path": "/matrix/riot-web"
},
"before": {
"path": "/matrix/riot-web"
}
},
"gid": 1001,
"group": "matrix",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "matrix",
"mode": 488,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": "matrix",
"path": "/matrix/riot-web",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": {
"path": "/matrix/riot-web",
"when": true
},
"mode": "0750",
"owner": "matrix",
"path": "/matrix/riot-web",
"size": 4096,
"state": "directory",
"uid": 1001
}
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=qlsdeaoqlaekogrkpzjihahvkswuzyou] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-qlsdeaoqlaekogrkpzjihahvkswuzyou ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (0, '\n{"group": "matrix", "uid": 1001, "changed": false, "owner": "matrix", "state": "directory", "gid": 1001, "mode": "0750", "path": "/matrix/riot-web/docker-src", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/matrix/riot-web/docker-src", "owner": "matrix", "follow": true, "group": "matrix", "unsafe_writes": null, "state": "directory", "content": null, "serole": null, "selevel": null, "setype": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": 488, "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/matrix/riot-web/docker-src"}, "before": {"path": "/matrix/riot-web/docker-src"}}, "size": 4096}\n', '')
ok: [matrix.psycrypto.com] => (item={u'path': u'/matrix/riot-web/docker-src', u'when': True}) => {
"ansible_loop_var": "item",
"changed": false,
"diff": {
"after": {
"path": "/matrix/riot-web/docker-src"
},
"before": {
"path": "/matrix/riot-web/docker-src"
}
},
"gid": 1001,
"group": "matrix",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "matrix",
"mode": 488,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": "matrix",
"path": "/matrix/riot-web/docker-src",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": {
"path": "/matrix/riot-web/docker-src",
"when": true
},
"mode": "0750",
"owner": "matrix",
"path": "/matrix/riot-web/docker-src",
"size": 4096,
"state": "directory",
"uid": 1001
}

TASK [matrix-riot-web : Ensure riot-web Docker image is pulled] *******************************************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:19
skipping: [matrix.psycrypto.com] => {
"changed": false,
"skip_reason": "Conditional result was False"
}

TASK [matrix-riot-web : Ensure Riot Web repository is present on self-build] ******************************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:27
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/source_control/git.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=sayhoiaudiunuujtrhzqabsdxpmgmygc] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sayhoiaudiunuujtrhzqabsdxpmgmygc ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (0, '\n{"after": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a", "warnings": [], "changed": false, "remote_url_changed": false, "invocation": {"module_args": {"force": true, "track_submodules": false, "reference": null, "verify_commit": false, "ssh_opts": null, "bare": false, "archive": null, "executable": null, "recursive": true, "umask": null, "version": "v1.6.0", "dest": "/matrix/riot-web/docker-src", "clone": true, "gpg_whitelist": [], "update": true, "repo": "https://github.com/vector-im/riot-web.git", "remote": "origin", "refspec": null, "separate_git_dir": null, "accept_hostkey": false, "depth": null, "key_file": null}}, "before": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a"}\n', '')
ok: [matrix.psycrypto.com] => {
"after": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a",
"before": "beda6c3b25ce12ea5c45f8f037abd3c79a394c4a",
"changed": false,
"invocation": {
"module_args": {
"accept_hostkey": false,
"archive": null,
"bare": false,
"clone": true,
"depth": null,
"dest": "/matrix/riot-web/docker-src",
"executable": null,
"force": true,
"gpg_whitelist": [],
"key_file": null,
"recursive": true,
"reference": null,
"refspec": null,
"remote": "origin",
"repo": "https://github.com/vector-im/riot-web.git",
"separate_git_dir": null,
"ssh_opts": null,
"track_submodules": false,
"umask": null,
"update": true,
"verify_commit": false,
"version": "v1.6.0"
}
},
"remote_url_changed": false
}

TASK [matrix-riot-web : Ensure Riot Web Docker image is built] ********************************************************************
task path: /home/pi/matrix-docker-ansible-deploy/roles/matrix-riot-web/tasks/setup_riot_web.yml:35
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/cloud/docker/docker_image.py
Pipelining is enabled.
<61.93.42.156> ESTABLISH SSH CONNECTION FOR USER: pi
<61.93.42.156> SSH: EXEC sshpass -d10 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="pi"' -o ConnectTimeout=10 -o ControlPath=/home/pi/.ansible/cp/b0754756bb 61.93.42.156 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=spsvxolyohvijixnqsbubsdttxupxwbp] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-spsvxolyohvijixnqsbubsdttxupxwbp ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<61.93.42.156> (1, '\n{"msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\\n', u' ---> 5e7bbf318a1f\\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\\n', u' ---> Using cache\\n', u' ---> 7967277d62ec\\n', u'Step 3/18 : ARG REACT_SDK_REPO=\"https://github.com/matrix-org/matrix-react-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> af39442984c8\\n', u'Step 4/18 : ARG REACT_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 293f0a46a885\\n', u'Step 5/18 : ARG JS_SDK_REPO=\"https://github.com/matrix-org/matrix-js-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> 41de0a30c004\\n', u'Step 6/18 : ARG JS_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 493f7e1d75b1\\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\\n', u' ---> Using cache\\n', u' ---> e88c1c9dcb4a\\n', u'Step 8/18 : WORKDIR /src', u'\\n', u' ---> Using cache\\n', u' ---> dac501846ed6\\n', u'Step 9/18 : COPY . /src', u'\\n', u' ---> Using cache\\n', u' ---> 0260b789b3ad\\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\\n', u' ---> Using cache\\n', u' ---> 77d28e027578\\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\\n', u' ---> Running in eb3915568579\\n', u'yarn install v1.22.4\\n', u'[1/4] Resolving packages...\\n', u'[2/4] Fetching packages...\\n', u'info [email protected]: The platform \"linux\" is incompatible with this module.\\n', u'info \"[email protected]\" is an optional dependency and failed compatibility check. Excluding it from installation.\\n', u'info [email protected]: The platform \"linux\" is incompatible with this module.\\n', u'info \"[email protected]\" is an optional dependency and failed compatibility check. Excluding it from installation.\\n', u'[3/4] Linking dependencies...\\n', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has unmet peer dependency \"emojibase@*\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has unmet peer dependency \"jquery@>= 1.11.0\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has incorrect peer dependency \"[email protected] - 16.2\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > diff-dom > [email protected]\" has unmet peer dependency \"rollup@>=0.66.0 <3\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > [email protected]\" has unmet peer dependency \"core-js-bundle@^3.6.4\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > [email protected]\" has unmet peer dependency \"regenerator-runtime@^0.13.3\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > typeson-registry > [email protected]\" has unmet peer dependency \"core-js-bundle@^3.1.3\".\\n\\x1b[0m', u'[4/4] Building fresh packages...\\n', u'\\x1b[91merror /src/node_modules/canvas: Command failed.\\nExit code: 1\\nCommand: node-pre-gyp install --fallback-to-build\\nArguments: \\nDirectory: /src/node_modules/canvas\\nOutput:\\nnode-pre-gyp info it worked if it ends with ok\\nnode-pre-gyp info using [email protected]\\nnode-pre-gyp info using [email protected] | linux | arm\\nnode-pre-gyp WARN Using request for node-pre-gyp https download \\nnode-pre-gyp info check checked for \"/src/node_modules/canvas/build/Release/canvas.node\" (not found)\\nnode-pre-gyp http GET https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz\\nnode-pre-gyp http 404 https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz\\nnode-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz \\nnode-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp) \\nnode-pre-gyp http 404 status code downloading tarball https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz \\ngyp info it worked if it ends with ok\\ngyp info using [email protected]\\ngyp info using [email protected] | linux | arm\\ngyp info ok \\ngyp info it worked if it ends with ok\\ngyp info using [email protected]\\ngyp info using [email protected] | linux | arm\\ngyp info find Python using Python version 2.7.13 found at \"/usr/bin/python\"\\ngyp http GET https://nodejs.org/download/release/v10.20.1/node-v10.20.1-headers.tar.gz\\ngyp http 200 https://nodejs.org/download/release/v10.20.1/node-v10.20.1-headers.tar.gz\\ngyp http GET https://nodejs.org/download/release/v10.20.1/SHASUMS256.txt\\ngyp http 200 https://nodejs.org/download/release/v10.20.1/SHASUMS256.txt\\ngyp info spawn /usr/bin/python\\ngyp info spawn args [ \\'/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py\\',\\ngyp info spawn args \\'binding.gyp\\',\\ngyp info spawn args \\'-f\\',\\ngyp info spawn args \\'make\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/src/node_modules/canvas/build/config.gypi\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/root/.cache/node-gyp/10.20.1/include/node/common.gypi\\',\\ngyp info spawn args \\'-Dlibrary=shared_library\\',\\ngyp info spawn args \\'-Dvisibility=default\\',\\ngyp info spawn args \\'-Dnode_root_dir=/root/.cache/node-gyp/10.20.1\\',\\ngyp info spawn args \\'-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp\\',\\ngyp info spawn args \\'-Dnode_lib_file=/root/.cache/node-gyp/10.20.1/<(target_arch)/node.lib\\',\\ngyp info spawn args \\'-Dmodule_root_dir=/src/node_modules/canvas\\',\\ngyp info spawn args \\'-Dnode_engine=v8\\',\\ngyp info spawn args \\'--depth=.\\',\\ngyp info spawn args \\'--no-parallel\\',\\ngyp info spawn args \\'--generator-output\\',\\ngyp info spawn args \\'build\\',\\ngyp info spawn args \\'-Goutput_dir=.\\' ]\\nPackage pangocairo was not found in the pkg-config search path.\\nPerhaps you should add the directory containing pangocairo.pc\\\\\'\\\\nto the PKG_CONFIG_PATH environment variable\\\\nNo package \\\\\'pangocairo\\\\\' found\\\\ngyp: Call to \\\\\'pkg-config pangocairo --libs\\\\\' returned exit status 1 while in binding.gyp. while trying to load binding.gyp\\\\ngyp ERR! configure error \\\\ngyp ERR! stack Error: gypfailed with exit code: 1\\\\ngyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)\\\\ngyp ERR! stack at ChildProcess.emit (events.js:198:13)\\\\ngyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)\\\\ngyp ERR! System Linux 4.19.97-v7l+\\\\ngyp ERR! command \\"/usr/local/bin/node\\" \\"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\\" \\"configure\\" \\"--fallback-to-build\\" \\"--module=/src/node_modules/canvas/build/Release/canvas.node\\" \\"--module_name=canvas\\" \\"--module_path=/src/node_modules/canvas/build/Release\\" \\"--napi_version=6\\" \\"--node_abi_napi=napi\\" \\"--napi_build_version=0\\" \\"--node_napi_label=node-v64\\"\\\\ngyp ERR! cwd /src/node_modules/canvas\\\\ngyp ERR! node -v v10.20.1\\\\ngyp ERR! node-gyp -v v5.1.0\\\\ngyp ERR! not ok \\\\nnode-pre-gyp ERR! build error \\\\nnode-pre-gyp ERR! stack Error: Failed to execute \\\\\'/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/src/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/src/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64\\\\\' (1)\\\\nnode-pre-gyp ERR! stack at ChildProcess.<anonymous> (/src/node_modules/node-pre-gyp/lib/util/compile.js:83:29)\\\\nnode-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)\\\\nnode-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)\\\\nnode-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)\\\\nnode-pre-gyp ERR! System Linux 4.19.97-v7l+\\\\nnode-pre-gyp ERR! command \\"/usr/local/bin/node\\" \\"/src/node_modules/canvas/node_modules/.bin/node-pre-gyp\\" \\"install\\" \\"--fallback-to-build\\"\\\\nnode-pre-gyp ERR! cwd /src/node_modules/canvas\\\\nnode-pre-gyp ERR! node -v v10.20.1\\\\nnode-pre-gyp ERR! node-pre-gyp -v v0.11.0\\\\nnode-pre-gyp ERR! not ok \\\\nFailed to execute \\\\\'/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/src/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/src/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64\\\\\' (1)\\\\n\\\\x1b[0m\', u\'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\\\\n\', u\'Removing intermediate container eb3915568579\\\\n\']", "failed": true, "invocation": {"module_args": {"force": null, "force_absent": false, "docker_host": "unix://var/run/docker.sock", "tag": "latest", "client_key": null, "repository": null, "nocache": false, "force_tag": false, "load_path": null, "use_tls": null, "source": "build", "state": "present", "build": {"pull": true, "args": null, "target": null, "nocache": false, "container_limits": null, "dockerfile": "Dockerfile", "cache_from": null, "etc_hosts": null, "path": "/matrix/riot-web/docker-src", "rm": true, "use_config_proxy": null, "http_timeout": null, "network": null}, "rm": true, "dockerfile": null, "client_cert": null, "api_version": "auto", "archive_path": null, "timeout": 60, "ca_cert": null, "tls_hostname": "localhost", "push": false, "force_source": false, "path": null, "tls": false, "pull": null, "name": "vectorim/riot-web:v1.6.0", "container_limits": null, "http_timeout": null, "ssl_version": null, "buildargs": null, "debug": false, "validate_certs": false}}}\n', '') <61.93.42.156> Failed to connect to the host via ssh: fatal: [matrix.psycrypto.com]: FAILED! => { "changed": false, "invocation": { "module_args": { "api_version": "auto", "archive_path": null, "build": { "args": null, "cache_from": null, "container_limits": null, "dockerfile": "Dockerfile", "etc_hosts": null, "http_timeout": null, "network": null, "nocache": false, "path": "/matrix/riot-web/docker-src", "pull": true, "rm": true, "target": null, "use_config_proxy": null }, "buildargs": null, "ca_cert": null, "client_cert": null, "client_key": null, "container_limits": null, "debug": false, "docker_host": "unix://var/run/docker.sock", "dockerfile": null, "force": null, "force_absent": false, "force_source": false, "force_tag": false, "http_timeout": null, "load_path": null, "name": "vectorim/riot-web:v1.6.0", "nocache": false, "path": null, "pull": null, "push": false, "repository": null, "rm": true, "source": "build", "ssl_version": null, "state": "present", "tag": "latest", "timeout": 60, "tls": false, "tls_hostname": "localhost", "use_tls": null, "validate_certs": false } }, "msg": "Error building vectorim/riot-web - code: 1, message: The command '/bin/sh -c yarn --network-timeout=100000 install' returned a non-zero code: 1, logs: [u'Step 1/18 : FROM node:10 as builder', u'\\n', u' ---> 5e7bbf318a1f\\n', u'Step 2/18 : ARG USE_CUSTOM_SDKS=false', u'\\n', u' ---> Using cache\\n', u' ---> 7967277d62ec\\n', u'Step 3/18 : ARG REACT_SDK_REPO=\"https://github.com/matrix-org/matrix-react-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> af39442984c8\\n', u'Step 4/18 : ARG REACT_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 293f0a46a885\\n', u'Step 5/18 : ARG JS_SDK_REPO=\"https://github.com/matrix-org/matrix-js-sdk.git\"', u'\\n', u' ---> Using cache\\n', u' ---> 41de0a30c004\\n', u'Step 6/18 : ARG JS_SDK_BRANCH=\"master\"', u'\\n', u' ---> Using cache\\n', u' ---> 493f7e1d75b1\\n', u'Step 7/18 : RUN apt-get update && apt-get install -y git dos2unix', u'\\n', u' ---> Using cache\\n', u' ---> e88c1c9dcb4a\\n', u'Step 8/18 : WORKDIR /src', u'\\n', u' ---> Using cache\\n', u' ---> dac501846ed6\\n', u'Step 9/18 : COPY . /src', u'\\n', u' ---> Using cache\\n', u' ---> 0260b789b3ad\\n', u'Step 10/18 : RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh', u'\\n', u' ---> Using cache\\n', u' ---> 77d28e027578\\n', u'Step 11/18 : RUN yarn --network-timeout=100000 install', u'\\n', u' ---> Running in eb3915568579\\n', u'yarn install v1.22.4\\n', u'[1/4] Resolving packages...\\n', u'[2/4] Fetching packages...\\n', u'info [email protected]: The platform \"linux\" is incompatible with this module.\\n', u'info \"[email protected]\" is an optional dependency and failed compatibility check. Excluding it from installation.\\n', u'info [email protected]: The platform \"linux\" is incompatible with this module.\\n', u'info \"[email protected]\" is an optional dependency and failed compatibility check. Excluding it from installation.\\n', u'[3/4] Linking dependencies...\\n', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has unmet peer dependency \"emojibase@*\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has unmet peer dependency \"jquery@>= 1.11.0\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > [email protected]\" has incorrect peer dependency \"[email protected] - 16.2\".\\n\\x1b[0m', u'\\x1b[91mwarning \"matrix-react-sdk > diff-dom > [email protected]\" has unmet peer dependency \"rollup@>=0.66.0 <3\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > [email protected]\" has unmet peer dependency \"core-js-bundle@^3.6.4\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > [email protected]\" has unmet peer dependency \"regenerator-runtime@^0.13.3\".\\n\\x1b[0m', u'\\x1b[91mwarning \"fake-indexeddb > realistic-structured-clone > typeson-registry > [email protected]\" has unmet peer dependency \"core-js-bundle@^3.1.3\".\\n\\x1b[0m', u'[4/4] Building fresh packages...\\n', u'\\x1b[91merror /src/node_modules/canvas: Command failed.\\nExit code: 1\\nCommand: node-pre-gyp install --fallback-to-build\\nArguments: \\nDirectory: /src/node_modules/canvas\\nOutput:\\nnode-pre-gyp info it worked if it ends with ok\\nnode-pre-gyp info using [email protected]\\nnode-pre-gyp info using [email protected] | linux | arm\\nnode-pre-gyp WARN Using request for node-pre-gyp https download \\nnode-pre-gyp info check checked for \"/src/node_modules/canvas/build/Release/canvas.node\" (not found)\\nnode-pre-gyp http GET https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz\\nnode-pre-gyp http 404 https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz\\nnode-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz \\nnode-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp) \\nnode-pre-gyp http 404 status code downloading tarball https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz \\ngyp info it worked if it ends with ok\\ngyp info using [email protected]\\ngyp info using [email protected] | linux | arm\\ngyp info ok \\ngyp info it worked if it ends with ok\\ngyp info using [email protected]\\ngyp info using [email protected] | linux | arm\\ngyp info find Python using Python version 2.7.13 found at \"/usr/bin/python\"\\ngyp http GET https://nodejs.org/download/release/v10.20.1/node-v10.20.1-headers.tar.gz\\ngyp http 200 https://nodejs.org/download/release/v10.20.1/node-v10.20.1-headers.tar.gz\\ngyp http GET https://nodejs.org/download/release/v10.20.1/SHASUMS256.txt\\ngyp http 200 https://nodejs.org/download/release/v10.20.1/SHASUMS256.txt\\ngyp info spawn /usr/bin/python\\ngyp info spawn args [ \\'/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py\\',\\ngyp info spawn args \\'binding.gyp\\',\\ngyp info spawn args \\'-f\\',\\ngyp info spawn args \\'make\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/src/node_modules/canvas/build/config.gypi\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi\\',\\ngyp info spawn args \\'-I\\',\\ngyp info spawn args \\'/root/.cache/node-gyp/10.20.1/include/node/common.gypi\\',\\ngyp info spawn args \\'-Dlibrary=shared_library\\',\\ngyp info spawn args \\'-Dvisibility=default\\',\\ngyp info spawn args \\'-Dnode_root_dir=/root/.cache/node-gyp/10.20.1\\',\\ngyp info spawn args \\'-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp\\',\\ngyp info spawn args \\'-Dnode_lib_file=/root/.cache/node-gyp/10.20.1/<(target_arch)/node.lib\\',\\ngyp info spawn args \\'-Dmodule_root_dir=/src/node_modules/canvas\\',\\ngyp info spawn args \\'-Dnode_engine=v8\\',\\ngyp info spawn args \\'--depth=.\\',\\ngyp info spawn args \\'--no-parallel\\',\\ngyp info spawn args \\'--generator-output\\',\\ngyp info spawn args \\'build\\',\\ngyp info spawn args \\'-Goutput_dir=.\\' ]\\nPackage pangocairo was not found in the pkg-config search path.\\nPerhaps you should add the directory containingpangocairo.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'pangocairo\' found\ngyp: Call to \'pkg-config pangocairo --libs\' returned exit status 1 while in binding.gyp. while trying to load binding.gyp\ngyp ERR! configure error \ngyp ERR! stack Error: gyp failed with exit code: 1\ngyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)\ngyp ERR! stack at ChildProcess.emit (events.js:198:13)\ngyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)\ngyp ERR! System Linux 4.19.97-v7l+\ngyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/src/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/src/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"\ngyp ERR! cwd /src/node_modules/canvas\ngyp ERR! node -v v10.20.1\ngyp ERR! node-gyp -v v5.1.0\ngyp ERR! not ok \nnode-pre-gyp ERR! build error \nnode-pre-gyp ERR! stack Error: Failed to execute \'/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/src/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/src/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64\' (1)\nnode-pre-gyp ERR! stack at ChildProcess. (/src/node_modules/node-pre-gyp/lib/util/compile.js:83:29)\nnode-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)\nnode-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)\nnode-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)\nnode-pre-gyp ERR! System Linux 4.19.97-v7l+\nnode-pre-gyp ERR! command "/usr/local/bin/node" "/src/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"\nnode-pre-gyp ERR! cwd /src/node_modules/canvas\nnode-pre-gyp ERR! node -v v10.20.1\nnode-pre-gyp ERR! node-pre-gyp -v v0.11.0\nnode-pre-gyp ERR! not ok \nFailed to execute \'/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/src/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/src/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64\' (1)\n\x1b[0m', u'info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n', u'Removing intermediate container eb3915568579\n']"
}

@elohffa elohffa reopened this May 20, 2020
@elohffa
Copy link
Author

elohffa commented May 21, 2020

I found above of issue was related to this post Automattic/node-canvas#1447

GGeorggg added a commit to BiP-org/matrix-docker-ansible-deploy that referenced this issue Jun 2, 2024
GGeorggg added a commit to BiP-org/matrix-docker-ansible-deploy that referenced this issue Jun 2, 2024
GGeorggg added a commit to BiP-org/matrix-docker-ansible-deploy that referenced this issue Jul 15, 2024
GGeorggg added a commit to BiP-org/matrix-docker-ansible-deploy that referenced this issue Jul 15, 2024
GGeorggg added a commit to BiP-org/matrix-docker-ansible-deploy that referenced this issue Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants