2026-01-29 02:09:32,957 - INFO - Domain Default found not creating 2026-01-29 02:09:33,131 - INFO - Project ctest-TestRoutersBasic-82804215 not found, creating it 2026-01-29 02:09:33,636 - INFO - Created Project:ctest-TestRoutersBasic-82804215, ID : 94a444c1-9e11-4319-bbb2-a6a47d6e6a2f 2026-01-29 02:09:35,272 - INFO - ================================================================================ 2026-01-29 02:09:35,272 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 02:09:35,273 - 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 02:09:35,537 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2026-01-29 02:09:35,537 - INFO - Initial checks done. Running the testcase now 2026-01-29 02:09:35,537 - INFO - 2026-01-29 02:09:36,338 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82804215 2026-01-29 02:09:36,435 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82804215 2026-01-29 02:09:36,759 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82804215', 'default']} 2026-01-29 02:09:37,055 - DEBUG - Response for create_network : {'network': {'id': 'ba5a6a68-ae53-4da6-a3e4-9795ec70e983', 'name': 'ctest-vn-57810976', 'tenant_id': '94a444c19e114319bbb2a6a47d6e6a2f', 'project_id': '94a444c19e114319bbb2a6a47d6e6a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82804215', 'ctest-vn-57810976'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:09:37,260 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d0872ef-bc52-48ae-8444-4c0aec815ee8', 'name': '', 'tenant_id': '94a444c19e114319bbb2a6a47d6e6a2f', 'network_id': 'ba5a6a68-ae53-4da6-a3e4-9795ec70e983', 'ip_version': 4, 'cidr': '66.176.65.64/26', 'allocation_pools': [{'start': '66.176.65.66', 'end': '66.176.65.126'}], 'gateway_ip': '66.176.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.176.65.66', 'tags': [], 'project_id': '94a444c19e114319bbb2a6a47d6e6a2f'}} 2026-01-29 02:09:37,280 - INFO - Created VN ctest-vn-57810976 2026-01-29 02:09:37,335 - DEBUG - VN ctest-vn-57810976 UUID is ba5a6a68-ae53-4da6-a3e4-9795ec70e983 2026-01-29 02:09:37,685 - DEBUG - Response for create_network : {'network': {'id': '65d762ac-2622-4c82-82fa-e5ef6833f969', 'name': 'ctest-ext_vn-69344270', 'tenant_id': '94a444c19e114319bbb2a6a47d6e6a2f', 'project_id': '94a444c19e114319bbb2a6a47d6e6a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82804215', 'ctest-ext_vn-69344270'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:09:37,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a33c39a8-6ca6-4ef7-b692-e16bfaf52369', 'name': '', 'tenant_id': '94a444c19e114319bbb2a6a47d6e6a2f', 'network_id': '65d762ac-2622-4c82-82fa-e5ef6833f969', 'ip_version': 4, 'cidr': '71.118.184.0/26', 'allocation_pools': [{'start': '71.118.184.2', 'end': '71.118.184.62'}], 'gateway_ip': '71.118.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.118.184.2', 'tags': [], 'project_id': '94a444c19e114319bbb2a6a47d6e6a2f'}} 2026-01-29 02:09:37,892 - INFO - Created VN ctest-ext_vn-69344270 2026-01-29 02:09:37,943 - DEBUG - VN ctest-ext_vn-69344270 UUID is 65d762ac-2622-4c82-82fa-e5ef6833f969 2026-01-29 02:09:38,113 - DEBUG - Services list from nova: [, , ] 2026-01-29 02:09:39,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5113-1) 2026-01-29 02:09:40,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5113-1) 2026-01-29 02:09:40,634 - INFO - Setting gateway for router 4c422418-f400-4129-9900-d37c5b9ff7b4 to network 65d762ac-2622-4c82-82fa-e5ef6833f969 2026-01-29 02:09:40,715 - INFO - Adding interface with subnet_id 6d0872ef-bc52-48ae-8444-4c0aec815ee8, port_id None to router 4c422418-f400-4129-9900-d37c5b9ff7b4 2026-01-29 02:09:41,051 - INFO - Waiting for VM ctest-TestRoutersBasic-82804215-12346217 to be up.. 2026-01-29 02:09:41,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 02:09:46,251 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:09:46,251 - INFO - VM name : ctest-TestRoutersBasic-82804215-12346217 2026-01-29 02:09:46,328 - DEBUG - VM ctest-TestRoutersBasic-82804215-12346217 ID is 31503196-e4c0-4a1b-9d2f-b9b770d0d9ea 2026-01-29 02:09:46,347 - DEBUG - VM ctest-TestRoutersBasic-82804215-12346217 launched on Node cn-jenkins-deploy-platform-ansible-os-5113-1 2026-01-29 02:09:46,423 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/31503196-e4c0-4a1b-9d2f-b9b770d0d9ea 2026-01-29 02:09:46,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/31503196-e4c0-4a1b-9d2f-b9b770d0d9ea 2026-01-29 02:09:46,793 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/10497a88-e0d8-466f-a755-5454e7f1f3ef 2026-01-29 02:09:50,054 - 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 1034ms') 2026-01-29 02:09:50,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82804215-12346217 failed! 2026-01-29 02:09:50,115 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82804215:ctest-vn-57810976 is 66.176.65.65 and allocation pool is NOT set 2026-01-29 02:09:52,184 - 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=5.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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 = 0.474/3.118/5.762/2.644 ms') 2026-01-29 02:09:52,184 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82804215-12346217 passed 2026-01-29 02:09:52,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:09:52,331 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82804215-12346217, IP 66.176.65.67, Port 22 2026-01-29 02:09:52,501 - DEBUG - VM ctest-TestRoutersBasic-82804215-12346217 is ready for SSH connections 2026-01-29 02:09:52,501 - INFO - Waiting for VM ctest-TestRoutersBasic-82804215-52032106 to be up.. 2026-01-29 02:09:52,579 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:09:52,580 - INFO - VM name : ctest-TestRoutersBasic-82804215-52032106 2026-01-29 02:09:52,654 - DEBUG - VM ctest-TestRoutersBasic-82804215-52032106 ID is 8a088366-f80f-4e62-9838-a9d4346e5e3e 2026-01-29 02:09:52,655 - DEBUG - VM ctest-TestRoutersBasic-82804215-52032106 launched on Node cn-jenkins-deploy-platform-ansible-os-5113-1 2026-01-29 02:09:52,730 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8a088366-f80f-4e62-9838-a9d4346e5e3e 2026-01-29 02:09:52,738 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d5044379-5464-4082-a57d-6b8911b01692 2026-01-29 02:09:53,976 - 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=5.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.06 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 = 2.061/3.719/5.378/1.658 ms') 2026-01-29 02:09:53,977 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82804215-52032106 passed 2026-01-29 02:09:54,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:09:54,128 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82804215-52032106, IP 71.118.184.3, Port 22 2026-01-29 02:09:54,283 - DEBUG - VM ctest-TestRoutersBasic-82804215-52032106 is ready for SSH connections 2026-01-29 02:09:54,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:09:54,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.118.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-29 02:09:54,283 - DEBUG - ping -s 56 -c 3 -W 1 71.118.184.3 2026-01-29 02:09:58,050 - DEBUG - PING 71.118.184.3 (71.118.184.3): 56 data bytes 64 bytes from 71.118.184.3: seq=0 ttl=62 time=6.389 ms 64 bytes from 71.118.184.3: seq=1 ttl=62 time=0.885 ms 64 bytes from 71.118.184.3: seq=2 ttl=62 time=0.836 ms --- 71.118.184.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/2.703/6.389 ms 2026-01-29 02:09:58,051 - INFO - Ping to IP 71.118.184.3 from VM ctest-TestRoutersBasic-82804215-12346217 passed 2026-01-29 02:09:58,051 - INFO - Deleting interface with subnet_id 6d0872ef-bc52-48ae-8444-4c0aec815ee8, port_id None from router 4c422418-f400-4129-9900-d37c5b9ff7b4 2026-01-29 02:09:58,227 - INFO - Deleting VM ctest-TestRoutersBasic-82804215-52032106 2026-01-29 02:09:58,302 - INFO - Deleting VM ctest-TestRoutersBasic-82804215-12346217 2026-01-29 02:09:58,392 - INFO - Deleting VN ctest-ext_vn-69344270 2026-01-29 02:09:58,474 - DEBUG - VN 65d762ac-2622-4c82-82fa-e5ef6833f969 still in use: Unable to complete operation on network 65d762ac-2622-4c82-82fa-e5ef6833f969. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-69aea19f-2d8d-4f44-b081-0dddb0e5d436'] 2026-01-29 02:09:58,474 - WARNING - Deleting VN ctest-ext_vn-69344270 failed..Will retry 2026-01-29 02:10:00,579 - DEBUG - Response for deleting network () 2026-01-29 02:10:00,579 - INFO - Deleting VN ctest-vn-57810976 2026-01-29 02:10:00,684 - DEBUG - Response for deleting network () 2026-01-29 02:10:00,940 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 02:10:00,940 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-29 02:10:00,940 - INFO - -------------------------------------------------------------------------------- 2026-01-29 02:10:01,704 - INFO - Deleted project: ctest-TestRoutersBasic-82804215, ID : 94a444c1-9e11-4319-bbb2-a6a47d6e6a2f