2025-03-27 10:50:42,044 - INFO - Domain Default found not creating 2025-03-27 10:50:42,208 - INFO - Project ctest-TestRoutersBasic-03432390 not found, creating it 2025-03-27 10:50:42,711 - INFO - Created Project:ctest-TestRoutersBasic-03432390, ID : b05bd3d3-400b-4afe-a2c0-944306e16503 2025-03-27 10:50:44,453 - INFO - ================================================================================ 2025-03-27 10:50:44,453 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-27 10:50:44,453 - 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-03-27 10:50:44,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.24': '0'}} with 2025-03-27 10:50:44,712 - INFO - Initial checks done. Running the testcase now 2025-03-27 10:50:44,712 - INFO - 2025-03-27 10:50:45,519 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03432390 2025-03-27 10:50:45,624 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03432390 2025-03-27 10:50:45,959 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03432390', 'default']} 2025-03-27 10:50:46,273 - DEBUG - Response for create_network : {'network': {'id': '75f25d21-6f15-4499-a871-264ee04b8cab', 'name': 'ctest-vn-59820729', 'tenant_id': 'b05bd3d3400b4afea2c0944306e16503', 'project_id': 'b05bd3d3400b4afea2c0944306e16503', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03432390', 'ctest-vn-59820729'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 10:50:46,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c7a0ff6-60c3-40d8-9904-56e66140cbb7', 'name': '', 'tenant_id': 'b05bd3d3400b4afea2c0944306e16503', 'network_id': '75f25d21-6f15-4499-a871-264ee04b8cab', 'ip_version': 4, 'cidr': '124.133.82.192/26', 'allocation_pools': [{'start': '124.133.82.194', 'end': '124.133.82.254'}], 'gateway_ip': '124.133.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.133.82.194', 'tags': [], 'project_id': 'b05bd3d3400b4afea2c0944306e16503'}} 2025-03-27 10:50:46,463 - INFO - Created VN ctest-vn-59820729 2025-03-27 10:50:46,519 - DEBUG - VN ctest-vn-59820729 UUID is 75f25d21-6f15-4499-a871-264ee04b8cab 2025-03-27 10:50:46,889 - DEBUG - Response for create_network : {'network': {'id': 'f79cf786-6d49-4c2a-9fe6-d3410bef6d54', 'name': 'ctest-ext_vn-25336771', 'tenant_id': 'b05bd3d3400b4afea2c0944306e16503', 'project_id': 'b05bd3d3400b4afea2c0944306e16503', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03432390', 'ctest-ext_vn-25336771'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 10:50:47,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8947509-2c1a-487a-9840-9fb9c5349b3c', 'name': '', 'tenant_id': 'b05bd3d3400b4afea2c0944306e16503', 'network_id': 'f79cf786-6d49-4c2a-9fe6-d3410bef6d54', 'ip_version': 4, 'cidr': '119.58.250.192/26', 'allocation_pools': [{'start': '119.58.250.194', 'end': '119.58.250.254'}], 'gateway_ip': '119.58.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.58.250.194', 'tags': [], 'project_id': 'b05bd3d3400b4afea2c0944306e16503'}} 2025-03-27 10:50:47,104 - INFO - Created VN ctest-ext_vn-25336771 2025-03-27 10:50:47,159 - DEBUG - VN ctest-ext_vn-25336771 UUID is f79cf786-6d49-4c2a-9fe6-d3410bef6d54 2025-03-27 10:50:47,344 - DEBUG - Services list from nova: [, , ] 2025-03-27 10:50:48,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2969-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2969-1) 2025-03-27 10:50:49,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2969-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2969-1) 2025-03-27 10:50:49,971 - INFO - Setting gateway for router 1d672334-0043-4d18-b146-c1852dcce935 to network f79cf786-6d49-4c2a-9fe6-d3410bef6d54 2025-03-27 10:50:50,099 - INFO - Adding interface with subnet_id 2c7a0ff6-60c3-40d8-9904-56e66140cbb7, port_id None to router 1d672334-0043-4d18-b146-c1852dcce935 2025-03-27 10:50:50,715 - INFO - Waiting for VM ctest-TestRoutersBasic-03432390-50389470 to be up.. 2025-03-27 10:50:50,910 - DEBUG - VM is in ACTIVE state now 2025-03-27 10:50:50,910 - INFO - VM name : ctest-TestRoutersBasic-03432390-50389470 2025-03-27 10:50:51,059 - DEBUG - VM ctest-TestRoutersBasic-03432390-50389470 ID is 9ee34109-a055-4bbd-b555-49b7250075ff 2025-03-27 10:50:51,082 - DEBUG - VM ctest-TestRoutersBasic-03432390-50389470 launched on Node cn-jenkins-deploy-platform-ansible-os-2969-1 2025-03-27 10:50:51,234 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/9ee34109-a055-4bbd-b555-49b7250075ff 2025-03-27 10:50:51,592 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/9ee34109-a055-4bbd-b555-49b7250075ff 2025-03-27 10:50:51,643 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/e019ef2c-a35b-4aec-b4f2-25135847c631 2025-03-27 10:50:54,933 - 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 1021ms') 2025-03-27 10:50:54,933 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03432390-50389470 failed! 2025-03-27 10:50:54,992 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03432390:ctest-vn-59820729 is 124.133.82.193 and allocation pool is NOT set 2025-03-27 10:50:59,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 1000ms') 2025-03-27 10:50:59,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03432390-50389470 failed! 2025-03-27 10:50:59,112 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03432390:ctest-vn-59820729 is 124.133.82.193 and allocation pool is NOT set 2025-03-27 10:51:01,170 - 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=4.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.60 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 = 1.599/3.014/4.429/1.415 ms') 2025-03-27 10:51:01,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03432390-50389470 passed 2025-03-27 10:51:01,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 10:51:01,324 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03432390-50389470, IP 124.133.82.195, Port 22 2025-03-27 10:51:01,493 - DEBUG - VM ctest-TestRoutersBasic-03432390-50389470 is ready for SSH connections 2025-03-27 10:51:01,493 - INFO - Waiting for VM ctest-TestRoutersBasic-03432390-11514385 to be up.. 2025-03-27 10:51:01,603 - DEBUG - VM is in ACTIVE state now 2025-03-27 10:51:01,603 - INFO - VM name : ctest-TestRoutersBasic-03432390-11514385 2025-03-27 10:51:01,714 - DEBUG - VM ctest-TestRoutersBasic-03432390-11514385 ID is cdf11335-b79f-45c1-a194-2afa2abcbb23 2025-03-27 10:51:01,714 - DEBUG - VM ctest-TestRoutersBasic-03432390-11514385 launched on Node cn-jenkins-deploy-platform-ansible-os-2969-1 2025-03-27 10:51:01,834 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/cdf11335-b79f-45c1-a194-2afa2abcbb23 2025-03-27 10:51:01,846 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/11eeec51-4f7f-4c4f-8eae-7056397670bf 2025-03-27 10:51:03,106 - 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=3.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.955 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 = 0.955/2.118/3.282/1.163 ms') 2025-03-27 10:51:03,106 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03432390-11514385 passed 2025-03-27 10:51:03,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 10:51:03,264 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03432390-11514385, IP 119.58.250.195, Port 22 2025-03-27 10:51:03,419 - DEBUG - VM ctest-TestRoutersBasic-03432390-11514385 is ready for SSH connections 2025-03-27 10:51:03,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 10:51:03,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.58.250.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-03-27 10:51:03,419 - DEBUG - ping -s 56 -c 3 -W 1 119.58.250.195 2025-03-27 10:51:07,555 - DEBUG - PING 119.58.250.195 (119.58.250.195): 56 data bytes 64 bytes from 119.58.250.195: seq=0 ttl=62 time=5.343 ms 64 bytes from 119.58.250.195: seq=1 ttl=62 time=0.897 ms 64 bytes from 119.58.250.195: seq=2 ttl=62 time=0.968 ms --- 119.58.250.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/2.402/5.343 ms 2025-03-27 10:51:07,555 - INFO - Ping to IP 119.58.250.195 from VM ctest-TestRoutersBasic-03432390-50389470 passed 2025-03-27 10:51:07,555 - INFO - Deleting interface with subnet_id 2c7a0ff6-60c3-40d8-9904-56e66140cbb7, port_id None from router 1d672334-0043-4d18-b146-c1852dcce935 2025-03-27 10:51:07,770 - INFO - Deleting VM ctest-TestRoutersBasic-03432390-11514385 2025-03-27 10:51:07,848 - INFO - Deleting VM ctest-TestRoutersBasic-03432390-50389470 2025-03-27 10:51:07,944 - INFO - Deleting VN ctest-ext_vn-25336771 2025-03-27 10:51:08,022 - DEBUG - VN f79cf786-6d49-4c2a-9fe6-d3410bef6d54 still in use: Unable to complete operation on network f79cf786-6d49-4c2a-9fe6-d3410bef6d54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af02f56b-f9b5-45fd-b438-4a39059a82f8'] 2025-03-27 10:51:08,022 - WARNING - Deleting VN ctest-ext_vn-25336771 failed..Will retry 2025-03-27 10:51:10,135 - DEBUG - Response for deleting network () 2025-03-27 10:51:10,135 - INFO - Deleting VN ctest-vn-59820729 2025-03-27 10:51:10,265 - DEBUG - Response for deleting network () 2025-03-27 10:51:10,527 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 10:51:10,527 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-03-27 10:51:10,527 - INFO - -------------------------------------------------------------------------------- 2025-03-27 10:51:11,282 - INFO - Deleted project: ctest-TestRoutersBasic-03432390, ID : b05bd3d3-400b-4afe-a2c0-944306e16503