2025-12-18 10:21:04,904 - INFO - Domain Default found not creating 2025-12-18 10:21:05,072 - INFO - Project ctest-TestRoutersBasic-47162064 not found, creating it 2025-12-18 10:21:05,522 - INFO - Created Project:ctest-TestRoutersBasic-47162064, ID : 4de6f506-ee93-4327-84ed-02b5b6325569 2025-12-18 10:21:06,994 - INFO - ================================================================================ 2025-12-18 10:21:06,994 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-18 10:21:06,994 - 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-12-18 10:21:07,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-18 10:21:07,249 - INFO - Initial checks done. Running the testcase now 2025-12-18 10:21:07,249 - INFO - 2025-12-18 10:21:07,958 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47162064 2025-12-18 10:21:08,052 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47162064 2025-12-18 10:21:08,372 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47162064', 'default']} 2025-12-18 10:21:08,685 - DEBUG - Response for create_network : {'network': {'id': '305e742a-9e4f-499e-a3ab-2a915818fbec', 'name': 'ctest-vn-37184189', 'tenant_id': '4de6f506ee93432784ed02b5b6325569', 'project_id': '4de6f506ee93432784ed02b5b6325569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47162064', 'ctest-vn-37184189'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 10:21:08,833 - DEBUG - Response for create_subnet : {'subnet': {'id': '26863685-1eae-4fc9-9deb-391d878af1cd', 'name': '', 'tenant_id': '4de6f506ee93432784ed02b5b6325569', 'network_id': '305e742a-9e4f-499e-a3ab-2a915818fbec', 'ip_version': 4, 'cidr': '72.104.53.64/26', 'allocation_pools': [{'start': '72.104.53.66', 'end': '72.104.53.126'}], 'gateway_ip': '72.104.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.104.53.66', 'tags': [], 'project_id': '4de6f506ee93432784ed02b5b6325569'}} 2025-12-18 10:21:08,850 - INFO - Created VN ctest-vn-37184189 2025-12-18 10:21:08,903 - DEBUG - VN ctest-vn-37184189 UUID is 305e742a-9e4f-499e-a3ab-2a915818fbec 2025-12-18 10:21:09,228 - DEBUG - Response for create_network : {'network': {'id': 'e5fcdd02-cfee-4a1e-8528-c59ae2d22bad', 'name': 'ctest-ext_vn-48215652', 'tenant_id': '4de6f506ee93432784ed02b5b6325569', 'project_id': '4de6f506ee93432784ed02b5b6325569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47162064', 'ctest-ext_vn-48215652'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 10:21:09,407 - DEBUG - Response for create_subnet : {'subnet': {'id': '649a2918-baef-4b6d-96f9-125eca488ddd', 'name': '', 'tenant_id': '4de6f506ee93432784ed02b5b6325569', 'network_id': 'e5fcdd02-cfee-4a1e-8528-c59ae2d22bad', 'ip_version': 4, 'cidr': '164.47.49.0/26', 'allocation_pools': [{'start': '164.47.49.2', 'end': '164.47.49.62'}], 'gateway_ip': '164.47.49.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.47.49.2', 'tags': [], 'project_id': '4de6f506ee93432784ed02b5b6325569'}} 2025-12-18 10:21:09,423 - INFO - Created VN ctest-ext_vn-48215652 2025-12-18 10:21:09,475 - DEBUG - VN ctest-ext_vn-48215652 UUID is e5fcdd02-cfee-4a1e-8528-c59ae2d22bad 2025-12-18 10:21:09,671 - DEBUG - Services list from nova: [, , ] 2025-12-18 10:21:10,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4905-1) 2025-12-18 10:21:11,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4905-1) 2025-12-18 10:21:11,904 - INFO - Setting gateway for router ad3d6b87-686d-40e1-81ef-5786ade8a166 to network e5fcdd02-cfee-4a1e-8528-c59ae2d22bad 2025-12-18 10:21:11,971 - INFO - Adding interface with subnet_id 26863685-1eae-4fc9-9deb-391d878af1cd, port_id None to router ad3d6b87-686d-40e1-81ef-5786ade8a166 2025-12-18 10:21:12,299 - INFO - Waiting for VM ctest-TestRoutersBasic-47162064-01415903 to be up.. 2025-12-18 10:21:12,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 10:21:17,500 - DEBUG - VM is in ACTIVE state now 2025-12-18 10:21:17,500 - INFO - VM name : ctest-TestRoutersBasic-47162064-01415903 2025-12-18 10:21:17,568 - DEBUG - VM ctest-TestRoutersBasic-47162064-01415903 ID is dfdfba1d-3bce-4c2c-beb1-86e4b56b8695 2025-12-18 10:21:17,589 - DEBUG - VM ctest-TestRoutersBasic-47162064-01415903 launched on Node cn-jenkins-deploy-platform-ansible-os-4905-1 2025-12-18 10:21:17,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dfdfba1d-3bce-4c2c-beb1-86e4b56b8695 2025-12-18 10:21:17,956 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dfdfba1d-3bce-4c2c-beb1-86e4b56b8695 2025-12-18 10:21:17,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/42ad17c5-df0e-4d2f-9e5a-80b8237055a8 2025-12-18 10:21:21,251 - 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 1027ms') 2025-12-18 10:21:21,251 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47162064-01415903 failed! 2025-12-18 10:21:21,311 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47162064:ctest-vn-37184189 is 72.104.53.65 and allocation pool is NOT set 2025-12-18 10:21:23,370 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 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.355/2.188/4.021/1.833 ms') 2025-12-18 10:21:23,370 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47162064-01415903 passed 2025-12-18 10:21:23,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:21:23,528 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47162064-01415903, IP 72.104.53.67, Port 22 2025-12-18 10:21:23,687 - DEBUG - VM ctest-TestRoutersBasic-47162064-01415903 is ready for SSH connections 2025-12-18 10:21:23,687 - INFO - Waiting for VM ctest-TestRoutersBasic-47162064-79759083 to be up.. 2025-12-18 10:21:23,783 - DEBUG - VM is in ACTIVE state now 2025-12-18 10:21:23,783 - INFO - VM name : ctest-TestRoutersBasic-47162064-79759083 2025-12-18 10:21:23,866 - DEBUG - VM ctest-TestRoutersBasic-47162064-79759083 ID is f101e816-0274-4095-99ec-fc3f702814bb 2025-12-18 10:21:23,866 - DEBUG - VM ctest-TestRoutersBasic-47162064-79759083 launched on Node cn-jenkins-deploy-platform-ansible-os-4905-1 2025-12-18 10:21:23,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f101e816-0274-4095-99ec-fc3f702814bb 2025-12-18 10:21:23,953 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b5ce2a5d-4cd7-4710-9e04-d621cea211cf 2025-12-18 10:21:25,190 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.827/3.227/1.399 ms') 2025-12-18 10:21:25,191 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-47162064-79759083 passed 2025-12-18 10:21:25,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:21:25,339 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47162064-79759083, IP 164.47.49.3, Port 22 2025-12-18 10:21:25,527 - DEBUG - VM ctest-TestRoutersBasic-47162064-79759083 is ready for SSH connections 2025-12-18 10:21:25,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:21:25,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.47.49.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-18 10:21:25,527 - DEBUG - ping -s 56 -c 3 -W 1 164.47.49.3 2025-12-18 10:21:29,215 - DEBUG - PING 164.47.49.3 (164.47.49.3): 56 data bytes 64 bytes from 164.47.49.3: seq=0 ttl=62 time=6.878 ms 64 bytes from 164.47.49.3: seq=1 ttl=62 time=0.840 ms 64 bytes from 164.47.49.3: seq=2 ttl=62 time=0.824 ms --- 164.47.49.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/2.847/6.878 ms 2025-12-18 10:21:29,216 - INFO - Ping to IP 164.47.49.3 from VM ctest-TestRoutersBasic-47162064-01415903 passed 2025-12-18 10:21:29,216 - INFO - Deleting interface with subnet_id 26863685-1eae-4fc9-9deb-391d878af1cd, port_id None from router ad3d6b87-686d-40e1-81ef-5786ade8a166 2025-12-18 10:21:29,390 - INFO - Deleting VM ctest-TestRoutersBasic-47162064-79759083 2025-12-18 10:21:29,454 - INFO - Deleting VM ctest-TestRoutersBasic-47162064-01415903 2025-12-18 10:21:29,537 - INFO - Deleting VN ctest-ext_vn-48215652 2025-12-18 10:21:29,595 - DEBUG - VN e5fcdd02-cfee-4a1e-8528-c59ae2d22bad still in use: Unable to complete operation on network e5fcdd02-cfee-4a1e-8528-c59ae2d22bad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d79e487-2fcf-47dd-9b20-d6d78cc2a04d'] 2025-12-18 10:21:29,595 - WARNING - Deleting VN ctest-ext_vn-48215652 failed..Will retry 2025-12-18 10:21:31,706 - DEBUG - Response for deleting network () 2025-12-18 10:21:31,706 - INFO - Deleting VN ctest-vn-37184189 2025-12-18 10:21:31,845 - DEBUG - Response for deleting network () 2025-12-18 10:21:32,104 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 10:21:32,104 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-18 10:21:32,104 - INFO - -------------------------------------------------------------------------------- 2025-12-18 10:21:32,785 - INFO - Deleted project: ctest-TestRoutersBasic-47162064, ID : 4de6f506-ee93-4327-84ed-02b5b6325569