2026-01-29 13:29:55,499 - INFO - Domain Default found not creating 2026-01-29 13:29:55,686 - INFO - Project ctest-TestRoutersBasic-00433460 not found, creating it 2026-01-29 13:29:56,148 - INFO - Created Project:ctest-TestRoutersBasic-00433460, ID : 6137ff3a-d8df-4672-b319-02fc0d81e3b0 2026-01-29 13:29:57,638 - INFO - ================================================================================ 2026-01-29 13:29:57,638 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 13:29:57,638 - 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-01-29 13:29:57,895 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.129': '0'}} with 2026-01-29 13:29:57,895 - INFO - Initial checks done. Running the testcase now 2026-01-29 13:29:57,895 - INFO - 2026-01-29 13:29:58,607 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00433460 2026-01-29 13:29:58,702 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00433460 2026-01-29 13:29:59,022 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00433460', 'default']} 2026-01-29 13:29:59,310 - DEBUG - Response for create_network : {'network': {'id': 'f12bfe19-768b-4b3f-ad1b-ac9862d66a7e', 'name': 'ctest-vn-81103342', 'tenant_id': '6137ff3ad8df4672b31902fc0d81e3b0', 'project_id': '6137ff3ad8df4672b31902fc0d81e3b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00433460', 'ctest-vn-81103342'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:29:59,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '28359c16-5c30-4653-bc7f-a8486fe99766', 'name': '', 'tenant_id': '6137ff3ad8df4672b31902fc0d81e3b0', 'network_id': 'f12bfe19-768b-4b3f-ad1b-ac9862d66a7e', 'ip_version': 4, 'cidr': '59.158.92.0/26', 'allocation_pools': [{'start': '59.158.92.2', 'end': '59.158.92.62'}], 'gateway_ip': '59.158.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.158.92.2', 'tags': [], 'project_id': '6137ff3ad8df4672b31902fc0d81e3b0'}} 2026-01-29 13:29:59,487 - INFO - Created VN ctest-vn-81103342 2026-01-29 13:29:59,538 - DEBUG - VN ctest-vn-81103342 UUID is f12bfe19-768b-4b3f-ad1b-ac9862d66a7e 2026-01-29 13:29:59,885 - DEBUG - Response for create_network : {'network': {'id': '1481457b-8be5-4003-a3db-869ff447b948', 'name': 'ctest-ext_vn-37157563', 'tenant_id': '6137ff3ad8df4672b31902fc0d81e3b0', 'project_id': '6137ff3ad8df4672b31902fc0d81e3b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00433460', 'ctest-ext_vn-37157563'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:30:00,094 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b1e3db2-3598-44ea-b28d-b6201daad4cf', 'name': '', 'tenant_id': '6137ff3ad8df4672b31902fc0d81e3b0', 'network_id': '1481457b-8be5-4003-a3db-869ff447b948', 'ip_version': 4, 'cidr': '171.158.192.0/26', 'allocation_pools': [{'start': '171.158.192.2', 'end': '171.158.192.62'}], 'gateway_ip': '171.158.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.158.192.2', 'tags': [], 'project_id': '6137ff3ad8df4672b31902fc0d81e3b0'}} 2026-01-29 13:30:00,110 - INFO - Created VN ctest-ext_vn-37157563 2026-01-29 13:30:00,162 - DEBUG - VN ctest-ext_vn-37157563 UUID is 1481457b-8be5-4003-a3db-869ff447b948 2026-01-29 13:30:00,326 - DEBUG - Services list from nova: [, , ] 2026-01-29 13:30:01,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5128-1) 2026-01-29 13:30:02,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5128-1) 2026-01-29 13:30:02,598 - INFO - Setting gateway for router c8c9a4d7-2396-42e1-828b-e67416107596 to network 1481457b-8be5-4003-a3db-869ff447b948 2026-01-29 13:30:02,679 - INFO - Adding interface with subnet_id 28359c16-5c30-4653-bc7f-a8486fe99766, port_id None to router c8c9a4d7-2396-42e1-828b-e67416107596 2026-01-29 13:30:03,042 - INFO - Waiting for VM ctest-TestRoutersBasic-00433460-08385842 to be up.. 2026-01-29 13:30:03,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 13:30:08,271 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:30:08,271 - INFO - VM name : ctest-TestRoutersBasic-00433460-08385842 2026-01-29 13:30:08,349 - DEBUG - VM ctest-TestRoutersBasic-00433460-08385842 ID is b88d79dc-5e28-467b-96a3-04030fcc4bff 2026-01-29 13:30:08,368 - DEBUG - VM ctest-TestRoutersBasic-00433460-08385842 launched on Node cn-jenkins-deploy-platform-ansible-os-5128-1 2026-01-29 13:30:08,440 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b88d79dc-5e28-467b-96a3-04030fcc4bff 2026-01-29 13:30:08,750 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b88d79dc-5e28-467b-96a3-04030fcc4bff 2026-01-29 13:30:08,788 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6d206fb5-b3dc-4653-88c9-aa632f5fcde1 2026-01-29 13:30:12,034 - 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 1006ms') 2026-01-29 13:30:12,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00433460-08385842 failed! 2026-01-29 13:30:12,086 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00433460:ctest-vn-81103342 is 59.158.92.1 and allocation pool is NOT set 2026-01-29 13:30:14,145 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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.411/2.120/3.830/1.709 ms') 2026-01-29 13:30:14,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00433460-08385842 passed 2026-01-29 13:30:14,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:30:14,299 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00433460-08385842, IP 59.158.92.3, Port 22 2026-01-29 13:30:14,466 - DEBUG - VM ctest-TestRoutersBasic-00433460-08385842 is ready for SSH connections 2026-01-29 13:30:14,466 - INFO - Waiting for VM ctest-TestRoutersBasic-00433460-42655473 to be up.. 2026-01-29 13:30:14,543 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:30:14,543 - INFO - VM name : ctest-TestRoutersBasic-00433460-42655473 2026-01-29 13:30:14,617 - DEBUG - VM ctest-TestRoutersBasic-00433460-42655473 ID is 74530e54-8729-4878-9c26-ab86c00aba5c 2026-01-29 13:30:14,617 - DEBUG - VM ctest-TestRoutersBasic-00433460-42655473 launched on Node cn-jenkins-deploy-platform-ansible-os-5128-1 2026-01-29 13:30:14,708 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/74530e54-8729-4878-9c26-ab86c00aba5c 2026-01-29 13:30:14,721 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9d4879ea-9bf9-4ca2-ae07-a17e8b9cfd9c 2026-01-29 13:30:15,960 - 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.76 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.621/2.757/1.136 ms') 2026-01-29 13:30:15,960 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00433460-42655473 passed 2026-01-29 13:30:16,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:30:16,110 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00433460-42655473, IP 171.158.192.3, Port 22 2026-01-29 13:30:16,270 - DEBUG - VM ctest-TestRoutersBasic-00433460-42655473 is ready for SSH connections 2026-01-29 13:30:16,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:30:16,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.158.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-29 13:30:16,270 - DEBUG - ping -s 56 -c 3 -W 1 171.158.192.3 2026-01-29 13:30:20,023 - DEBUG - PING 171.158.192.3 (171.158.192.3): 56 data bytes 64 bytes from 171.158.192.3: seq=0 ttl=62 time=5.743 ms 64 bytes from 171.158.192.3: seq=1 ttl=62 time=1.070 ms 64 bytes from 171.158.192.3: seq=2 ttl=62 time=1.370 ms --- 171.158.192.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.070/2.727/5.743 ms 2026-01-29 13:30:20,024 - INFO - Ping to IP 171.158.192.3 from VM ctest-TestRoutersBasic-00433460-08385842 passed 2026-01-29 13:30:20,024 - INFO - Deleting interface with subnet_id 28359c16-5c30-4653-bc7f-a8486fe99766, port_id None from router c8c9a4d7-2396-42e1-828b-e67416107596 2026-01-29 13:30:20,200 - INFO - Deleting VM ctest-TestRoutersBasic-00433460-42655473 2026-01-29 13:30:20,271 - INFO - Deleting VM ctest-TestRoutersBasic-00433460-08385842 2026-01-29 13:30:20,354 - INFO - Deleting VN ctest-ext_vn-37157563 2026-01-29 13:30:20,414 - DEBUG - VN 1481457b-8be5-4003-a3db-869ff447b948 still in use: Unable to complete operation on network 1481457b-8be5-4003-a3db-869ff447b948. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-370852ac-ec7f-43f2-ac8f-4738df6e4af3'] 2026-01-29 13:30:20,414 - WARNING - Deleting VN ctest-ext_vn-37157563 failed..Will retry 2026-01-29 13:30:22,518 - DEBUG - Response for deleting network () 2026-01-29 13:30:22,518 - INFO - Deleting VN ctest-vn-81103342 2026-01-29 13:30:22,612 - DEBUG - Response for deleting network () 2026-01-29 13:30:22,867 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 13:30:22,867 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-29 13:30:22,867 - INFO - -------------------------------------------------------------------------------- 2026-01-29 13:30:23,536 - INFO - Deleted project: ctest-TestRoutersBasic-00433460, ID : 6137ff3a-d8df-4672-b319-02fc0d81e3b0