2025-05-12 10:38:39,631 - INFO - Domain Default found not creating 2025-05-12 10:38:39,792 - INFO - Project ctest-TestRoutersBasic-65830141 not found, creating it 2025-05-12 10:38:40,269 - INFO - Created Project:ctest-TestRoutersBasic-65830141, ID : 90f60692-90e3-4ae9-9fc6-7d976d1cd3b7 2025-05-12 10:38:41,675 - INFO - ================================================================================ 2025-05-12 10:38:41,675 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-12 10:38:41,675 - 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-05-12 10:38:41,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-05-12 10:38:41,936 - INFO - Initial checks done. Running the testcase now 2025-05-12 10:38:41,936 - INFO - 2025-05-12 10:38:42,615 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65830141 2025-05-12 10:38:42,713 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65830141 2025-05-12 10:38:43,041 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65830141', 'default']} 2025-05-12 10:38:43,315 - DEBUG - Response for create_network : {'network': {'id': 'd581cdda-027a-4b0a-afec-6bd88a945888', 'name': 'ctest-vn-00355824', 'tenant_id': '90f6069290e34ae99fc67d976d1cd3b7', 'project_id': '90f6069290e34ae99fc67d976d1cd3b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65830141', 'ctest-vn-00355824'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 10:38:43,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ec03abe-05e0-4293-af44-77faaba69640', 'name': '', 'tenant_id': '90f6069290e34ae99fc67d976d1cd3b7', 'network_id': 'd581cdda-027a-4b0a-afec-6bd88a945888', 'ip_version': 4, 'cidr': '31.119.181.192/26', 'allocation_pools': [{'start': '31.119.181.194', 'end': '31.119.181.254'}], 'gateway_ip': '31.119.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.119.181.194', 'tags': [], 'project_id': '90f6069290e34ae99fc67d976d1cd3b7'}} 2025-05-12 10:38:43,540 - INFO - Created VN ctest-vn-00355824 2025-05-12 10:38:43,597 - DEBUG - VN ctest-vn-00355824 UUID is d581cdda-027a-4b0a-afec-6bd88a945888 2025-05-12 10:38:43,941 - DEBUG - Response for create_network : {'network': {'id': '0be6f276-bd97-41c8-8044-bbccd3b77e74', 'name': 'ctest-ext_vn-01365047', 'tenant_id': '90f6069290e34ae99fc67d976d1cd3b7', 'project_id': '90f6069290e34ae99fc67d976d1cd3b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65830141', 'ctest-ext_vn-01365047'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 10:38:44,131 - DEBUG - Response for create_subnet : {'subnet': {'id': '17401c7a-4850-43e2-ac70-c01f307dbafb', 'name': '', 'tenant_id': '90f6069290e34ae99fc67d976d1cd3b7', 'network_id': '0be6f276-bd97-41c8-8044-bbccd3b77e74', 'ip_version': 4, 'cidr': '32.177.250.0/26', 'allocation_pools': [{'start': '32.177.250.2', 'end': '32.177.250.62'}], 'gateway_ip': '32.177.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.177.250.2', 'tags': [], 'project_id': '90f6069290e34ae99fc67d976d1cd3b7'}} 2025-05-12 10:38:44,153 - INFO - Created VN ctest-ext_vn-01365047 2025-05-12 10:38:44,205 - DEBUG - VN ctest-ext_vn-01365047 UUID is 0be6f276-bd97-41c8-8044-bbccd3b77e74 2025-05-12 10:38:44,404 - DEBUG - Services list from nova: [, , ] 2025-05-12 10:38:45,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3300-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3300-1) 2025-05-12 10:38:46,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3300-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3300-1) 2025-05-12 10:38:46,570 - INFO - Setting gateway for router e6a7c03c-8ac1-4336-a676-642c3e159eb5 to network 0be6f276-bd97-41c8-8044-bbccd3b77e74 2025-05-12 10:38:46,630 - INFO - Adding interface with subnet_id 2ec03abe-05e0-4293-af44-77faaba69640, port_id None to router e6a7c03c-8ac1-4336-a676-642c3e159eb5 2025-05-12 10:38:46,948 - INFO - Waiting for VM ctest-TestRoutersBasic-65830141-49733505 to be up.. 2025-05-12 10:38:47,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-12 10:38:52,152 - DEBUG - VM is in ACTIVE state now 2025-05-12 10:38:52,152 - INFO - VM name : ctest-TestRoutersBasic-65830141-49733505 2025-05-12 10:38:52,226 - DEBUG - VM ctest-TestRoutersBasic-65830141-49733505 ID is 9af97800-003c-493c-915d-28ce255b368b 2025-05-12 10:38:52,243 - DEBUG - VM ctest-TestRoutersBasic-65830141-49733505 launched on Node cn-jenkins-deploy-platform-ansible-os-3300-1 2025-05-12 10:38:52,313 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9af97800-003c-493c-915d-28ce255b368b 2025-05-12 10:38:52,604 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9af97800-003c-493c-915d-28ce255b368b 2025-05-12 10:38:52,633 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5e808ad3-25d6-4a5c-b87d-bb677793a859 2025-05-12 10:38:55,905 - 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 1028ms') 2025-05-12 10:38:55,905 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65830141-49733505 failed! 2025-05-12 10:38:55,961 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65830141:ctest-vn-00355824 is 31.119.181.193 and allocation pool is NOT set 2025-05-12 10:38:58,018 - 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=3.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/1.841/3.320/1.478 ms') 2025-05-12 10:38:58,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65830141-49733505 passed 2025-05-12 10:38:58,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:38:58,181 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65830141-49733505, IP 31.119.181.195, Port 22 2025-05-12 10:38:58,341 - DEBUG - VM ctest-TestRoutersBasic-65830141-49733505 is ready for SSH connections 2025-05-12 10:38:58,341 - INFO - Waiting for VM ctest-TestRoutersBasic-65830141-20530892 to be up.. 2025-05-12 10:38:58,412 - DEBUG - VM is in ACTIVE state now 2025-05-12 10:38:58,412 - INFO - VM name : ctest-TestRoutersBasic-65830141-20530892 2025-05-12 10:38:58,494 - DEBUG - VM ctest-TestRoutersBasic-65830141-20530892 ID is 1c000f92-e5eb-42d9-bb52-176d4b86c684 2025-05-12 10:38:58,494 - DEBUG - VM ctest-TestRoutersBasic-65830141-20530892 launched on Node cn-jenkins-deploy-platform-ansible-os-3300-1 2025-05-12 10:38:58,570 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1c000f92-e5eb-42d9-bb52-176d4b86c684 2025-05-12 10:38:58,579 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/53951241-dfd8-4e18-b217-0a7c04fb3433 2025-05-12 10:38:59,823 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.318 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.318/2.164/4.011/1.846 ms') 2025-05-12 10:38:59,823 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65830141-20530892 passed 2025-05-12 10:38:59,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:38:59,978 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65830141-20530892, IP 32.177.250.3, Port 22 2025-05-12 10:39:00,137 - DEBUG - VM ctest-TestRoutersBasic-65830141-20530892 is ready for SSH connections 2025-05-12 10:39:00,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:39:00,137 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.177.250.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-05-12 10:39:00,137 - DEBUG - ping -s 56 -c 3 -W 1 32.177.250.3 2025-05-12 10:39:04,168 - DEBUG - PING 32.177.250.3 (32.177.250.3): 56 data bytes 64 bytes from 32.177.250.3: seq=0 ttl=62 time=7.364 ms 64 bytes from 32.177.250.3: seq=1 ttl=62 time=0.848 ms 64 bytes from 32.177.250.3: seq=2 ttl=62 time=0.837 ms --- 32.177.250.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/3.016/7.364 ms 2025-05-12 10:39:04,168 - INFO - Ping to IP 32.177.250.3 from VM ctest-TestRoutersBasic-65830141-49733505 passed 2025-05-12 10:39:04,168 - INFO - Deleting interface with subnet_id 2ec03abe-05e0-4293-af44-77faaba69640, port_id None from router e6a7c03c-8ac1-4336-a676-642c3e159eb5 2025-05-12 10:39:04,359 - INFO - Deleting VM ctest-TestRoutersBasic-65830141-20530892 2025-05-12 10:39:04,425 - INFO - Deleting VM ctest-TestRoutersBasic-65830141-49733505 2025-05-12 10:39:04,503 - INFO - Deleting VN ctest-ext_vn-01365047 2025-05-12 10:39:04,573 - DEBUG - VN 0be6f276-bd97-41c8-8044-bbccd3b77e74 still in use: Unable to complete operation on network 0be6f276-bd97-41c8-8044-bbccd3b77e74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b307640c-ef98-43ae-96c7-bad432f2a8d1'] 2025-05-12 10:39:04,573 - WARNING - Deleting VN ctest-ext_vn-01365047 failed..Will retry 2025-05-12 10:39:06,687 - DEBUG - Response for deleting network () 2025-05-12 10:39:06,687 - INFO - Deleting VN ctest-vn-00355824 2025-05-12 10:39:06,785 - DEBUG - Response for deleting network () 2025-05-12 10:39:07,043 - DEBUG - No XMPP flaps were noticed during the test 2025-05-12 10:39:07,043 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-12 10:39:07,043 - INFO - -------------------------------------------------------------------------------- 2025-05-12 10:39:07,724 - INFO - Deleted project: ctest-TestRoutersBasic-65830141, ID : 90f60692-90e3-4ae9-9fc6-7d976d1cd3b7