2025-10-14 18:14:59,060 - INFO - Domain Default found not creating 2025-10-14 18:14:59,203 - INFO - Project ctest-TestRoutersBasic-81967543 not found, creating it 2025-10-14 18:14:59,646 - INFO - Created Project:ctest-TestRoutersBasic-81967543, ID : 9b6b207a-e2f0-4560-8813-75c1cf214810 2025-10-14 18:15:01,042 - INFO - ================================================================================ 2025-10-14 18:15:01,043 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-14 18:15:01,043 - 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-10-14 18:15:01,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-10-14 18:15:01,302 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:15:01,302 - INFO - 2025-10-14 18:15:01,994 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81967543 2025-10-14 18:15:02,088 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81967543 2025-10-14 18:15:02,408 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81967543', 'default']} 2025-10-14 18:15:02,709 - DEBUG - Response for create_network : {'network': {'id': 'c369739d-2495-4a61-a393-e349d7379a04', 'name': 'ctest-vn-09467887', 'tenant_id': '9b6b207ae2f04560881375c1cf214810', 'project_id': '9b6b207ae2f04560881375c1cf214810', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81967543', 'ctest-vn-09467887'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:15:02,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aae48ef-263e-485d-9e70-d3a57c08daa4', 'name': '', 'tenant_id': '9b6b207ae2f04560881375c1cf214810', 'network_id': 'c369739d-2495-4a61-a393-e349d7379a04', 'ip_version': 4, 'cidr': '206.57.84.192/26', 'allocation_pools': [{'start': '206.57.84.194', 'end': '206.57.84.254'}], 'gateway_ip': '206.57.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.57.84.194', 'tags': [], 'project_id': '9b6b207ae2f04560881375c1cf214810'}} 2025-10-14 18:15:02,952 - INFO - Created VN ctest-vn-09467887 2025-10-14 18:15:03,012 - DEBUG - VN ctest-vn-09467887 UUID is c369739d-2495-4a61-a393-e349d7379a04 2025-10-14 18:15:03,391 - DEBUG - Response for create_network : {'network': {'id': 'ee0b095a-f252-4d0f-bff2-1be29a079147', 'name': 'ctest-ext_vn-81466207', 'tenant_id': '9b6b207ae2f04560881375c1cf214810', 'project_id': '9b6b207ae2f04560881375c1cf214810', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81967543', 'ctest-ext_vn-81466207'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:15:03,588 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddf3bc2c-060e-4343-aec0-03b1fbe37a0f', 'name': '', 'tenant_id': '9b6b207ae2f04560881375c1cf214810', 'network_id': 'ee0b095a-f252-4d0f-bff2-1be29a079147', 'ip_version': 4, 'cidr': '108.101.6.64/26', 'allocation_pools': [{'start': '108.101.6.66', 'end': '108.101.6.126'}], 'gateway_ip': '108.101.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.101.6.66', 'tags': [], 'project_id': '9b6b207ae2f04560881375c1cf214810'}} 2025-10-14 18:15:03,609 - INFO - Created VN ctest-ext_vn-81466207 2025-10-14 18:15:03,668 - DEBUG - VN ctest-ext_vn-81466207 UUID is ee0b095a-f252-4d0f-bff2-1be29a079147 2025-10-14 18:15:03,845 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:15:04,878 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4317-1) 2025-10-14 18:15:06,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4317-1) 2025-10-14 18:15:06,171 - INFO - Setting gateway for router fbbeab35-30e8-4fee-a721-35e1f329ef77 to network ee0b095a-f252-4d0f-bff2-1be29a079147 2025-10-14 18:15:06,237 - INFO - Adding interface with subnet_id 4aae48ef-263e-485d-9e70-d3a57c08daa4, port_id None to router fbbeab35-30e8-4fee-a721-35e1f329ef77 2025-10-14 18:15:06,625 - INFO - Waiting for VM ctest-TestRoutersBasic-81967543-80762195 to be up.. 2025-10-14 18:15:06,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:15:11,829 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:15:11,829 - INFO - VM name : ctest-TestRoutersBasic-81967543-80762195 2025-10-14 18:15:11,896 - DEBUG - VM ctest-TestRoutersBasic-81967543-80762195 ID is b1fc01aa-d726-4d2c-9d5b-3dca790bca0c 2025-10-14 18:15:11,913 - DEBUG - VM ctest-TestRoutersBasic-81967543-80762195 launched on Node cn-jenkins-deploy-platform-ansible-os-4317-1 2025-10-14 18:15:11,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b1fc01aa-d726-4d2c-9d5b-3dca790bca0c 2025-10-14 18:15:12,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b1fc01aa-d726-4d2c-9d5b-3dca790bca0c 2025-10-14 18:15:12,305 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b04affe1-ea98-4162-92d3-4d33daa7ea65 2025-10-14 18:15:15,563 - 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 1023ms') 2025-10-14 18:15:15,563 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81967543-80762195 failed! 2025-10-14 18:15:15,616 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81967543:ctest-vn-09467887 is 206.57.84.193 and allocation pool is NOT set 2025-10-14 18:15:17,679 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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.403/1.685/2.968/1.282 ms') 2025-10-14 18:15:17,679 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81967543-80762195 passed 2025-10-14 18:15:17,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:15:17,832 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81967543-80762195, IP 206.57.84.195, Port 22 2025-10-14 18:15:17,991 - DEBUG - VM ctest-TestRoutersBasic-81967543-80762195 is ready for SSH connections 2025-10-14 18:15:17,991 - INFO - Waiting for VM ctest-TestRoutersBasic-81967543-55672424 to be up.. 2025-10-14 18:15:18,063 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:15:18,064 - INFO - VM name : ctest-TestRoutersBasic-81967543-55672424 2025-10-14 18:15:18,130 - DEBUG - VM ctest-TestRoutersBasic-81967543-55672424 ID is 1852fdf1-7bbf-47a6-b2e8-d8baeb633658 2025-10-14 18:15:18,130 - DEBUG - VM ctest-TestRoutersBasic-81967543-55672424 launched on Node cn-jenkins-deploy-platform-ansible-os-4317-1 2025-10-14 18:15:18,205 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1852fdf1-7bbf-47a6-b2e8-d8baeb633658 2025-10-14 18:15:18,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a5cff008-c5c8-4c3c-aa86-229b0ea5da8e 2025-10-14 18:15:19,455 - 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=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.644 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.644/1.645/2.647/1.001 ms') 2025-10-14 18:15:19,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81967543-55672424 passed 2025-10-14 18:15:19,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:15:19,604 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81967543-55672424, IP 108.101.6.67, Port 22 2025-10-14 18:15:19,760 - DEBUG - VM ctest-TestRoutersBasic-81967543-55672424 is ready for SSH connections 2025-10-14 18:15:19,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:15:19,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.101.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-14 18:15:19,760 - DEBUG - ping -s 56 -c 3 -W 1 108.101.6.67 2025-10-14 18:15:23,448 - DEBUG - PING 108.101.6.67 (108.101.6.67): 56 data bytes 64 bytes from 108.101.6.67: seq=0 ttl=62 time=6.575 ms 64 bytes from 108.101.6.67: seq=1 ttl=62 time=0.863 ms 64 bytes from 108.101.6.67: seq=2 ttl=62 time=0.903 ms --- 108.101.6.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/2.780/6.575 ms 2025-10-14 18:15:23,448 - INFO - Ping to IP 108.101.6.67 from VM ctest-TestRoutersBasic-81967543-80762195 passed 2025-10-14 18:15:23,448 - INFO - Deleting interface with subnet_id 4aae48ef-263e-485d-9e70-d3a57c08daa4, port_id None from router fbbeab35-30e8-4fee-a721-35e1f329ef77 2025-10-14 18:15:23,629 - INFO - Deleting VM ctest-TestRoutersBasic-81967543-55672424 2025-10-14 18:15:23,696 - INFO - Deleting VM ctest-TestRoutersBasic-81967543-80762195 2025-10-14 18:15:23,792 - INFO - Deleting VN ctest-ext_vn-81466207 2025-10-14 18:15:23,865 - DEBUG - VN ee0b095a-f252-4d0f-bff2-1be29a079147 still in use: Unable to complete operation on network ee0b095a-f252-4d0f-bff2-1be29a079147. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcb8f3da-2f83-4090-95a6-8e7c163d603c'] 2025-10-14 18:15:23,865 - WARNING - Deleting VN ctest-ext_vn-81466207 failed..Will retry 2025-10-14 18:15:25,968 - DEBUG - Response for deleting network () 2025-10-14 18:15:25,968 - INFO - Deleting VN ctest-vn-09467887 2025-10-14 18:15:26,066 - DEBUG - Response for deleting network () 2025-10-14 18:15:26,330 - DEBUG - No XMPP flaps were noticed during the test
2025-10-14 18:15:26,330 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-14 18:15:26,330 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:15:26,993 - INFO - Deleted project: ctest-TestRoutersBasic-81967543, ID : 9b6b207a-e2f0-4560-8813-75c1cf214810