2026-03-27 11:13:58,263 - INFO - Domain Default found not creating 2026-03-27 11:13:58,416 - INFO - Project ctest-TestRoutersBasic-88158638 not found, creating it 2026-03-27 11:13:58,841 - INFO - Created Project:ctest-TestRoutersBasic-88158638, ID : 92b8eb3a-5b16-4d20-b21a-e492247de3f2 2026-03-27 11:14:00,240 - INFO - ================================================================================ 2026-03-27 11:14:00,240 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-27 11:14:00,240 - 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-27 11:14:00,496 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2026-03-27 11:14:00,496 - INFO - Initial checks done. Running the testcase now 2026-03-27 11:14:00,496 - INFO - 2026-03-27 11:14:01,181 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88158638 2026-03-27 11:14:01,279 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88158638 2026-03-27 11:14:01,603 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88158638', 'default']} 2026-03-27 11:14:01,900 - DEBUG - Response for create_network : {'network': {'id': '14e7c8ea-e5f9-4d90-848e-a2d2ca03227c', 'name': 'ctest-vn-79919711', 'tenant_id': '92b8eb3a5b164d20b21ae492247de3f2', 'project_id': '92b8eb3a5b164d20b21ae492247de3f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88158638', 'ctest-vn-79919711'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 11:14:02,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1d84856-5a73-419a-87cb-56b6c529aa1b', 'name': '', 'tenant_id': '92b8eb3a5b164d20b21ae492247de3f2', 'network_id': '14e7c8ea-e5f9-4d90-848e-a2d2ca03227c', 'ip_version': 4, 'cidr': '11.172.2.0/26', 'allocation_pools': [{'start': '11.172.2.2', 'end': '11.172.2.62'}], 'gateway_ip': '11.172.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.172.2.2', 'tags': [], 'project_id': '92b8eb3a5b164d20b21ae492247de3f2'}} 2026-03-27 11:14:02,090 - INFO - Created VN ctest-vn-79919711 2026-03-27 11:14:02,143 - DEBUG - VN ctest-vn-79919711 UUID is 14e7c8ea-e5f9-4d90-848e-a2d2ca03227c 2026-03-27 11:14:02,465 - DEBUG - Response for create_network : {'network': {'id': 'f6a51b5c-835d-4e3a-bed1-e7e6768fbec0', 'name': 'ctest-ext_vn-86726721', 'tenant_id': '92b8eb3a5b164d20b21ae492247de3f2', 'project_id': '92b8eb3a5b164d20b21ae492247de3f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88158638', 'ctest-ext_vn-86726721'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 11:14:02,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '3439393b-b393-4343-a1f6-ccc844292e8d', 'name': '', 'tenant_id': '92b8eb3a5b164d20b21ae492247de3f2', 'network_id': 'f6a51b5c-835d-4e3a-bed1-e7e6768fbec0', 'ip_version': 4, 'cidr': '31.53.32.64/26', 'allocation_pools': [{'start': '31.53.32.66', 'end': '31.53.32.126'}], 'gateway_ip': '31.53.32.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.53.32.66', 'tags': [], 'project_id': '92b8eb3a5b164d20b21ae492247de3f2'}} 2026-03-27 11:14:02,663 - INFO - Created VN ctest-ext_vn-86726721 2026-03-27 11:14:02,711 - DEBUG - VN ctest-ext_vn-86726721 UUID is f6a51b5c-835d-4e3a-bed1-e7e6768fbec0 2026-03-27 11:14:02,906 - DEBUG - Services list from nova: [, , ] 2026-03-27 11:14:03,887 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5549-1) 2026-03-27 11:14:04,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5549-1) 2026-03-27 11:14:05,018 - INFO - Setting gateway for router e16f0868-0c2f-46af-93de-3dc49d226d04 to network f6a51b5c-835d-4e3a-bed1-e7e6768fbec0 2026-03-27 11:14:05,087 - INFO - Adding interface with subnet_id b1d84856-5a73-419a-87cb-56b6c529aa1b, port_id None to router e16f0868-0c2f-46af-93de-3dc49d226d04 2026-03-27 11:14:05,486 - INFO - Waiting for VM ctest-TestRoutersBasic-88158638-65682897 to be up.. 2026-03-27 11:14:05,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-27 11:14:10,679 - DEBUG - VM is in ACTIVE state now 2026-03-27 11:14:10,679 - INFO - VM name : ctest-TestRoutersBasic-88158638-65682897 2026-03-27 11:14:10,751 - DEBUG - VM ctest-TestRoutersBasic-88158638-65682897 ID is ce79895b-60bb-4bb9-a1fb-d29e045965e4 2026-03-27 11:14:10,769 - DEBUG - VM ctest-TestRoutersBasic-88158638-65682897 launched on Node cn-jenkins-deploy-platform-ansible-os-5549-1 2026-03-27 11:14:10,837 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ce79895b-60bb-4bb9-a1fb-d29e045965e4 2026-03-27 11:14:11,128 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ce79895b-60bb-4bb9-a1fb-d29e045965e4 2026-03-27 11:14:11,159 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4eee9036-3c51-46ed-90c6-e9b22e1ea3aa 2026-03-27 11:14:14,407 - 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 1023ms') 2026-03-27 11:14:14,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88158638-65682897 failed! 2026-03-27 11:14:14,459 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88158638:ctest-vn-79919711 is 11.172.2.1 and allocation pool is NOT set 2026-03-27 11:14:16,520 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.397 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.397/1.525/2.654/1.128 ms') 2026-03-27 11:14:16,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88158638-65682897 passed 2026-03-27 11:14:16,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 11:14:16,667 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88158638-65682897, IP 11.172.2.3, Port 22 2026-03-27 11:14:16,822 - DEBUG - VM ctest-TestRoutersBasic-88158638-65682897 is ready for SSH connections 2026-03-27 11:14:16,822 - INFO - Waiting for VM ctest-TestRoutersBasic-88158638-91372805 to be up.. 2026-03-27 11:14:16,891 - DEBUG - VM is in ACTIVE state now 2026-03-27 11:14:16,891 - INFO - VM name : ctest-TestRoutersBasic-88158638-91372805 2026-03-27 11:14:16,958 - DEBUG - VM ctest-TestRoutersBasic-88158638-91372805 ID is 81d6d329-9fdb-4f52-8ec5-c902511f3919 2026-03-27 11:14:16,958 - DEBUG - VM ctest-TestRoutersBasic-88158638-91372805 launched on Node cn-jenkins-deploy-platform-ansible-os-5549-1 2026-03-27 11:14:17,019 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/81d6d329-9fdb-4f52-8ec5-c902511f3919 2026-03-27 11:14:17,025 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f9aec9fb-ab21-4bd4-b8af-64241eb1b3a4 2026-03-27 11:14:18,259 - 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=4.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.94 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.938/3.466/4.994/1.528 ms') 2026-03-27 11:14:18,260 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88158638-91372805 passed 2026-03-27 11:14:18,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 11:14:18,408 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88158638-91372805, IP 31.53.32.67, Port 22 2026-03-27 11:14:18,462 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-27 11:14:18,532 - DEBUG - VM ctest-TestRoutersBasic-88158638-91372805 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-27 11:14:23,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 11:14:23,533 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88158638-91372805, IP 31.53.32.67, Port 22 2026-03-27 11:14:23,683 - DEBUG - VM ctest-TestRoutersBasic-88158638-91372805 is ready for SSH connections 2026-03-27 11:14:23,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 11:14:23,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.53.32.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-27 11:14:23,683 - DEBUG - ping -s 56 -c 3 -W 1 31.53.32.67 2026-03-27 11:14:27,649 - DEBUG - PING 31.53.32.67 (31.53.32.67): 56 data bytes 64 bytes from 31.53.32.67: seq=0 ttl=62 time=4.682 ms 64 bytes from 31.53.32.67: seq=1 ttl=62 time=0.929 ms 64 bytes from 31.53.32.67: seq=2 ttl=62 time=0.737 ms --- 31.53.32.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.737/2.116/4.682 ms 2026-03-27 11:14:27,650 - INFO - Ping to IP 31.53.32.67 from VM ctest-TestRoutersBasic-88158638-65682897 passed 2026-03-27 11:14:27,650 - INFO - Deleting interface with subnet_id b1d84856-5a73-419a-87cb-56b6c529aa1b, port_id None from router e16f0868-0c2f-46af-93de-3dc49d226d04 2026-03-27 11:14:27,803 - INFO - Deleting VM ctest-TestRoutersBasic-88158638-91372805 2026-03-27 11:14:27,867 - INFO - Deleting VM ctest-TestRoutersBasic-88158638-65682897 2026-03-27 11:14:27,935 - INFO - Deleting VN ctest-ext_vn-86726721 2026-03-27 11:14:27,989 - DEBUG - VN f6a51b5c-835d-4e3a-bed1-e7e6768fbec0 still in use: Unable to complete operation on network f6a51b5c-835d-4e3a-bed1-e7e6768fbec0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81e2ee3b-e616-482f-9a03-545fe4240989'] 2026-03-27 11:14:27,989 - WARNING - Deleting VN ctest-ext_vn-86726721 failed..Will retry 2026-03-27 11:14:30,078 - DEBUG - Response for deleting network () 2026-03-27 11:14:30,079 - INFO - Deleting VN ctest-vn-79919711 2026-03-27 11:14:30,166 - DEBUG - Response for deleting network () 2026-03-27 11:14:30,420 - DEBUG - No XMPP flaps were noticed during the test
2026-03-27 11:14:30,420 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2026-03-27 11:14:30,420 - INFO - -------------------------------------------------------------------------------- 2026-03-27 11:14:31,117 - INFO - Deleted project: ctest-TestRoutersBasic-88158638, ID : 92b8eb3a-5b16-4d20-b21a-e492247de3f2