Re: Volunteers needed -- Automated Image Testing for flavors

2015-08-04 Thread Mike Lloyd
I have two G5s, a G4 and a 4U G1 I can donate if someone wants to pay for
shipping or hosting.

Mike.

On Tue, 4 Aug 2015 at 08:36 Nicholas Skaggs nicholas.ska...@canonical.com
wrote:

 On 08/01/2015 09:19 AM, Sujeevan (svij) Vijayakumaran wrote:
  Hi,
 
  Am 31.07.2015 um 22:32 schrieb Nicholas Skaggs:
  -svij and shrini agreed to setup a test jenkins instance to help answer
  our lingering questions on what we need. Specifically they'll be
 looking at
  where should we host this?
  can we test in the cloud?
  what type of setup should we have (how many slaves, how many instances)?
  and trying to get us all setup with a jenkins instance we can add jobs
  to and iterate on moving forward.
 
  I've set up an Jenkins-Master server today, but there isn't anything yet
  (http://jenkins.svij.org). It runs on digital ocean (for 10$/month +
  2$/month for backups)
 
  I also had a look into the tests to check the other questions. The sad
  thing is, that we can't host this on digitalocean, because digitalocean
  doesn't support nested kvm virtualisation. The tests do use local kvm on
  the host machine.
 
  We have three options now:
 
* rent a physical machine, where we can run the tests on local kvm
* buy a physical machine and host that somewhere (e.g. at someones
 home…)
* rent a amazon ec2 instance (which is virtualized but uses hvm with
 xen)
 
  All three options are kind of expensive. The first option probably needs
  a contract for atleast a year (depends on the provider). IMHO the best
  solution is to use amazon ec2. We could write a script which starts an
  fresh ec2 instance and runs the tests. After that we can drop the ec2
  instance again. Running the ec2 instance (t2.medium with 2GB RAM) 24/7
  would nearly cost 40$… but they were idling most of the time anyway. So
  the best and cheapest option is to only use them, when there are new iso
  images to test. The jenkins master server needs to run 24/7, that could
  continue to run on digital ocean.
 
  I don't have experience with amazon aws/ec2, if theres something wrong,
  please correct me.
 
  Cheers,
  Sujeevan
 
 Sujeevan, thanks for looking into this! While I see there's some tricks
 available to allow for nested virtualization, do we know this will
 actually work? Can anyone comment if they've used things like
 xen-blanket in the past for this?

 On the other options, I'm open to feedback. Does anyone have suggested
 hardware or hosting since we are looking more and more like we need
 physical servers for this? Those with jenkins experience, what about the
 thought of keeping master as a cloud server, and have a physical machine
 be the slave that is located in someone's house or hosted?

 Nicholas

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

-- 
Mike Lloyd
U.S. Marine Corps, Comcast VIPER
Cell: 808-633-8998
-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Re: Volunteers needed -- Automated Image Testing for flavors

2015-08-04 Thread Nicholas Skaggs

On 08/01/2015 09:19 AM, Sujeevan (svij) Vijayakumaran wrote:

Hi,

Am 31.07.2015 um 22:32 schrieb Nicholas Skaggs:

-svij and shrini agreed to setup a test jenkins instance to help answer
our lingering questions on what we need. Specifically they'll be looking at
where should we host this?
can we test in the cloud?
what type of setup should we have (how many slaves, how many instances)?
and trying to get us all setup with a jenkins instance we can add jobs
to and iterate on moving forward.


I've set up an Jenkins-Master server today, but there isn't anything yet
(http://jenkins.svij.org). It runs on digital ocean (for 10$/month +
2$/month for backups)

I also had a look into the tests to check the other questions. The sad
thing is, that we can't host this on digitalocean, because digitalocean
doesn't support nested kvm virtualisation. The tests do use local kvm on
the host machine.

We have three options now:

  * rent a physical machine, where we can run the tests on local kvm
  * buy a physical machine and host that somewhere (e.g. at someones home…)
  * rent a amazon ec2 instance (which is virtualized but uses hvm with xen)

All three options are kind of expensive. The first option probably needs
a contract for atleast a year (depends on the provider). IMHO the best
solution is to use amazon ec2. We could write a script which starts an
fresh ec2 instance and runs the tests. After that we can drop the ec2
instance again. Running the ec2 instance (t2.medium with 2GB RAM) 24/7
would nearly cost 40$… but they were idling most of the time anyway. So
the best and cheapest option is to only use them, when there are new iso
images to test. The jenkins master server needs to run 24/7, that could
continue to run on digital ocean.

