Testing on windows

Gabriel Samfira gsamfira at cloudbasesolutions.com
Thu Mar 19 14:51:30 UTC 2015


That is actually a great idea :). We can try and do this in Nuremberg next month ;). We have some tooling to do an unattended install. We can use that to create the base qcow2 image, and install dependencies.

for testing we can simply use the base image as a qcow2 backing file, and use WinRM to run commands inside it from a simple python script.

We can implement this during the sprint :D.
________________________________________
From: Eric Snow [eric.snow at canonical.com]
Sent: Thursday, March 19, 2015 4:33 PM
To: Gabriel Samfira
Cc: juju-dev at lists.ubuntu.com
Subject: Re: Testing on windows

Thanks for bringing this up.  And thanks to Bogdan (and anyone else
involved) for writing up that great walkthrough!  I had expected it to
be more complicated.  I'm going to be running the unit tests on
windows from now on. :)  I'm sure I've broken then a bunch in the last
couple weeks.

What would be nice is a script that does the following:

* start up a KVM with windows
* pull a specified branch from a github juju repo (and run godeps)
* run the test suite (and show me the results)
* shut down the KVM

Bonus points for optionally setting up a fresh KVM each time and for
optionally running other provided commands (e.g. to test bootstrap,
deploy).

If I get a chance I'll write something up.  (I have so much free time. <wink>)

-eric

On Wed, Mar 18, 2015 at 7:40 PM, Gabriel Samfira
<gsamfira at cloudbasesolutions.com> wrote:
> Hello folks,
>
> It has come to my attention that there may be some confusion in regards
> to some Windows testing. There have been a couple of branches that have
> merged which break windows tests in juju-core.
>
> I would like to remind everyone that there is a guide available at:
>
> http://wiki.cloudbase.it/juju-testing
>
> that will help you set up a testing environment on Windows. Also, if
> there are any questions regarding Windows weirdness, please feel free to
> contact me on irc (gsamfira) or bogdanteleaga. We will be more then
> happy to help you navigate any Windows issues you might have.
>
>
> Kind regards,
> Gabriel
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev



More information about the Juju-dev mailing list