2025-11-03 16:44:45,146 - INFO - Domain Default found not creating 2025-11-03 16:44:45,292 - INFO - Project ctest-TestRoutersBasic-88569263 not found, creating it 2025-11-03 16:44:45,726 - INFO - Created Project:ctest-TestRoutersBasic-88569263, ID : ac7f851a-bf71-4da0-add7-50287d251a9c 2025-11-03 16:44:47,136 - INFO - ================================================================================ 2025-11-03 16:44:47,137 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-03 16:44:47,137 - 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-11-03 16:44:47,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-11-03 16:44:47,388 - INFO - Initial checks done. Running the testcase now 2025-11-03 16:44:47,388 - INFO - 2025-11-03 16:44:48,077 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88569263 2025-11-03 16:44:48,172 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88569263 2025-11-03 16:44:48,492 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88569263', 'default']} 2025-11-03 16:44:48,768 - DEBUG - Response for create_network : {'network': {'id': '561b456e-6fa9-4bb4-9bb2-19c0da6bdee0', 'name': 'ctest-vn-04116322', 'tenant_id': 'ac7f851abf714da0add750287d251a9c', 'project_id': 'ac7f851abf714da0add750287d251a9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88569263', 'ctest-vn-04116322'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 16:44:48,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e2d698c-38f0-4e34-999c-0a29f73665ff', 'name': '', 'tenant_id': 'ac7f851abf714da0add750287d251a9c', 'network_id': '561b456e-6fa9-4bb4-9bb2-19c0da6bdee0', 'ip_version': 4, 'cidr': '206.223.10.0/26', 'allocation_pools': [{'start': '206.223.10.2', 'end': '206.223.10.62'}], 'gateway_ip': '206.223.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.223.10.2', 'tags': [], 'project_id': 'ac7f851abf714da0add750287d251a9c'}} 2025-11-03 16:44:48,968 - INFO - Created VN ctest-vn-04116322 2025-11-03 16:44:49,020 - DEBUG - VN ctest-vn-04116322 UUID is 561b456e-6fa9-4bb4-9bb2-19c0da6bdee0 2025-11-03 16:44:49,344 - DEBUG - Response for create_network : {'network': {'id': 'c5c92fa5-6f0e-4c1a-a646-28ee8c070928', 'name': 'ctest-ext_vn-78445668', 'tenant_id': 'ac7f851abf714da0add750287d251a9c', 'project_id': 'ac7f851abf714da0add750287d251a9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88569263', 'ctest-ext_vn-78445668'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 16:44:49,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d053540-dce0-4eb0-849a-b697570b9773', 'name': '', 'tenant_id': 'ac7f851abf714da0add750287d251a9c', 'network_id': 'c5c92fa5-6f0e-4c1a-a646-28ee8c070928', 'ip_version': 4, 'cidr': '141.40.111.0/26', 'allocation_pools': [{'start': '141.40.111.2', 'end': '141.40.111.62'}], 'gateway_ip': '141.40.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.40.111.2', 'tags': [], 'project_id': 'ac7f851abf714da0add750287d251a9c'}} 2025-11-03 16:44:49,551 - INFO - Created VN ctest-ext_vn-78445668 2025-11-03 16:44:49,600 - DEBUG - VN ctest-ext_vn-78445668 UUID is c5c92fa5-6f0e-4c1a-a646-28ee8c070928 2025-11-03 16:44:49,794 - DEBUG - Services list from nova: [, , ] 2025-11-03 16:44:50,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4608-1) 2025-11-03 16:44:51,907 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4608-1) 2025-11-03 16:44:51,970 - INFO - Setting gateway for router bda1ee08-2e35-48a7-bc79-2a75cb4bc51d to network c5c92fa5-6f0e-4c1a-a646-28ee8c070928 2025-11-03 16:44:52,029 - INFO - Adding interface with subnet_id 2e2d698c-38f0-4e34-999c-0a29f73665ff, port_id None to router bda1ee08-2e35-48a7-bc79-2a75cb4bc51d 2025-11-03 16:44:52,347 - INFO - Waiting for VM ctest-TestRoutersBasic-88569263-73692647 to be up.. 2025-11-03 16:44:52,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 16:44:57,587 - DEBUG - VM is in ACTIVE state now 2025-11-03 16:44:57,587 - INFO - VM name : ctest-TestRoutersBasic-88569263-73692647 2025-11-03 16:44:57,665 - DEBUG - VM ctest-TestRoutersBasic-88569263-73692647 ID is ffa12044-574a-46ac-8b28-401b5eca58aa 2025-11-03 16:44:57,692 - DEBUG - VM ctest-TestRoutersBasic-88569263-73692647 launched on Node cn-jenkins-deploy-platform-ansible-os-4608-1 2025-11-03 16:44:57,766 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ffa12044-574a-46ac-8b28-401b5eca58aa 2025-11-03 16:44:58,056 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ffa12044-574a-46ac-8b28-401b5eca58aa 2025-11-03 16:44:58,097 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0ca92d76-e4e7-4d68-a1f1-d473fafee466 2025-11-03 16:45:01,343 - 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-11-03 16:45:01,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88569263-73692647 failed! 2025-11-03 16:45:01,396 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88569263:ctest-vn-04116322 is 206.223.10.1 and allocation pool is NOT set 2025-11-03 16:45:03,450 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 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.559/1.753/2.948/1.194 ms') 2025-11-03 16:45:03,451 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88569263-73692647 passed 2025-11-03 16:45:03,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:45:03,556 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88569263-73692647, IP 206.223.10.3, Port 22 2025-11-03 16:45:03,711 - DEBUG - VM ctest-TestRoutersBasic-88569263-73692647 is ready for SSH connections 2025-11-03 16:45:03,711 - INFO - Waiting for VM ctest-TestRoutersBasic-88569263-89074713 to be up.. 2025-11-03 16:45:03,786 - DEBUG - VM is in ACTIVE state now 2025-11-03 16:45:03,786 - INFO - VM name : ctest-TestRoutersBasic-88569263-89074713 2025-11-03 16:45:03,862 - DEBUG - VM ctest-TestRoutersBasic-88569263-89074713 ID is bbd8d1e2-803a-45b9-b4e4-5632bbabda94 2025-11-03 16:45:03,862 - DEBUG - VM ctest-TestRoutersBasic-88569263-89074713 launched on Node cn-jenkins-deploy-platform-ansible-os-4608-1 2025-11-03 16:45:03,928 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/bbd8d1e2-803a-45b9-b4e4-5632bbabda94 2025-11-03 16:45:03,934 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/98bc9c15-21c9-411c-864b-da15845fdd9d 2025-11-03 16:45:05,160 - 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.549 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.549/1.840/3.132/1.291 ms') 2025-11-03 16:45:05,160 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88569263-89074713 passed 2025-11-03 16:45:05,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:45:05,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88569263-89074713, IP 141.40.111.3, Port 22 2025-11-03 16:45:05,480 - DEBUG - VM ctest-TestRoutersBasic-88569263-89074713 is ready for SSH connections 2025-11-03 16:45:05,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 16:45:05,480 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.40.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-03 16:45:05,480 - DEBUG - ping -s 56 -c 3 -W 1 141.40.111.3 2025-11-03 16:45:09,508 - DEBUG - PING 141.40.111.3 (141.40.111.3): 56 data bytes 64 bytes from 141.40.111.3: seq=0 ttl=62 time=6.012 ms 64 bytes from 141.40.111.3: seq=1 ttl=62 time=0.763 ms 64 bytes from 141.40.111.3: seq=2 ttl=62 time=1.373 ms --- 141.40.111.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/2.716/6.012 ms 2025-11-03 16:45:09,508 - INFO - Ping to IP 141.40.111.3 from VM ctest-TestRoutersBasic-88569263-73692647 passed 2025-11-03 16:45:09,508 - INFO - Deleting interface with subnet_id 2e2d698c-38f0-4e34-999c-0a29f73665ff, port_id None from router bda1ee08-2e35-48a7-bc79-2a75cb4bc51d 2025-11-03 16:45:09,674 - INFO - Deleting VM ctest-TestRoutersBasic-88569263-89074713 2025-11-03 16:45:09,746 - INFO - Deleting VM ctest-TestRoutersBasic-88569263-73692647 2025-11-03 16:45:09,826 - INFO - Deleting VN ctest-ext_vn-78445668 2025-11-03 16:45:09,887 - DEBUG - VN c5c92fa5-6f0e-4c1a-a646-28ee8c070928 still in use: Unable to complete operation on network c5c92fa5-6f0e-4c1a-a646-28ee8c070928. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c93fd8e0-2f4a-419a-ab6c-bf7692394629'] 2025-11-03 16:45:09,887 - WARNING - Deleting VN ctest-ext_vn-78445668 failed..Will retry 2025-11-03 16:45:11,980 - DEBUG - Response for deleting network () 2025-11-03 16:45:11,980 - INFO - Deleting VN ctest-vn-04116322 2025-11-03 16:45:12,069 - DEBUG - Response for deleting network () 2025-11-03 16:45:12,324 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 16:45:12,324 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-03 16:45:12,325 - INFO - -------------------------------------------------------------------------------- 2025-11-03 16:45:12,984 - INFO - Deleted project: ctest-TestRoutersBasic-88569263, ID : ac7f851a-bf71-4da0-add7-50287d251a9c