I don't have experience with amazon aws/ec2, if theres something wrong,
please correct me.

Cheers,
Sujeevan

Sujeevan, thanks for looking into this! While I see there's some tricks 
available to allow for nested virtualization, do we know this will 
actually work? Can anyone comment if they've used things like 
xen-blanket in the past for this?


On the other options, I'm open to feedback. Does anyone have suggested 
hardware or hosting since we are looking more and more like we need 
physical servers for this? Those with jenkins experience, what about the 
thought of keeping master as a cloud server, and have a physical machine 
be the slave that is located in someone's house or hosted?


Nicholas

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


Re: Volunteers needed -- Automated Image Testing for flavors

2015-08-04 Thread Sujeevan (svij) Vijayakumaran
Hey,

Am 04.08.2015 um 19:12 schrieb Nicholas Skaggs:
 On 08/04/2015 10:40 AM, Shrinivasan T wrote:
 I don't have experience with amazon aws/ec2, if theres something wrong,
 please correct me.
 I have a  EC-2 instance.

 How to check if it supports virtualization?

 If you tell to run something on it and share the results, I can do it.


 Shrinivasan, if you wish to try,
 https://code.google.com/p/xen-blanket/wiki/InstallOnEC2 seems like the
 way to do it. Note it requires and HVM. Looks like they use centos in
 their example though, and it's a quite dated. Hence my thoughts are that
 it's unlikely to be successful. I don't know of anything else that
 claims to allow nested virtualization.

Uh, I don't think we need that…

Trying to run the tests on a ec2 instance should be the way to go. See
https://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/view/head:/autopilot/README.md#L69

This script uses local kvm on ec2 to boot the isos as it seems for me on
the first quick look… If that script starts, than it should work fine
for our tests.

-- Sujeevan

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


Re: Volunteers needed -- Automated Image Testing for flavors

2015-08-04 Thread Nicholas Skaggs

On 08/04/2015 10:39 AM, Mike Lloyd wrote:
I have two G5s, a G4 and a 4U G1 I can donate if someone wants to pay 
for shipping or hosting.


Mike.

On Tue, 4 Aug 2015 at 08:36 Nicholas Skaggs 
nicholas.ska...@canonical.com mailto:nicholas.ska...@canonical.com 
wrote:


On 08/01/2015 09:19 AM, Sujeevan (svij) Vijayakumaran wrote:
 Hi,

 Am 31.07.2015 um 22:32 schrieb Nicholas Skaggs:
 -svij and shrini agreed to setup a test jenkins instance to
help answer
 our lingering questions on what we need. Specifically they'll
be looking at
 where should we host this?
 can we test in the cloud?
 what type of setup should we have (how many slaves, how many
instances)?
 and trying to get us all setup with a jenkins instance we can
add jobs
 to and iterate on moving forward.

 I've set up an Jenkins-Master server today, but there isn't
anything yet
 (http://jenkins.svij.org). It runs on digital ocean (for 10$/month +
 2$/month for backups)

 I also had a look into the tests to check the other questions.
The sad
 thing is, that we can't host this on digitalocean, because
digitalocean
 doesn't support nested kvm virtualisation. The tests do use
local kvm on
 the host machine.

 We have three options now:

   * rent a physical machine, where we can run the tests on local kvm
   * buy a physical machine and host that somewhere (e.g. at
someones home…)
   * rent a amazon ec2 instance (which is virtualized but uses
hvm with xen)

 All three options are kind of expensive. The first option
probably needs
 a contract for atleast a year (depends on the provider). IMHO
the best
 solution is to use amazon ec2. We could write a script which
starts an
 fresh ec2 instance and runs the tests. After that we can drop
the ec2
 instance again. Running the ec2 instance (t2.medium with 2GB
RAM) 24/7
 would nearly cost 40$… but they were idling most of the time
anyway. So
 the best and cheapest option is to only use them, when there are
new iso
 images to test. The jenkins master server needs to run 24/7,
that could
 continue to run on digital ocean.

 I don't have experience with amazon aws/ec2, if theres something
wrong,
 please correct me.

 Cheers,
 Sujeevan

Sujeevan, thanks for looking into this! While I see there's some
tricks
available to allow for nested virtualization, do we know this will
actually work? Can anyone comment if they've used things like
xen-blanket in the past for this?

