2025-06-18 09:14:02,895 - INFO - Domain Default found not creating 2025-06-18 09:14:03,127 - INFO - Project ctest-TestRoutersBasic-75311961 not found, creating it 2025-06-18 09:14:03,690 - INFO - Created Project:ctest-TestRoutersBasic-75311961, ID : 8416eebc-e680-4017-b49d-fc2e29d3a322 2025-06-18 09:14:05,415 - INFO - ================================================================================ 2025-06-18 09:14:05,415 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-18 09:14:05,415 - 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-06-18 09:14:05,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-18 09:14:05,681 - INFO - Initial checks done. Running the testcase now 2025-06-18 09:14:05,681 - INFO - 2025-06-18 09:14:06,428 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75311961 2025-06-18 09:14:06,528 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75311961 2025-06-18 09:14:06,863 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75311961', 'default']} 2025-06-18 09:14:07,231 - DEBUG - Response for create_network : {'network': {'id': '870ccbe0-eada-4177-a160-361aed2739e3', 'name': 'ctest-vn-03111122', 'tenant_id': '8416eebce6804017b49dfc2e29d3a322', 'project_id': '8416eebce6804017b49dfc2e29d3a322', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75311961', 'ctest-vn-03111122'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:14:07,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c874b76-cf5d-4176-bb16-184facece88c', 'name': '', 'tenant_id': '8416eebce6804017b49dfc2e29d3a322', 'network_id': '870ccbe0-eada-4177-a160-361aed2739e3', 'ip_version': 4, 'cidr': '122.47.125.192/26', 'allocation_pools': [{'start': '122.47.125.194', 'end': '122.47.125.254'}], 'gateway_ip': '122.47.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.47.125.194', 'tags': [], 'project_id': '8416eebce6804017b49dfc2e29d3a322'}} 2025-06-18 09:14:07,520 - INFO - Created VN ctest-vn-03111122 2025-06-18 09:14:07,576 - DEBUG - VN ctest-vn-03111122 UUID is 870ccbe0-eada-4177-a160-361aed2739e3 2025-06-18 09:14:07,919 - DEBUG - Response for create_network : {'network': {'id': 'ca36ab13-abcc-4307-b3bd-971c80d20816', 'name': 'ctest-ext_vn-50198573', 'tenant_id': '8416eebce6804017b49dfc2e29d3a322', 'project_id': '8416eebce6804017b49dfc2e29d3a322', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75311961', 'ctest-ext_vn-50198573'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:14:08,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb411b6f-577c-45ba-a6e5-5262f9de2308', 'name': '', 'tenant_id': '8416eebce6804017b49dfc2e29d3a322', 'network_id': 'ca36ab13-abcc-4307-b3bd-971c80d20816', 'ip_version': 4, 'cidr': '174.157.11.64/26', 'allocation_pools': [{'start': '174.157.11.66', 'end': '174.157.11.126'}], 'gateway_ip': '174.157.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.157.11.66', 'tags': [], 'project_id': '8416eebce6804017b49dfc2e29d3a322'}} 2025-06-18 09:14:08,129 - INFO - Created VN ctest-ext_vn-50198573 2025-06-18 09:14:08,184 - DEBUG - VN ctest-ext_vn-50198573 UUID is ca36ab13-abcc-4307-b3bd-971c80d20816 2025-06-18 09:14:08,371 - DEBUG - Services list from nova: [, , ] 2025-06-18 09:14:09,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3471-1) 2025-06-18 09:14:10,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3471-1) 2025-06-18 09:14:10,851 - INFO - Setting gateway for router bf591f77-23a8-47c7-836e-f9183fc2c939 to network ca36ab13-abcc-4307-b3bd-971c80d20816 2025-06-18 09:14:10,914 - INFO - Adding interface with subnet_id 4c874b76-cf5d-4176-bb16-184facece88c, port_id None to router bf591f77-23a8-47c7-836e-f9183fc2c939 2025-06-18 09:14:11,365 - INFO - Waiting for VM ctest-TestRoutersBasic-75311961-46875775 to be up.. 2025-06-18 09:14:11,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 09:14:16,655 - DEBUG - VM is in ACTIVE state now 2025-06-18 09:14:16,656 - INFO - VM name : ctest-TestRoutersBasic-75311961-46875775 2025-06-18 09:14:16,747 - DEBUG - VM ctest-TestRoutersBasic-75311961-46875775 ID is a66cbf6c-d68e-42b4-8249-aa31cf5783bf 2025-06-18 09:14:16,774 - DEBUG - VM ctest-TestRoutersBasic-75311961-46875775 launched on Node cn-jenkins-deploy-platform-ansible-os-3471-1 2025-06-18 09:14:16,887 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a66cbf6c-d68e-42b4-8249-aa31cf5783bf 2025-06-18 09:14:17,192 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a66cbf6c-d68e-42b4-8249-aa31cf5783bf 2025-06-18 09:14:17,232 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e0d24608-f472-4c29-ba60-ca77ca7a8fbc 2025-06-18 09:14:20,501 - 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 1014ms') 2025-06-18 09:14:20,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75311961-46875775 failed! 2025-06-18 09:14:20,568 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75311961:ctest-vn-03111122 is 122.47.125.193 and allocation pool is NOT set 2025-06-18 09:14:22,632 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.143/2.494/3.845/1.351 ms') 2025-06-18 09:14:22,633 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75311961-46875775 passed 2025-06-18 09:14:22,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:14:22,788 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75311961-46875775, IP 122.47.125.195, Port 22 2025-06-18 09:14:22,953 - DEBUG - VM ctest-TestRoutersBasic-75311961-46875775 is ready for SSH connections 2025-06-18 09:14:22,954 - INFO - Waiting for VM ctest-TestRoutersBasic-75311961-29215182 to be up.. 2025-06-18 09:14:23,052 - DEBUG - VM is in ACTIVE state now 2025-06-18 09:14:23,052 - INFO - VM name : ctest-TestRoutersBasic-75311961-29215182 2025-06-18 09:14:23,141 - DEBUG - VM ctest-TestRoutersBasic-75311961-29215182 ID is 4f98a7ea-5464-464c-8764-1919939b90a9 2025-06-18 09:14:23,141 - DEBUG - VM ctest-TestRoutersBasic-75311961-29215182 launched on Node cn-jenkins-deploy-platform-ansible-os-3471-1 2025-06-18 09:14:23,226 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/4f98a7ea-5464-464c-8764-1919939b90a9 2025-06-18 09:14:23,237 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/10a3aaf0-bdbb-40e3-a26c-25e84d419bd0 2025-06-18 09:14:24,499 - 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=5.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.155/3.759/5.364/1.604 ms') 2025-06-18 09:14:24,499 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75311961-29215182 passed 2025-06-18 09:14:24,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:14:24,664 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75311961-29215182, IP 174.157.11.67, Port 22 2025-06-18 09:14:24,820 - DEBUG - VM ctest-TestRoutersBasic-75311961-29215182 is ready for SSH connections 2025-06-18 09:14:24,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:14:24,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.157.11.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-18 09:14:24,821 - DEBUG - ping -s 56 -c 3 -W 1 174.157.11.67 2025-06-18 09:14:28,538 - DEBUG - PING 174.157.11.67 (174.157.11.67): 56 data bytes 64 bytes from 174.157.11.67: seq=0 ttl=62 time=5.666 ms 64 bytes from 174.157.11.67: seq=1 ttl=62 time=1.156 ms 64 bytes from 174.157.11.67: seq=2 ttl=62 time=1.559 ms --- 174.157.11.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.156/2.793/5.666 ms 2025-06-18 09:14:28,538 - INFO - Ping to IP 174.157.11.67 from VM ctest-TestRoutersBasic-75311961-46875775 passed 2025-06-18 09:14:28,538 - INFO - Deleting interface with subnet_id 4c874b76-cf5d-4176-bb16-184facece88c, port_id None from router bf591f77-23a8-47c7-836e-f9183fc2c939 2025-06-18 09:14:28,802 - INFO - Deleting VM ctest-TestRoutersBasic-75311961-29215182 2025-06-18 09:14:28,918 - INFO - Deleting VM ctest-TestRoutersBasic-75311961-46875775 2025-06-18 09:14:29,029 - INFO - Deleting VN ctest-ext_vn-50198573 2025-06-18 09:14:29,131 - DEBUG - VN ca36ab13-abcc-4307-b3bd-971c80d20816 still in use: Unable to complete operation on network ca36ab13-abcc-4307-b3bd-971c80d20816. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c50792f0-4fb3-43e1-a810-e336acda1663'] 2025-06-18 09:14:29,131 - WARNING - Deleting VN ctest-ext_vn-50198573 failed..Will retry 2025-06-18 09:14:31,259 - DEBUG - Response for deleting network () 2025-06-18 09:14:31,259 - INFO - Deleting VN ctest-vn-03111122 2025-06-18 09:14:31,395 - DEBUG - Response for deleting network () 2025-06-18 09:14:31,662 - DEBUG - No XMPP flaps were noticed during the test 2025-06-18 09:14:31,662 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-18 09:14:31,662 - INFO - -------------------------------------------------------------------------------- 2025-06-18 09:14:32,397 - INFO - Deleted project: ctest-TestRoutersBasic-75311961, ID : 8416eebc-e680-4017-b49d-fc2e29d3a322