← Back to team overview

launchpad-dev team mailing list archive

Re: Changes to ec2 test/land

 

У сре, 14. 04 2010. у 21:08 +0100, Jonathan Lange пише:
> On Wed, Apr 14, 2010 at 9:06 PM, Karl Fogel <karl.fogel@xxxxxxxxxxxxx> wrote:
> > Jonathan Lange <jml@xxxxxxxxxxxxx> writes:
> >>  * The mail has a full log attached in subunit format. The attachment
> >>is named after the branch that was tested
> >
> > Just curious: what order-of-magnitude log size are we talking about here?
> >
> 
> Almost 3 megabytes. Easy enough to compress if that's a problem.

FWIW, ec2 test and ec2 land have started failing for me when my email
address contains my name in UTF-8 (just Š, not the entire Данило Шеган
style :) in my ~/.bazaar/bazaar.conf.

Instance i-9ba6c5f0 starting.............. started on
ec2-184-73-36-166.compute-1.amazonaws.com     
Started in 1 minutes 7 seconds
_connect: error(111, 'Connection refused')
retrying...ubuntu@i-9ba6c5f0$ cat /home/ubuntu/.ssh/authorized_keys
local_key | sudo tee /home/ec2test/.ssh/authorized_keys > /dev/null&& rm
local_key
ubuntu@i-9ba6c5f0$ sudo chown -R ec2test:ec2test /home/ec2test/
ubuntu@i-9ba6c5f0$ sudo chmod 644 /home/ec2test/.ssh/*
You can now use ssh -A ec2test@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
to log in the instance.
ec2test@i-9ba6c5f0$ echo sudo shutdown -h now | at today + 480 minutes
warning: commands will be executed using /bin/sh
job 1 at Fri Apr 16 14:33:00 2010
ec2test@i-9ba6c5f0$ [ -d .bazaar ] || mkdir .bazaar
Traceback (most recent call last):
  File
"/home/danilo/launchpad/trees/bug-553093/lib/devscripts/ec2test/instance.py", line 427, in set_up_and_run
    retval = func(*args, **kw)
  File
"/home/danilo/launchpad/trees/bug-553093/lib/devscripts/ec2test/testrunner.py", line 446, in run_tests
    self.configure_system()
  File
"/home/danilo/launchpad/trees/bug-553093/lib/devscripts/ec2test/testrunner.py", line 328, in configure_system
    'email = %s\n' % (self._from_email,))
  File
"/home/danilo/launchpad/eggs/paramiko-1.7.4-py2.5.egg/paramiko/file.py",
line 314, in write
    self._write_all(data)
  File
"/home/danilo/launchpad/eggs/paramiko-1.7.4-py2.5.egg/paramiko/file.py",
line 435, in _write_all
    count = self._write(data)
  File
"/home/danilo/launchpad/eggs/paramiko-1.7.4-py2.5.egg/paramiko/sftp_file.py", line 163, in _write
    req = self.sftp._async_request(type(None), CMD_WRITE, self.handle,
long(self._realpos), str(data[:chunk]))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0160' in
position 15: ordinal not in range(128)
instance shutting-down


I suspect it needs setting a UTF-8 locale in the image env, but I am not
entirely sure how to test this.  If that doesn't work, simply encoding
it to UTF-8 should help.

Cheers,
Danilo





Follow ups

References