## page was renamed from Boto19TestCoverage == Euca2ools / Boto 1.9 testing == ==== Process ==== For each command, test the different options (if any) and mark as green (with your name) when tested successfully (see euca-version for an example). list of optional parameters comes from the man page, checking that it matches the executable would also be great :) If you find a bug, check if you can reproduce the issue with boto 1.8 before filing the bug. It will condition if the bug goes upstream or should be fixed on our side. ==== Test coverage ==== || '''Command''' || '''Options to test''' || '''10.04 Status''' || '''10.10 Status''' || || euca-add-group || foo-group -d FOOGroup ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-add-keypair || foo ||<#55ff55> ttx, smoser ||<#55ff55> kirkland || || euca-allocate-address || ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-associate-address || '--instance ' ||<#55ff55> smoser || || euca-attach-volume || '--instance --device sdd ' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-authorize || '--protocol tcp --port-range 10-30 --icmp-type-code -1:-1 --source-subnet 0.0.0.0/0 foogroup'<
> '--protocol tcp --port-range 80 --source-subnet 205.192.0.0/16' <
> '''TODO:''' '--source-group --source-group-user' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-bundle-image || '--prefix --kernel --ramdisk --destination --arch x86_64' <
>'--block-device-mapping ephemeral0:sdd' Bug:546548||<#55ff55> smoser (via uec-publish-image/uec-publish-tarball)||<#55ff55> kirkland (via uec-publish-image) || || euca-bundle-vol || '''TODO''': '--prefix foo --inherit --exclude /mnt --kernel --ramdisk --block-device-mapping /dev/sdd:ephemeral0 --destination /mnt/destfoo --arch x86_64 --volume / --fstab /etc/fstab'<
>'''TODO''':'--no-inherit --generate-fstab --all'<
> First command fails before boto would be involved. In general I doubt this will be affected by boto ||<#ffff00> smoser || || euca-confirm-product-instance || '--instance ' (Bug:548483)<
>This fails same way with boto 1.8 or 1.9 ||<#ffff00>smoser || || euca-create-snapshot || '' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-create-volume || '--size 2 --zone ' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-delete-bundle || '--bucket --prefix --clear'<
>'''TODO:''' '--manifest ' ||<#55ff55> smoser || || euca-delete-group || 'foo-group' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-delete-keypair || foo ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-delete-snapshot || ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-delete-volume || , ' --zone ' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-deregister || ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-describe-addresses || , ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-describe-availability-zones || , '--region FOO'||<#55ff55> smoser ||<#55ff55> kirkland || || euca-describe-groups || , foogroup, ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-describe-image-attribute || '--launch-permission '<
>'--product-code ' <
>'--kernel ' Bug:531453 <
>'--ramdisk ' Bug:531453 <
> '''TODO:''' '--block-device-mapping ' Bug:546548 ,Bug:495618 <
>||<#ffff00> smoser || || euca-describe-images || -a, '--owner self', '-x self', ' ' ||<#55ff55> smoser||<#55ff55> kirkland || || euca-describe-instances || , '' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-describe-keypairs || '', 'fookey' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-describe-regions || 'Eucalyptus', 'Walrus'||<#55ff55> smoser ||<#55ff55> kirkland || || euca-describe-snapshots || , '' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-describe-volumes || ' ', '', ||<#55ff55> smoser||<#55ff55> kirkland || || euca-detach-volume || ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-disassociate-address || '--instance
'||<#55ff55> smoser || || euca-download-bundle || '--bucket --directory .', '--bucket --manifest ' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-get-console-output || '' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-modify-image-attribute || '--launch-permission --add admin ' <
> '--product-code foo ' <
> '--launch-permission --remove admin ' <
> ||<#55ff55> smoser ||<#55ff55> kirkland (via uec-publish-image) || || euca-reboot-instances || instances ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-register || ||<#55ff55> smoser ||<#55ff55> kirkland (via uec-publish-image) || || euca-release-address || ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-reset-image-attribute || ||<#55ff55> smoser || || euca-revoke || '--protocol tcp --port-range 22 --icmp-type-code -1:-1 foogroup'<
> '''TODO'': --source-group-user --source-group ||<#ffff55> smoser ||<#ffff55> kirkland || || euca-run-instances || '--key fookey --user-data=foobar --instance-type m1.small '<
>'--key fookey --user-data-file=foofile --instance-type m1.small --availability-zone --addressing private --instance-count 2 --kernel --ramdisk --group foogroup'||<#55ff55> smoser ||<#55ff55> kirkland || || euca-terminate-instances || ' ' ||<#55ff55> smoser ||<#55ff55> kirkland || || euca-unbundle || '--destination . --source ../ --manifest ../foo.manifest.xml'<
>'-s' == '--source' (not --secret-key)||<#55ff55> smoser|| || euca-upload-bundle || '--acl aws-exec-read --directory . --part 1 --skipmanifest --bucket foobucket --manifest foo.manifest.xml' ||<#55ff55> smoser ||<#55ff55> kirkland (via uec-publish-image) || || euca-version || ||<#55ff55> ttx ||<#55ff55> kirkland || ==== Testing with Boto 1.8 ==== If you find a problem, please open a bug. It would also be nice if you are able to state whether this is not a problem using boto 1.8. To test with boto 1.8, do the following: {{{ $ bzr branch lp:ubuntu/karmic/python-boto python-boto.karmic $ export PYTHONPATH=$PWD/python-boto.karmic # Now, just run the same command and it should use the python-boto from karmic. }}}