2026-05-09 05:31:04,734 - INFO - Domain Default found not creating 2026-05-09 05:31:04,900 - INFO - Project ctest-TestRoutersBasic-45951520 not found, creating it 2026-05-09 05:31:05,347 - INFO - Created Project:ctest-TestRoutersBasic-45951520, ID : 611871d1-e5fb-410c-8fc0-779d94cda3d2 2026-05-09 05:31:06,758 - INFO - ================================================================================ 2026-05-09 05:31:06,758 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-09 05:31:06,759 - 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-05-09 05:31:07,025 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-05-09 05:31:07,025 - INFO - Initial checks done. Running the testcase now 2026-05-09 05:31:07,025 - INFO - 2026-05-09 05:31:07,721 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45951520 2026-05-09 05:31:07,817 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45951520 2026-05-09 05:31:08,128 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45951520', 'default']} 2026-05-09 05:31:08,418 - DEBUG - Response for create_network : {'network': {'id': '7f41d0a5-9d34-4362-842b-4fd17ef29b7a', 'name': 'ctest-vn-75097034', 'tenant_id': '611871d1e5fb410c8fc0779d94cda3d2', 'project_id': '611871d1e5fb410c8fc0779d94cda3d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45951520', 'ctest-vn-75097034'], 'port_security_enabled': True, 'description': ''}} 2026-05-09 05:31:08,618 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbdb0c82-0dd9-4a2f-a489-8ba77020e37d', 'name': '', 'tenant_id': '611871d1e5fb410c8fc0779d94cda3d2', 'network_id': '7f41d0a5-9d34-4362-842b-4fd17ef29b7a', 'ip_version': 4, 'cidr': '144.231.207.64/26', 'allocation_pools': [{'start': '144.231.207.66', 'end': '144.231.207.126'}], 'gateway_ip': '144.231.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.231.207.66', 'tags': [], 'project_id': '611871d1e5fb410c8fc0779d94cda3d2'}} 2026-05-09 05:31:08,633 - INFO - Created VN ctest-vn-75097034 2026-05-09 05:31:08,685 - DEBUG - VN ctest-vn-75097034 UUID is 7f41d0a5-9d34-4362-842b-4fd17ef29b7a 2026-05-09 05:31:09,005 - DEBUG - Response for create_network : {'network': {'id': 'e41cb63b-71db-4b0f-8a76-ca9844bdf659', 'name': 'ctest-ext_vn-27156552', 'tenant_id': '611871d1e5fb410c8fc0779d94cda3d2', 'project_id': '611871d1e5fb410c8fc0779d94cda3d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45951520', 'ctest-ext_vn-27156552'], 'port_security_enabled': True, 'description': ''}} 2026-05-09 05:31:09,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '70c431a2-d10d-4283-9d21-6ed511e47815', 'name': '', 'tenant_id': '611871d1e5fb410c8fc0779d94cda3d2', 'network_id': 'e41cb63b-71db-4b0f-8a76-ca9844bdf659', 'ip_version': 4, 'cidr': '207.23.37.64/26', 'allocation_pools': [{'start': '207.23.37.66', 'end': '207.23.37.126'}], 'gateway_ip': '207.23.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.23.37.66', 'tags': [], 'project_id': '611871d1e5fb410c8fc0779d94cda3d2'}} 2026-05-09 05:31:09,217 - INFO - Created VN ctest-ext_vn-27156552 2026-05-09 05:31:09,272 - DEBUG - VN ctest-ext_vn-27156552 UUID is e41cb63b-71db-4b0f-8a76-ca9844bdf659 2026-05-09 05:31:09,460 - DEBUG - Services list from nova: [, , ] 2026-05-09 05:31:10,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5762-1) 2026-05-09 05:31:11,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5762-1) 2026-05-09 05:31:11,587 - INFO - Setting gateway for router 3e5f8c2d-891d-475f-8d76-c7d99bf7d29e to network e41cb63b-71db-4b0f-8a76-ca9844bdf659 2026-05-09 05:31:11,656 - INFO - Adding interface with subnet_id bbdb0c82-0dd9-4a2f-a489-8ba77020e37d, port_id None to router 3e5f8c2d-891d-475f-8d76-c7d99bf7d29e 2026-05-09 05:31:11,948 - INFO - Waiting for VM ctest-TestRoutersBasic-45951520-60931891 to be up.. 2026-05-09 05:31:12,118 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-09 05:31:17,189 - DEBUG - VM is in ACTIVE state now 2026-05-09 05:31:17,189 - INFO - VM name : ctest-TestRoutersBasic-45951520-60931891 2026-05-09 05:31:17,254 - DEBUG - VM ctest-TestRoutersBasic-45951520-60931891 ID is 02259b13-539e-4df1-816b-3d656ee987c5 2026-05-09 05:31:17,271 - DEBUG - VM ctest-TestRoutersBasic-45951520-60931891 launched on Node cn-jenkins-deploy-platform-ansible-os-5762-1 2026-05-09 05:31:17,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/02259b13-539e-4df1-816b-3d656ee987c5 2026-05-09 05:31:17,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/02259b13-539e-4df1-816b-3d656ee987c5 2026-05-09 05:31:17,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7ec672fe-4a07-4d82-975d-2c596af68361 2026-05-09 05:31:20,913 - 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 1019ms') 2026-05-09 05:31:20,913 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45951520-60931891 failed! 2026-05-09 05:31:20,965 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45951520:ctest-vn-75097034 is 144.231.207.65 and allocation pool is NOT set 2026-05-09 05:31:23,031 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.695/2.749/3.804/1.054 ms') 2026-05-09 05:31:23,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45951520-60931891 passed 2026-05-09 05:31:23,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:31:23,181 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45951520-60931891, IP 144.231.207.67, Port 22 2026-05-09 05:31:23,336 - DEBUG - VM ctest-TestRoutersBasic-45951520-60931891 is ready for SSH connections 2026-05-09 05:31:23,336 - INFO - Waiting for VM ctest-TestRoutersBasic-45951520-20213705 to be up.. 2026-05-09 05:31:23,404 - DEBUG - VM is in ACTIVE state now 2026-05-09 05:31:23,404 - INFO - VM name : ctest-TestRoutersBasic-45951520-20213705 2026-05-09 05:31:23,471 - DEBUG - VM ctest-TestRoutersBasic-45951520-20213705 ID is a42277ea-80ab-448b-9421-27ff64f752ec 2026-05-09 05:31:23,471 - DEBUG - VM ctest-TestRoutersBasic-45951520-20213705 launched on Node cn-jenkins-deploy-platform-ansible-os-5762-1 2026-05-09 05:31:23,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a42277ea-80ab-448b-9421-27ff64f752ec 2026-05-09 05:31:23,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c9555a4c-1a2a-458a-8323-4bee42aefa84 2026-05-09 05:31:24,826 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.366 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.366/1.610/2.854/1.244 ms') 2026-05-09 05:31:24,826 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45951520-20213705 passed 2026-05-09 05:31:24,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:31:24,973 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45951520-20213705, IP 207.23.37.67, Port 22 2026-05-09 05:31:25,132 - DEBUG - VM ctest-TestRoutersBasic-45951520-20213705 is ready for SSH connections 2026-05-09 05:31:25,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:31:25,132 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.23.37.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-09 05:31:25,132 - DEBUG - ping -s 56 -c 3 -W 1 207.23.37.67 2026-05-09 05:31:28,802 - DEBUG - PING 207.23.37.67 (207.23.37.67): 56 data bytes 64 bytes from 207.23.37.67: seq=0 ttl=62 time=5.296 ms 64 bytes from 207.23.37.67: seq=1 ttl=62 time=0.938 ms 64 bytes from 207.23.37.67: seq=2 ttl=62 time=1.321 ms --- 207.23.37.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.518/5.296 ms 2026-05-09 05:31:28,802 - INFO - Ping to IP 207.23.37.67 from VM ctest-TestRoutersBasic-45951520-60931891 passed 2026-05-09 05:31:28,803 - INFO - Deleting interface with subnet_id bbdb0c82-0dd9-4a2f-a489-8ba77020e37d, port_id None from router 3e5f8c2d-891d-475f-8d76-c7d99bf7d29e 2026-05-09 05:31:28,964 - INFO - Deleting VM ctest-TestRoutersBasic-45951520-20213705 2026-05-09 05:31:29,033 - INFO - Deleting VM ctest-TestRoutersBasic-45951520-60931891 2026-05-09 05:31:29,105 - INFO - Deleting VN ctest-ext_vn-27156552 2026-05-09 05:31:29,164 - DEBUG - VN e41cb63b-71db-4b0f-8a76-ca9844bdf659 still in use: Unable to complete operation on network e41cb63b-71db-4b0f-8a76-ca9844bdf659. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c70b082d-3a37-4f3d-aff1-aa812bceb278'] 2026-05-09 05:31:29,165 - WARNING - Deleting VN ctest-ext_vn-27156552 failed..Will retry 2026-05-09 05:31:31,255 - DEBUG - Response for deleting network () 2026-05-09 05:31:31,255 - INFO - Deleting VN ctest-vn-75097034 2026-05-09 05:31:31,341 - DEBUG - Response for deleting network () 2026-05-09 05:31:31,597 - DEBUG - No XMPP flaps were noticed during the test
2026-05-09 05:31:31,597 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-05-09 05:31:31,597 - INFO - -------------------------------------------------------------------------------- 2026-05-09 05:31:32,270 - INFO - Deleted project: ctest-TestRoutersBasic-45951520, ID : 611871d1-e5fb-410c-8fc0-779d94cda3d2