2024-08-27 10:01:19,319 - INFO - Domain Default found not creating 2024-08-27 10:01:19,468 - INFO - Project ctest-TestRoutersBasic-87423430 not found, creating it 2024-08-27 10:01:19,930 - INFO - Created Project:ctest-TestRoutersBasic-87423430, ID : fce10359-3fdc-40b3-a598-59f41d2e44ee 2024-08-27 10:01:21,474 - INFO - ================================================================================ 2024-08-27 10:01:21,474 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-27 10:01:21,474 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2024-08-27 10:01:21,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.12': '0'}} with 2024-08-27 10:01:21,731 - INFO - Initial checks done. Running the testcase now 2024-08-27 10:01:21,731 - INFO - 2024-08-27 10:01:22,451 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87423430 2024-08-27 10:01:22,545 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87423430 2024-08-27 10:01:22,869 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87423430', 'default']} 2024-08-27 10:01:23,156 - DEBUG - Response for create_network : {'network': {'id': 'dae5e018-e38a-4b20-bdea-e80afcabe7b8', 'name': 'ctest-vn-70240678', 'tenant_id': 'fce103593fdc40b3a59859f41d2e44ee', 'project_id': 'fce103593fdc40b3a59859f41d2e44ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87423430', 'ctest-vn-70240678'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 10:01:23,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '1443ce3b-0f04-4569-bd65-354c03b67483', 'name': '', 'tenant_id': 'fce103593fdc40b3a59859f41d2e44ee', 'network_id': 'dae5e018-e38a-4b20-bdea-e80afcabe7b8', 'ip_version': 4, 'cidr': '197.2.232.192/26', 'allocation_pools': [{'start': '197.2.232.194', 'end': '197.2.232.254'}], 'gateway_ip': '197.2.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.2.232.194', 'tags': [], 'project_id': 'fce103593fdc40b3a59859f41d2e44ee'}} 2024-08-27 10:01:23,388 - INFO - Created VN ctest-vn-70240678 2024-08-27 10:01:23,441 - DEBUG - VN ctest-vn-70240678 UUID is dae5e018-e38a-4b20-bdea-e80afcabe7b8 2024-08-27 10:01:24,175 - DEBUG - Response for create_network : {'network': {'id': '66118e71-16c1-4d50-a87e-74574176d297', 'name': 'ctest-ext_vn-44629808', 'tenant_id': 'fce103593fdc40b3a59859f41d2e44ee', 'project_id': 'fce103593fdc40b3a59859f41d2e44ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87423430', 'ctest-ext_vn-44629808'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 10:01:24,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '73a9bc8a-b725-4eef-809d-8dd3f4d4a81e', 'name': '', 'tenant_id': 'fce103593fdc40b3a59859f41d2e44ee', 'network_id': '66118e71-16c1-4d50-a87e-74574176d297', 'ip_version': 4, 'cidr': '77.78.19.128/26', 'allocation_pools': [{'start': '77.78.19.130', 'end': '77.78.19.190'}], 'gateway_ip': '77.78.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.78.19.130', 'tags': [], 'project_id': 'fce103593fdc40b3a59859f41d2e44ee'}} 2024-08-27 10:01:24,357 - INFO - Created VN ctest-ext_vn-44629808 2024-08-27 10:01:24,409 - DEBUG - VN ctest-ext_vn-44629808 UUID is 66118e71-16c1-4d50-a87e-74574176d297 2024-08-27 10:01:24,571 - DEBUG - Services list from nova: [, , ] 2024-08-27 10:01:25,600 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1796-1) 2024-08-27 10:01:26,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1796-1) 2024-08-27 10:01:26,875 - INFO - Setting gateway for router 3edc9305-ca60-49ba-8317-0cdde8de9c4f to network 66118e71-16c1-4d50-a87e-74574176d297 2024-08-27 10:01:26,947 - INFO - Adding interface with subnet_id 1443ce3b-0f04-4569-bd65-354c03b67483, port_id None to router 3edc9305-ca60-49ba-8317-0cdde8de9c4f 2024-08-27 10:01:27,335 - INFO - Waiting for VM ctest-TestRoutersBasic-87423430-37166455 to be up.. 2024-08-27 10:01:27,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 10:01:32,581 - DEBUG - VM is in ACTIVE state now 2024-08-27 10:01:32,582 - INFO - VM name : ctest-TestRoutersBasic-87423430-37166455 2024-08-27 10:01:32,670 - DEBUG - VM ctest-TestRoutersBasic-87423430-37166455 ID is c35eceda-1295-44fd-8757-f76b9476fc29 2024-08-27 10:01:32,687 - DEBUG - VM ctest-TestRoutersBasic-87423430-37166455 launched on Node cn-jenkins-deploy-platform-ansible-os-1796-1 2024-08-27 10:01:32,773 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/c35eceda-1295-44fd-8757-f76b9476fc29 2024-08-27 10:01:33,076 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/c35eceda-1295-44fd-8757-f76b9476fc29 2024-08-27 10:01:33,109 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/fa3b2425-658e-4354-8f4e-cba75d34c46f 2024-08-27 10:01:36,386 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2024-08-27 10:01:36,386 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87423430-37166455 failed! 2024-08-27 10:01:36,445 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87423430:ctest-vn-70240678 is 197.2.232.193 and allocation pool is NOT set 2024-08-27 10:01:38,507 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.379/2.392/4.406/2.013 ms') 2024-08-27 10:01:38,507 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87423430-37166455 passed 2024-08-27 10:01:38,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 10:01:38,613 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87423430-37166455, IP 197.2.232.195, Port 22 2024-08-27 10:01:38,773 - DEBUG - VM ctest-TestRoutersBasic-87423430-37166455 is ready for SSH connections 2024-08-27 10:01:38,773 - INFO - Waiting for VM ctest-TestRoutersBasic-87423430-01434745 to be up.. 2024-08-27 10:01:38,858 - DEBUG - VM is in ACTIVE state now 2024-08-27 10:01:38,858 - INFO - VM name : ctest-TestRoutersBasic-87423430-01434745 2024-08-27 10:01:38,938 - DEBUG - VM ctest-TestRoutersBasic-87423430-01434745 ID is c642b34b-5b84-47b0-a3e2-cad82efc447e 2024-08-27 10:01:38,938 - DEBUG - VM ctest-TestRoutersBasic-87423430-01434745 launched on Node cn-jenkins-deploy-platform-ansible-os-1796-1 2024-08-27 10:01:39,027 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/c642b34b-5b84-47b0-a3e2-cad82efc447e 2024-08-27 10:01:39,035 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/8e3904e2-3921-4399-b00a-502759a6183a 2024-08-27 10:01:40,270 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.411/1.484/2.557/1.073 ms') 2024-08-27 10:01:40,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87423430-01434745 passed 2024-08-27 10:01:40,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 10:01:40,425 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87423430-01434745, IP 77.78.19.131, Port 22 2024-08-27 10:01:40,581 - DEBUG - VM ctest-TestRoutersBasic-87423430-01434745 is ready for SSH connections 2024-08-27 10:01:40,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 10:01:40,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.78.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2024-08-27 10:01:40,581 - DEBUG - ping -s 56 -c 3 -W 1 77.78.19.131 2024-08-27 10:01:44,260 - DEBUG - PING 77.78.19.131 (77.78.19.131): 56 data bytes 64 bytes from 77.78.19.131: seq=0 ttl=62 time=5.400 ms 64 bytes from 77.78.19.131: seq=1 ttl=62 time=0.936 ms 64 bytes from 77.78.19.131: seq=2 ttl=62 time=0.943 ms --- 77.78.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/2.426/5.400 ms 2024-08-27 10:01:44,260 - INFO - Ping to IP 77.78.19.131 from VM ctest-TestRoutersBasic-87423430-37166455 passed 2024-08-27 10:01:44,260 - INFO - Deleting interface with subnet_id 1443ce3b-0f04-4569-bd65-354c03b67483, port_id None from router 3edc9305-ca60-49ba-8317-0cdde8de9c4f 2024-08-27 10:01:44,441 - INFO - Deleting VM ctest-TestRoutersBasic-87423430-01434745 2024-08-27 10:01:44,501 - INFO - Deleting VM ctest-TestRoutersBasic-87423430-37166455 2024-08-27 10:01:44,565 - INFO - Deleting VN ctest-ext_vn-44629808 2024-08-27 10:01:44,639 - DEBUG - VN 66118e71-16c1-4d50-a87e-74574176d297 still in use: Unable to complete operation on network 66118e71-16c1-4d50-a87e-74574176d297. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2753fb29-cb58-45eb-a579-601d0013684d'] 2024-08-27 10:01:44,639 - WARNING - Deleting VN ctest-ext_vn-44629808 failed..Will retry 2024-08-27 10:01:46,760 - DEBUG - Response for deleting network () 2024-08-27 10:01:46,760 - INFO - Deleting VN ctest-vn-70240678 2024-08-27 10:01:46,874 - DEBUG - Response for deleting network () 2024-08-27 10:01:47,127 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 10:01:47,127 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2024-08-27 10:01:47,127 - INFO - -------------------------------------------------------------------------------- 2024-08-27 10:01:48,377 - INFO - Deleted project: ctest-TestRoutersBasic-87423430, ID : fce10359-3fdc-40b3-a598-59f41d2e44ee