2024-08-27 02:30:25,228 - INFO - Domain Default found not creating 2024-08-27 02:30:25,473 - INFO - Project ctest-TestRoutersBasic-16408933 not found, creating it 2024-08-27 02:30:26,172 - INFO - Created Project:ctest-TestRoutersBasic-16408933, ID : 34bf9366-19eb-40b7-8628-d96c3d49adad 2024-08-27 02:30:28,597 - INFO - ================================================================================ 2024-08-27 02:30:28,597 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-27 02:30:28,597 - 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 02:30:28,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.10': '0'}} with 2024-08-27 02:30:28,934 - INFO - Initial checks done. Running the testcase now 2024-08-27 02:30:28,935 - INFO - 2024-08-27 02:30:29,771 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16408933 2024-08-27 02:30:29,885 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16408933 2024-08-27 02:30:30,301 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16408933', 'default']} 2024-08-27 02:30:30,625 - DEBUG - Response for create_network : {'network': {'id': '1e8807ce-1d5c-43dc-a739-54d248ee9fb4', 'name': 'ctest-vn-79274966', 'tenant_id': '34bf936619eb40b78628d96c3d49adad', 'project_id': '34bf936619eb40b78628d96c3d49adad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16408933', 'ctest-vn-79274966'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 02:30:30,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '09a55be1-c2cf-41ac-aae3-0f7f54144869', 'name': '', 'tenant_id': '34bf936619eb40b78628d96c3d49adad', 'network_id': '1e8807ce-1d5c-43dc-a739-54d248ee9fb4', 'ip_version': 4, 'cidr': '167.241.144.0/26', 'allocation_pools': [{'start': '167.241.144.2', 'end': '167.241.144.62'}], 'gateway_ip': '167.241.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.241.144.2', 'tags': [], 'project_id': '34bf936619eb40b78628d96c3d49adad'}} 2024-08-27 02:30:30,913 - INFO - Created VN ctest-vn-79274966 2024-08-27 02:30:30,969 - DEBUG - VN ctest-vn-79274966 UUID is 1e8807ce-1d5c-43dc-a739-54d248ee9fb4 2024-08-27 02:30:31,432 - DEBUG - Response for create_network : {'network': {'id': '762a91c3-a0f0-443f-95d3-e29d3327254d', 'name': 'ctest-ext_vn-99422174', 'tenant_id': '34bf936619eb40b78628d96c3d49adad', 'project_id': '34bf936619eb40b78628d96c3d49adad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16408933', 'ctest-ext_vn-99422174'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 02:30:31,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '40ed0ae4-8045-4616-b6f3-46b29e0d617c', 'name': '', 'tenant_id': '34bf936619eb40b78628d96c3d49adad', 'network_id': '762a91c3-a0f0-443f-95d3-e29d3327254d', 'ip_version': 4, 'cidr': '82.44.26.0/26', 'allocation_pools': [{'start': '82.44.26.2', 'end': '82.44.26.62'}], 'gateway_ip': '82.44.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.44.26.2', 'tags': [], 'project_id': '34bf936619eb40b78628d96c3d49adad'}} 2024-08-27 02:30:31,706 - INFO - Created VN ctest-ext_vn-99422174 2024-08-27 02:30:31,761 - DEBUG - VN ctest-ext_vn-99422174 UUID is 762a91c3-a0f0-443f-95d3-e29d3327254d 2024-08-27 02:30:32,032 - DEBUG - Services list from nova: [, , ] 2024-08-27 02:30:33,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1786-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1786-1) 2024-08-27 02:30:34,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1786-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1786-1) 2024-08-27 02:30:34,961 - INFO - Setting gateway for router 4d28c144-7072-47fe-a5c8-6f907a0ceed3 to network 762a91c3-a0f0-443f-95d3-e29d3327254d 2024-08-27 02:30:35,023 - INFO - Adding interface with subnet_id 09a55be1-c2cf-41ac-aae3-0f7f54144869, port_id None to router 4d28c144-7072-47fe-a5c8-6f907a0ceed3 2024-08-27 02:30:35,363 - INFO - Waiting for VM ctest-TestRoutersBasic-16408933-28169419 to be up.. 2024-08-27 02:30:35,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 02:30:40,658 - DEBUG - VM is in ACTIVE state now 2024-08-27 02:30:40,658 - INFO - VM name : ctest-TestRoutersBasic-16408933-28169419 2024-08-27 02:30:40,776 - DEBUG - VM ctest-TestRoutersBasic-16408933-28169419 ID is 4070837d-252d-4f7d-8c8a-8a099678424e 2024-08-27 02:30:40,799 - DEBUG - VM ctest-TestRoutersBasic-16408933-28169419 launched on Node cn-jenkins-deploy-platform-ansible-os-1786-1 2024-08-27 02:30:40,922 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/4070837d-252d-4f7d-8c8a-8a099678424e 2024-08-27 02:30:41,252 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/4070837d-252d-4f7d-8c8a-8a099678424e 2024-08-27 02:30:41,304 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/cf850f9f-337f-4829-85f7-3c39ecbc1ef4 2024-08-27 02:30:44,620 - 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 1015ms') 2024-08-27 02:30:44,620 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16408933-28169419 failed! 2024-08-27 02:30:44,681 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16408933:ctest-vn-79274966 is 167.241.144.1 and allocation pool is NOT set 2024-08-27 02:30:46,755 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.22 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 = 4.156/5.689/7.222/1.533 ms') 2024-08-27 02:30:46,755 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16408933-28169419 passed 2024-08-27 02:30:46,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:30:46,938 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16408933-28169419, IP 167.241.144.3, Port 22 2024-08-27 02:30:47,137 - DEBUG - VM ctest-TestRoutersBasic-16408933-28169419 is ready for SSH connections 2024-08-27 02:30:47,137 - INFO - Waiting for VM ctest-TestRoutersBasic-16408933-08176356 to be up.. 2024-08-27 02:30:47,292 - DEBUG - VM is in ACTIVE state now 2024-08-27 02:30:47,293 - INFO - VM name : ctest-TestRoutersBasic-16408933-08176356 2024-08-27 02:30:47,432 - DEBUG - VM ctest-TestRoutersBasic-16408933-08176356 ID is 26e1826e-e4f5-4eee-a516-f7ca93e526f9 2024-08-27 02:30:47,432 - DEBUG - VM ctest-TestRoutersBasic-16408933-08176356 launched on Node cn-jenkins-deploy-platform-ansible-os-1786-1 2024-08-27 02:30:47,558 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/26e1826e-e4f5-4eee-a516-f7ca93e526f9 2024-08-27 02:30:47,569 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/637d5b37-e4f1-44c4-8652-181f60fa4fd9 2024-08-27 02:30:48,833 - 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=6.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.25 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.246/4.142/6.038/1.896 ms') 2024-08-27 02:30:48,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16408933-08176356 passed 2024-08-27 02:30:49,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:30:49,005 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16408933-08176356, IP 82.44.26.3, Port 22 2024-08-27 02:30:49,201 - DEBUG - VM ctest-TestRoutersBasic-16408933-08176356 is ready for SSH connections 2024-08-27 02:30:49,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:30:49,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.44.26.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-08-27 02:30:49,201 - DEBUG - ping -s 56 -c 3 -W 1 82.44.26.3 2024-08-27 02:30:53,261 - DEBUG - PING 82.44.26.3 (82.44.26.3): 56 data bytes 64 bytes from 82.44.26.3: seq=0 ttl=62 time=11.375 ms 64 bytes from 82.44.26.3: seq=1 ttl=62 time=1.135 ms 64 bytes from 82.44.26.3: seq=2 ttl=62 time=1.533 ms --- 82.44.26.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.135/4.681/11.375 ms 2024-08-27 02:30:53,262 - INFO - Ping to IP 82.44.26.3 from VM ctest-TestRoutersBasic-16408933-28169419 passed 2024-08-27 02:30:53,262 - INFO - Deleting interface with subnet_id 09a55be1-c2cf-41ac-aae3-0f7f54144869, port_id None from router 4d28c144-7072-47fe-a5c8-6f907a0ceed3 2024-08-27 02:30:53,571 - INFO - Deleting VM ctest-TestRoutersBasic-16408933-08176356 2024-08-27 02:30:53,644 - INFO - Deleting VM ctest-TestRoutersBasic-16408933-28169419 2024-08-27 02:30:53,759 - INFO - Deleting VN ctest-ext_vn-99422174 2024-08-27 02:30:53,894 - DEBUG - VN 762a91c3-a0f0-443f-95d3-e29d3327254d still in use: Unable to complete operation on network 762a91c3-a0f0-443f-95d3-e29d3327254d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c25deb5-4207-43e5-b742-13de8540177b'] 2024-08-27 02:30:53,894 - WARNING - Deleting VN ctest-ext_vn-99422174 failed..Will retry 2024-08-27 02:30:56,118 - DEBUG - Response for deleting network () 2024-08-27 02:30:56,118 - INFO - Deleting VN ctest-vn-79274966 2024-08-27 02:30:56,349 - DEBUG - Response for deleting network () 2024-08-27 02:30:56,652 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 02:30:56,652 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2024-08-27 02:30:56,653 - INFO - -------------------------------------------------------------------------------- 2024-08-27 02:30:57,507 - INFO - Deleted project: ctest-TestRoutersBasic-16408933, ID : 34bf9366-19eb-40b7-8628-d96c3d49adad