2025-04-28 02:04:53,282 - INFO - Domain Default found not creating 2025-04-28 02:04:53,421 - INFO - Project ctest-TestRoutersBasic-60364949 not found, creating it 2025-04-28 02:04:53,857 - INFO - Created Project:ctest-TestRoutersBasic-60364949, ID : 32b47b88-dc96-41f5-89fd-f81ec35589b5 2025-04-28 02:04:55,236 - INFO - ================================================================================ 2025-04-28 02:04:55,236 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-28 02:04:55,236 - 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 2025-04-28 02:04:55,490 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-04-28 02:04:55,490 - INFO - Initial checks done. Running the testcase now 2025-04-28 02:04:55,490 - INFO - 2025-04-28 02:04:56,301 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60364949 2025-04-28 02:04:56,408 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60364949 2025-04-28 02:04:56,739 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60364949', 'default']} 2025-04-28 02:04:57,013 - DEBUG - Response for create_network : {'network': {'id': 'efb68789-d82b-4559-bf58-9d95ed4bc066', 'name': 'ctest-vn-58061172', 'tenant_id': '32b47b88dc9641f589fdf81ec35589b5', 'project_id': '32b47b88dc9641f589fdf81ec35589b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60364949', 'ctest-vn-58061172'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:04:57,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '7072907f-5225-49a3-ba40-44609cc3ed83', 'name': '', 'tenant_id': '32b47b88dc9641f589fdf81ec35589b5', 'network_id': 'efb68789-d82b-4559-bf58-9d95ed4bc066', 'ip_version': 4, 'cidr': '199.44.251.192/26', 'allocation_pools': [{'start': '199.44.251.194', 'end': '199.44.251.254'}], 'gateway_ip': '199.44.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.44.251.194', 'tags': [], 'project_id': '32b47b88dc9641f589fdf81ec35589b5'}} 2025-04-28 02:04:57,224 - INFO - Created VN ctest-vn-58061172 2025-04-28 02:04:57,275 - DEBUG - VN ctest-vn-58061172 UUID is efb68789-d82b-4559-bf58-9d95ed4bc066 2025-04-28 02:04:57,590 - DEBUG - Response for create_network : {'network': {'id': 'b96460b4-e3ae-4376-81aa-ef8053d44c04', 'name': 'ctest-ext_vn-33049264', 'tenant_id': '32b47b88dc9641f589fdf81ec35589b5', 'project_id': '32b47b88dc9641f589fdf81ec35589b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60364949', 'ctest-ext_vn-33049264'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:04:57,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '144dd5e2-0913-4cc8-88bf-5e050e0d46e2', 'name': '', 'tenant_id': '32b47b88dc9641f589fdf81ec35589b5', 'network_id': 'b96460b4-e3ae-4376-81aa-ef8053d44c04', 'ip_version': 4, 'cidr': '12.172.11.0/26', 'allocation_pools': [{'start': '12.172.11.2', 'end': '12.172.11.62'}], 'gateway_ip': '12.172.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.172.11.2', 'tags': [], 'project_id': '32b47b88dc9641f589fdf81ec35589b5'}} 2025-04-28 02:04:57,753 - INFO - Created VN ctest-ext_vn-33049264 2025-04-28 02:04:57,807 - DEBUG - VN ctest-ext_vn-33049264 UUID is b96460b4-e3ae-4376-81aa-ef8053d44c04 2025-04-28 02:04:57,969 - DEBUG - Services list from nova: [, , ] 2025-04-28 02:04:58,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3233-1) 2025-04-28 02:05:00,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3233-1) 2025-04-28 02:05:00,413 - INFO - Setting gateway for router 8f43b4f7-7721-47fe-b5c1-6a3e7d592b12 to network b96460b4-e3ae-4376-81aa-ef8053d44c04 2025-04-28 02:05:00,482 - INFO - Adding interface with subnet_id 7072907f-5225-49a3-ba40-44609cc3ed83, port_id None to router 8f43b4f7-7721-47fe-b5c1-6a3e7d592b12 2025-04-28 02:05:00,857 - INFO - Waiting for VM ctest-TestRoutersBasic-60364949-24766270 to be up.. 2025-04-28 02:05:00,981 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:05:00,981 - INFO - VM name : ctest-TestRoutersBasic-60364949-24766270 2025-04-28 02:05:01,176 - DEBUG - VM ctest-TestRoutersBasic-60364949-24766270 ID is 8b8b2d67-f2e0-4d78-9fbf-dde11fb52aa8 2025-04-28 02:05:01,210 - DEBUG - VM ctest-TestRoutersBasic-60364949-24766270 launched on Node cn-jenkins-deploy-platform-ansible-os-3233-1 2025-04-28 02:05:01,315 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8b8b2d67-f2e0-4d78-9fbf-dde11fb52aa8 2025-04-28 02:05:01,650 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8b8b2d67-f2e0-4d78-9fbf-dde11fb52aa8 2025-04-28 02:05:01,692 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/355f5e8f-5761-44fe-be93-a5b01a0d5d0c 2025-04-28 02:05:04,950 - 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') 2025-04-28 02:05:04,951 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60364949-24766270 failed! 2025-04-28 02:05:05,007 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60364949:ctest-vn-58061172 is 199.44.251.193 and allocation pool is NOT set 2025-04-28 02:05:09,076 - 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 1016ms') 2025-04-28 02:05:09,076 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60364949-24766270 failed! 2025-04-28 02:05:09,131 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60364949:ctest-vn-58061172 is 199.44.251.193 and allocation pool is NOT set 2025-04-28 02:05:11,191 - 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=2.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.337 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.337/1.592/2.848/1.255 ms') 2025-04-28 02:05:11,192 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60364949-24766270 passed 2025-04-28 02:05:11,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:05:11,344 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60364949-24766270, IP 199.44.251.195, Port 22 2025-04-28 02:05:11,503 - DEBUG - VM ctest-TestRoutersBasic-60364949-24766270 is ready for SSH connections 2025-04-28 02:05:11,503 - INFO - Waiting for VM ctest-TestRoutersBasic-60364949-62677116 to be up.. 2025-04-28 02:05:11,580 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:05:11,580 - INFO - VM name : ctest-TestRoutersBasic-60364949-62677116 2025-04-28 02:05:11,658 - DEBUG - VM ctest-TestRoutersBasic-60364949-62677116 ID is 070fd211-0341-467a-af07-fcd7c3fea880 2025-04-28 02:05:11,658 - DEBUG - VM ctest-TestRoutersBasic-60364949-62677116 launched on Node cn-jenkins-deploy-platform-ansible-os-3233-1 2025-04-28 02:05:11,738 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/070fd211-0341-467a-af07-fcd7c3fea880 2025-04-28 02:05:11,748 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e8c8995c-b981-4e85-bf81-92ca111afbb8 2025-04-28 02:05:12,979 - 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=3.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.786 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.786/2.300/3.815/1.514 ms') 2025-04-28 02:05:12,980 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60364949-62677116 passed 2025-04-28 02:05:13,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:05:13,128 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60364949-62677116, IP 12.172.11.3, Port 22 2025-04-28 02:05:13,283 - DEBUG - VM ctest-TestRoutersBasic-60364949-62677116 is ready for SSH connections 2025-04-28 02:05:13,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:05:13,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.172.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-28 02:05:13,283 - DEBUG - ping -s 56 -c 3 -W 1 12.172.11.3 2025-04-28 02:05:17,237 - DEBUG - PING 12.172.11.3 (12.172.11.3): 56 data bytes 64 bytes from 12.172.11.3: seq=0 ttl=62 time=4.429 ms 64 bytes from 12.172.11.3: seq=1 ttl=62 time=0.971 ms 64 bytes from 12.172.11.3: seq=2 ttl=62 time=1.021 ms --- 12.172.11.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.140/4.429 ms 2025-04-28 02:05:17,237 - INFO - Ping to IP 12.172.11.3 from VM ctest-TestRoutersBasic-60364949-24766270 passed 2025-04-28 02:05:17,237 - INFO - Deleting interface with subnet_id 7072907f-5225-49a3-ba40-44609cc3ed83, port_id None from router 8f43b4f7-7721-47fe-b5c1-6a3e7d592b12 2025-04-28 02:05:17,417 - INFO - Deleting VM ctest-TestRoutersBasic-60364949-62677116 2025-04-28 02:05:17,477 - INFO - Deleting VM ctest-TestRoutersBasic-60364949-24766270 2025-04-28 02:05:17,550 - INFO - Deleting VN ctest-ext_vn-33049264 2025-04-28 02:05:17,618 - DEBUG - VN b96460b4-e3ae-4376-81aa-ef8053d44c04 still in use: Unable to complete operation on network b96460b4-e3ae-4376-81aa-ef8053d44c04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-128a5530-c61d-4b45-9115-6233aa8938d9'] 2025-04-28 02:05:17,618 - WARNING - Deleting VN ctest-ext_vn-33049264 failed..Will retry 2025-04-28 02:05:19,716 - DEBUG - Response for deleting network () 2025-04-28 02:05:19,716 - INFO - Deleting VN ctest-vn-58061172 2025-04-28 02:05:19,811 - DEBUG - Response for deleting network () 2025-04-28 02:05:20,069 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 02:05:20,069 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-28 02:05:20,069 - INFO - -------------------------------------------------------------------------------- 2025-04-28 02:05:20,732 - INFO - Deleted project: ctest-TestRoutersBasic-60364949, ID : 32b47b88-dc96-41f5-89fd-f81ec35589b5