2025-03-26 02:50:41,741 - INFO - Domain Default found not creating 2025-03-26 02:50:41,879 - INFO - Project ctest-TestRoutersBasic-17286034 not found, creating it 2025-03-26 02:50:42,348 - INFO - Created Project:ctest-TestRoutersBasic-17286034, ID : 99ec2634-a728-4ebe-815f-2eb370d773d2 2025-03-26 02:50:43,752 - INFO - ================================================================================ 2025-03-26 02:50:43,752 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-26 02:50:43,752 - 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-03-26 02:50:44,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.10': '0'}} with 2025-03-26 02:50:44,012 - INFO - Initial checks done. Running the testcase now 2025-03-26 02:50:44,012 - INFO - 2025-03-26 02:50:44,716 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17286034 2025-03-26 02:50:44,817 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17286034 2025-03-26 02:50:45,137 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17286034', 'default']} 2025-03-26 02:50:45,435 - DEBUG - Response for create_network : {'network': {'id': '5f12a083-7702-4921-896a-12cc5c6a03c3', 'name': 'ctest-vn-00173035', 'tenant_id': '99ec2634a7284ebe815f2eb370d773d2', 'project_id': '99ec2634a7284ebe815f2eb370d773d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17286034', 'ctest-vn-00173035'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 02:50:45,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d43ee3b-617f-451b-ac35-576e94c01c4f', 'name': '', 'tenant_id': '99ec2634a7284ebe815f2eb370d773d2', 'network_id': '5f12a083-7702-4921-896a-12cc5c6a03c3', 'ip_version': 4, 'cidr': '213.47.145.128/26', 'allocation_pools': [{'start': '213.47.145.130', 'end': '213.47.145.190'}], 'gateway_ip': '213.47.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.47.145.130', 'tags': [], 'project_id': '99ec2634a7284ebe815f2eb370d773d2'}} 2025-03-26 02:50:45,668 - INFO - Created VN ctest-vn-00173035 2025-03-26 02:50:45,721 - DEBUG - VN ctest-vn-00173035 UUID is 5f12a083-7702-4921-896a-12cc5c6a03c3 2025-03-26 02:50:46,028 - DEBUG - Response for create_network : {'network': {'id': 'f3a17bc0-1dad-42e9-845d-03e16781b841', 'name': 'ctest-ext_vn-44985793', 'tenant_id': '99ec2634a7284ebe815f2eb370d773d2', 'project_id': '99ec2634a7284ebe815f2eb370d773d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17286034', 'ctest-ext_vn-44985793'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 02:50:46,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a6606cf-b132-4c39-a3c4-ef481d29be97', 'name': '', 'tenant_id': '99ec2634a7284ebe815f2eb370d773d2', 'network_id': 'f3a17bc0-1dad-42e9-845d-03e16781b841', 'ip_version': 4, 'cidr': '24.241.178.128/26', 'allocation_pools': [{'start': '24.241.178.130', 'end': '24.241.178.190'}], 'gateway_ip': '24.241.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.241.178.130', 'tags': [], 'project_id': '99ec2634a7284ebe815f2eb370d773d2'}} 2025-03-26 02:50:46,189 - INFO - Created VN ctest-ext_vn-44985793 2025-03-26 02:50:46,241 - DEBUG - VN ctest-ext_vn-44985793 UUID is f3a17bc0-1dad-42e9-845d-03e16781b841 2025-03-26 02:50:46,431 - DEBUG - Services list from nova: [, , ] 2025-03-26 02:50:47,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2956-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2956-1) 2025-03-26 02:50:48,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2956-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2956-1) 2025-03-26 02:50:48,606 - INFO - Setting gateway for router 4b0aff7f-9337-40f9-94ee-e78719da01cb to network f3a17bc0-1dad-42e9-845d-03e16781b841 2025-03-26 02:50:48,722 - INFO - Adding interface with subnet_id 4d43ee3b-617f-451b-ac35-576e94c01c4f, port_id None to router 4b0aff7f-9337-40f9-94ee-e78719da01cb 2025-03-26 02:50:49,074 - INFO - Waiting for VM ctest-TestRoutersBasic-17286034-38710807 to be up.. 2025-03-26 02:50:49,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-26 02:50:54,266 - DEBUG - VM is in ACTIVE state now 2025-03-26 02:50:54,266 - INFO - VM name : ctest-TestRoutersBasic-17286034-38710807 2025-03-26 02:50:54,343 - DEBUG - VM ctest-TestRoutersBasic-17286034-38710807 ID is 71425230-c59c-45ca-8385-ad2feecf1749 2025-03-26 02:50:54,363 - DEBUG - VM ctest-TestRoutersBasic-17286034-38710807 launched on Node cn-jenkins-deploy-platform-ansible-os-2956-1 2025-03-26 02:50:54,432 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/71425230-c59c-45ca-8385-ad2feecf1749 2025-03-26 02:50:54,748 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/71425230-c59c-45ca-8385-ad2feecf1749 2025-03-26 02:50:54,779 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/c996dcf5-2909-475b-acaa-809339521558 2025-03-26 02:50:58,024 - 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 1007ms') 2025-03-26 02:50:58,024 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17286034-38710807 failed! 2025-03-26 02:50:58,077 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17286034:ctest-vn-00173035 is 213.47.145.129 and allocation pool is NOT set 2025-03-26 02:51:00,139 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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.387/1.575/2.763/1.188 ms') 2025-03-26 02:51:00,139 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17286034-38710807 passed 2025-03-26 02:51:00,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 02:51:00,249 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17286034-38710807, IP 213.47.145.131, Port 22 2025-03-26 02:51:00,409 - DEBUG - VM ctest-TestRoutersBasic-17286034-38710807 is ready for SSH connections 2025-03-26 02:51:00,409 - INFO - Waiting for VM ctest-TestRoutersBasic-17286034-79536971 to be up.. 2025-03-26 02:51:00,484 - DEBUG - VM is in ACTIVE state now 2025-03-26 02:51:00,485 - INFO - VM name : ctest-TestRoutersBasic-17286034-79536971 2025-03-26 02:51:00,567 - DEBUG - VM ctest-TestRoutersBasic-17286034-79536971 ID is d832c923-a9b6-4262-9f72-92135ff152fd 2025-03-26 02:51:00,567 - DEBUG - VM ctest-TestRoutersBasic-17286034-79536971 launched on Node cn-jenkins-deploy-platform-ansible-os-2956-1 2025-03-26 02:51:00,643 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/d832c923-a9b6-4262-9f72-92135ff152fd 2025-03-26 02:51:00,652 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/6e5706f9-2c61-45cb-82ae-ac74da6eb564 2025-03-26 02:51:01,892 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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 = 0.403/1.597/2.792/1.194 ms') 2025-03-26 02:51:01,892 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17286034-79536971 passed 2025-03-26 02:51:02,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 02:51:02,041 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17286034-79536971, IP 24.241.178.131, Port 22 2025-03-26 02:51:02,201 - DEBUG - VM ctest-TestRoutersBasic-17286034-79536971 is ready for SSH connections 2025-03-26 02:51:02,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 02:51:02,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.241.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-26 02:51:02,201 - DEBUG - ping -s 56 -c 3 -W 1 24.241.178.131 2025-03-26 02:51:05,891 - DEBUG - PING 24.241.178.131 (24.241.178.131): 56 data bytes 64 bytes from 24.241.178.131: seq=0 ttl=62 time=7.421 ms 64 bytes from 24.241.178.131: seq=1 ttl=62 time=1.720 ms 64 bytes from 24.241.178.131: seq=2 ttl=62 time=0.756 ms --- 24.241.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/3.299/7.421 ms 2025-03-26 02:51:05,891 - INFO - Ping to IP 24.241.178.131 from VM ctest-TestRoutersBasic-17286034-38710807 passed 2025-03-26 02:51:05,891 - INFO - Deleting interface with subnet_id 4d43ee3b-617f-451b-ac35-576e94c01c4f, port_id None from router 4b0aff7f-9337-40f9-94ee-e78719da01cb 2025-03-26 02:51:06,099 - INFO - Deleting VM ctest-TestRoutersBasic-17286034-79536971 2025-03-26 02:51:06,163 - INFO - Deleting VM ctest-TestRoutersBasic-17286034-38710807 2025-03-26 02:51:06,245 - INFO - Deleting VN ctest-ext_vn-44985793 2025-03-26 02:51:06,321 - DEBUG - VN f3a17bc0-1dad-42e9-845d-03e16781b841 still in use: Unable to complete operation on network f3a17bc0-1dad-42e9-845d-03e16781b841. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0ea2eb0-9327-4c02-ad40-c1e719025b56'] 2025-03-26 02:51:06,321 - WARNING - Deleting VN ctest-ext_vn-44985793 failed..Will retry 2025-03-26 02:51:08,434 - DEBUG - Response for deleting network () 2025-03-26 02:51:08,434 - INFO - Deleting VN ctest-vn-00173035 2025-03-26 02:51:08,541 - DEBUG - Response for deleting network () 2025-03-26 02:51:08,794 - DEBUG - No XMPP flaps were noticed during the test 2025-03-26 02:51:08,794 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-03-26 02:51:08,794 - INFO - -------------------------------------------------------------------------------- 2025-03-26 02:51:09,465 - INFO - Deleted project: ctest-TestRoutersBasic-17286034, ID : 99ec2634-a728-4ebe-815f-2eb370d773d2