2026-03-06 18:02:39,638 - INFO - Domain Default found not creating 2026-03-06 18:02:39,801 - INFO - Project ctest-TestRoutersBasic-05773514 not found, creating it 2026-03-06 18:02:40,269 - INFO - Created Project:ctest-TestRoutersBasic-05773514, ID : c8e3bb73-5888-4203-99fb-23111290d32d 2026-03-06 18:02:41,749 - INFO - ================================================================================ 2026-03-06 18:02:41,749 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-06 18:02:41,749 - 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-03-06 18:02:42,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-06 18:02:42,003 - INFO - Initial checks done. Running the testcase now 2026-03-06 18:02:42,003 - INFO - 2026-03-06 18:02:42,722 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05773514 2026-03-06 18:02:42,821 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05773514 2026-03-06 18:02:43,141 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05773514', 'default']} 2026-03-06 18:02:43,422 - DEBUG - Response for create_network : {'network': {'id': 'f186483c-393f-485a-af73-f8551ed85d8c', 'name': 'ctest-vn-76201297', 'tenant_id': 'c8e3bb735888420399fb23111290d32d', 'project_id': 'c8e3bb735888420399fb23111290d32d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05773514', 'ctest-vn-76201297'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 18:02:43,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '727ec64d-a0c3-40b3-8306-07a6cd3818cb', 'name': '', 'tenant_id': 'c8e3bb735888420399fb23111290d32d', 'network_id': 'f186483c-393f-485a-af73-f8551ed85d8c', 'ip_version': 4, 'cidr': '215.170.31.0/26', 'allocation_pools': [{'start': '215.170.31.2', 'end': '215.170.31.62'}], 'gateway_ip': '215.170.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.170.31.2', 'tags': [], 'project_id': 'c8e3bb735888420399fb23111290d32d'}} 2026-03-06 18:02:43,636 - INFO - Created VN ctest-vn-76201297 2026-03-06 18:02:43,689 - DEBUG - VN ctest-vn-76201297 UUID is f186483c-393f-485a-af73-f8551ed85d8c 2026-03-06 18:02:44,050 - DEBUG - Response for create_network : {'network': {'id': '96a2a68f-c4c3-4ee2-bdd4-fc5a09c4d1cc', 'name': 'ctest-ext_vn-56442156', 'tenant_id': 'c8e3bb735888420399fb23111290d32d', 'project_id': 'c8e3bb735888420399fb23111290d32d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05773514', 'ctest-ext_vn-56442156'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 18:02:44,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ff2eb38-3a5a-4576-ab36-8092cb654758', 'name': '', 'tenant_id': 'c8e3bb735888420399fb23111290d32d', 'network_id': '96a2a68f-c4c3-4ee2-bdd4-fc5a09c4d1cc', 'ip_version': 4, 'cidr': '209.48.0.64/26', 'allocation_pools': [{'start': '209.48.0.66', 'end': '209.48.0.126'}], 'gateway_ip': '209.48.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.48.0.66', 'tags': [], 'project_id': 'c8e3bb735888420399fb23111290d32d'}} 2026-03-06 18:02:44,224 - INFO - Created VN ctest-ext_vn-56442156 2026-03-06 18:02:44,277 - DEBUG - VN ctest-ext_vn-56442156 UUID is 96a2a68f-c4c3-4ee2-bdd4-fc5a09c4d1cc 2026-03-06 18:02:44,441 - DEBUG - Services list from nova: [, , ] 2026-03-06 18:02:45,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5449-1) 2026-03-06 18:02:46,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5449-1) 2026-03-06 18:02:46,675 - INFO - Setting gateway for router 3cb564fa-694b-476b-94ea-518537e2ce83 to network 96a2a68f-c4c3-4ee2-bdd4-fc5a09c4d1cc 2026-03-06 18:02:46,735 - INFO - Adding interface with subnet_id 727ec64d-a0c3-40b3-8306-07a6cd3818cb, port_id None to router 3cb564fa-694b-476b-94ea-518537e2ce83 2026-03-06 18:02:47,080 - INFO - Waiting for VM ctest-TestRoutersBasic-05773514-77451122 to be up.. 2026-03-06 18:02:47,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-06 18:02:52,284 - DEBUG - VM is in ACTIVE state now 2026-03-06 18:02:52,284 - INFO - VM name : ctest-TestRoutersBasic-05773514-77451122 2026-03-06 18:02:52,356 - DEBUG - VM ctest-TestRoutersBasic-05773514-77451122 ID is 9ba6d6f2-0ccc-4f81-96d2-b777e84454a9 2026-03-06 18:02:52,380 - DEBUG - VM ctest-TestRoutersBasic-05773514-77451122 launched on Node cn-jenkins-deploy-platform-ansible-os-5449-1 2026-03-06 18:02:52,460 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9ba6d6f2-0ccc-4f81-96d2-b777e84454a9 2026-03-06 18:02:52,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9ba6d6f2-0ccc-4f81-96d2-b777e84454a9 2026-03-06 18:02:52,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bb4f6701-4da1-4421-bd11-19d94a17b704 2026-03-06 18:02:56,053 - 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 1025ms') 2026-03-06 18:02:56,053 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05773514-77451122 failed! 2026-03-06 18:02:56,105 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05773514:ctest-vn-76201297 is 215.170.31.1 and allocation pool is NOT set 2026-03-06 18:02:58,163 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.558 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.558/1.599/2.641/1.041 ms') 2026-03-06 18:02:58,163 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05773514-77451122 passed 2026-03-06 18:02:58,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 18:02:58,317 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05773514-77451122, IP 215.170.31.3, Port 22 2026-03-06 18:02:58,496 - DEBUG - VM ctest-TestRoutersBasic-05773514-77451122 is ready for SSH connections 2026-03-06 18:02:58,496 - INFO - Waiting for VM ctest-TestRoutersBasic-05773514-55871752 to be up.. 2026-03-06 18:02:58,584 - DEBUG - VM is in ACTIVE state now 2026-03-06 18:02:58,584 - INFO - VM name : ctest-TestRoutersBasic-05773514-55871752 2026-03-06 18:02:58,661 - DEBUG - VM ctest-TestRoutersBasic-05773514-55871752 ID is 5a8eff71-be05-49ca-978c-14388880e443 2026-03-06 18:02:58,662 - DEBUG - VM ctest-TestRoutersBasic-05773514-55871752 launched on Node cn-jenkins-deploy-platform-ansible-os-5449-1 2026-03-06 18:02:58,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5a8eff71-be05-49ca-978c-14388880e443 2026-03-06 18:02:58,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6b14c9e2-38c7-4748-8029-36bd713cfcba 2026-03-06 18:02:59,990 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.646/2.807/1.161 ms') 2026-03-06 18:02:59,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05773514-55871752 passed 2026-03-06 18:03:00,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 18:03:00,137 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05773514-55871752, IP 209.48.0.67, Port 22 2026-03-06 18:03:00,301 - DEBUG - VM ctest-TestRoutersBasic-05773514-55871752 is ready for SSH connections 2026-03-06 18:03:00,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 18:03:00,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.48.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-06 18:03:00,301 - DEBUG - ping -s 56 -c 3 -W 1 209.48.0.67 2026-03-06 18:03:04,049 - DEBUG - PING 209.48.0.67 (209.48.0.67): 56 data bytes 64 bytes from 209.48.0.67: seq=0 ttl=62 time=8.526 ms 64 bytes from 209.48.0.67: seq=1 ttl=62 time=0.843 ms 64 bytes from 209.48.0.67: seq=2 ttl=62 time=1.026 ms --- 209.48.0.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/3.465/8.526 ms 2026-03-06 18:03:04,049 - INFO - Ping to IP 209.48.0.67 from VM ctest-TestRoutersBasic-05773514-77451122 passed 2026-03-06 18:03:04,049 - INFO - Deleting interface with subnet_id 727ec64d-a0c3-40b3-8306-07a6cd3818cb, port_id None from router 3cb564fa-694b-476b-94ea-518537e2ce83 2026-03-06 18:03:04,240 - INFO - Deleting VM ctest-TestRoutersBasic-05773514-55871752 2026-03-06 18:03:04,318 - INFO - Deleting VM ctest-TestRoutersBasic-05773514-77451122 2026-03-06 18:03:04,399 - INFO - Deleting VN ctest-ext_vn-56442156 2026-03-06 18:03:04,473 - DEBUG - VN 96a2a68f-c4c3-4ee2-bdd4-fc5a09c4d1cc still in use: Unable to complete operation on network 96a2a68f-c4c3-4ee2-bdd4-fc5a09c4d1cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a63d5a2a-53c6-47a8-aa69-05cc3af8f4c5'] 2026-03-06 18:03:04,473 - WARNING - Deleting VN ctest-ext_vn-56442156 failed..Will retry 2026-03-06 18:03:06,567 - DEBUG - Response for deleting network () 2026-03-06 18:03:06,567 - INFO - Deleting VN ctest-vn-76201297 2026-03-06 18:03:06,659 - DEBUG - Response for deleting network () 2026-03-06 18:03:06,914 - DEBUG - No XMPP flaps were noticed during the test
2026-03-06 18:03:06,915 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-03-06 18:03:06,915 - INFO - -------------------------------------------------------------------------------- 2026-03-06 18:03:07,608 - INFO - Deleted project: ctest-TestRoutersBasic-05773514, ID : c8e3bb73-5888-4203-99fb-23111290d32d