2025-09-16 20:06:31,461 - INFO - Domain Default found not creating 2025-09-16 20:06:31,602 - INFO - Project ctest-TestRoutersBasic-55155777 not found, creating it 2025-09-16 20:06:32,052 - INFO - Created Project:ctest-TestRoutersBasic-55155777, ID : 8a9aea84-40ec-424f-a2c4-a20d020d36af 2025-09-16 20:06:33,851 - INFO - ================================================================================ 2025-09-16 20:06:33,852 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-16 20:06:33,852 - 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 2025-09-16 20:06:34,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-16 20:06:34,110 - INFO - Initial checks done. Running the testcase now 2025-09-16 20:06:34,110 - INFO - 2025-09-16 20:06:34,815 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55155777 2025-09-16 20:06:34,913 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55155777 2025-09-16 20:06:35,237 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55155777', 'default']} 2025-09-16 20:06:35,539 - DEBUG - Response for create_network : {'network': {'id': '354105e1-9bf1-46c1-8600-00610cd4be49', 'name': 'ctest-vn-73774161', 'tenant_id': '8a9aea8440ec424fa2c4a20d020d36af', 'project_id': '8a9aea8440ec424fa2c4a20d020d36af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55155777', 'ctest-vn-73774161'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:06:35,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '8008f46c-dda1-4d95-913c-8f17b321fe50', 'name': '', 'tenant_id': '8a9aea8440ec424fa2c4a20d020d36af', 'network_id': '354105e1-9bf1-46c1-8600-00610cd4be49', 'ip_version': 4, 'cidr': '74.208.209.192/26', 'allocation_pools': [{'start': '74.208.209.194', 'end': '74.208.209.254'}], 'gateway_ip': '74.208.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.208.209.194', 'tags': [], 'project_id': '8a9aea8440ec424fa2c4a20d020d36af'}} 2025-09-16 20:06:35,766 - INFO - Created VN ctest-vn-73774161 2025-09-16 20:06:35,817 - DEBUG - VN ctest-vn-73774161 UUID is 354105e1-9bf1-46c1-8600-00610cd4be49 2025-09-16 20:06:36,151 - DEBUG - Response for create_network : {'network': {'id': 'e6d006bc-7826-49c4-bc93-47a50b93a4b1', 'name': 'ctest-ext_vn-19416276', 'tenant_id': '8a9aea8440ec424fa2c4a20d020d36af', 'project_id': '8a9aea8440ec424fa2c4a20d020d36af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55155777', 'ctest-ext_vn-19416276'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:06:36,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '871840d8-bc1e-4e19-854c-65d478be3c1d', 'name': '', 'tenant_id': '8a9aea8440ec424fa2c4a20d020d36af', 'network_id': 'e6d006bc-7826-49c4-bc93-47a50b93a4b1', 'ip_version': 4, 'cidr': '44.35.71.64/26', 'allocation_pools': [{'start': '44.35.71.66', 'end': '44.35.71.126'}], 'gateway_ip': '44.35.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.35.71.66', 'tags': [], 'project_id': '8a9aea8440ec424fa2c4a20d020d36af'}} 2025-09-16 20:06:36,354 - INFO - Created VN ctest-ext_vn-19416276 2025-09-16 20:06:36,405 - DEBUG - VN ctest-ext_vn-19416276 UUID is e6d006bc-7826-49c4-bc93-47a50b93a4b1 2025-09-16 20:06:36,603 - DEBUG - Services list from nova: [, , ] 2025-09-16 20:06:37,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4125-1) 2025-09-16 20:06:38,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4125-1) 2025-09-16 20:06:38,758 - INFO - Setting gateway for router 2b2aaaf3-46a2-4b98-9468-6d0df8af78da to network e6d006bc-7826-49c4-bc93-47a50b93a4b1 2025-09-16 20:06:38,824 - INFO - Adding interface with subnet_id 8008f46c-dda1-4d95-913c-8f17b321fe50, port_id None to router 2b2aaaf3-46a2-4b98-9468-6d0df8af78da 2025-09-16 20:06:39,155 - INFO - Waiting for VM ctest-TestRoutersBasic-55155777-08964481 to be up.. 2025-09-16 20:06:39,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 20:06:44,325 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:06:44,325 - INFO - VM name : ctest-TestRoutersBasic-55155777-08964481 2025-09-16 20:06:44,402 - DEBUG - VM ctest-TestRoutersBasic-55155777-08964481 ID is b10f9da8-6381-4af5-9ef4-9a24d80a5d95 2025-09-16 20:06:44,419 - DEBUG - VM ctest-TestRoutersBasic-55155777-08964481 launched on Node cn-jenkins-deploy-platform-ansible-os-4125-1 2025-09-16 20:06:44,486 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b10f9da8-6381-4af5-9ef4-9a24d80a5d95 2025-09-16 20:06:44,777 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b10f9da8-6381-4af5-9ef4-9a24d80a5d95 2025-09-16 20:06:44,809 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/df1525aa-8671-4198-875c-c5d5bcefc91f 2025-09-16 20:06:48,068 - 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') 2025-09-16 20:06:48,068 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55155777-08964481 failed! 2025-09-16 20:06:48,121 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55155777:ctest-vn-73774161 is 74.208.209.193 and allocation pool is NOT set 2025-09-16 20:06:50,186 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/1.667/2.925/1.258 ms') 2025-09-16 20:06:50,186 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55155777-08964481 passed 2025-09-16 20:06:50,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:50,333 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55155777-08964481, IP 74.208.209.195, Port 22 2025-09-16 20:06:50,485 - DEBUG - VM ctest-TestRoutersBasic-55155777-08964481 is ready for SSH connections 2025-09-16 20:06:50,485 - INFO - Waiting for VM ctest-TestRoutersBasic-55155777-09037169 to be up.. 2025-09-16 20:06:50,549 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:06:50,550 - INFO - VM name : ctest-TestRoutersBasic-55155777-09037169 2025-09-16 20:06:50,612 - DEBUG - VM ctest-TestRoutersBasic-55155777-09037169 ID is 1848bd0c-1710-4bf4-bff5-5e299ac7bbb4 2025-09-16 20:06:50,613 - DEBUG - VM ctest-TestRoutersBasic-55155777-09037169 launched on Node cn-jenkins-deploy-platform-ansible-os-4125-1 2025-09-16 20:06:50,677 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1848bd0c-1710-4bf4-bff5-5e299ac7bbb4 2025-09-16 20:06:50,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/416fb7cc-2227-4a98-a584-68cddb0e68dc 2025-09-16 20:06:51,921 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.617/2.835/1.218 ms') 2025-09-16 20:06:51,921 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55155777-09037169 passed 2025-09-16 20:06:52,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:52,077 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55155777-09037169, IP 44.35.71.67, Port 22 2025-09-16 20:06:52,236 - DEBUG - VM ctest-TestRoutersBasic-55155777-09037169 is ready for SSH connections 2025-09-16 20:06:52,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:52,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.35.71.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-16 20:06:52,236 - DEBUG - ping -s 56 -c 3 -W 1 44.35.71.67 2025-09-16 20:06:56,211 - DEBUG - PING 44.35.71.67 (44.35.71.67): 56 data bytes 64 bytes from 44.35.71.67: seq=0 ttl=62 time=6.913 ms 64 bytes from 44.35.71.67: seq=1 ttl=62 time=1.067 ms 64 bytes from 44.35.71.67: seq=2 ttl=62 time=0.800 ms --- 44.35.71.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/2.926/6.913 ms 2025-09-16 20:06:56,211 - INFO - Ping to IP 44.35.71.67 from VM ctest-TestRoutersBasic-55155777-08964481 passed 2025-09-16 20:06:56,211 - INFO - Deleting interface with subnet_id 8008f46c-dda1-4d95-913c-8f17b321fe50, port_id None from router 2b2aaaf3-46a2-4b98-9468-6d0df8af78da 2025-09-16 20:06:56,383 - INFO - Deleting VM ctest-TestRoutersBasic-55155777-09037169 2025-09-16 20:06:56,443 - INFO - Deleting VM ctest-TestRoutersBasic-55155777-08964481 2025-09-16 20:06:56,518 - INFO - Deleting VN ctest-ext_vn-19416276 2025-09-16 20:06:56,595 - DEBUG - VN e6d006bc-7826-49c4-bc93-47a50b93a4b1 still in use: Unable to complete operation on network e6d006bc-7826-49c4-bc93-47a50b93a4b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1af9707d-d22d-433a-9ef0-72a49375d01a'] 2025-09-16 20:06:56,595 - WARNING - Deleting VN ctest-ext_vn-19416276 failed..Will retry 2025-09-16 20:06:58,690 - DEBUG - Response for deleting network () 2025-09-16 20:06:58,691 - INFO - Deleting VN ctest-vn-73774161 2025-09-16 20:06:58,781 - DEBUG - Response for deleting network () 2025-09-16 20:06:59,035 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 20:06:59,036 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-16 20:06:59,036 - INFO - -------------------------------------------------------------------------------- 2025-09-16 20:06:59,734 - INFO - Deleted project: ctest-TestRoutersBasic-55155777, ID : 8a9aea84-40ec-424f-a2c4-a20d020d36af