2025-11-12 21:46:58,542 - INFO - Domain Default found not creating 2025-11-12 21:46:58,680 - INFO - Project ctest-TestRoutersBasic-63642536 not found, creating it 2025-11-12 21:46:59,104 - INFO - Created Project:ctest-TestRoutersBasic-63642536, ID : 90e3ceee-ddb4-4e95-aa49-403b871f5588 2025-11-12 21:47:00,584 - INFO - ================================================================================ 2025-11-12 21:47:00,584 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-12 21:47:00,584 - 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-12 21:47:00,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-12 21:47:00,837 - INFO - Initial checks done. Running the testcase now 2025-11-12 21:47:00,837 - INFO - 2025-11-12 21:47:01,577 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63642536 2025-11-12 21:47:01,672 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63642536 2025-11-12 21:47:01,991 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63642536', 'default']} 2025-11-12 21:47:02,284 - DEBUG - Response for create_network : {'network': {'id': '9c77b0cd-21bd-4229-9de9-203203d81378', 'name': 'ctest-vn-98793140', 'tenant_id': '90e3ceeeddb44e95aa49403b871f5588', 'project_id': '90e3ceeeddb44e95aa49403b871f5588', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63642536', 'ctest-vn-98793140'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 21:47:02,485 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b16e74d1-9d10-4d79-b9e0-f209575fda55', 'name': '', 'tenant_id': '90e3ceeeddb44e95aa49403b871f5588', 'network_id': '9c77b0cd-21bd-4229-9de9-203203d81378', 'ip_version': 4, 'cidr': '142.186.23.128/26', 'allocation_pools': [{'start': '142.186.23.130', 'end': '142.186.23.190'}], 'gateway_ip': '142.186.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.186.23.130', 'tags': [], 'project_id': '90e3ceeeddb44e95aa49403b871f5588'}} 2025-11-12 21:47:02,502 - INFO - Created VN ctest-vn-98793140 2025-11-12 21:47:02,552 - DEBUG - VN ctest-vn-98793140 UUID is 9c77b0cd-21bd-4229-9de9-203203d81378 2025-11-12 21:47:02,877 - DEBUG - Response for create_network : {'network': {'id': 'a1790920-102f-4599-a164-a0b810e7ce17', 'name': 'ctest-ext_vn-56234596', 'tenant_id': '90e3ceeeddb44e95aa49403b871f5588', 'project_id': '90e3ceeeddb44e95aa49403b871f5588', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63642536', 'ctest-ext_vn-56234596'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 21:47:03,077 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a92107ae-15d2-4658-a8eb-f54f1f446940', 'name': '', 'tenant_id': '90e3ceeeddb44e95aa49403b871f5588', 'network_id': 'a1790920-102f-4599-a164-a0b810e7ce17', 'ip_version': 4, 'cidr': '175.142.193.128/26', 'allocation_pools': [{'start': '175.142.193.130', 'end': '175.142.193.190'}], 'gateway_ip': '175.142.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.142.193.130', 'tags': [], 'project_id': '90e3ceeeddb44e95aa49403b871f5588'}} 2025-11-12 21:47:03,092 - INFO - Created VN ctest-ext_vn-56234596 2025-11-12 21:47:03,144 - DEBUG - VN ctest-ext_vn-56234596 UUID is a1790920-102f-4599-a164-a0b810e7ce17 2025-11-12 21:47:03,339 - DEBUG - Services list from nova: [, , ] 2025-11-12 21:47:04,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4711-1) 2025-11-12 21:47:05,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4711-1) 2025-11-12 21:47:05,694 - INFO - Setting gateway for router 07f5d9f1-ee5c-465f-87b7-7211de7aead3 to network a1790920-102f-4599-a164-a0b810e7ce17 2025-11-12 21:47:05,762 - INFO - Adding interface with subnet_id b16e74d1-9d10-4d79-b9e0-f209575fda55, port_id None to router 07f5d9f1-ee5c-465f-87b7-7211de7aead3 2025-11-12 21:47:06,055 - INFO - Waiting for VM ctest-TestRoutersBasic-63642536-46406065 to be up.. 2025-11-12 21:47:06,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 21:47:11,249 - DEBUG - VM is in ACTIVE state now 2025-11-12 21:47:11,249 - INFO - VM name : ctest-TestRoutersBasic-63642536-46406065 2025-11-12 21:47:11,318 - DEBUG - VM ctest-TestRoutersBasic-63642536-46406065 ID is f8684c7a-513d-4d01-b46f-b9dc3fa2a776 2025-11-12 21:47:11,338 - DEBUG - VM ctest-TestRoutersBasic-63642536-46406065 launched on Node cn-jenkins-deploy-platform-ansible-os-4711-1 2025-11-12 21:47:11,398 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f8684c7a-513d-4d01-b46f-b9dc3fa2a776 2025-11-12 21:47:11,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f8684c7a-513d-4d01-b46f-b9dc3fa2a776 2025-11-12 21:47:11,761 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/68221afc-c92b-40d5-88c9-31ce47ad4772 2025-11-12 21:47:12,994 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.663 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.663/2.333/4.004/1.670 ms') 2025-11-12 21:47:12,994 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63642536-46406065 passed 2025-11-12 21:47:13,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:47:13,144 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63642536-46406065, IP 142.186.23.131, Port 22 2025-11-12 21:47:13,310 - DEBUG - VM ctest-TestRoutersBasic-63642536-46406065 is ready for SSH connections 2025-11-12 21:47:13,310 - INFO - Waiting for VM ctest-TestRoutersBasic-63642536-15592781 to be up.. 2025-11-12 21:47:13,378 - DEBUG - VM is in ACTIVE state now 2025-11-12 21:47:13,378 - INFO - VM name : ctest-TestRoutersBasic-63642536-15592781 2025-11-12 21:47:13,441 - DEBUG - VM ctest-TestRoutersBasic-63642536-15592781 ID is 105aa4f2-d917-49fa-834f-e76513a3ae53 2025-11-12 21:47:13,441 - DEBUG - VM ctest-TestRoutersBasic-63642536-15592781 launched on Node cn-jenkins-deploy-platform-ansible-os-4711-1 2025-11-12 21:47:13,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/105aa4f2-d917-49fa-834f-e76513a3ae53 2025-11-12 21:47:13,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b96e79d0-7c60-4544-a5e2-4aa9a3fb95b1 2025-11-12 21:47:14,735 - 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=4.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.641 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.641/2.746/4.851/2.105 ms') 2025-11-12 21:47:14,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63642536-15592781 passed 2025-11-12 21:47:14,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:47:14,884 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63642536-15592781, IP 175.142.193.131, Port 22 2025-11-12 21:47:15,054 - DEBUG - VM ctest-TestRoutersBasic-63642536-15592781 is ready for SSH connections 2025-11-12 21:47:15,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:47:15,055 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.142.193.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-12 21:47:15,055 - DEBUG - ping -s 56 -c 3 -W 1 175.142.193.131 2025-11-12 21:47:18,938 - DEBUG - PING 175.142.193.131 (175.142.193.131): 56 data bytes 64 bytes from 175.142.193.131: seq=0 ttl=62 time=4.871 ms 64 bytes from 175.142.193.131: seq=1 ttl=62 time=1.079 ms 64 bytes from 175.142.193.131: seq=2 ttl=62 time=0.963 ms --- 175.142.193.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/2.304/4.871 ms 2025-11-12 21:47:18,938 - INFO - Ping to IP 175.142.193.131 from VM ctest-TestRoutersBasic-63642536-46406065 passed 2025-11-12 21:47:18,938 - INFO - Deleting interface with subnet_id b16e74d1-9d10-4d79-b9e0-f209575fda55, port_id None from router 07f5d9f1-ee5c-465f-87b7-7211de7aead3 2025-11-12 21:47:19,098 - INFO - Deleting VM ctest-TestRoutersBasic-63642536-15592781 2025-11-12 21:47:19,161 - INFO - Deleting VM ctest-TestRoutersBasic-63642536-46406065 2025-11-12 21:47:19,232 - INFO - Deleting VN ctest-ext_vn-56234596 2025-11-12 21:47:19,288 - DEBUG - VN a1790920-102f-4599-a164-a0b810e7ce17 still in use: Unable to complete operation on network a1790920-102f-4599-a164-a0b810e7ce17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9982ca2f-5bd8-4a7f-a8dc-970612aeca23'] 2025-11-12 21:47:19,288 - WARNING - Deleting VN ctest-ext_vn-56234596 failed..Will retry 2025-11-12 21:47:21,380 - DEBUG - Response for deleting network () 2025-11-12 21:47:21,380 - INFO - Deleting VN ctest-vn-98793140 2025-11-12 21:47:21,469 - DEBUG - Response for deleting network () 2025-11-12 21:47:21,730 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 21:47:21,730 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:21] 2025-11-12 21:47:21,730 - INFO - -------------------------------------------------------------------------------- 2025-11-12 21:47:22,499 - INFO - Deleted project: ctest-TestRoutersBasic-63642536, ID : 90e3ceee-ddb4-4e95-aa49-403b871f5588