2025-10-27 15:09:29,230 - INFO - Domain Default found not creating 2025-10-27 15:09:29,395 - INFO - Project ctest-TestRoutersBasic-36277186 not found, creating it 2025-10-27 15:09:29,870 - INFO - Created Project:ctest-TestRoutersBasic-36277186, ID : 43fc6e19-249d-4855-8e2a-e20b57646323 2025-10-27 15:09:31,503 - INFO - ================================================================================ 2025-10-27 15:09:31,503 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 15:09:31,503 - 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-10-27 15:09:31,762 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-10-27 15:09:31,763 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:09:31,763 - INFO - 2025-10-27 15:09:32,471 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36277186 2025-10-27 15:09:32,565 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36277186 2025-10-27 15:09:32,897 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36277186', 'default']} 2025-10-27 15:09:33,214 - DEBUG - Response for create_network : {'network': {'id': 'e0d6428f-efad-48c3-845a-d2711b18ce3b', 'name': 'ctest-vn-69264087', 'tenant_id': '43fc6e19249d48558e2ae20b57646323', 'project_id': '43fc6e19249d48558e2ae20b57646323', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36277186', 'ctest-vn-69264087'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:09:33,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cc48c32-2d53-4a8f-8748-963716202784', 'name': '', 'tenant_id': '43fc6e19249d48558e2ae20b57646323', 'network_id': 'e0d6428f-efad-48c3-845a-d2711b18ce3b', 'ip_version': 4, 'cidr': '98.81.103.64/26', 'allocation_pools': [{'start': '98.81.103.66', 'end': '98.81.103.126'}], 'gateway_ip': '98.81.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.81.103.66', 'tags': [], 'project_id': '43fc6e19249d48558e2ae20b57646323'}} 2025-10-27 15:09:33,417 - INFO - Created VN ctest-vn-69264087 2025-10-27 15:09:33,473 - DEBUG - VN ctest-vn-69264087 UUID is e0d6428f-efad-48c3-845a-d2711b18ce3b 2025-10-27 15:09:33,795 - DEBUG - Response for create_network : {'network': {'id': '980b02a9-a336-42fd-baaf-f354357d3fb1', 'name': 'ctest-ext_vn-67437757', 'tenant_id': '43fc6e19249d48558e2ae20b57646323', 'project_id': '43fc6e19249d48558e2ae20b57646323', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36277186', 'ctest-ext_vn-67437757'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:09:34,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c1cda40-5855-43f0-9138-9fee8452734b', 'name': '', 'tenant_id': '43fc6e19249d48558e2ae20b57646323', 'network_id': '980b02a9-a336-42fd-baaf-f354357d3fb1', 'ip_version': 4, 'cidr': '190.5.97.192/26', 'allocation_pools': [{'start': '190.5.97.194', 'end': '190.5.97.254'}], 'gateway_ip': '190.5.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.5.97.194', 'tags': [], 'project_id': '43fc6e19249d48558e2ae20b57646323'}} 2025-10-27 15:09:34,063 - INFO - Created VN ctest-ext_vn-67437757 2025-10-27 15:09:34,117 - DEBUG - VN ctest-ext_vn-67437757 UUID is 980b02a9-a336-42fd-baaf-f354357d3fb1 2025-10-27 15:09:34,310 - DEBUG - Services list from nova: [, , ] 2025-10-27 15:09:35,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4506-1) 2025-10-27 15:09:36,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4506-1) 2025-10-27 15:09:36,692 - INFO - Setting gateway for router 0c20e5b1-c0bb-4669-92fb-1ee264b98b61 to network 980b02a9-a336-42fd-baaf-f354357d3fb1 2025-10-27 15:09:36,774 - INFO - Adding interface with subnet_id 8cc48c32-2d53-4a8f-8748-963716202784, port_id None to router 0c20e5b1-c0bb-4669-92fb-1ee264b98b61 2025-10-27 15:09:37,192 - INFO - Waiting for VM ctest-TestRoutersBasic-36277186-86871932 to be up.. 2025-10-27 15:09:37,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 15:09:42,496 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:09:42,497 - INFO - VM name : ctest-TestRoutersBasic-36277186-86871932 2025-10-27 15:09:42,576 - DEBUG - VM ctest-TestRoutersBasic-36277186-86871932 ID is 4b66286a-5e74-4808-a531-e2ff21f34c57 2025-10-27 15:09:42,597 - DEBUG - VM ctest-TestRoutersBasic-36277186-86871932 launched on Node cn-jenkins-deploy-platform-ansible-os-4506-1 2025-10-27 15:09:42,681 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4b66286a-5e74-4808-a531-e2ff21f34c57 2025-10-27 15:09:42,998 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4b66286a-5e74-4808-a531-e2ff21f34c57 2025-10-27 15:09:43,035 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/315e137d-5551-46a7-9c8d-fa619764c859 2025-10-27 15:09:46,294 - 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 1017ms') 2025-10-27 15:09:46,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36277186-86871932 failed! 2025-10-27 15:09:46,353 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36277186:ctest-vn-69264087 is 98.81.103.65 and allocation pool is NOT set 2025-10-27 15:09:48,418 - 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=5.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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 = 1.252/3.174/5.097/1.922 ms') 2025-10-27 15:09:48,419 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36277186-86871932 passed 2025-10-27 15:09:48,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:48,573 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36277186-86871932, IP 98.81.103.67, Port 22 2025-10-27 15:09:48,729 - DEBUG - VM ctest-TestRoutersBasic-36277186-86871932 is ready for SSH connections 2025-10-27 15:09:48,729 - INFO - Waiting for VM ctest-TestRoutersBasic-36277186-47305756 to be up.. 2025-10-27 15:09:48,818 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:09:48,818 - INFO - VM name : ctest-TestRoutersBasic-36277186-47305756 2025-10-27 15:09:48,901 - DEBUG - VM ctest-TestRoutersBasic-36277186-47305756 ID is 69b1c525-313b-41b6-b8a3-f2364573b9ae 2025-10-27 15:09:48,901 - DEBUG - VM ctest-TestRoutersBasic-36277186-47305756 launched on Node cn-jenkins-deploy-platform-ansible-os-4506-1 2025-10-27 15:09:48,989 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/69b1c525-313b-41b6-b8a3-f2364573b9ae 2025-10-27 15:09:49,001 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a551e8ef-af89-4dd7-8b92-4cfd20fb3186 2025-10-27 15:09:50,255 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.733 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.733/2.170/3.608/1.437 ms') 2025-10-27 15:09:50,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36277186-47305756 passed 2025-10-27 15:09:50,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:50,413 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36277186-47305756, IP 190.5.97.195, Port 22 2025-10-27 15:09:50,583 - DEBUG - VM ctest-TestRoutersBasic-36277186-47305756 is ready for SSH connections 2025-10-27 15:09:50,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:09:50,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.5.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:09:50,584 - DEBUG - ping -s 56 -c 3 -W 1 190.5.97.195 2025-10-27 15:09:54,307 - DEBUG - PING 190.5.97.195 (190.5.97.195): 56 data bytes 64 bytes from 190.5.97.195: seq=0 ttl=62 time=8.399 ms 64 bytes from 190.5.97.195: seq=1 ttl=62 time=1.091 ms 64 bytes from 190.5.97.195: seq=2 ttl=62 time=1.546 ms --- 190.5.97.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.091/3.678/8.399 ms 2025-10-27 15:09:54,308 - INFO - Ping to IP 190.5.97.195 from VM ctest-TestRoutersBasic-36277186-86871932 passed 2025-10-27 15:09:54,308 - INFO - Deleting interface with subnet_id 8cc48c32-2d53-4a8f-8748-963716202784, port_id None from router 0c20e5b1-c0bb-4669-92fb-1ee264b98b61 2025-10-27 15:09:54,523 - INFO - Deleting VM ctest-TestRoutersBasic-36277186-47305756 2025-10-27 15:09:54,600 - INFO - Deleting VM ctest-TestRoutersBasic-36277186-86871932 2025-10-27 15:09:54,694 - INFO - Deleting VN ctest-ext_vn-67437757 2025-10-27 15:09:54,775 - DEBUG - VN 980b02a9-a336-42fd-baaf-f354357d3fb1 still in use: Unable to complete operation on network 980b02a9-a336-42fd-baaf-f354357d3fb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f52ba535-05a6-467a-8057-12fd42bdc7e6'] 2025-10-27 15:09:54,775 - WARNING - Deleting VN ctest-ext_vn-67437757 failed..Will retry 2025-10-27 15:09:56,887 - DEBUG - Response for deleting network () 2025-10-27 15:09:56,887 - INFO - Deleting VN ctest-vn-69264087 2025-10-27 15:09:57,021 - DEBUG - Response for deleting network () 2025-10-27 15:09:57,290 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 15:09:57,290 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-27 15:09:57,290 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:09:57,993 - INFO - Deleted project: ctest-TestRoutersBasic-36277186, ID : 43fc6e19-249d-4855-8e2a-e20b57646323