Last active
March 26, 2016 02:06
-
-
Save rohityadavcloud/e970264da5005c76c611 to your computer and use it in GitHub Desktop.
Marvin - Test My Cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mvn clean install -Dnoredist -Pdeveloper,systemvm -Dsimulator | |
# sudo pip install --upgrade tools/marvin/dist/Marvin*.tar.gz | |
# mvn -P developer -pl developer -Ddeploydb -Dnoredist | |
# mvn -P developer -pl developer -Ddeploydb-simulator -Dnoredist | |
# mvn -pl :cloud-client-ui jetty:run -Dnoredist -Dsimulator | |
# python -m marvin.deployDataCenter -i setup/dev/advanced.cfg | |
TESTS="smoke/test_affinity_groups \ | |
smoke/test_affinity_groups_projects \ | |
smoke/test_deploy_vgpu_enabled_vm \ | |
smoke/test_deploy_vm_iso \ | |
smoke/test_deploy_vm_root_resize \ | |
smoke/test_deploy_vm_with_userdata \ | |
smoke/test_deploy_vms_with_varied_deploymentplanners \ | |
smoke/test_disk_offerings \ | |
smoke/test_global_settings \ | |
smoke/test_guest_vlan_range \ | |
smoke/test_hosts \ | |
smoke/test_internal_lb \ | |
smoke/test_iso \ | |
smoke/test_loadbalance \ | |
smoke/test_multipleips_per_nic \ | |
smoke/test_network \ | |
smoke/test_network_acl \ | |
smoke/test_nic \ | |
smoke/test_nic_adapter_type \ | |
smoke/test_non_contigiousvlan \ | |
smoke/test_over_provisioning \ | |
smoke/test_password_server \ | |
smoke/test_portable_publicip \ | |
smoke/test_primary_storage \ | |
smoke/test_privategw_acl \ | |
smoke/test_public_ip_range \ | |
smoke/test_pvlan \ | |
smoke/test_regions \ | |
smoke/test_reset_vm_on_reboot \ | |
smoke/test_resource_detail \ | |
smoke/test_router_dhcphosts \ | |
smoke/test_routers \ | |
smoke/test_routers_iptables_default_policy \ | |
smoke/test_routers_network_ops \ | |
smoke/test_scale_vm \ | |
smoke/test_secondary_storage \ | |
smoke/test_service_offerings \ | |
smoke/test_snapshots \ | |
smoke/test_ssvm \ | |
smoke/test_templates \ | |
smoke/test_usage_events \ | |
smoke/test_vm_life_cycle \ | |
smoke/test_vm_snapshots \ | |
smoke/test_volumes \ | |
smoke/test_vpc_redundant \ | |
smoke/test_vpc_router_nics \ | |
smoke/test_vpc_vpn \ | |
smoke/misc/test_deploy_vm \ | |
smoke/misc/test_vm_ha \ | |
smoke/misc/test_escalations_templates \ | |
smoke/misc/test_vm_sync" | |
COMPONENTS="component/test_acl_isolatednetwork \ | |
component/test_acl_isolatednetwork_delete \ | |
component/test_acl_listsnapshot \ | |
component/test_acl_listvm \ | |
component/test_acl_listvolume \ | |
component/test_acl_sharednetwork \ | |
component/test_acl_sharednetwork_deployVM-impersonation \ | |
component/test_mm_domain_limits \ | |
component/test_mm_max_limits \ | |
component/test_snapshots" | |
mkdir -p integration-test-results/smoke/misc | |
mkdir -p integration-test-results/component | |
for suite in $TESTS; do | |
nosetests --with-xunit --xunit-file=integration-test-results/$suite.xml --with-marvin --marvin-config=setup/dev/advanced.cfg test/integration/$suite.py -s -a tags=advanced,required_hardware=false --zone=Sandbox-simulator --hypervisor=simulator | |
done | |
for suite in $COMPONENTS; do | |
nosetests --with-xunit --xunit-file=integration-test-results/$suite.xml --with-marvin --marvin-config=setup/dev/advanced.cfg test/integration/$suite.py -s -a tags=advanced,required_hardware=false --zone=Sandbox-simulator --hypervisor=simulator | |
done | |
# Print result in a table | |
python tools/travis/xunit-reader.py integration-test-results/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment