2025-06-26 15:40:24,141 - INFO - Domain Default found not creating 2025-06-26 15:40:24,289 - INFO - Project ctest-TestRoutersBasic-49843647 not found, creating it 2025-06-26 15:40:24,751 - INFO - Created Project:ctest-TestRoutersBasic-49843647, ID : 9d02bc47-b445-483b-b1af-85dd7f157c36 2025-06-26 15:40:26,317 - INFO - ================================================================================ 2025-06-26 15:40:26,317 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-26 15:40:26,317 - 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-06-26 15:40:26,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-26 15:40:26,572 - INFO - Initial checks done. Running the testcase now 2025-06-26 15:40:26,572 - INFO - 2025-06-26 15:40:27,270 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49843647 2025-06-26 15:40:27,374 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49843647 2025-06-26 15:40:27,702 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49843647', 'default']} 2025-06-26 15:40:28,028 - DEBUG - Response for create_network : {'network': {'id': 'fbe972fd-e37b-4e0f-abdd-18ecc1669f29', 'name': 'ctest-vn-28152553', 'tenant_id': '9d02bc47b445483bb1af85dd7f157c36', 'project_id': '9d02bc47b445483bb1af85dd7f157c36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49843647', 'ctest-vn-28152553'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:40:28,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '599cc514-c456-48bc-a86c-6c32cc70e86a', 'name': '', 'tenant_id': '9d02bc47b445483bb1af85dd7f157c36', 'network_id': 'fbe972fd-e37b-4e0f-abdd-18ecc1669f29', 'ip_version': 4, 'cidr': '55.144.233.192/26', 'allocation_pools': [{'start': '55.144.233.194', 'end': '55.144.233.254'}], 'gateway_ip': '55.144.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.144.233.194', 'tags': [], 'project_id': '9d02bc47b445483bb1af85dd7f157c36'}} 2025-06-26 15:40:28,234 - INFO - Created VN ctest-vn-28152553 2025-06-26 15:40:28,286 - DEBUG - VN ctest-vn-28152553 UUID is fbe972fd-e37b-4e0f-abdd-18ecc1669f29 2025-06-26 15:40:28,613 - DEBUG - Response for create_network : {'network': {'id': 'f6c52789-1b28-4756-84e7-8ea5a4d947f3', 'name': 'ctest-ext_vn-46912225', 'tenant_id': '9d02bc47b445483bb1af85dd7f157c36', 'project_id': '9d02bc47b445483bb1af85dd7f157c36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49843647', 'ctest-ext_vn-46912225'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:40:28,815 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a40f97d4-7dd9-4b5b-85f0-908b75614758', 'name': '', 'tenant_id': '9d02bc47b445483bb1af85dd7f157c36', 'network_id': 'f6c52789-1b28-4756-84e7-8ea5a4d947f3', 'ip_version': 4, 'cidr': '114.21.34.192/26', 'allocation_pools': [{'start': '114.21.34.194', 'end': '114.21.34.254'}], 'gateway_ip': '114.21.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.21.34.194', 'tags': [], 'project_id': '9d02bc47b445483bb1af85dd7f157c36'}} 2025-06-26 15:40:28,835 - INFO - Created VN ctest-ext_vn-46912225 2025-06-26 15:40:28,890 - DEBUG - VN ctest-ext_vn-46912225 UUID is f6c52789-1b28-4756-84e7-8ea5a4d947f3 2025-06-26 15:40:29,055 - DEBUG - Services list from nova: [, , ] 2025-06-26 15:40:30,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3560-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3560-1) 2025-06-26 15:40:31,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3560-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3560-1) 2025-06-26 15:40:31,464 - INFO - Setting gateway for router e327de7f-d844-4c4f-8856-0b24044537bf to network f6c52789-1b28-4756-84e7-8ea5a4d947f3 2025-06-26 15:40:31,551 - INFO - Adding interface with subnet_id 599cc514-c456-48bc-a86c-6c32cc70e86a, port_id None to router e327de7f-d844-4c4f-8856-0b24044537bf 2025-06-26 15:40:32,014 - INFO - Waiting for VM ctest-TestRoutersBasic-49843647-19107066 to be up.. 2025-06-26 15:40:32,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 15:40:37,285 - DEBUG - VM is in ACTIVE state now 2025-06-26 15:40:37,285 - INFO - VM name : ctest-TestRoutersBasic-49843647-19107066 2025-06-26 15:40:37,361 - DEBUG - VM ctest-TestRoutersBasic-49843647-19107066 ID is fce5c85f-596b-428e-8906-07ec61c45af8 2025-06-26 15:40:37,379 - DEBUG - VM ctest-TestRoutersBasic-49843647-19107066 launched on Node cn-jenkins-deploy-platform-ansible-os-3560-1 2025-06-26 15:40:37,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fce5c85f-596b-428e-8906-07ec61c45af8 2025-06-26 15:40:37,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fce5c85f-596b-428e-8906-07ec61c45af8 2025-06-26 15:40:37,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44a1c453-fb7c-4240-8cd0-b0aee601a091 2025-06-26 15:40:41,030 - 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 1007ms') 2025-06-26 15:40:41,030 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49843647-19107066 failed! 2025-06-26 15:40:41,090 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49843647:ctest-vn-28152553 is 55.144.233.193 and allocation pool is NOT set 2025-06-26 15:40:43,149 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/1.655/2.895/1.240 ms') 2025-06-26 15:40:43,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49843647-19107066 passed 2025-06-26 15:40:43,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:40:43,302 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49843647-19107066, IP 55.144.233.195, Port 22 2025-06-26 15:40:43,466 - DEBUG - VM ctest-TestRoutersBasic-49843647-19107066 is ready for SSH connections 2025-06-26 15:40:43,466 - INFO - Waiting for VM ctest-TestRoutersBasic-49843647-39708572 to be up.. 2025-06-26 15:40:43,562 - DEBUG - VM is in ACTIVE state now 2025-06-26 15:40:43,562 - INFO - VM name : ctest-TestRoutersBasic-49843647-39708572 2025-06-26 15:40:43,654 - DEBUG - VM ctest-TestRoutersBasic-49843647-39708572 ID is bfc37304-d655-4cf7-b577-197c98a4302c 2025-06-26 15:40:43,654 - DEBUG - VM ctest-TestRoutersBasic-49843647-39708572 launched on Node cn-jenkins-deploy-platform-ansible-os-3560-1 2025-06-26 15:40:43,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bfc37304-d655-4cf7-b577-197c98a4302c 2025-06-26 15:40:43,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/94142ce4-a8d5-4aab-a741-162d1df7a6d2 2025-06-26 15:40:45,015 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.56 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.563/2.954/4.346/1.391 ms') 2025-06-26 15:40:45,015 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49843647-39708572 passed 2025-06-26 15:40:45,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:40:45,170 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49843647-39708572, IP 114.21.34.195, Port 22 2025-06-26 15:40:45,336 - DEBUG - VM ctest-TestRoutersBasic-49843647-39708572 is ready for SSH connections 2025-06-26 15:40:45,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:40:45,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.21.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 15:40:45,336 - DEBUG - ping -s 56 -c 3 -W 1 114.21.34.195 2025-06-26 15:40:49,299 - DEBUG - PING 114.21.34.195 (114.21.34.195): 56 data bytes 64 bytes from 114.21.34.195: seq=0 ttl=62 time=5.039 ms 64 bytes from 114.21.34.195: seq=1 ttl=62 time=0.864 ms 64 bytes from 114.21.34.195: seq=2 ttl=62 time=0.994 ms --- 114.21.34.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/2.299/5.039 ms 2025-06-26 15:40:49,299 - INFO - Ping to IP 114.21.34.195 from VM ctest-TestRoutersBasic-49843647-19107066 passed 2025-06-26 15:40:49,299 - INFO - Deleting interface with subnet_id 599cc514-c456-48bc-a86c-6c32cc70e86a, port_id None from router e327de7f-d844-4c4f-8856-0b24044537bf 2025-06-26 15:40:49,512 - INFO - Deleting VM ctest-TestRoutersBasic-49843647-39708572 2025-06-26 15:40:49,609 - INFO - Deleting VM ctest-TestRoutersBasic-49843647-19107066 2025-06-26 15:40:49,694 - INFO - Deleting VN ctest-ext_vn-46912225 2025-06-26 15:40:49,780 - DEBUG - VN f6c52789-1b28-4756-84e7-8ea5a4d947f3 still in use: Unable to complete operation on network f6c52789-1b28-4756-84e7-8ea5a4d947f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eea23729-1da4-410d-ae5a-7a98ef9982a0'] 2025-06-26 15:40:49,780 - WARNING - Deleting VN ctest-ext_vn-46912225 failed..Will retry 2025-06-26 15:40:51,889 - DEBUG - Response for deleting network () 2025-06-26 15:40:51,890 - INFO - Deleting VN ctest-vn-28152553 2025-06-26 15:40:52,007 - DEBUG - Response for deleting network () 2025-06-26 15:40:52,265 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 15:40:52,265 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-26 15:40:52,265 - INFO - -------------------------------------------------------------------------------- 2025-06-26 15:40:52,942 - INFO - Deleted project: ctest-TestRoutersBasic-49843647, ID : 9d02bc47-b445-483b-b1af-85dd7f157c36