-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12-02-03 04:30 AM, Ian Booth wrote: > I've been doing a bit of investigation on running the Launchpad > test suite in a canonistack instance. Andrew Glen-Young has been > awesome in helping me get access to an instance to work with - > thanks.
> lp.archivepublisher.tests.test_ftparchive.TestFTPArchive.test_generateConfig > > lp.archiveuploader.tests.test_uploadprocessor.TestUploadProcessor.testLZMADebUpload > lp.services.mailman.tests.test_mlist_sync.TestMListSync.test_staging_sync > > lp.services.mailman.tests.test_mlist_sync.TestMListSync.test_staging_sync_list_without_team > lp.services.mailman.tests.test_mlist_sync.TestMListSync.test_staging_sync_with_team_address > > Total: 17029 tests, 5 failures, 0 errors in 210 minutes 43.985 seconds. At last, I'm not the only one seeing these! I've been meaning to look into them, but it got back-burnered during the dynamic bug listings work. > I hacked together 3 scripts, based on snippets extracted from > various bits of our python stuff used to configure ec2: > > rootsetup.sh (run as root) setup.sh databasesetup.sh This sounds quite a lot like the scripts test farm uses to configure a Launchpad instance. Have you had a look at it? bzr+ssh://bazaar.launchpad.net/~abentley/+junk/test-farm/ > The above are bash scripts - I find these easier to write and > debug rather than how our ec2 stuff is written by creating a > connection and shoving bash commands down the pipe to be executed. > I scp'ed these scripts to the blank instance and ran them. I could > have also used sftp. You can also use cloud-init to perform the install. Or juju, I imagine. test-farm used clould-init to do post-init customization. You can just supply a script as --user-data-file to the euca-run-instances command. I wonder if we can reuse ec2-land more directly, though? Aaron -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8sCSkACgkQ0F+nu1YWqI3QrgCdGsgJbgXWsvgR6wwl2shqJzGd 7hwAn1eUhk7UoErjG7IcqEqIxcLAEU60 =986l -----END PGP SIGNATURE----- _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp