2025-02-06 12:56:46,107 - INFO - Domain Default found not creating 2025-02-06 12:56:46,258 - INFO - Project ctest-TestRoutersBasic-57007119 not found, creating it 2025-02-06 12:56:46,787 - INFO - Created Project:ctest-TestRoutersBasic-57007119, ID : ae86a449-2e95-404a-bb6b-b648f32e83fb 2025-02-06 12:56:48,342 - INFO - ================================================================================ 2025-02-06 12:56:48,342 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-06 12:56:48,342 - 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-02-06 12:56:48,596 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.17': '0'}} with 2025-02-06 12:56:48,596 - INFO - Initial checks done. Running the testcase now 2025-02-06 12:56:48,596 - INFO - 2025-02-06 12:56:49,382 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57007119 2025-02-06 12:56:49,482 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57007119 2025-02-06 12:56:49,817 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57007119', 'default']} 2025-02-06 12:56:50,162 - DEBUG - Response for create_network : {'network': {'id': '9612e9fa-6716-41f0-8dc1-7ed76b17706b', 'name': 'ctest-vn-82520167', 'tenant_id': 'ae86a4492e95404abb6bb648f32e83fb', 'project_id': 'ae86a4492e95404abb6bb648f32e83fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57007119', 'ctest-vn-82520167'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 12:56:50,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '785a3e28-7fdf-43bb-865e-577b9ca10b8b', 'name': '', 'tenant_id': 'ae86a4492e95404abb6bb648f32e83fb', 'network_id': '9612e9fa-6716-41f0-8dc1-7ed76b17706b', 'ip_version': 4, 'cidr': '95.95.87.0/26', 'allocation_pools': [{'start': '95.95.87.2', 'end': '95.95.87.62'}], 'gateway_ip': '95.95.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.95.87.2', 'tags': [], 'project_id': 'ae86a4492e95404abb6bb648f32e83fb'}} 2025-02-06 12:56:50,418 - INFO - Created VN ctest-vn-82520167 2025-02-06 12:56:50,470 - DEBUG - VN ctest-vn-82520167 UUID is 9612e9fa-6716-41f0-8dc1-7ed76b17706b 2025-02-06 12:56:50,840 - DEBUG - Response for create_network : {'network': {'id': '8d32f663-1c04-42b5-b66b-2ea3db09ba3c', 'name': 'ctest-ext_vn-05941422', 'tenant_id': 'ae86a4492e95404abb6bb648f32e83fb', 'project_id': 'ae86a4492e95404abb6bb648f32e83fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57007119', 'ctest-ext_vn-05941422'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 12:56:51,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '57b0cace-5aeb-46e5-a9c0-4081f51bd0a4', 'name': '', 'tenant_id': 'ae86a4492e95404abb6bb648f32e83fb', 'network_id': '8d32f663-1c04-42b5-b66b-2ea3db09ba3c', 'ip_version': 4, 'cidr': '46.6.101.192/26', 'allocation_pools': [{'start': '46.6.101.194', 'end': '46.6.101.254'}], 'gateway_ip': '46.6.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.6.101.194', 'tags': [], 'project_id': 'ae86a4492e95404abb6bb648f32e83fb'}} 2025-02-06 12:56:51,065 - INFO - Created VN ctest-ext_vn-05941422 2025-02-06 12:56:51,122 - DEBUG - VN ctest-ext_vn-05941422 UUID is 8d32f663-1c04-42b5-b66b-2ea3db09ba3c 2025-02-06 12:56:51,289 - DEBUG - Services list from nova: [, , ] 2025-02-06 12:56:52,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2701-1) 2025-02-06 12:56:53,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2701-1) 2025-02-06 12:56:53,683 - INFO - Setting gateway for router 0d9fb131-8fb8-4f8f-91f0-8182985cabd8 to network 8d32f663-1c04-42b5-b66b-2ea3db09ba3c 2025-02-06 12:56:53,761 - INFO - Adding interface with subnet_id 785a3e28-7fdf-43bb-865e-577b9ca10b8b, port_id None to router 0d9fb131-8fb8-4f8f-91f0-8182985cabd8 2025-02-06 12:56:54,183 - INFO - Waiting for VM ctest-TestRoutersBasic-57007119-73207378 to be up.. 2025-02-06 12:56:54,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 12:56:59,428 - DEBUG - VM is in ACTIVE state now 2025-02-06 12:56:59,428 - INFO - VM name : ctest-TestRoutersBasic-57007119-73207378 2025-02-06 12:56:59,505 - DEBUG - VM ctest-TestRoutersBasic-57007119-73207378 ID is fa8a7561-7652-4461-9175-e5b68cb6556f 2025-02-06 12:56:59,523 - DEBUG - VM ctest-TestRoutersBasic-57007119-73207378 launched on Node cn-jenkins-deploy-platform-ansible-os-2701-1 2025-02-06 12:56:59,595 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/fa8a7561-7652-4461-9175-e5b68cb6556f 2025-02-06 12:56:59,928 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/fa8a7561-7652-4461-9175-e5b68cb6556f 2025-02-06 12:56:59,958 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/91503aa6-f686-432e-a2ab-26870aa1f247 2025-02-06 12:57:03,231 - 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 1027ms') 2025-02-06 12:57:03,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57007119-73207378 failed! 2025-02-06 12:57:03,286 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57007119:ctest-vn-82520167 is 95.95.87.1 and allocation pool is NOT set 2025-02-06 12:57:05,349 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 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 = 2.072/3.236/4.400/1.164 ms') 2025-02-06 12:57:05,349 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57007119-73207378 passed 2025-02-06 12:57:05,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 12:57:05,510 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57007119-73207378, IP 95.95.87.3, Port 22 2025-02-06 12:57:05,670 - DEBUG - VM ctest-TestRoutersBasic-57007119-73207378 is ready for SSH connections 2025-02-06 12:57:05,670 - INFO - Waiting for VM ctest-TestRoutersBasic-57007119-54726068 to be up.. 2025-02-06 12:57:05,752 - DEBUG - VM is in ACTIVE state now 2025-02-06 12:57:05,752 - INFO - VM name : ctest-TestRoutersBasic-57007119-54726068 2025-02-06 12:57:05,843 - DEBUG - VM ctest-TestRoutersBasic-57007119-54726068 ID is d7344670-8349-4269-94b1-0b7785c8358d 2025-02-06 12:57:05,843 - DEBUG - VM ctest-TestRoutersBasic-57007119-54726068 launched on Node cn-jenkins-deploy-platform-ansible-os-2701-1 2025-02-06 12:57:05,953 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d7344670-8349-4269-94b1-0b7785c8358d 2025-02-06 12:57:05,965 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/6803979e-5f4d-4661-8848-6f05e1a52a04 2025-02-06 12:57:07,211 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.810 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.810/2.561/4.313/1.751 ms') 2025-02-06 12:57:07,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57007119-54726068 passed 2025-02-06 12:57:07,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 12:57:07,362 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57007119-54726068, IP 46.6.101.195, Port 22 2025-02-06 12:57:07,517 - DEBUG - VM ctest-TestRoutersBasic-57007119-54726068 is ready for SSH connections 2025-02-06 12:57:07,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 12:57:07,518 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.6.101.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-06 12:57:07,518 - DEBUG - ping -s 56 -c 3 -W 1 46.6.101.195 2025-02-06 12:57:11,579 - DEBUG - PING 46.6.101.195 (46.6.101.195): 56 data bytes 64 bytes from 46.6.101.195: seq=0 ttl=62 time=5.171 ms 64 bytes from 46.6.101.195: seq=1 ttl=62 time=1.067 ms 64 bytes from 46.6.101.195: seq=2 ttl=62 time=0.859 ms --- 46.6.101.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/2.365/5.171 ms 2025-02-06 12:57:11,579 - INFO - Ping to IP 46.6.101.195 from VM ctest-TestRoutersBasic-57007119-73207378 passed 2025-02-06 12:57:11,579 - INFO - Deleting interface with subnet_id 785a3e28-7fdf-43bb-865e-577b9ca10b8b, port_id None from router 0d9fb131-8fb8-4f8f-91f0-8182985cabd8 2025-02-06 12:57:11,771 - INFO - Deleting VM ctest-TestRoutersBasic-57007119-54726068 2025-02-06 12:57:11,844 - INFO - Deleting VM ctest-TestRoutersBasic-57007119-73207378 2025-02-06 12:57:11,932 - INFO - Deleting VN ctest-ext_vn-05941422 2025-02-06 12:57:12,001 - DEBUG - VN 8d32f663-1c04-42b5-b66b-2ea3db09ba3c still in use: Unable to complete operation on network 8d32f663-1c04-42b5-b66b-2ea3db09ba3c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb224ce0-1c31-44ad-946b-07b826ca6f7c'] 2025-02-06 12:57:12,001 - WARNING - Deleting VN ctest-ext_vn-05941422 failed..Will retry 2025-02-06 12:57:14,142 - DEBUG - Response for deleting network () 2025-02-06 12:57:14,142 - INFO - Deleting VN ctest-vn-82520167 2025-02-06 12:57:14,257 - DEBUG - Response for deleting network () 2025-02-06 12:57:14,515 - DEBUG - No XMPP flaps were noticed during the test 2025-02-06 12:57:14,515 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-06 12:57:14,515 - INFO - -------------------------------------------------------------------------------- 2025-02-06 12:57:15,240 - INFO - Deleted project: ctest-TestRoutersBasic-57007119, ID : ae86a449-2e95-404a-bb6b-b648f32e83fb