2026-09-03 16:49:51,939 - INFO - Domain Default found not creating 2026-09-03 16:49:52,142 - INFO - Project ctest-TestRoutersBasic-10316396 not found, creating it 2026-09-03 16:49:52,714 - INFO - Created Project:ctest-TestRoutersBasic-10316396, ID : b2eaf057-1918-4c7e-9e21-8d9dad0ae56e 2026-09-03 16:49:54,640 - INFO - ================================================================================ 2026-09-03 16:49:54,641 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-03 16:49:54,641 - 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-03 16:49:54,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-09-03 16:49:54,916 - INFO - Initial checks done. Running the testcase now 2026-09-03 16:49:54,916 - INFO - 2026-09-03 16:49:55,819 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10316396 2026-09-03 16:49:55,918 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10316396 2026-09-03 16:49:56,270 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10316396', 'default']} 2026-09-03 16:49:56,613 - DEBUG - Response for create_network : {'network': {'id': '2f012cd1-d625-4ce5-9877-4c3790464a51', 'name': 'ctest-vn-78745181', 'tenant_id': 'b2eaf05719184c7e9e218d9dad0ae56e', 'project_id': 'b2eaf05719184c7e9e218d9dad0ae56e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10316396', 'ctest-vn-78745181'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 16:49:56,821 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adeaa587-e3da-4cf0-9966-3233df044f14', 'name': '', 'tenant_id': 'b2eaf05719184c7e9e218d9dad0ae56e', 'network_id': '2f012cd1-d625-4ce5-9877-4c3790464a51', 'ip_version': 4, 'cidr': '198.42.223.192/26', 'allocation_pools': [{'start': '198.42.223.194', 'end': '198.42.223.254'}], 'gateway_ip': '198.42.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.42.223.194', 'tags': [], 'project_id': 'b2eaf05719184c7e9e218d9dad0ae56e'}} 2026-09-03 16:49:56,841 - INFO - Created VN ctest-vn-78745181 2026-09-03 16:49:56,894 - DEBUG - VN ctest-vn-78745181 UUID is 2f012cd1-d625-4ce5-9877-4c3790464a51 2026-09-03 16:49:57,281 - DEBUG - Response for create_network : {'network': {'id': 'afd911e6-1a20-42eb-bc84-846a7d8232f6', 'name': 'ctest-ext_vn-38426148', 'tenant_id': 'b2eaf05719184c7e9e218d9dad0ae56e', 'project_id': 'b2eaf05719184c7e9e218d9dad0ae56e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10316396', 'ctest-ext_vn-38426148'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 16:49:57,531 - DEBUG - Response for create_subnet : {'subnet': {'id': '61592cc1-7466-4a45-9e89-489044c16476', 'name': '', 'tenant_id': 'b2eaf05719184c7e9e218d9dad0ae56e', 'network_id': 'afd911e6-1a20-42eb-bc84-846a7d8232f6', 'ip_version': 4, 'cidr': '122.2.255.64/26', 'allocation_pools': [{'start': '122.2.255.66', 'end': '122.2.255.126'}], 'gateway_ip': '122.2.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.2.255.66', 'tags': [], 'project_id': 'b2eaf05719184c7e9e218d9dad0ae56e'}} 2026-09-03 16:49:57,552 - INFO - Created VN ctest-ext_vn-38426148 2026-09-03 16:49:57,606 - DEBUG - VN ctest-ext_vn-38426148 UUID is afd911e6-1a20-42eb-bc84-846a7d8232f6 2026-09-03 16:49:57,791 - DEBUG - Services list from nova: [, , ] 2026-09-03 16:49:58,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6253-1) 2026-09-03 16:49:58,840 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6253-1) 2026-09-03 16:49:58,924 - INFO - Setting gateway for router 82b68cc9-2767-4b1b-977e-571c0a68d146 to network afd911e6-1a20-42eb-bc84-846a7d8232f6 2026-09-03 16:49:58,995 - INFO - Adding interface with subnet_id adeaa587-e3da-4cf0-9966-3233df044f14, port_id None to router 82b68cc9-2767-4b1b-977e-571c0a68d146 2026-09-03 16:49:59,332 - INFO - Waiting for VM ctest-TestRoutersBasic-10316396-68011996 to be up.. 2026-09-03 16:49:59,410 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:04,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:09,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:14,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:19,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:24,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:30,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:35,104 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:40,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:50:45,318 - DEBUG - VM is in ACTIVE state now 2026-09-03 16:50:45,318 - INFO - VM name : ctest-TestRoutersBasic-10316396-68011996 2026-09-03 16:50:45,411 - DEBUG - VM ctest-TestRoutersBasic-10316396-68011996 ID is 0d5e7498-3184-4581-bc77-92fa2b2cd51b 2026-09-03 16:50:45,437 - DEBUG - VM ctest-TestRoutersBasic-10316396-68011996 launched on Node cn-jenkins-deploy-platform-ansible-os-6253-1 2026-09-03 16:50:45,539 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/0d5e7498-3184-4581-bc77-92fa2b2cd51b 2026-09-03 16:50:45,949 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/0d5e7498-3184-4581-bc77-92fa2b2cd51b 2026-09-03 16:50:46,005 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/8bb79e18-f335-49e6-9f01-3a23ff382ab9 2026-09-03 16:50:49,299 - 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 1022ms') 2026-09-03 16:50:49,300 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-10316396-68011996 failed! 2026-09-03 16:50:49,358 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10316396:ctest-vn-78745181 is 198.42.223.193 and allocation pool is NOT set 2026-09-03 16:50:51,422 - 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.06 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.580 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.580/2.318/4.056/1.738 ms') 2026-09-03 16:50:51,422 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-10316396-68011996 passed 2026-09-03 16:50:51,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 16:50:51,578 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10316396-68011996, IP 198.42.223.195, Port 22 2026-09-03 16:50:51,749 - DEBUG - VM ctest-TestRoutersBasic-10316396-68011996 is ready for SSH connections 2026-09-03 16:50:51,749 - INFO - Waiting for VM ctest-TestRoutersBasic-10316396-88988951 to be up.. 2026-09-03 16:50:51,839 - DEBUG - VM is in ACTIVE state now 2026-09-03 16:50:51,839 - INFO - VM name : ctest-TestRoutersBasic-10316396-88988951 2026-09-03 16:50:51,930 - DEBUG - VM ctest-TestRoutersBasic-10316396-88988951 ID is ab16dcfa-26ab-4ad3-9384-934eb1338784 2026-09-03 16:50:51,930 - DEBUG - VM ctest-TestRoutersBasic-10316396-88988951 launched on Node cn-jenkins-deploy-platform-ansible-os-6253-1 2026-09-03 16:50:52,024 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/ab16dcfa-26ab-4ad3-9384-934eb1338784 2026-09-03 16:50:52,034 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/d7edb957-1734-471c-b8ac-7fd17c68dc25 2026-09-03 16:50:53,285 - 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=1 ttl=63 time=3.87 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.474 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.474/2.169/3.865/1.695 ms') 2026-09-03 16:50:53,286 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-10316396-88988951 passed 2026-09-03 16:50:53,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 16:50:53,446 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10316396-88988951, IP 122.2.255.68, Port 22 2026-09-03 16:50:53,620 - DEBUG - VM ctest-TestRoutersBasic-10316396-88988951 is ready for SSH connections 2026-09-03 16:50:53,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 16:50:53,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.2.255.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-03 16:50:53,620 - DEBUG - ping -s 56 -c 3 -W 1 122.2.255.68 2026-09-03 16:50:56,767 - DEBUG - PING 122.2.255.68 (122.2.255.68): 56 data bytes 64 bytes from 122.2.255.68: seq=0 ttl=62 time=6.961 ms 64 bytes from 122.2.255.68: seq=1 ttl=62 time=1.292 ms 64 bytes from 122.2.255.68: seq=2 ttl=62 time=1.441 ms --- 122.2.255.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.292/3.231/6.961 ms 2026-09-03 16:50:56,767 - INFO - Ping to IP 122.2.255.68 from VM ctest-TestRoutersBasic-10316396-68011996 passed 2026-09-03 16:50:56,768 - INFO - Deleting interface with subnet_id adeaa587-e3da-4cf0-9966-3233df044f14, port_id None from router 82b68cc9-2767-4b1b-977e-571c0a68d146 2026-09-03 16:50:57,011 - INFO - Deleting VM ctest-TestRoutersBasic-10316396-88988951 2026-09-03 16:50:57,120 - INFO - Deleting VM ctest-TestRoutersBasic-10316396-68011996 2026-09-03 16:50:57,208 - INFO - Deleting VN ctest-ext_vn-38426148 2026-09-03 16:50:57,296 - DEBUG - VN afd911e6-1a20-42eb-bc84-846a7d8232f6 still in use: Unable to complete operation on network afd911e6-1a20-42eb-bc84-846a7d8232f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be76f3e3-b77a-4b0d-bcac-65f9043eb5da'] 2026-09-03 16:50:57,296 - WARNING - Deleting VN ctest-ext_vn-38426148 failed..Will retry 2026-09-03 16:50:59,463 - DEBUG - Response for deleting network () 2026-09-03 16:50:59,463 - INFO - Deleting VN ctest-vn-78745181 2026-09-03 16:50:59,599 - DEBUG - Response for deleting network () 2026-09-03 16:50:59,875 - DEBUG - No XMPP flaps were noticed during the test
2026-09-03 16:50:59,875 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-09-03 16:50:59,875 - INFO - -------------------------------------------------------------------------------- 2026-09-03 16:51:00,650 - INFO - Deleted project: ctest-TestRoutersBasic-10316396, ID : b2eaf057-1918-4c7e-9e21-8d9dad0ae56e