2025-10-31 03:08:39,312 - INFO - Domain Default found not creating 2025-10-31 03:08:39,501 - INFO - Project ctest-TestRoutersBasic-59908807 not found, creating it 2025-10-31 03:08:40,059 - INFO - Created Project:ctest-TestRoutersBasic-59908807, ID : 88aa0580-b165-4e29-8ea2-90bc462339ce 2025-10-31 03:08:41,429 - INFO - ================================================================================ 2025-10-31 03:08:41,430 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 03:08:41,430 - 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-31 03:08:41,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2025-10-31 03:08:41,691 - INFO - Initial checks done. Running the testcase now 2025-10-31 03:08:41,692 - INFO - 2025-10-31 03:08:42,384 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59908807 2025-10-31 03:08:42,479 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59908807 2025-10-31 03:08:42,803 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59908807', 'default']} 2025-10-31 03:08:43,077 - DEBUG - Response for create_network : {'network': {'id': '6f77fb1e-85f6-4015-b3c1-f83dad2d41a5', 'name': 'ctest-vn-86042667', 'tenant_id': '88aa0580b1654e298ea290bc462339ce', 'project_id': '88aa0580b1654e298ea290bc462339ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59908807', 'ctest-vn-86042667'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 03:08:43,290 - DEBUG - Response for create_subnet : {'subnet': {'id': '0972e9b3-7f62-4c92-8792-01f374be2502', 'name': '', 'tenant_id': '88aa0580b1654e298ea290bc462339ce', 'network_id': '6f77fb1e-85f6-4015-b3c1-f83dad2d41a5', 'ip_version': 4, 'cidr': '51.33.21.0/26', 'allocation_pools': [{'start': '51.33.21.2', 'end': '51.33.21.62'}], 'gateway_ip': '51.33.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.33.21.2', 'tags': [], 'project_id': '88aa0580b1654e298ea290bc462339ce'}} 2025-10-31 03:08:43,305 - INFO - Created VN ctest-vn-86042667 2025-10-31 03:08:43,355 - DEBUG - VN ctest-vn-86042667 UUID is 6f77fb1e-85f6-4015-b3c1-f83dad2d41a5 2025-10-31 03:08:43,702 - DEBUG - Response for create_network : {'network': {'id': '2e02600a-cb97-45f7-b0ed-2226475f5ded', 'name': 'ctest-ext_vn-10211220', 'tenant_id': '88aa0580b1654e298ea290bc462339ce', 'project_id': '88aa0580b1654e298ea290bc462339ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59908807', 'ctest-ext_vn-10211220'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 03:08:43,855 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fcd2914-c4cd-4514-85a5-7273c523cee9', 'name': '', 'tenant_id': '88aa0580b1654e298ea290bc462339ce', 'network_id': '2e02600a-cb97-45f7-b0ed-2226475f5ded', 'ip_version': 4, 'cidr': '141.176.235.0/26', 'allocation_pools': [{'start': '141.176.235.2', 'end': '141.176.235.62'}], 'gateway_ip': '141.176.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.176.235.2', 'tags': [], 'project_id': '88aa0580b1654e298ea290bc462339ce'}} 2025-10-31 03:08:43,871 - INFO - Created VN ctest-ext_vn-10211220 2025-10-31 03:08:43,923 - DEBUG - VN ctest-ext_vn-10211220 UUID is 2e02600a-cb97-45f7-b0ed-2226475f5ded 2025-10-31 03:08:44,128 - DEBUG - Services list from nova: [, , ] 2025-10-31 03:08:45,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4568-1) 2025-10-31 03:08:46,186 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4568-1) 2025-10-31 03:08:46,257 - INFO - Setting gateway for router 68e66149-d2b9-4258-a583-47fc43959e3a to network 2e02600a-cb97-45f7-b0ed-2226475f5ded 2025-10-31 03:08:46,327 - INFO - Adding interface with subnet_id 0972e9b3-7f62-4c92-8792-01f374be2502, port_id None to router 68e66149-d2b9-4258-a583-47fc43959e3a 2025-10-31 03:08:46,694 - INFO - Waiting for VM ctest-TestRoutersBasic-59908807-40585820 to be up.. 2025-10-31 03:08:46,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 03:08:51,893 - DEBUG - VM is in ACTIVE state now 2025-10-31 03:08:51,893 - INFO - VM name : ctest-TestRoutersBasic-59908807-40585820 2025-10-31 03:08:51,960 - DEBUG - VM ctest-TestRoutersBasic-59908807-40585820 ID is 367cfdc5-a585-4445-87c8-e26da2f31674 2025-10-31 03:08:51,977 - DEBUG - VM ctest-TestRoutersBasic-59908807-40585820 launched on Node cn-jenkins-deploy-platform-ansible-os-4568-1 2025-10-31 03:08:52,060 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/367cfdc5-a585-4445-87c8-e26da2f31674 2025-10-31 03:08:52,351 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/367cfdc5-a585-4445-87c8-e26da2f31674 2025-10-31 03:08:52,379 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/74b0d994-09b5-405a-9e5d-7a6117f08c65 2025-10-31 03:08:55,616 - 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 1008ms') 2025-10-31 03:08:55,616 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59908807-40585820 failed! 2025-10-31 03:08:55,671 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59908807:ctest-vn-86042667 is 51.33.21.1 and allocation pool is NOT set 2025-10-31 03:08:57,735 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 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.461/1.911/3.361/1.450 ms') 2025-10-31 03:08:57,735 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59908807-40585820 passed 2025-10-31 03:08:57,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:57,839 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59908807-40585820, IP 51.33.21.3, Port 22 2025-10-31 03:08:57,991 - DEBUG - VM ctest-TestRoutersBasic-59908807-40585820 is ready for SSH connections 2025-10-31 03:08:57,991 - INFO - Waiting for VM ctest-TestRoutersBasic-59908807-65753798 to be up.. 2025-10-31 03:08:58,064 - DEBUG - VM is in ACTIVE state now 2025-10-31 03:08:58,064 - INFO - VM name : ctest-TestRoutersBasic-59908807-65753798 2025-10-31 03:08:58,130 - DEBUG - VM ctest-TestRoutersBasic-59908807-65753798 ID is fd56d0d3-2fd6-4922-9168-bba17260baca 2025-10-31 03:08:58,130 - DEBUG - VM ctest-TestRoutersBasic-59908807-65753798 launched on Node cn-jenkins-deploy-platform-ansible-os-4568-1 2025-10-31 03:08:58,193 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/fd56d0d3-2fd6-4922-9168-bba17260baca 2025-10-31 03:08:58,202 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/9be980b2-fbb1-4fce-8b0e-335b10f3c2e7 2025-10-31 03:08:59,432 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.996/3.565/1.569 ms') 2025-10-31 03:08:59,432 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59908807-65753798 passed 2025-10-31 03:08:59,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:59,580 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59908807-65753798, IP 141.176.235.3, Port 22 2025-10-31 03:08:59,738 - DEBUG - VM ctest-TestRoutersBasic-59908807-65753798 is ready for SSH connections 2025-10-31 03:08:59,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:08:59,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.176.235.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-31 03:08:59,739 - DEBUG - ping -s 56 -c 3 -W 1 141.176.235.3 2025-10-31 03:09:03,596 - DEBUG - PING 141.176.235.3 (141.176.235.3): 56 data bytes 64 bytes from 141.176.235.3: seq=0 ttl=62 time=4.888 ms 64 bytes from 141.176.235.3: seq=1 ttl=62 time=0.909 ms 64 bytes from 141.176.235.3: seq=2 ttl=62 time=0.716 ms --- 141.176.235.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/2.171/4.888 ms 2025-10-31 03:09:03,597 - INFO - Ping to IP 141.176.235.3 from VM ctest-TestRoutersBasic-59908807-40585820 passed 2025-10-31 03:09:03,597 - INFO - Deleting interface with subnet_id 0972e9b3-7f62-4c92-8792-01f374be2502, port_id None from router 68e66149-d2b9-4258-a583-47fc43959e3a 2025-10-31 03:09:03,767 - INFO - Deleting VM ctest-TestRoutersBasic-59908807-65753798 2025-10-31 03:09:03,830 - INFO - Deleting VM ctest-TestRoutersBasic-59908807-40585820 2025-10-31 03:09:03,918 - INFO - Deleting VN ctest-ext_vn-10211220 2025-10-31 03:09:03,984 - DEBUG - VN 2e02600a-cb97-45f7-b0ed-2226475f5ded still in use: Unable to complete operation on network 2e02600a-cb97-45f7-b0ed-2226475f5ded. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-68cd8031-6a7a-49e5-bb92-2c576a32d1cf'] 2025-10-31 03:09:03,984 - WARNING - Deleting VN ctest-ext_vn-10211220 failed..Will retry 2025-10-31 03:09:06,068 - DEBUG - Response for deleting network () 2025-10-31 03:09:06,068 - INFO - Deleting VN ctest-vn-86042667 2025-10-31 03:09:06,161 - DEBUG - Response for deleting network () 2025-10-31 03:09:06,415 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 03:09:06,415 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-31 03:09:06,415 - INFO - -------------------------------------------------------------------------------- 2025-10-31 03:09:07,082 - INFO - Deleted project: ctest-TestRoutersBasic-59908807, ID : 88aa0580-b165-4e29-8ea2-90bc462339ce