2025-07-21 12:43:33,568 - INFO - Domain Default found not creating 2025-07-21 12:43:33,702 - INFO - Project ctest-TestRoutersBasic-61396617 not found, creating it 2025-07-21 12:43:34,160 - INFO - Created Project:ctest-TestRoutersBasic-61396617, ID : 1873400f-4ab2-405e-9ad9-928dfe2d9565 2025-07-21 12:43:35,543 - INFO - ================================================================================ 2025-07-21 12:43:35,543 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-21 12:43:35,543 - 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-07-21 12:43:35,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0'}} with 2025-07-21 12:43:35,800 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:43:35,800 - INFO - 2025-07-21 12:43:36,493 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61396617 2025-07-21 12:43:36,591 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61396617 2025-07-21 12:43:36,911 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61396617', 'default']} 2025-07-21 12:43:37,200 - DEBUG - Response for create_network : {'network': {'id': '5cc2eed3-cfdb-4c10-9ec8-8c1471abed4b', 'name': 'ctest-vn-41682659', 'tenant_id': '1873400f4ab2405e9ad9928dfe2d9565', 'project_id': '1873400f4ab2405e9ad9928dfe2d9565', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61396617', 'ctest-vn-41682659'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:43:37,399 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5b20aa3-f1a1-4000-853b-c135dc6a139d', 'name': '', 'tenant_id': '1873400f4ab2405e9ad9928dfe2d9565', 'network_id': '5cc2eed3-cfdb-4c10-9ec8-8c1471abed4b', 'ip_version': 4, 'cidr': '172.57.79.64/26', 'allocation_pools': [{'start': '172.57.79.66', 'end': '172.57.79.126'}], 'gateway_ip': '172.57.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.57.79.66', 'tags': [], 'project_id': '1873400f4ab2405e9ad9928dfe2d9565'}} 2025-07-21 12:43:37,417 - INFO - Created VN ctest-vn-41682659 2025-07-21 12:43:37,471 - DEBUG - VN ctest-vn-41682659 UUID is 5cc2eed3-cfdb-4c10-9ec8-8c1471abed4b 2025-07-21 12:43:37,797 - DEBUG - Response for create_network : {'network': {'id': '82e58244-1db9-47cd-85f8-a94af52c6ab0', 'name': 'ctest-ext_vn-48648813', 'tenant_id': '1873400f4ab2405e9ad9928dfe2d9565', 'project_id': '1873400f4ab2405e9ad9928dfe2d9565', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61396617', 'ctest-ext_vn-48648813'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:43:37,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '090ea969-feb5-4550-98d6-b5f7f3ac8fdb', 'name': '', 'tenant_id': '1873400f4ab2405e9ad9928dfe2d9565', 'network_id': '82e58244-1db9-47cd-85f8-a94af52c6ab0', 'ip_version': 4, 'cidr': '156.124.51.192/26', 'allocation_pools': [{'start': '156.124.51.194', 'end': '156.124.51.254'}], 'gateway_ip': '156.124.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.124.51.194', 'tags': [], 'project_id': '1873400f4ab2405e9ad9928dfe2d9565'}} 2025-07-21 12:43:37,966 - INFO - Created VN ctest-ext_vn-48648813 2025-07-21 12:43:38,023 - DEBUG - VN ctest-ext_vn-48648813 UUID is 82e58244-1db9-47cd-85f8-a94af52c6ab0 2025-07-21 12:43:38,184 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:43:39,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3680-1) 2025-07-21 12:43:40,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3680-1) 2025-07-21 12:43:40,378 - INFO - Setting gateway for router 782b9e2d-f29a-41c6-8fad-90b674d8a7a4 to network 82e58244-1db9-47cd-85f8-a94af52c6ab0 2025-07-21 12:43:40,450 - INFO - Adding interface with subnet_id e5b20aa3-f1a1-4000-853b-c135dc6a139d, port_id None to router 782b9e2d-f29a-41c6-8fad-90b674d8a7a4 2025-07-21 12:43:40,884 - INFO - Waiting for VM ctest-TestRoutersBasic-61396617-91811377 to be up.. 2025-07-21 12:43:41,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 12:43:46,082 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:43:46,082 - INFO - VM name : ctest-TestRoutersBasic-61396617-91811377 2025-07-21 12:43:46,153 - DEBUG - VM ctest-TestRoutersBasic-61396617-91811377 ID is aaaa4eef-c77f-450d-b9cb-f949f0ea960e 2025-07-21 12:43:46,173 - DEBUG - VM ctest-TestRoutersBasic-61396617-91811377 launched on Node cn-jenkins-deploy-platform-ansible-os-3680-1 2025-07-21 12:43:46,240 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/aaaa4eef-c77f-450d-b9cb-f949f0ea960e 2025-07-21 12:43:46,536 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/aaaa4eef-c77f-450d-b9cb-f949f0ea960e 2025-07-21 12:43:46,569 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1afc8c39-236e-4d1c-932d-c14a40233177 2025-07-21 12:43:49,817 - 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 1006ms') 2025-07-21 12:43:49,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61396617-91811377 failed! 2025-07-21 12:43:49,880 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61396617:ctest-vn-41682659 is 172.57.79.65 and allocation pool is NOT set 2025-07-21 12:43:51,945 - 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=3.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/1.752/3.062/1.310 ms') 2025-07-21 12:43:51,946 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61396617-91811377 passed 2025-07-21 12:43:52,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:43:52,095 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61396617-91811377, IP 172.57.79.67, Port 22 2025-07-21 12:43:52,254 - DEBUG - VM ctest-TestRoutersBasic-61396617-91811377 is ready for SSH connections 2025-07-21 12:43:52,254 - INFO - Waiting for VM ctest-TestRoutersBasic-61396617-29603626 to be up.. 2025-07-21 12:43:52,325 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:43:52,325 - INFO - VM name : ctest-TestRoutersBasic-61396617-29603626 2025-07-21 12:43:52,402 - DEBUG - VM ctest-TestRoutersBasic-61396617-29603626 ID is d7fe9849-18ed-4c61-a1e3-46f37c5a6434 2025-07-21 12:43:52,402 - DEBUG - VM ctest-TestRoutersBasic-61396617-29603626 launched on Node cn-jenkins-deploy-platform-ansible-os-3680-1 2025-07-21 12:43:52,468 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d7fe9849-18ed-4c61-a1e3-46f37c5a6434 2025-07-21 12:43:52,477 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/82c98826-44c0-4eb0-b823-c538494d1fda 2025-07-21 12:43:53,708 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.375/1.752/3.129/1.377 ms') 2025-07-21 12:43:53,708 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61396617-29603626 passed 2025-07-21 12:43:53,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:43:53,859 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61396617-29603626, IP 156.124.51.195, Port 22 2025-07-21 12:43:54,010 - DEBUG - VM ctest-TestRoutersBasic-61396617-29603626 is ready for SSH connections 2025-07-21 12:43:54,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:43:54,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.124.51.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-07-21 12:43:54,011 - DEBUG - ping -s 56 -c 3 -W 1 156.124.51.195 2025-07-21 12:43:57,980 - DEBUG - PING 156.124.51.195 (156.124.51.195): 56 data bytes 64 bytes from 156.124.51.195: seq=0 ttl=62 time=4.542 ms 64 bytes from 156.124.51.195: seq=1 ttl=62 time=1.021 ms 64 bytes from 156.124.51.195: seq=2 ttl=62 time=0.885 ms --- 156.124.51.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.885/2.149/4.542 ms 2025-07-21 12:43:57,980 - INFO - Ping to IP 156.124.51.195 from VM ctest-TestRoutersBasic-61396617-91811377 passed 2025-07-21 12:43:57,980 - INFO - Deleting interface with subnet_id e5b20aa3-f1a1-4000-853b-c135dc6a139d, port_id None from router 782b9e2d-f29a-41c6-8fad-90b674d8a7a4 2025-07-21 12:43:58,172 - INFO - Deleting VM ctest-TestRoutersBasic-61396617-29603626 2025-07-21 12:43:58,231 - INFO - Deleting VM ctest-TestRoutersBasic-61396617-91811377 2025-07-21 12:43:58,315 - INFO - Deleting VN ctest-ext_vn-48648813 2025-07-21 12:43:58,374 - DEBUG - VN 82e58244-1db9-47cd-85f8-a94af52c6ab0 still in use: Unable to complete operation on network 82e58244-1db9-47cd-85f8-a94af52c6ab0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79c463ef-489b-4eb4-9b6c-0967f20cf1a4'] 2025-07-21 12:43:58,374 - WARNING - Deleting VN ctest-ext_vn-48648813 failed..Will retry 2025-07-21 12:44:00,503 - DEBUG - Response for deleting network () 2025-07-21 12:44:00,503 - INFO - Deleting VN ctest-vn-41682659 2025-07-21 12:44:00,626 - DEBUG - Response for deleting network () 2025-07-21 12:44:00,880 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 12:44:00,880 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-07-21 12:44:00,880 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:44:01,553 - INFO - Deleted project: ctest-TestRoutersBasic-61396617, ID : 1873400f-4ab2-405e-9ad9-928dfe2d9565