2025-06-23 08:14:36,883 - INFO - Domain Default found not creating 2025-06-23 08:14:37,026 - INFO - Project ctest-TestRoutersBasic-37934648 not found, creating it 2025-06-23 08:14:37,487 - INFO - Created Project:ctest-TestRoutersBasic-37934648, ID : 902f0d1f-17ce-459e-bab8-161716a190fa 2025-06-23 08:14:38,866 - INFO - ================================================================================ 2025-06-23 08:14:38,866 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-23 08:14:38,866 - 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-23 08:14:39,121 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-23 08:14:39,121 - INFO - Initial checks done. Running the testcase now 2025-06-23 08:14:39,122 - INFO - 2025-06-23 08:14:39,803 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37934648 2025-06-23 08:14:39,896 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37934648 2025-06-23 08:14:40,219 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37934648', 'default']} 2025-06-23 08:14:40,499 - DEBUG - Response for create_network : {'network': {'id': 'b6721cb4-ed97-4912-af55-8621d68562df', 'name': 'ctest-vn-01476802', 'tenant_id': '902f0d1f17ce459ebab8161716a190fa', 'project_id': '902f0d1f17ce459ebab8161716a190fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37934648', 'ctest-vn-01476802'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 08:14:40,688 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff0e84ac-b0d8-4b64-801e-f8d7e5463287', 'name': '', 'tenant_id': '902f0d1f17ce459ebab8161716a190fa', 'network_id': 'b6721cb4-ed97-4912-af55-8621d68562df', 'ip_version': 4, 'cidr': '139.65.132.128/26', 'allocation_pools': [{'start': '139.65.132.130', 'end': '139.65.132.190'}], 'gateway_ip': '139.65.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.65.132.130', 'tags': [], 'project_id': '902f0d1f17ce459ebab8161716a190fa'}} 2025-06-23 08:14:40,704 - INFO - Created VN ctest-vn-01476802 2025-06-23 08:14:40,756 - DEBUG - VN ctest-vn-01476802 UUID is b6721cb4-ed97-4912-af55-8621d68562df 2025-06-23 08:14:41,087 - DEBUG - Response for create_network : {'network': {'id': 'c05fb833-a3db-4b97-970d-ed654e7b5e59', 'name': 'ctest-ext_vn-43110685', 'tenant_id': '902f0d1f17ce459ebab8161716a190fa', 'project_id': '902f0d1f17ce459ebab8161716a190fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37934648', 'ctest-ext_vn-43110685'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 08:14:41,268 - DEBUG - Response for create_subnet : {'subnet': {'id': '44dd3b89-c630-4792-b2a3-ae8743f17f98', 'name': '', 'tenant_id': '902f0d1f17ce459ebab8161716a190fa', 'network_id': 'c05fb833-a3db-4b97-970d-ed654e7b5e59', 'ip_version': 4, 'cidr': '3.27.182.192/26', 'allocation_pools': [{'start': '3.27.182.194', 'end': '3.27.182.254'}], 'gateway_ip': '3.27.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.27.182.194', 'tags': [], 'project_id': '902f0d1f17ce459ebab8161716a190fa'}} 2025-06-23 08:14:41,291 - INFO - Created VN ctest-ext_vn-43110685 2025-06-23 08:14:41,347 - DEBUG - VN ctest-ext_vn-43110685 UUID is c05fb833-a3db-4b97-970d-ed654e7b5e59 2025-06-23 08:14:41,507 - DEBUG - Services list from nova: [, , ] 2025-06-23 08:14:42,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3519-1) 2025-06-23 08:14:43,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3519-1) 2025-06-23 08:14:43,707 - INFO - Setting gateway for router 82fea289-16e8-4079-9961-c3e917c17f62 to network c05fb833-a3db-4b97-970d-ed654e7b5e59 2025-06-23 08:14:43,767 - INFO - Adding interface with subnet_id ff0e84ac-b0d8-4b64-801e-f8d7e5463287, port_id None to router 82fea289-16e8-4079-9961-c3e917c17f62 2025-06-23 08:14:44,045 - INFO - Waiting for VM ctest-TestRoutersBasic-37934648-84522928 to be up.. 2025-06-23 08:14:44,259 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 08:14:49,347 - DEBUG - VM is in ACTIVE state now 2025-06-23 08:14:49,347 - INFO - VM name : ctest-TestRoutersBasic-37934648-84522928 2025-06-23 08:14:49,432 - DEBUG - VM ctest-TestRoutersBasic-37934648-84522928 ID is 6a9e19b4-63ee-4d73-a680-89a4d6a2260d 2025-06-23 08:14:49,451 - DEBUG - VM ctest-TestRoutersBasic-37934648-84522928 launched on Node cn-jenkins-deploy-platform-ansible-os-3519-1 2025-06-23 08:14:49,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6a9e19b4-63ee-4d73-a680-89a4d6a2260d 2025-06-23 08:14:49,837 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6a9e19b4-63ee-4d73-a680-89a4d6a2260d 2025-06-23 08:14:49,867 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/60b3c7df-1561-481a-be83-888641c0fbed 2025-06-23 08:14:53,132 - 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 1015ms') 2025-06-23 08:14:53,132 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37934648-84522928 failed! 2025-06-23 08:14:53,188 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37934648:ctest-vn-01476802 is 139.65.132.129 and allocation pool is NOT set 2025-06-23 08:14:55,251 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.287 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 = 0.287/1.484/2.682/1.197 ms') 2025-06-23 08:14:55,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37934648-84522928 passed 2025-06-23 08:14:55,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 08:14:55,404 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37934648-84522928, IP 139.65.132.131, Port 22 2025-06-23 08:14:55,563 - DEBUG - VM ctest-TestRoutersBasic-37934648-84522928 is ready for SSH connections 2025-06-23 08:14:55,563 - INFO - Waiting for VM ctest-TestRoutersBasic-37934648-71877574 to be up.. 2025-06-23 08:14:55,640 - DEBUG - VM is in ACTIVE state now 2025-06-23 08:14:55,641 - INFO - VM name : ctest-TestRoutersBasic-37934648-71877574 2025-06-23 08:14:55,720 - DEBUG - VM ctest-TestRoutersBasic-37934648-71877574 ID is 1288f405-1ce5-4e16-b32b-7b970f2ff943 2025-06-23 08:14:55,720 - DEBUG - VM ctest-TestRoutersBasic-37934648-71877574 launched on Node cn-jenkins-deploy-platform-ansible-os-3519-1 2025-06-23 08:14:55,802 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1288f405-1ce5-4e16-b32b-7b970f2ff943 2025-06-23 08:14:55,812 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd0102d4-4965-470b-92aa-bb2dad5de4b7 2025-06-23 08:14:57,056 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.416/1.977/3.539/1.561 ms') 2025-06-23 08:14:57,056 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37934648-71877574 passed 2025-06-23 08:14:57,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 08:14:57,204 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37934648-71877574, IP 3.27.182.195, Port 22 2025-06-23 08:14:57,359 - DEBUG - VM ctest-TestRoutersBasic-37934648-71877574 is ready for SSH connections 2025-06-23 08:14:57,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 08:14:57,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.27.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-23 08:14:57,360 - DEBUG - ping -s 56 -c 3 -W 1 3.27.182.195 2025-06-23 08:15:01,066 - DEBUG - PING 3.27.182.195 (3.27.182.195): 56 data bytes 64 bytes from 3.27.182.195: seq=0 ttl=62 time=6.586 ms 64 bytes from 3.27.182.195: seq=1 ttl=62 time=0.939 ms 64 bytes from 3.27.182.195: seq=2 ttl=62 time=1.134 ms --- 3.27.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/2.886/6.586 ms 2025-06-23 08:15:01,067 - INFO - Ping to IP 3.27.182.195 from VM ctest-TestRoutersBasic-37934648-84522928 passed 2025-06-23 08:15:01,067 - INFO - Deleting interface with subnet_id ff0e84ac-b0d8-4b64-801e-f8d7e5463287, port_id None from router 82fea289-16e8-4079-9961-c3e917c17f62 2025-06-23 08:15:01,338 - INFO - Deleting VM ctest-TestRoutersBasic-37934648-71877574 2025-06-23 08:15:01,403 - INFO - Deleting VM ctest-TestRoutersBasic-37934648-84522928 2025-06-23 08:15:01,482 - INFO - Deleting VN ctest-ext_vn-43110685 2025-06-23 08:15:01,594 - DEBUG - VN c05fb833-a3db-4b97-970d-ed654e7b5e59 still in use: Unable to complete operation on network c05fb833-a3db-4b97-970d-ed654e7b5e59. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-773c0009-d63b-44cb-aee1-76394f1b599f'] 2025-06-23 08:15:01,594 - WARNING - Deleting VN ctest-ext_vn-43110685 failed..Will retry 2025-06-23 08:15:03,708 - DEBUG - Response for deleting network () 2025-06-23 08:15:03,708 - INFO - Deleting VN ctest-vn-01476802 2025-06-23 08:15:03,816 - DEBUG - Response for deleting network () 2025-06-23 08:15:04,070 - DEBUG - No XMPP flaps were noticed during the test 2025-06-23 08:15:04,070 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-23 08:15:04,070 - INFO - -------------------------------------------------------------------------------- 2025-06-23 08:15:04,736 - INFO - Deleted project: ctest-TestRoutersBasic-37934648, ID : 902f0d1f-17ce-459e-bab8-161716a190fa