2025-06-01 17:59:40,419 - INFO - Domain Default found not creating 2025-06-01 17:59:40,558 - INFO - Project ctest-TestRoutersBasic-03136465 not found, creating it 2025-06-01 17:59:41,009 - INFO - Created Project:ctest-TestRoutersBasic-03136465, ID : 5a04d484-8fa9-4e34-b4d7-2a9ff291961a 2025-06-01 17:59:42,543 - INFO - ================================================================================ 2025-06-01 17:59:42,543 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-01 17:59:42,543 - 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-01 17:59:42,798 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-01 17:59:42,798 - INFO - Initial checks done. Running the testcase now 2025-06-01 17:59:42,799 - INFO - 2025-06-01 17:59:43,571 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03136465 2025-06-01 17:59:43,668 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03136465 2025-06-01 17:59:43,996 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03136465', 'default']} 2025-06-01 17:59:44,300 - DEBUG - Response for create_network : {'network': {'id': 'c7e91f67-c949-4c22-8fef-e7881e72e734', 'name': 'ctest-vn-31435329', 'tenant_id': '5a04d4848fa94e34b4d72a9ff291961a', 'project_id': '5a04d4848fa94e34b4d72a9ff291961a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03136465', 'ctest-vn-31435329'], 'port_security_enabled': True, 'description': ''}} 2025-06-01 17:59:44,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '29ec1188-26c1-47bb-83c4-43c3a2383435', 'name': '', 'tenant_id': '5a04d4848fa94e34b4d72a9ff291961a', 'network_id': 'c7e91f67-c949-4c22-8fef-e7881e72e734', 'ip_version': 4, 'cidr': '122.66.203.128/26', 'allocation_pools': [{'start': '122.66.203.130', 'end': '122.66.203.190'}], 'gateway_ip': '122.66.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.66.203.130', 'tags': [], 'project_id': '5a04d4848fa94e34b4d72a9ff291961a'}} 2025-06-01 17:59:44,536 - INFO - Created VN ctest-vn-31435329 2025-06-01 17:59:44,592 - DEBUG - VN ctest-vn-31435329 UUID is c7e91f67-c949-4c22-8fef-e7881e72e734 2025-06-01 17:59:44,939 - DEBUG - Response for create_network : {'network': {'id': '0eebc369-33af-48ab-8ab3-315cde307bda', 'name': 'ctest-ext_vn-36693931', 'tenant_id': '5a04d4848fa94e34b4d72a9ff291961a', 'project_id': '5a04d4848fa94e34b4d72a9ff291961a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03136465', 'ctest-ext_vn-36693931'], 'port_security_enabled': True, 'description': ''}} 2025-06-01 17:59:45,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f3fad71-9c27-4a6f-9625-6844c5f2c735', 'name': '', 'tenant_id': '5a04d4848fa94e34b4d72a9ff291961a', 'network_id': '0eebc369-33af-48ab-8ab3-315cde307bda', 'ip_version': 4, 'cidr': '108.233.67.0/26', 'allocation_pools': [{'start': '108.233.67.2', 'end': '108.233.67.62'}], 'gateway_ip': '108.233.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.233.67.2', 'tags': [], 'project_id': '5a04d4848fa94e34b4d72a9ff291961a'}} 2025-06-01 17:59:45,114 - INFO - Created VN ctest-ext_vn-36693931 2025-06-01 17:59:45,168 - DEBUG - VN ctest-ext_vn-36693931 UUID is 0eebc369-33af-48ab-8ab3-315cde307bda 2025-06-01 17:59:45,366 - DEBUG - Services list from nova: [, , ] 2025-06-01 17:59:46,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3381-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3381-1) 2025-06-01 17:59:47,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3381-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3381-1) 2025-06-01 17:59:47,722 - INFO - Setting gateway for router ff720e8d-fb87-43e5-8507-2526f9c8cd73 to network 0eebc369-33af-48ab-8ab3-315cde307bda 2025-06-01 17:59:47,785 - INFO - Adding interface with subnet_id 29ec1188-26c1-47bb-83c4-43c3a2383435, port_id None to router ff720e8d-fb87-43e5-8507-2526f9c8cd73 2025-06-01 17:59:48,072 - INFO - Waiting for VM ctest-TestRoutersBasic-03136465-32642425 to be up.. 2025-06-01 17:59:48,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-01 17:59:53,311 - DEBUG - VM is in ACTIVE state now 2025-06-01 17:59:53,311 - INFO - VM name : ctest-TestRoutersBasic-03136465-32642425 2025-06-01 17:59:53,384 - DEBUG - VM ctest-TestRoutersBasic-03136465-32642425 ID is a2627fef-6a82-4656-a9b6-8dec1eddd8ee 2025-06-01 17:59:53,401 - DEBUG - VM ctest-TestRoutersBasic-03136465-32642425 launched on Node cn-jenkins-deploy-platform-ansible-os-3381-1 2025-06-01 17:59:53,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a2627fef-6a82-4656-a9b6-8dec1eddd8ee 2025-06-01 17:59:53,831 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a2627fef-6a82-4656-a9b6-8dec1eddd8ee 2025-06-01 17:59:53,864 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bd8deeff-87df-4aeb-bfc9-5a2939157e0e 2025-06-01 17:59:57,131 - 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 1023ms') 2025-06-01 17:59:57,131 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03136465-32642425 failed! 2025-06-01 17:59:57,188 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03136465:ctest-vn-31435329 is 122.66.203.129 and allocation pool is NOT set 2025-06-01 17:59:59,246 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.856 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.856/2.632/4.408/1.776 ms') 2025-06-01 17:59:59,247 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03136465-32642425 passed 2025-06-01 17:59:59,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 17:59:59,421 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03136465-32642425, IP 122.66.203.131, Port 22 2025-06-01 17:59:59,587 - DEBUG - VM ctest-TestRoutersBasic-03136465-32642425 is ready for SSH connections 2025-06-01 17:59:59,587 - INFO - Waiting for VM ctest-TestRoutersBasic-03136465-70146036 to be up.. 2025-06-01 17:59:59,689 - DEBUG - VM is in ACTIVE state now 2025-06-01 17:59:59,689 - INFO - VM name : ctest-TestRoutersBasic-03136465-70146036 2025-06-01 17:59:59,765 - DEBUG - VM ctest-TestRoutersBasic-03136465-70146036 ID is 56ffa1b3-ea94-438b-bd81-54e9eb41e695 2025-06-01 17:59:59,765 - DEBUG - VM ctest-TestRoutersBasic-03136465-70146036 launched on Node cn-jenkins-deploy-platform-ansible-os-3381-1 2025-06-01 17:59:59,834 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/56ffa1b3-ea94-438b-bd81-54e9eb41e695 2025-06-01 17:59:59,842 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c53c5a43-2a52-40e7-8d2a-dfd316093d5b 2025-06-01 18:00:01,082 - 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=5.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.51 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.510/3.499/5.489/1.989 ms') 2025-06-01 18:00:01,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03136465-70146036 passed 2025-06-01 18:00:01,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 18:00:01,237 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03136465-70146036, IP 108.233.67.3, Port 22 2025-06-01 18:00:01,392 - DEBUG - VM ctest-TestRoutersBasic-03136465-70146036 is ready for SSH connections 2025-06-01 18:00:01,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 18:00:01,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.233.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-01 18:00:01,392 - DEBUG - ping -s 56 -c 3 -W 1 108.233.67.3 2025-06-01 18:00:05,104 - DEBUG - PING 108.233.67.3 (108.233.67.3): 56 data bytes 64 bytes from 108.233.67.3: seq=0 ttl=62 time=4.886 ms 64 bytes from 108.233.67.3: seq=1 ttl=62 time=0.777 ms 64 bytes from 108.233.67.3: seq=2 ttl=62 time=1.022 ms --- 108.233.67.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/2.228/4.886 ms 2025-06-01 18:00:05,105 - INFO - Ping to IP 108.233.67.3 from VM ctest-TestRoutersBasic-03136465-32642425 passed 2025-06-01 18:00:05,105 - INFO - Deleting interface with subnet_id 29ec1188-26c1-47bb-83c4-43c3a2383435, port_id None from router ff720e8d-fb87-43e5-8507-2526f9c8cd73 2025-06-01 18:00:05,343 - INFO - Deleting VM ctest-TestRoutersBasic-03136465-70146036 2025-06-01 18:00:05,423 - INFO - Deleting VM ctest-TestRoutersBasic-03136465-32642425 2025-06-01 18:00:05,503 - INFO - Deleting VN ctest-ext_vn-36693931 2025-06-01 18:00:05,580 - DEBUG - VN 0eebc369-33af-48ab-8ab3-315cde307bda still in use: Unable to complete operation on network 0eebc369-33af-48ab-8ab3-315cde307bda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d3cd458-80fb-4fea-8048-4d108a601646'] 2025-06-01 18:00:05,580 - WARNING - Deleting VN ctest-ext_vn-36693931 failed..Will retry 2025-06-01 18:00:07,691 - DEBUG - Response for deleting network () 2025-06-01 18:00:07,691 - INFO - Deleting VN ctest-vn-31435329 2025-06-01 18:00:07,802 - DEBUG - Response for deleting network () 2025-06-01 18:00:08,062 - DEBUG - No XMPP flaps were noticed during the test 2025-06-01 18:00:08,063 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-01 18:00:08,063 - INFO - -------------------------------------------------------------------------------- 2025-06-01 18:00:08,757 - INFO - Deleted project: ctest-TestRoutersBasic-03136465, ID : 5a04d484-8fa9-4e34-b4d7-2a9ff291961a