2026-09-25 15:51:36,871 - INFO - Domain Default found not creating 2026-09-25 15:51:37,082 - INFO - Project ctest-TestRoutersBasic-23819009 not found, creating it 2026-09-25 15:51:37,669 - INFO - Created Project:ctest-TestRoutersBasic-23819009, ID : 5c25cb0e-3faa-4a94-a176-df29fa996e59 2026-09-25 15:51:39,897 - INFO - ================================================================================ 2026-09-25 15:51:39,898 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-25 15:51:39,898 - 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 2026-09-25 15:51:40,178 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-09-25 15:51:40,178 - INFO - Initial checks done. Running the testcase now 2026-09-25 15:51:40,178 - INFO - 2026-09-25 15:51:41,049 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23819009 2026-09-25 15:51:41,149 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23819009 2026-09-25 15:51:41,508 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23819009', 'default']} 2026-09-25 15:51:41,903 - DEBUG - Response for create_network : {'network': {'id': '277d617a-929d-4f5d-a720-f7d80b97c708', 'name': 'ctest-vn-73406487', 'tenant_id': '5c25cb0e3faa4a94a176df29fa996e59', 'project_id': '5c25cb0e3faa4a94a176df29fa996e59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23819009', 'ctest-vn-73406487'], 'port_security_enabled': True, 'description': ''}} 2026-09-25 15:51:42,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '5411fb83-c564-43e4-a489-12ce3854a177', 'name': '', 'tenant_id': '5c25cb0e3faa4a94a176df29fa996e59', 'network_id': '277d617a-929d-4f5d-a720-f7d80b97c708', 'ip_version': 4, 'cidr': '191.221.192.64/26', 'allocation_pools': [{'start': '191.221.192.66', 'end': '191.221.192.126'}], 'gateway_ip': '191.221.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.221.192.66', 'tags': [], 'project_id': '5c25cb0e3faa4a94a176df29fa996e59'}} 2026-09-25 15:51:42,173 - INFO - Created VN ctest-vn-73406487 2026-09-25 15:51:42,229 - DEBUG - VN ctest-vn-73406487 UUID is 277d617a-929d-4f5d-a720-f7d80b97c708 2026-09-25 15:51:42,652 - DEBUG - Response for create_network : {'network': {'id': '27217b02-e384-49e8-bbc7-d7b139407868', 'name': 'ctest-ext_vn-07938617', 'tenant_id': '5c25cb0e3faa4a94a176df29fa996e59', 'project_id': '5c25cb0e3faa4a94a176df29fa996e59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23819009', 'ctest-ext_vn-07938617'], 'port_security_enabled': True, 'description': ''}} 2026-09-25 15:51:42,910 - DEBUG - Response for create_subnet : {'subnet': {'id': '94609492-731e-4fe3-80b2-722568ebfc90', 'name': '', 'tenant_id': '5c25cb0e3faa4a94a176df29fa996e59', 'network_id': '27217b02-e384-49e8-bbc7-d7b139407868', 'ip_version': 4, 'cidr': '167.139.203.192/26', 'allocation_pools': [{'start': '167.139.203.194', 'end': '167.139.203.254'}], 'gateway_ip': '167.139.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.139.203.194', 'tags': [], 'project_id': '5c25cb0e3faa4a94a176df29fa996e59'}} 2026-09-25 15:51:42,944 - INFO - Created VN ctest-ext_vn-07938617 2026-09-25 15:51:43,001 - DEBUG - VN ctest-ext_vn-07938617 UUID is 27217b02-e384-49e8-bbc7-d7b139407868 2026-09-25 15:51:43,195 - DEBUG - Services list from nova: [, , ] 2026-09-25 15:51:43,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6322-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6322-1) 2026-09-25 15:51:44,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6322-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6322-1) 2026-09-25 15:51:44,389 - INFO - Setting gateway for router 528b6b27-3602-4a99-8cb5-42b5580b8987 to network 27217b02-e384-49e8-bbc7-d7b139407868 2026-09-25 15:51:44,463 - INFO - Adding interface with subnet_id 5411fb83-c564-43e4-a489-12ce3854a177, port_id None to router 528b6b27-3602-4a99-8cb5-42b5580b8987 2026-09-25 15:51:44,873 - INFO - Waiting for VM ctest-TestRoutersBasic-23819009-62671449 to be up.. 2026-09-25 15:51:44,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:51:50,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:51:55,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:52:00,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:52:05,452 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:52:10,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:52:15,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:52:20,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-25 15:52:25,906 - DEBUG - VM is in ACTIVE state now 2026-09-25 15:52:25,906 - INFO - VM name : ctest-TestRoutersBasic-23819009-62671449 2026-09-25 15:52:26,030 - DEBUG - VM ctest-TestRoutersBasic-23819009-62671449 ID is f0988aa2-2369-4e3f-9784-375c9c10f78c 2026-09-25 15:52:26,063 - DEBUG - VM ctest-TestRoutersBasic-23819009-62671449 launched on Node cn-jenkins-deploy-platform-ansible-os-6322-1 2026-09-25 15:52:26,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f0988aa2-2369-4e3f-9784-375c9c10f78c 2026-09-25 15:52:26,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f0988aa2-2369-4e3f-9784-375c9c10f78c 2026-09-25 15:52:26,616 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/71f9ca07-f459-4353-b06c-fb3262564b5a 2026-09-25 15:52:29,913 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-09-25 15:52:29,913 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-23819009-62671449 failed! 2026-09-25 15:52:29,969 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23819009:ctest-vn-73406487 is 191.221.192.65 and allocation pool is NOT set 2026-09-25 15:52:32,034 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.14 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.778 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.778/2.456/4.135/1.678 ms') 2026-09-25 15:52:32,034 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-23819009-62671449 passed 2026-09-25 15:52:32,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-25 15:52:32,197 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23819009-62671449, IP 191.221.192.67, Port 22 2026-09-25 15:52:32,370 - DEBUG - VM ctest-TestRoutersBasic-23819009-62671449 is ready for SSH connections 2026-09-25 15:52:32,371 - INFO - Waiting for VM ctest-TestRoutersBasic-23819009-37339694 to be up.. 2026-09-25 15:52:32,457 - DEBUG - VM is in ACTIVE state now 2026-09-25 15:52:32,458 - INFO - VM name : ctest-TestRoutersBasic-23819009-37339694 2026-09-25 15:52:32,544 - DEBUG - VM ctest-TestRoutersBasic-23819009-37339694 ID is edb6e364-384b-43d3-9d00-7360e23ad164 2026-09-25 15:52:32,545 - DEBUG - VM ctest-TestRoutersBasic-23819009-37339694 launched on Node cn-jenkins-deploy-platform-ansible-os-6322-1 2026-09-25 15:52:32,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/edb6e364-384b-43d3-9d00-7360e23ad164 2026-09-25 15:52:32,650 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/34b8babe-dd8f-4024-874c-5792abc7ef51 2026-09-25 15:52:35,921 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=5.49 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 5.491/5.491/5.491/0.000 ms') 2026-09-25 15:52:35,921 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-23819009-37339694 passed 2026-09-25 15:52:36,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-25 15:52:36,085 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23819009-37339694, IP 167.139.203.196, Port 22 2026-09-25 15:52:36,259 - DEBUG - VM ctest-TestRoutersBasic-23819009-37339694 is ready for SSH connections 2026-09-25 15:52:36,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-25 15:52:36,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.139.203.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-25 15:52:36,259 - DEBUG - ping -s 56 -c 3 -W 1 167.139.203.196 2026-09-25 15:52:39,476 - DEBUG - PING 167.139.203.196 (167.139.203.196): 56 data bytes 64 bytes from 167.139.203.196: seq=0 ttl=62 time=6.167 ms 64 bytes from 167.139.203.196: seq=1 ttl=62 time=1.269 ms 64 bytes from 167.139.203.196: seq=2 ttl=62 time=1.803 ms --- 167.139.203.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.269/3.079/6.167 ms 2026-09-25 15:52:39,476 - INFO - Ping to IP 167.139.203.196 from VM ctest-TestRoutersBasic-23819009-62671449 passed 2026-09-25 15:52:39,476 - INFO - Deleting interface with subnet_id 5411fb83-c564-43e4-a489-12ce3854a177, port_id None from router 528b6b27-3602-4a99-8cb5-42b5580b8987 2026-09-25 15:52:39,837 - INFO - Deleting VM ctest-TestRoutersBasic-23819009-37339694 2026-09-25 15:52:39,969 - INFO - Deleting VM ctest-TestRoutersBasic-23819009-62671449 2026-09-25 15:52:40,090 - INFO - Deleting VN ctest-ext_vn-07938617 2026-09-25 15:52:40,222 - DEBUG - VN 27217b02-e384-49e8-bbc7-d7b139407868 still in use: Unable to complete operation on network 27217b02-e384-49e8-bbc7-d7b139407868. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-139dbfc8-13ea-42ac-b982-d654051cd697'] 2026-09-25 15:52:40,222 - WARNING - Deleting VN ctest-ext_vn-07938617 failed..Will retry 2026-09-25 15:52:42,442 - DEBUG - Response for deleting network () 2026-09-25 15:52:42,442 - INFO - Deleting VN ctest-vn-73406487 2026-09-25 15:52:42,603 - DEBUG - Response for deleting network () 2026-09-25 15:52:42,883 - DEBUG - No XMPP flaps were noticed during the test
2026-09-25 15:52:42,883 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03]
2026-09-25 15:52:42,883 - INFO - -------------------------------------------------------------------------------- 2026-09-25 15:52:43,721 - INFO - Deleted project: ctest-TestRoutersBasic-23819009, ID : 5c25cb0e-3faa-4a94-a176-df29fa996e59