On the other options, I'm open to feedback. Does anyone have suggested
hardware or hosting since we are looking more and more like we need
physical servers for this? Those with jenkins experience, what
about the
thought of keeping master as a cloud server, and have a physical
machine
be the slave that is located in someone's house or hosted?

Nicholas

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

--
Mike Lloyd
U.S. Marine Corps, Comcast VIPER
Cell: 808-633-8998


Awesome Mike! Since we have hardware, that would make me more inclined 
to pursue somehow hosting this themselves. Mike could you host the 
devices as well or no?


And yes, we should be able to arrange funds for shipping to someone else 
if there's another volunteer who would be able to host.


Nicholas

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


Re: Volunteers needed -- Automated Image Testing for flavors

2015-08-04 Thread Sujeevan (svij) Vijayakumaran
Hi,

Am 04.08.2015 um 16:39 schrieb Mike Lloyd:
 I have two G5s, a G4 and a 4U G1 I can donate if someone wants to pay for
 shipping or hosting.

Can you give as a few more details about CPU/RAM/HDD etc? It seems for
me that those are HP Servers.

-- svij

 Mike.
 
 On Tue, 4 Aug 2015 at 08:36 Nicholas Skaggs nicholas.ska...@canonical.com
 wrote:
 
 On 08/01/2015 09:19 AM, Sujeevan (svij) Vijayakumaran wrote:
 Hi,

 Am 31.07.2015 um 22:32 schrieb Nicholas Skaggs:
 -svij and shrini agreed to setup a test jenkins instance to help answer
 our lingering questions on what we need. Specifically they'll be
 looking at
 where should we host this?
 can we test in the cloud?
 what type of setup should we have (how many slaves, how many instances)?
 and trying to get us all setup with a jenkins instance we can add jobs
 to and iterate on moving forward.

 I've set up an Jenkins-Master server today, but there isn't anything yet
 (http://jenkins.svij.org). It runs on digital ocean (for 10$/month +
 2$/month for backups)

 I also had a look into the tests to check the other questions. The sad
 thing is, that we can't host this on digitalocean, because digitalocean
 doesn't support nested kvm virtualisation. The tests do use local kvm on
 the host machine.

 We have three options now:

   * rent a physical machine, where we can run the tests on local kvm
   * buy a physical machine and host that somewhere (e.g. at someones
 home…)
   * rent a amazon ec2 instance (which is virtualized but uses hvm with
 xen)

 All three options are kind of expensive. The first option probably needs
 a contract for atleast a year (depends on the provider). IMHO the best
 solution is to use amazon ec2. We could write a script which starts an
 fresh ec2 instance and runs the tests. After that we can drop the ec2
 instance again. Running the ec2 instance (t2.medium with 2GB RAM) 24/7
 would nearly cost 40$… but they were idling most of the time anyway. So
 the best and cheapest option is to only use them, when there are new iso
 images to test. The jenkins master server needs to run 24/7, that could
 continue to run on digital ocean.

 I don't have experience with amazon aws/ec2, if theres something wrong,
 please correct me.

 Cheers,
 Sujeevan

 Sujeevan, thanks for looking into this! While I see there's some tricks
 available to allow for nested virtualization, do we know this will
 actually work? Can anyone comment if they've used things like
 xen-blanket in the past for this?

 On the other options, I'm open to feedback. Does anyone have suggested
 hardware or hosting since we are looking more and more like we need
 physical servers for this? Those with jenkins experience, what about the
 thought of keeping master as a cloud server, and have a physical machine
 be the slave that is located in someone's house or hosted?

 Nicholas

 --
 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


Re: Volunteers needed -- Automated Image Testing for flavors

2015-08-04 Thread Shrinivasan T
 Trying to run the tests on a ec2 instance should be the way to go. See
 https://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/view/head:/autopilot/README.md#L69

 This script uses local kvm on ec2 to boot the isos as it seems for me on
 the first quick look… If that script starts, than it should work fine
 for our tests.


I tried this in a EC-2 instance.

./run-ubiquity-test ~/wily-desktop-amd64.iso | tee errr

Got the error.

Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory


Full logs here.
http://paste.ubuntu.com/12001909/


It seems my ec-2 is not having KVM.
Will check if there is any possibility to add kvm in ec-2.
-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com

Get CollabNet Subversion Edge : http://www.collab.net/svnedge

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