Note that there are some explanatory texts on larger screens.

plurals
  1. POGetpass error(s)
    text
    copied!<p>The following fabric script is open source which I need to use, unfortunately I'm not familiar with this stuff. The fabric file starts with:</p> <pre><code>from fabric.api import * import time env.user = 'aegir' env.shell = '/bin/bash -c' # Download and import a platform using Drush Make def build_platform(site, profile, webserver, dbserver, makefile, build):   print "===&gt; Building the platform..."   run("drush make %s /var/aegir/platforms/%s" % (makefile, build)) </code></pre> <p>The fabric file is run by a Jenkins server when a new build is triggered by a Git push. When this file is executed this first remote action (last line) results in the following error.</p> <pre><code>/usr/lib/python2.6/getpass.py:83: GetPassWarning: Can not control echo on the terminal. passwd = fallback_getpass(prompt, stream) Warning: Password input may be echoed. Password for aegir@o1.sub.aegir.local: ===&gt; Building the platform... [o1.sub.aegir.local] run: drush make https://raw.github.com/mig5/builds/master/mig5_platform.build /var/aegir/platforms/20121011010955 Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/fabric/main.py", line 435, in main commands[name](*args, **kwargs) File "/usr/local/bin/fabfile.py", line 11, in build_platform run("drush make %s /var/aegir/platforms/%s" % (makefile, build)) File "/usr/lib/pymodules/python2.6/fabric/network.py", line 390, in host_prompting_wrapper return func(*args, **kwargs) File "/usr/lib/pymodules/python2.6/fabric/operations.py", line 414, in run channel = connections[env.host_string]._transport.open_session() File "/usr/lib/pymodules/python2.6/fabric/network.py", line 65, in __getitem__ self[real_key] = connect(user, host, port) File "/usr/lib/pymodules/python2.6/fabric/network.py", line 219, in connect password = prompt_for_password(password, text) File "/usr/lib/pymodules/python2.6/fabric/network.py", line 279, in prompt_for_password new_password = getpass.getpass(password_prompt) File "/usr/lib/python2.6/getpass.py", line 83, in unix_getpass passwd = fallback_getpass(prompt, stream) File "/usr/lib/python2.6/getpass.py", line 118, in fallback_getpass return _raw_input(prompt, stream) File "/usr/lib/python2.6/getpass.py", line 135, in _raw_input raise EOFError EOFError Build step 'Execute shell' marked build as failure Finished: FAILURE </code></pre> <p>Do I have to specify a password for the aegir user or so? I tried to include <code>env.password = ''</code> (I deleted the Aegir's user password with <code>passwd --delete aegir</code> on my remote machine) under <code>env.user = 'aegir'</code>, but that didn't solve anything.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload