2025-11-18 17:09:41,298 - INFO - Domain Default found not creating 2025-11-18 17:09:41,476 - INFO - Project ctest-TestRoutersBasic-76019531 not found, creating it 2025-11-18 17:09:41,955 - INFO - Created Project:ctest-TestRoutersBasic-76019531, ID : 9f020c44-bd2b-45d4-9171-0b789face3a4 2025-11-18 17:09:43,467 - INFO - ================================================================================ 2025-11-18 17:09:43,468 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-18 17:09:43,468 - 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-18 17:09:43,722 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-18 17:09:43,722 - INFO - Initial checks done. Running the testcase now 2025-11-18 17:09:43,722 - INFO - 2025-11-18 17:09:44,451 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76019531 2025-11-18 17:09:44,551 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76019531 2025-11-18 17:09:44,875 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76019531', 'default']} 2025-11-18 17:09:45,182 - DEBUG - Response for create_network : {'network': {'id': '62b884fa-1287-4a0b-9dea-e11b5c68a356', 'name': 'ctest-vn-04017360', 'tenant_id': '9f020c44bd2b45d491710b789face3a4', 'project_id': '9f020c44bd2b45d491710b789face3a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76019531', 'ctest-vn-04017360'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:09:45,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '54a411d3-6ae2-4ab8-8bbf-44fa8574780a', 'name': '', 'tenant_id': '9f020c44bd2b45d491710b789face3a4', 'network_id': '62b884fa-1287-4a0b-9dea-e11b5c68a356', 'ip_version': 4, 'cidr': '76.11.182.64/26', 'allocation_pools': [{'start': '76.11.182.66', 'end': '76.11.182.126'}], 'gateway_ip': '76.11.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.11.182.66', 'tags': [], 'project_id': '9f020c44bd2b45d491710b789face3a4'}} 2025-11-18 17:09:45,386 - INFO - Created VN ctest-vn-04017360 2025-11-18 17:09:45,443 - DEBUG - VN ctest-vn-04017360 UUID is 62b884fa-1287-4a0b-9dea-e11b5c68a356 2025-11-18 17:09:45,752 - DEBUG - Response for create_network : {'network': {'id': '54e93c4f-1721-4519-93a7-a058e4f4d17b', 'name': 'ctest-ext_vn-74908833', 'tenant_id': '9f020c44bd2b45d491710b789face3a4', 'project_id': '9f020c44bd2b45d491710b789face3a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76019531', 'ctest-ext_vn-74908833'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:09:45,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'babfa7ea-f6f3-4e21-b575-687e5e16b4d3', 'name': '', 'tenant_id': '9f020c44bd2b45d491710b789face3a4', 'network_id': '54e93c4f-1721-4519-93a7-a058e4f4d17b', 'ip_version': 4, 'cidr': '200.207.85.128/26', 'allocation_pools': [{'start': '200.207.85.130', 'end': '200.207.85.190'}], 'gateway_ip': '200.207.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.207.85.130', 'tags': [], 'project_id': '9f020c44bd2b45d491710b789face3a4'}} 2025-11-18 17:09:45,983 - INFO - Created VN ctest-ext_vn-74908833 2025-11-18 17:09:46,035 - DEBUG - VN ctest-ext_vn-74908833 UUID is 54e93c4f-1721-4519-93a7-a058e4f4d17b 2025-11-18 17:09:46,241 - DEBUG - Services list from nova: [, , ] 2025-11-18 17:09:47,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:09:48,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:09:48,523 - INFO - Setting gateway for router d905811d-076e-4940-bd5d-3de089cd270b to network 54e93c4f-1721-4519-93a7-a058e4f4d17b 2025-11-18 17:09:48,585 - INFO - Adding interface with subnet_id 54a411d3-6ae2-4ab8-8bbf-44fa8574780a, port_id None to router d905811d-076e-4940-bd5d-3de089cd270b 2025-11-18 17:09:48,892 - INFO - Waiting for VM ctest-TestRoutersBasic-76019531-71619316 to be up.. 2025-11-18 17:09:49,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 17:09:54,088 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:09:54,088 - INFO - VM name : ctest-TestRoutersBasic-76019531-71619316 2025-11-18 17:09:54,166 - DEBUG - VM ctest-TestRoutersBasic-76019531-71619316 ID is 64d28caf-d55b-4f2e-a741-2807f823e5dd 2025-11-18 17:09:54,186 - DEBUG - VM ctest-TestRoutersBasic-76019531-71619316 launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:09:54,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/64d28caf-d55b-4f2e-a741-2807f823e5dd 2025-11-18 17:09:54,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/64d28caf-d55b-4f2e-a741-2807f823e5dd 2025-11-18 17:09:54,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/17b7f476-15f0-4def-91b8-99e4ba4926dc 2025-11-18 17:09:57,848 - 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 1010ms') 2025-11-18 17:09:57,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76019531-71619316 failed! 2025-11-18 17:09:57,903 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76019531:ctest-vn-04017360 is 76.11.182.65 and allocation pool is NOT set 2025-11-18 17:09:59,970 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.927 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.927/2.152/3.377/1.225 ms') 2025-11-18 17:09:59,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76019531-71619316 passed 2025-11-18 17:10:00,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:10:00,119 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76019531-71619316, IP 76.11.182.67, Port 22 2025-11-18 17:10:00,278 - DEBUG - VM ctest-TestRoutersBasic-76019531-71619316 is ready for SSH connections 2025-11-18 17:10:00,278 - INFO - Waiting for VM ctest-TestRoutersBasic-76019531-70306034 to be up.. 2025-11-18 17:10:00,363 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:10:00,363 - INFO - VM name : ctest-TestRoutersBasic-76019531-70306034 2025-11-18 17:10:00,456 - DEBUG - VM ctest-TestRoutersBasic-76019531-70306034 ID is 74419427-8742-4989-9fa1-65b491997d49 2025-11-18 17:10:00,456 - DEBUG - VM ctest-TestRoutersBasic-76019531-70306034 launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:10:00,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74419427-8742-4989-9fa1-65b491997d49 2025-11-18 17:10:00,550 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bd2c15e2-1eac-4e3a-9db3-fcac33babeda 2025-11-18 17:10:01,823 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.586 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.586/2.258/3.930/1.672 ms') 2025-11-18 17:10:01,823 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76019531-70306034 passed 2025-11-18 17:10:01,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:10:01,975 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76019531-70306034, IP 200.207.85.131, Port 22 2025-11-18 17:10:02,131 - DEBUG - VM ctest-TestRoutersBasic-76019531-70306034 is ready for SSH connections 2025-11-18 17:10:02,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:10:02,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.207.85.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:10:02,131 - DEBUG - ping -s 56 -c 3 -W 1 200.207.85.131 2025-11-18 17:10:05,847 - DEBUG - PING 200.207.85.131 (200.207.85.131): 56 data bytes 64 bytes from 200.207.85.131: seq=0 ttl=62 time=4.720 ms 64 bytes from 200.207.85.131: seq=1 ttl=62 time=1.406 ms 64 bytes from 200.207.85.131: seq=2 ttl=62 time=0.976 ms --- 200.207.85.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/2.367/4.720 ms 2025-11-18 17:10:05,847 - INFO - Ping to IP 200.207.85.131 from VM ctest-TestRoutersBasic-76019531-71619316 passed 2025-11-18 17:10:05,847 - INFO - Deleting interface with subnet_id 54a411d3-6ae2-4ab8-8bbf-44fa8574780a, port_id None from router d905811d-076e-4940-bd5d-3de089cd270b 2025-11-18 17:10:06,061 - INFO - Deleting VM ctest-TestRoutersBasic-76019531-70306034 2025-11-18 17:10:06,142 - INFO - Deleting VM ctest-TestRoutersBasic-76019531-71619316 2025-11-18 17:10:06,239 - INFO - Deleting VN ctest-ext_vn-74908833 2025-11-18 17:10:06,308 - DEBUG - VN 54e93c4f-1721-4519-93a7-a058e4f4d17b still in use: Unable to complete operation on network 54e93c4f-1721-4519-93a7-a058e4f4d17b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc73ce4f-5ace-4272-b9d9-014706ac1691'] 2025-11-18 17:10:06,309 - WARNING - Deleting VN ctest-ext_vn-74908833 failed..Will retry 2025-11-18 17:10:08,419 - DEBUG - Response for deleting network () 2025-11-18 17:10:08,419 - INFO - Deleting VN ctest-vn-04017360 2025-11-18 17:10:08,526 - DEBUG - Response for deleting network () 2025-11-18 17:10:08,780 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 17:10:08,780 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-18 17:10:08,780 - INFO - -------------------------------------------------------------------------------- 2025-11-18 17:10:09,468 - INFO - Deleted project: ctest-TestRoutersBasic-76019531, ID : 9f020c44-bd2b-45d4-9171-0b789face3a4