2026-11-04 10:10:58,147 - INFO - Domain Default found not creating 2026-11-04 10:10:58,283 - INFO - Project ctest-TestRoutersBasic-07719399 not found, creating it 2026-11-04 10:10:58,731 - INFO - Created Project:ctest-TestRoutersBasic-07719399, ID : b4b9a813-ea09-4a1d-921e-4998124bc7e7 2026-11-04 10:11:00,189 - INFO - ================================================================================ 2026-11-04 10:11:00,189 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-04 10:11:00,189 - 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-11-04 10:11:00,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-11-04 10:11:00,440 - INFO - Initial checks done. Running the testcase now 2026-11-04 10:11:00,440 - INFO - 2026-11-04 10:11:01,203 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07719399 2026-11-04 10:11:01,296 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07719399 2026-11-04 10:11:01,607 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07719399', 'default']} 2026-11-04 10:11:01,878 - DEBUG - Response for create_network : {'network': {'id': 'a70798d9-06d0-432f-9b25-b66fffc09b49', 'name': 'ctest-vn-48949897', 'tenant_id': 'b4b9a813ea094a1d921e4998124bc7e7', 'project_id': 'b4b9a813ea094a1d921e4998124bc7e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07719399', 'ctest-vn-48949897'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:11:02,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '66074aad-73f4-42e9-949d-2c01f02fba2d', 'name': '', 'tenant_id': 'b4b9a813ea094a1d921e4998124bc7e7', 'network_id': 'a70798d9-06d0-432f-9b25-b66fffc09b49', 'ip_version': 4, 'cidr': '135.183.223.192/26', 'allocation_pools': [{'start': '135.183.223.194', 'end': '135.183.223.254'}], 'gateway_ip': '135.183.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.183.223.194', 'tags': [], 'project_id': 'b4b9a813ea094a1d921e4998124bc7e7'}} 2026-11-04 10:11:02,098 - INFO - Created VN ctest-vn-48949897 2026-11-04 10:11:02,148 - DEBUG - VN ctest-vn-48949897 UUID is a70798d9-06d0-432f-9b25-b66fffc09b49 2026-11-04 10:11:02,498 - DEBUG - Response for create_network : {'network': {'id': 'bb7d85c8-7e0c-4776-9362-4ca65e90b55b', 'name': 'ctest-ext_vn-93833787', 'tenant_id': 'b4b9a813ea094a1d921e4998124bc7e7', 'project_id': 'b4b9a813ea094a1d921e4998124bc7e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07719399', 'ctest-ext_vn-93833787'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:11:02,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a6c2b1a-570e-4159-b78c-d6c1c2f937e6', 'name': '', 'tenant_id': 'b4b9a813ea094a1d921e4998124bc7e7', 'network_id': 'bb7d85c8-7e0c-4776-9362-4ca65e90b55b', 'ip_version': 4, 'cidr': '22.211.47.64/26', 'allocation_pools': [{'start': '22.211.47.66', 'end': '22.211.47.126'}], 'gateway_ip': '22.211.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.211.47.66', 'tags': [], 'project_id': 'b4b9a813ea094a1d921e4998124bc7e7'}} 2026-11-04 10:11:02,703 - INFO - Created VN ctest-ext_vn-93833787 2026-11-04 10:11:02,756 - DEBUG - VN ctest-ext_vn-93833787 UUID is bb7d85c8-7e0c-4776-9362-4ca65e90b55b 2026-11-04 10:11:02,944 - DEBUG - Services list from nova: [, , ] 2026-11-04 10:11:03,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6479-1) 2026-11-04 10:11:03,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6479-1) 2026-11-04 10:11:03,707 - INFO - Setting gateway for router d1648afc-4afa-4a52-a5aa-970711cdbe6a to network bb7d85c8-7e0c-4776-9362-4ca65e90b55b 2026-11-04 10:11:03,756 - INFO - Adding interface with subnet_id 66074aad-73f4-42e9-949d-2c01f02fba2d, port_id None to router d1648afc-4afa-4a52-a5aa-970711cdbe6a 2026-11-04 10:11:03,984 - INFO - Waiting for VM ctest-TestRoutersBasic-07719399-13780294 to be up.. 2026-11-04 10:11:04,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:11:09,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:11:14,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:11:19,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:11:24,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:11:29,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:11:34,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:11:39,487 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:11:39,487 - INFO - VM name : ctest-TestRoutersBasic-07719399-13780294 2026-11-04 10:11:39,547 - DEBUG - VM ctest-TestRoutersBasic-07719399-13780294 ID is b0ae6417-573a-45e4-8607-ea9bf5958735 2026-11-04 10:11:39,563 - DEBUG - VM ctest-TestRoutersBasic-07719399-13780294 launched on Node cn-jenkins-deploy-platform-ansible-os-6479-1 2026-11-04 10:11:39,623 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/b0ae6417-573a-45e4-8607-ea9bf5958735 2026-11-04 10:11:39,938 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/b0ae6417-573a-45e4-8607-ea9bf5958735 2026-11-04 10:11:39,962 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/9b52f4fb-6fe9-4450-831b-62547d4e5a4b 2026-11-04 10:11:43,207 - 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 1012ms') 2026-11-04 10:11:43,207 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07719399-13780294 failed! 2026-11-04 10:11:43,260 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07719399:ctest-vn-48949897 is 135.183.223.193 and allocation pool is NOT set 2026-11-04 10:11:45,317 - 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.03 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.478 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.478/2.254/4.031/1.776 ms') 2026-11-04 10:11:45,317 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07719399-13780294 passed 2026-11-04 10:11:45,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:11:45,464 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07719399-13780294, IP 135.183.223.195, Port 22 2026-11-04 10:11:45,615 - DEBUG - VM ctest-TestRoutersBasic-07719399-13780294 is ready for SSH connections 2026-11-04 10:11:45,615 - INFO - Waiting for VM ctest-TestRoutersBasic-07719399-60210999 to be up.. 2026-11-04 10:11:45,728 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:11:45,728 - INFO - VM name : ctest-TestRoutersBasic-07719399-60210999 2026-11-04 10:11:45,787 - DEBUG - VM ctest-TestRoutersBasic-07719399-60210999 ID is 18469552-796b-4a9f-8b02-83325b40894e 2026-11-04 10:11:45,788 - DEBUG - VM ctest-TestRoutersBasic-07719399-60210999 launched on Node cn-jenkins-deploy-platform-ansible-os-6479-1 2026-11-04 10:11:45,845 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/18469552-796b-4a9f-8b02-83325b40894e 2026-11-04 10:11:45,852 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/bbcc1086-2e04-4327-8e86-15536e1102f8 2026-11-04 10:11:49,096 - 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=2 ttl=63 time=3.39 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 3.388/3.388/3.388/0.000 ms') 2026-11-04 10:11:49,097 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-07719399-60210999 passed 2026-11-04 10:11:49,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:11:49,244 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07719399-60210999, IP 22.211.47.68, Port 22 2026-11-04 10:11:49,409 - DEBUG - VM ctest-TestRoutersBasic-07719399-60210999 is ready for SSH connections 2026-11-04 10:11:49,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:11:49,409 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.211.47.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-04 10:11:49,409 - DEBUG - ping -s 56 -c 3 -W 1 22.211.47.68 2026-11-04 10:11:52,269 - DEBUG - PING 22.211.47.68 (22.211.47.68): 56 data bytes 64 bytes from 22.211.47.68: seq=0 ttl=62 time=6.074 ms 64 bytes from 22.211.47.68: seq=1 ttl=62 time=0.819 ms 64 bytes from 22.211.47.68: seq=2 ttl=62 time=0.863 ms --- 22.211.47.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.585/6.074 ms 2026-11-04 10:11:52,269 - INFO - Ping to IP 22.211.47.68 from VM ctest-TestRoutersBasic-07719399-13780294 passed 2026-11-04 10:11:52,269 - INFO - Deleting interface with subnet_id 66074aad-73f4-42e9-949d-2c01f02fba2d, port_id None from router d1648afc-4afa-4a52-a5aa-970711cdbe6a 2026-11-04 10:11:52,435 - INFO - Deleting VM ctest-TestRoutersBasic-07719399-60210999 2026-11-04 10:11:52,498 - INFO - Deleting VM ctest-TestRoutersBasic-07719399-13780294 2026-11-04 10:11:52,565 - INFO - Deleting VN ctest-ext_vn-93833787 2026-11-04 10:11:52,616 - DEBUG - VN bb7d85c8-7e0c-4776-9362-4ca65e90b55b still in use: Unable to complete operation on network bb7d85c8-7e0c-4776-9362-4ca65e90b55b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-902020d5-2933-4dda-a7b7-d1857807c295'] 2026-11-04 10:11:52,617 - WARNING - Deleting VN ctest-ext_vn-93833787 failed..Will retry 2026-11-04 10:11:54,643 - DEBUG - VN bb7d85c8-7e0c-4776-9362-4ca65e90b55b still in use: Unable to complete operation on network bb7d85c8-7e0c-4776-9362-4ca65e90b55b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2deb9b86-d3b3-4807-9368-83f61a4411ac'] 2026-11-04 10:11:54,643 - WARNING - Deleting VN ctest-ext_vn-93833787 failed..Will retry 2026-11-04 10:11:56,733 - DEBUG - Response for deleting network () 2026-11-04 10:11:56,733 - INFO - Deleting VN ctest-vn-48949897 2026-11-04 10:11:56,832 - DEBUG - Response for deleting network () 2026-11-04 10:11:57,093 - DEBUG - No XMPP flaps were noticed during the test 2026-11-04 10:11:57,093 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:57] 2026-11-04 10:11:57,093 - INFO - -------------------------------------------------------------------------------- 2026-11-04 10:11:57,776 - INFO - Deleted project: ctest-TestRoutersBasic-07719399, ID : b4b9a813-ea09-4a1d-921e-4998124bc7e7