You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Wilder Rodrigues <WR...@schubergphilis.com> on 2015/09/24 22:25:13 UTC

Testing ACS master + 7 PRs

Hi all,

We have spent some extra time to test the current master in conjunction with 7 PRs that should be fixing some PF/FW/VR problems.

There are still issues with the VPC VR when we try to stop/start the router of a VPC which contains tiers/VMs. In that case, 2 of 8 tests failed. Concerning the redundant VPC, the tests is failing due to timeout - which could be related to the problemas we have with default route.

Just to make a very clear point here: the tests mentioned above were passing fine 3 weeks ago!

We will proceed tomorrow, fixing the issue above mentioned and pushing 1 PR that once merged with close the ones below.

The list of PRs is as follows:

https://github.com/apache/cloudstack/pull/882

https://github.com/apache/cloudstack/pull/881

https://github.com/apache/cloudstack/pull/870

https://github.com/apache/cloudstack/pull/867

https://github.com/apache/cloudstack/pull/851

https://github.com/apache/cloudstack/pull/842

https://github.com/apache/cloudstack/pull/836

The results ares:


Test router internal advanced zone ... === TestName: test_02_router_internal_adv | Status : SUCCESS ===
ok
Test restart network ... === TestName: test_03_restart_network_cleanup | Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS ===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS ===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 7 tests in 534.900s

OK
/tmp//MarvinLogs/test_routers_3MVY7R/results.txt (END)


Test redundant router internals ... === TestName: test_enableVPNOverRvR | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 473.712s

OK
/tmp//MarvinLogs/test_redundant_router_services_FR114B/results.txt (END)

Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
ok
Test migrate VM ... SKIP: At least two hosts should be present in the zone for migration
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 10 tests in 1240.119s

OK (SKIP=1)
/tmp//MarvinLogs/test_vm_life_cycle_6XISXB/results.txt (END)


Test create VPC offering ... === TestName: test_01_create_vpc_offering | Status : SUCCESS ===
ok
Test VPC offering without load balancing service ... === TestName: test_03_vpc_off_without_lb | Status : SUCCESS ===
ok
Test VPC offering without static NAT service ... === TestName: test_04_vpc_off_without_static_nat | Status : SUCCESS ===
ok
Test VPC offering without port forwarding service ... === TestName: test_05_vpc_off_without_pf | Status : SUCCESS ===
ok
Test VPC offering with invalid services ... === TestName: test_06_vpc_off_invalid_services | Status : SUCCESS ===
ok
Test update VPC offering ... === TestName: test_07_update_vpc_off | Status : SUCCESS ===
ok
Test list VPC offering ... === TestName: test_08_list_vpc_off | Status : SUCCESS ===
ok
test_09_create_redundant_vpc_offering (integration.component.test_vpc_offerings.TestVPCOffering) ... === TestName: test_09_create_redundant_vpc_offering | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 8 tests in 1460.812s

OK
/tmp//MarvinLogs/test_vpc_offerings_2I7ACT/results.txt (END)


Test reset virtual machine on reboot ... === TestName: test_01_reset_vm_on_reboot | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 528.656s

OK
/tmp//MarvinLogs/test_reset_vm_on_reboot_4QCNJC/results.txt (END)


Test VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 2 tests in 831.561s

OK
/tmp//MarvinLogs/test_vpc_vpn_RSH04G/results.txt (END)


Test iptables default INPUT/FORWARD policy on RouterVM ... === TestName: test_02_routervm_iptables_policies | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policies on VPC router ... === TestName: test_01_single_VPC_iptables_policies | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 2 tests in 681.100s

OK
/tmp//MarvinLogs/test_routers_iptables_default_policy_6RZ14L/results.txt (END)


Test Create Account and user for that account ... === TestName: test_01_create_account | Status : SUCCESS ===
ok
Test Sub domain allowed to launch VM  when a Domain ... === TestName: test_01_add_vm_to_subdomain | Status : SUCCESS ===
ok
Test delete domain without force option ... === TestName: test_DeleteDomain | Status : SUCCESS ===
ok
Test delete domain with force option ... === TestName: test_forceDeleteDomain | Status : SUCCESS ===
ok
Test to verify Non Root admin previleges ... === TestName: test_01_non_root_admin_Privileges | Status : SUCCESS ===
ok
Test Remove one user from the account ... === TestName: test_01_user_remove_VM_running | Status : SUCCESS ===
ok
Test to verify service offerings at same level in hierarchy ... === TestName: test_01_service_offering_hierarchy | Status : SUCCESS ===
ok
Test to verify service offerings at same level in hierarchy ... === TestName: test_01_service_offering_siblings | Status : SUCCESS ===
ok
Test update admin details ... === TestName: test_updateAdminDetails | Status : SUCCESS ===
ok
Test update domain admin details ... === TestName: test_updateDomainAdminDetails | Status : SUCCESS ===
ok
Test user update API ... === TestName: test_updateUserDetails | Status : SUCCESS ===
ok
Test login API with domain ... === TestName: test_LoginApiDomain | Status : EXCEPTION ===
ERROR
Test if Login API does not return UUID's ... === TestName: test_LoginApiUuidResponse | Status : EXCEPTION ===
ERROR

======================================================================
ERROR: Test login API with domain
———————————————————————————————————
======================================================================
ERROR: Test if Login API does not return UUID's
———————————————————————————————————
----------------------------------------------------------------------
Ran 13 tests in 3901.004s

FAILED (errors=2)


raise ValueError("No JSON object could be decoded")\n’



Manual tests:

::Isolated Networks ::

Created VM on isolated network
Added FW and PF rules

# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
14 packets transmitted, 0 packets received, 100% packet loss
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=47 time=10.287 ms
64 bytes from 8.8.8.8: seq=1 ttl=47 time=10.263 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 10.263/10.275/10.287 ms
#

Test failed when I tried to ping 8.8.8.8 from the VM
I then added an degrees rule - via the UI - and tested passed, and you can see above.

:: VPC ::
Created VPC
Add 1 tier
Add 1 VM
Add 1 pub IP
Add PF
SSH into the VM
cannot ping 8.8.8.8

I then added the default route manually

root@r-58-VM:~# route add default gw 192.168.23.1

SSH into the VM again

[wrodrigues@mct-wrodrigues-g9 ~]$ ssh root@192.168.23.4<ma...@192.168.23.4>
root@192.168.23.4<ma...@192.168.23.4>'s password:
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=47 time=11.062 ms
64 bytes from 8.8.8.8: seq=1 ttl=47 time=10.135 ms
64 bytes from 8.8.8.8: seq=2 ttl=47 time=10.013 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 10.013/10.403/11.062 ms