Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [init bench] **************************************************************
- task path: /tmp/.bench/playbooks/develop/includes/setup_bench.yml:25
- ESTABLISH LOCAL CONNECTION FOR USER: root
- 127.0.0.1 EXEC /bin/sh -c '( umask 22 && mkdir -p "` echo /tmp/ansible-tmp-1481146270.31-23306283367400 `" && echo "` echo /tmp/ansible-tmp-1481146270.31-23306283367400 `" )'
- 127.0.0.1 PUT /tmp/tmpYhrcyZ TO /tmp/ansible-tmp-1481146270.31-23306283367400/command
- 127.0.0.1 EXEC /bin/sh -c 'chmod a+r /tmp/ansible-tmp-1481146270.31-23306283367400/command'
- 127.0.0.1 EXEC /bin/sh -c 'sudo -H -S -n -u frappe /bin/sh -c '"'"'echo BECOME-SUCCESS-tjamezswdztpsgpocclmrivnyiayupio; LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /tmp/ansible-tmp-1481146270.31-23306283367400/command'"'"''
- 127.0.0.1 EXEC /bin/sh -c 'rm -f -r /tmp/ansible-tmp-1481146270.31-23306283367400/ > /dev/null 2>&1'
- fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["bench", "init", "/home/frappe/frappe-bench", "--frappe-branch", "master"], "delta": "0:01:19.653008", "end": "2016-12-07 21:32:30.037486", "failed": true, "invocation": {"module_args": {"_raw_params": "bench init /home/frappe/frappe-bench --frappe-branch master", "_uses_shell": false, "chdir": null, "creates": "/home/frappe/frappe-bench", "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "start": "2016-12-07 21:31:10.384478", "stderr": "INFO:bench.app:getting app frappe
- Cloning into 'frappe'...
- INFO:bench.app:installing frappe
- npm WARN enoent ENOENT: no such file or directory, open '/home/frappe/frappe-bench/package.json'
- npm WARN frappe-bench No description
- npm WARN frappe-bench No repository field.
- npm WARN frappe-bench No README data
- npm WARN frappe-bench No license field.
- INFO:bench.utils:setting up backups
- Traceback (most recent call last):
- File \"/usr/local/bin/bench\", line 11, in <module>
- load_entry_point('bench', 'console_scripts', 'bench')()
- File \"/home/frappe/.bench/bench/cli.py\", line 40, in cli
- bench_command()
- File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 716, in __call__
- return self.main(*args, **kwargs)
- File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 696, in main
- rv = self.invoke(ctx)
- File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 1060, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 889, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 534, in invoke
- return callback(*args, **kwargs)
- File \"/home/frappe/.bench/bench/commands/make.py\", line 19, in init
- verbose=verbose, clone_from=clone_from)
- File \"/home/frappe/.bench/bench/utils.py\", line 73, in init
- setup_backups(bench_path=path)
- File \"/home/frappe/.bench/bench/utils.py\", line 202, in setup_backups
- logfile=os.path.join(get_bench_dir(bench_path=bench_path), 'logs', 'backup.log')))
- File \"/home/frappe/.bench/bench/utils.py\", line 205, in add_to_crontab
- current_crontab = read_crontab()
- File \"/home/frappe/.bench/bench/utils.py\", line 216, in read_crontab
- s = subprocess.Popen([\"crontab\", \"-l\"], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
- File \"/usr/lib/python2.7/subprocess.py\", line 710, in __init__
- errread, errwrite)
- File \"/usr/lib/python2.7/subprocess.py\", line 1335, in _execute_child
- raise child_exception
- OSError: [Errno 2] No such file or directory", "stdout": "Already using interpreter /usr/bin/python
- /home/frappe/frappe-bench
- +-- express@4.14.0
- | +-- accepts@1.3.3
- | | +-- mime-types@2.1.13
- | | | `-- mime-db@1.25.0
- | | `-- negotiator@0.6.1
- | +-- array-flatten@1.1.1
- | +-- content-disposition@0.5.1
- | +-- content-type@1.0.2
- | +-- cookie@0.3.1
- | +-- cookie-signature@1.0.6
- | +-- debug@2.2.0
- | | `-- ms@0.7.1
- | +-- depd@1.1.0
- | +-- encodeurl@1.0.1
- | +-- escape-html@1.0.3
- | +-- etag@1.7.0
- | +-- finalhandler@0.5.0
- | | +-- statuses@1.3.1
- | | `-- unpipe@1.0.0
- | +-- fresh@0.3.0
- | +-- merge-descriptors@1.0.1
- | +-- methods@1.1.2
- | +-- on-finished@2.3.0
- | | `-- ee-first@1.1.1
- | +-- parseurl@1.3.1
- | +-- path-to-regexp@0.1.7
- | +-- proxy-addr@1.1.2
- | | +-- forwarded@0.1.0
- | | `-- ipaddr.js@1.1.1
- | +-- qs@6.2.0
- | +-- range-parser@1.2.0
- | +-- send@0.14.1
- | | +-- destroy@1.0.4
- | | `-- http-errors@1.5.1
- | | `-- setprototypeof@1.0.2
- | +-- serve-static@1.11.1
- | +-- type-is@1.6.14
- | | `-- media-typer@0.3.0
- | +-- utils-merge@1.0.0
- | `-- vary@1.1.0
- +-- redis@2.6.3
- | +-- double-ended-queue@2.1.0-0
- | +-- redis-commands@1.3.0
- | `-- redis-parser@2.3.0
- +-- socket.io@1.7.1
- | +-- debug@2.3.3
- | | `-- ms@0.7.2
- | +-- engine.io@1.8.1
- | | +-- base64id@0.1.0
- | | +-- debug@2.3.3
- | | | `-- ms@0.7.2
- | | +-- engine.io-parser@1.3.1
- | | | +-- after@0.8.1
- | | | +-- arraybuffer.slice@0.0.6
- | | | +-- base64-arraybuffer@0.1.5
- | | | +-- blob@0.0.4
- | | | +-- has-binary@0.1.6
- | | | `-- wtf-8@1.0.0
- | | `-- ws@1.1.1
- | | +-- options@0.0.6
- | | `-- ultron@1.0.2
- | +-- has-binary@0.1.7
- | | `-- isarray@0.0.1
- | +-- object-assign@4.1.0
- | +-- socket.io-adapter@0.5.0
- | | `-- debug@2.3.3
- | | `-- ms@0.7.2
- | +-- socket.io-client@1.7.1
- | | +-- backo2@1.0.2
- | | +-- component-bind@1.0.0
- | | +-- component-emitter@1.2.1
- | | +-- debug@2.3.3
- | | | `-- ms@0.7.2
- | | +-- engine.io-client@1.8.1
- | | | +-- component-emitter@1.2.1
- | | | +-- component-inherit@0.0.3
- | | | +-- debug@2.3.3
- | | | | `-- ms@0.7.2
- | | | +-- has-cors@1.1.0
- | | | +-- parsejson@0.0.3
- | | | +-- parseqs@0.0.5
- | | | +-- xmlhttprequest-ssl@1.5.3
- | | | `-- yeast@0.1.2
- | | +-- indexof@0.0.1
- | | +-- object-component@0.0.3
- | | +-- parseuri@0.0.5
- | | | `-- better-assert@1.0.2
- | | | `-- callsite@1.0.0
- | | `-- to-array@0.1.4
- | `-- socket.io-parser@2.3.1
- | +-- component-emitter@1.1.2
- | `-- json3@3.3.2
- `-- superagent@3.1.0
- +-- component-emitter@1.2.1
- +-- cookiejar@2.1.0
- +-- extend@3.0.0
- +-- form-data@2.1.2
- | +-- asynckit@0.4.0
- | `-- combined-stream@1.0.5
- | `-- delayed-stream@1.0.0
- +-- formidable@1.0.17
- +-- mime@1.3.4
- `-- readable-stream@2.2.2
- +-- buffer-shims@1.0.0
- +-- core-util-is@1.0.2
- +-- inherits@2.0.3
- +-- isarray@1.0.0
- +-- process-nextick-args@1.0.7
- +-- string_decoder@0.10.31
- `-- util-deprecate@1.0.2
- Wrote ./assets/js/print_format_v3.min.js - 18k
- Wrote ./assets/js/frappe-web.min.js - 132k
- Wrote ./assets/js/form.min.js - 138k
- Wrote ./assets/js/report.min.js - 159k
- Wrote ./assets/css/list.min.css - 6k
- Wrote ./assets/js/d3.min.js - 343k
- Wrote ./assets/css/report.min.css - 8k
- Wrote ./assets/css/frappe-web.css - 54k
- Wrote ./assets/js/list.min.js - 106k
- Wrote ./assets/js/dialog.min.js - 61k
- Wrote ./assets/js/desk.min.js - 247k
- Wrote ./assets/css/form.min.css - 4k
- Wrote ./assets/js/editor.min.js - 27k
- Wrote ./assets/js/libs.min.js - 886k
- Wrote ./assets/css/desk.min.css - 265k
- Wrote ./assets/css/module.min.css - 2k
- installing frappe", "stdout_lines": ["Already using interpreter /usr/bin/python", "/home/frappe/frappe-bench", "+-- express@4.14.0 ", "| +-- accepts@1.3.3 ", "| | +-- mime-types@2.1.13 ", "| | | `-- mime-db@1.25.0 ", "| | `-- negotiator@0.6.1 ", "| +-- array-flatten@1.1.1 ", "| +-- content-disposition@0.5.1 ", "| +-- content-type@1.0.2 ", "| +-- cookie@0.3.1 ", "| +-- cookie-signature@1.0.6 ", "| +-- debug@2.2.0 ", "| | `-- ms@0.7.1 ", "| +-- depd@1.1.0 ", "| +-- encodeurl@1.0.1 ", "| +-- escape-html@1.0.3 ", "| +-- etag@1.7.0 ", "| +-- finalhandler@0.5.0 ", "| | +-- statuses@1.3.1 ", "| | `-- unpipe@1.0.0 ", "| +-- fresh@0.3.0 ", "| +-- merge-descriptors@1.0.1 ", "| +-- methods@1.1.2 ", "| +-- on-finished@2.3.0 ", "| | `-- ee-first@1.1.1 ", "| +-- parseurl@1.3.1 ", "| +-- path-to-regexp@0.1.7 ", "| +-- proxy-addr@1.1.2 ", "| | +-- forwarded@0.1.0 ", "| | `-- ipaddr.js@1.1.1 ", "| +-- qs@6.2.0 ", "| +-- range-parser@1.2.0 ", "| +-- send@0.14.1 ", "| | +-- destroy@1.0.4 ", "| | `-- http-errors@1.5.1 ", "| | `-- setprototypeof@1.0.2 ", "| +-- serve-static@1.11.1 ", "| +-- type-is@1.6.14 ", "| | `-- media-typer@0.3.0 ", "| +-- utils-merge@1.0.0 ", "| `-- vary@1.1.0 ", "+-- redis@2.6.3 ", "| +-- double-ended-queue@2.1.0-0 ", "| +-- redis-commands@1.3.0 ", "| `-- redis-parser@2.3.0 ", "+-- socket.io@1.7.1 ", "| +-- debug@2.3.3 ", "| | `-- ms@0.7.2 ", "| +-- engine.io@1.8.1 ", "| | +-- base64id@0.1.0 ", "| | +-- debug@2.3.3 ", "| | | `-- ms@0.7.2 ", "| | +-- engine.io-parser@1.3.1 ", "| | | +-- after@0.8.1 ", "| | | +-- arraybuffer.slice@0.0.6 ", "| | | +-- base64-arraybuffer@0.1.5 ", "| | | +-- blob@0.0.4 ", "| | | +-- has-binary@0.1.6 ", "| | | `-- wtf-8@1.0.0 ", "| | `-- ws@1.1.1 ", "| | +-- options@0.0.6 ", "| | `-- ultron@1.0.2 ", "| +-- has-binary@0.1.7 ", "| | `-- isarray@0.0.1 ", "| +-- object-assign@4.1.0 ", "| +-- socket.io-adapter@0.5.0 ", "| | `-- debug@2.3.3 ", "| | `-- ms@0.7.2 ", "| +-- socket.io-client@1.7.1 ", "| | +-- backo2@1.0.2 ", "| | +-- component-bind@1.0.0 ", "| | +-- component-emitter@1.2.1 ", "| | +-- debug@2.3.3 ", "| | | `-- ms@0.7.2 ", "| | +-- engine.io-client@1.8.1 ", "| | | +-- component-emitter@1.2.1 ", "| | | +-- component-inherit@0.0.3 ", "| | | +-- debug@2.3.3 ", "| | | | `-- ms@0.7.2 ", "| | | +-- has-cors@1.1.0 ", "| | | +-- parsejson@0.0.3 ", "| | | +-- parseqs@0.0.5 ", "| | | +-- xmlhttprequest-ssl@1.5.3 ", "| | | `-- yeast@0.1.2 ", "| | +-- indexof@0.0.1 ", "| | +-- object-component@0.0.3 ", "| | +-- parseuri@0.0.5 ", "| | | `-- better-assert@1.0.2 ", "| | | `-- callsite@1.0.0 ", "| | `-- to-array@0.1.4 ", "| `-- socket.io-parser@2.3.1 ", "| +-- component-emitter@1.1.2 ", "| `-- json3@3.3.2 ", "`-- superagent@3.1.0 ", " +-- component-emitter@1.2.1 ", " +-- cookiejar@2.1.0 ", " +-- extend@3.0.0 ", " +-- form-data@2.1.2 ", " | +-- asynckit@0.4.0 ", " | `-- combined-stream@1.0.5 ", " | `-- delayed-stream@1.0.0 ", " +-- formidable@1.0.17 ", " +-- mime@1.3.4 ", " `-- readable-stream@2.2.2 ", " +-- buffer-shims@1.0.0 ", " +-- core-util-is@1.0.2 ", " +-- inherits@2.0.3 ", " +-- isarray@1.0.0 ", " +-- process-nextick-args@1.0.7 ", " +-- string_decoder@0.10.31 ", " `-- util-deprecate@1.0.2 ", "", "Wrote ./assets/js/print_format_v3.min.js - 18k", "Wrote ./assets/js/frappe-web.min.js - 132k", "Wrote ./assets/js/form.min.js - 138k", "Wrote ./assets/js/report.min.js - 159k", "Wrote ./assets/css/list.min.css - 6k", "Wrote ./assets/js/d3.min.js - 343k", "Wrote ./assets/css/report.min.css - 8k", "Wrote ./assets/css/frappe-web.css - 54k", "Wrote ./assets/js/list.min.js - 106k", "Wrote ./assets/js/dialog.min.js - 61k", "Wrote ./assets/js/desk.min.js - 247k", "Wrote ./assets/css/form.min.css - 4k", "Wrote ./assets/js/editor.min.js - 27k", "Wrote ./assets/js/libs.min.js - 886k", "Wrote ./assets/css/desk.min.css - 265k", "Wrote ./assets/css/module.min.css - 2k", "installing frappe"], "warnings": []}
- to retry, use: --limit @production/install.retry
- PLAY RECAP *********************************************************************
- localhost : ok=34 changed=20 unreachable=0 failed=1
- Traceback (most recent call last):
- File "install.py", line 351, in <module>
- install_bench(args)
- File "install.py", line 111, in install_bench
- run_playbook('production/install.yml', sudo=True, extra_vars=extra_vars)
- File "install.py", line 301, in run_playbook
- success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
- File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'production/install.yml', '-e', '@/tmp/extra_vars.json', '-vvvv', '--become', '--become-user=frappe']' returned non-zero exit status 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement