Re: Can't Wait

2013-05-31 Thread Jackson Doak
great to hear, let us know if you need any help.


On Sat, Jun 1, 2013 at 3:37 AM, caleb harlow  wrote:

> Just joined  Can't wait to help make Ubuntu better!!  Ubuntu was the
> first distro I ever tried and I have loved it ever since.
>
> cj
>
>
>
> --
> Ubuntu-quality mailing list
> Ubuntu-quality@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality
>
-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Can't Wait

2013-05-31 Thread caleb harlow
Just joined  Can't wait to help make Ubuntu better!!  Ubuntu was the first 
distro I ever tried and I have loved it ever since.

cj



-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Re: Update on porting autopilot tests to 1.3

2013-05-31 Thread Nicholas Skaggs
Vasudevan, sounds like you actually have everything setup properly now. 
There is actually a bug in the current version of autopilot from the ppa 
causing the issue you mention below. Give it another day, update and run 
it again. Everything should work for you :-)


Nicholas

On 05/31/2013 03:54 AM, Vasudevan Kottilil wrote:

Hi Nicholas,
Thanks - still getting errors within my dev env. Based on brief 
conversation earlier on irc, I installed autopilot on vm from 
ppa:autopilot/ppa. Is this the correct version for 1.3?
Got the latest version of test_nautilus from trunk and tried to run it 
'as is'. This is what I am getting now


Loading tests from: /home/test/autopilot

Tests running...
==
ERROR: tests.test_nautilus.NautilusTests.test_create_a_folder
--
_StringException: traceback-1: {{{
Traceback (most recent call last):
  File "/home/test/autopilot/tests/test_nautilus.py", line 32, in 
test_create_a_folder

self.keyboard.press_and_release("Ctrl+l")
  File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 
158, in keyboard

self.addCleanup(self._kb.cleanup)
AttributeError: 'Keyboard' object has no attribute 'cleanup'
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/autopilot/utilities.py", line 
242, in action_on_test_start

obj.on_test_start(test_instance)
  File "/usr/lib/python2.7/dist-packages/autopilot/globals.py", line 
108, in on_test_start

if _video_logger._enable_recording:
AttributeError: '_VideoLogger' object has no attribute '_enable_recording'

Ran 1 test in 1.284s
FAILED (failures=1)

I still have issues with terminal display inside the vm and it is not 
displaying cursor and commands typed with in it. Was able to work 
around that by using  a uxterm. Since some of you are able to execute 
these scripts with 1.3, it looks like some environment issues at my end...

Vasudevan


On Thu, May 30, 2013 at 7:51 AM, Nicholas Skaggs 
mailto:nicholas.ska...@canonical.com>> 
wrote:


Vasudevan, there is a basic nautilus testcase (very basic!) that
is now in the production branch. Can't wait to see you expand it
to test more :-)

Vasudevan, sounds like you want to use a tool called testdrive:

https://wiki.ubuntu.com/UsingDevelopmentReleases
http://www.youtube.com/watch?v=JGZF6UHhl4I

Your workflow is exactly what happens in the canonical QA lab
everyday. The autopilot tests we're writing will be a part of
that. So for your testing however, you don't need to install from
an image everyday (unless you want to test installation, in which
case use testdrive above to help!). So setup your vm and simply
update on a regular basis, just like your stable version of
ubuntu. Your installation will track the development release. You
can then use it to develop autopilot testcases or do manual testing.

Does that help / make sense?

Nicholas


On 05/29/2013 06:55 PM, Vasudevan Kottilil wrote:

Hi Nicholas, Dan,
I am working on the nautilus script and was hoping to make some
progress by now but running into many issues(sorry, could not
work during the long weekend).
I had downloaded a daily build image for saucy-desktop-amd64.iso
on 05/23 and tried to create a guest image using the following
command: (host is running 12.10 desktop)

virt-install --connect qemu:///system --virt-type kvm --name
saucy-alpha-vm --ram 4096 --disk
path=/var/lib/libvirt/images/saucy-desktop-vm,size=30 --graphics
vnc --location /home/vkottilil/Downloads/saucy-desktop-amd64.iso
and it throws an error
Starting install...
ERRORCould not find an installable distribution at
'/home/vkottilil/Downloads/saucy-desktop-amd64.iso'
The location must be the root directory of an install tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start saucy-alpha-vm
otherwise, please restart your installation.

What causes this error?

After this, I burned the iso to dvd and from that location it was
able to create a vm using the same tool with option --cdrom
/dev/sr0 instead of --location.
After launching guest, I am unable to see anything typed out in
the vm's terminal - tried changing the profile settings with
different color etc and still does not work.
I can ssh from the host to the vm. Is it possible to run
autopliot on the vm from ssh terminal - are there any x
server/display options?

I have heard of a totally different workflow this team is using
to test the daily image using testdrive - any pointers to that
would be great. Ideally it would be great if we can run a 
predictable set of steps similar to

wget latestgood
create vm
spin it up
in

Re: Update on porting autopilot tests to 1.3

2013-05-31 Thread Vasudevan Kottilil
Hi Nicholas,
Thanks - still getting errors within my dev env. Based on brief
conversation earlier on irc, I installed autopilot on vm from
ppa:autopilot/ppa. Is this the correct version for 1.3?
Got the latest version of test_nautilus from trunk and tried to run it 'as
is'. This is what I am getting now

Loading tests from: /home/test/autopilot

Tests running...
==
ERROR: tests.test_nautilus.NautilusTests.test_create_a_folder
--
_StringException: traceback-1: {{{
Traceback (most recent call last):
  File "/home/test/autopilot/tests/test_nautilus.py", line 32, in
test_create_a_folder
self.keyboard.press_and_release("Ctrl+l")
  File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 158,
in keyboard
self.addCleanup(self._kb.cleanup)
AttributeError: 'Keyboard' object has no attribute 'cleanup'
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/autopilot/utilities.py", line 242,
in action_on_test_start
obj.on_test_start(test_instance)
  File "/usr/lib/python2.7/dist-packages/autopilot/globals.py", line 108,
in on_test_start
if _video_logger._enable_recording:
AttributeError: '_VideoLogger' object has no attribute '_enable_recording'

Ran 1 test in 1.284s
FAILED (failures=1)

I still have issues with terminal display inside the vm and it is not
displaying cursor and commands typed with in it. Was able to work around
that by using  a uxterm. Since some of you are able to execute these
scripts with 1.3, it looks like some environment issues at my end...
Vasudevan


On Thu, May 30, 2013 at 7:51 AM, Nicholas Skaggs <
nicholas.ska...@canonical.com> wrote:

>  Vasudevan, there is a basic nautilus testcase (very basic!) that is now
> in the production branch. Can't wait to see you expand it to test more :-)
>
> Vasudevan, sounds like you want to use a tool called testdrive:
>
> https://wiki.ubuntu.com/UsingDevelopmentReleases
> http://www.youtube.com/watch?v=JGZF6UHhl4I
>
> Your workflow is exactly what happens in the canonical QA lab everyday.
> The autopilot tests we're writing will be a part of that. So for your
> testing however, you don't need to install from an image everyday (unless
> you want to test installation, in which case use testdrive above to help!).
> So setup your vm and simply update on a regular basis, just like your
> stable version of ubuntu. Your installation will track the development
> release. You can then use it to develop autopilot testcases or do manual
> testing.
>
> Does that help / make sense?
>
> Nicholas
>
>
> On 05/29/2013 06:55 PM, Vasudevan Kottilil wrote:
>
> Hi Nicholas, Dan,
> I am working on the nautilus script and was hoping to make some progress
> by now but running into many issues(sorry, could not work during the long
> weekend).
> I had downloaded a daily build image for saucy-desktop-amd64.iso on 05/23
> and tried to create a guest image using the following command: (host is
> running 12.10 desktop)
>
> virt-install --connect qemu:///system --virt-type kvm --name
> saucy-alpha-vm --ram 4096 --disk
> path=/var/lib/libvirt/images/saucy-desktop-vm,size=30 --graphics vnc
> --location /home/vkottilil/Downloads/saucy-desktop-amd64.iso and it throws
> an error
> Starting install...
> ERRORCould not find an installable distribution at
> '/home/vkottilil/Downloads/saucy-desktop-amd64.iso'
> The location must be the root directory of an install tree.
> Domain installation does not appear to have been successful.
> If it was, you can restart your domain by running:
>   virsh --connect qemu:///system start saucy-alpha-vm
> otherwise, please restart your installation.
>
> What causes this error?
>
> After this, I burned the iso to dvd and from that location it was able to
> create a vm using the same tool with option --cdrom /dev/sr0 instead of
> --location.
> After launching guest, I am unable to see anything typed out in the vm's
> terminal - tried changing the profile settings with different color etc and
> still does not work.
> I can ssh from the host to the vm. Is it possible to run autopliot on the
> vm from ssh terminal - are there any x server/display options?
>
> I have heard of a totally different workflow this team is using to test
> the daily image using testdrive - any pointers to that would be great.
> Ideally it would be great if we can run a  predictable set of steps similar
> to
> wget latestgood
> create vm
> spin it up
> install autopilot
> copy test scripts
> run tests
> tear down
>
> Thanks,
> Vasudevan Kottilil
>
> On Tue, May 28, 2013 at 8:21 AM, Dan Chapman wrote:
>
>>  Hi everyone,
>>
>> just thought i would give a quick update on the status of porting the
>> autopilot test cases since the last hackfest (check out the notes
>> http://pad.ubuntu.com/CFXkuLR7Lb) and what is working/needs reviewing
>> and testing.
>>
>> *Firefox: *nskaggs completed this and is now mer