2025-04-04 15:15:02,400 - INFO - Domain Default found not creating 2025-04-04 15:15:02,576 - INFO - Project ctest-TestRoutersBasic-18314180 not found, creating it 2025-04-04 15:15:03,116 - INFO - Created Project:ctest-TestRoutersBasic-18314180, ID : cb27a3d0-a5a5-4697-a408-31784e559c0d 2025-04-04 15:15:04,724 - INFO - ================================================================================ 2025-04-04 15:15:04,724 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-04 15:15:04,724 - 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-04-04 15:15:04,982 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.26': '0'}} with 2025-04-04 15:15:04,982 - INFO - Initial checks done. Running the testcase now 2025-04-04 15:15:04,982 - INFO - 2025-04-04 15:15:05,712 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18314180 2025-04-04 15:15:05,811 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18314180 2025-04-04 15:15:06,147 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18314180', 'default']} 2025-04-04 15:15:06,475 - DEBUG - Response for create_network : {'network': {'id': '965a3998-46bf-43ff-b7f7-299b9225769f', 'name': 'ctest-vn-47551806', 'tenant_id': 'cb27a3d0a5a54697a40831784e559c0d', 'project_id': 'cb27a3d0a5a54697a40831784e559c0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18314180', 'ctest-vn-47551806'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 15:15:06,640 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8891635-bcc9-4a0a-9b30-656fcf648aae', 'name': '', 'tenant_id': 'cb27a3d0a5a54697a40831784e559c0d', 'network_id': '965a3998-46bf-43ff-b7f7-299b9225769f', 'ip_version': 4, 'cidr': '27.120.76.192/26', 'allocation_pools': [{'start': '27.120.76.194', 'end': '27.120.76.254'}], 'gateway_ip': '27.120.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.120.76.194', 'tags': [], 'project_id': 'cb27a3d0a5a54697a40831784e559c0d'}} 2025-04-04 15:15:06,661 - INFO - Created VN ctest-vn-47551806 2025-04-04 15:15:06,715 - DEBUG - VN ctest-vn-47551806 UUID is 965a3998-46bf-43ff-b7f7-299b9225769f 2025-04-04 15:15:07,067 - DEBUG - Response for create_network : {'network': {'id': 'd0b0f79b-7817-4165-b437-38970814117b', 'name': 'ctest-ext_vn-71573353', 'tenant_id': 'cb27a3d0a5a54697a40831784e559c0d', 'project_id': 'cb27a3d0a5a54697a40831784e559c0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18314180', 'ctest-ext_vn-71573353'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 15:15:07,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f213231-d0a0-403a-bed3-8af1a54f67db', 'name': '', 'tenant_id': 'cb27a3d0a5a54697a40831784e559c0d', 'network_id': 'd0b0f79b-7817-4165-b437-38970814117b', 'ip_version': 4, 'cidr': '161.164.194.128/26', 'allocation_pools': [{'start': '161.164.194.130', 'end': '161.164.194.190'}], 'gateway_ip': '161.164.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.164.194.130', 'tags': [], 'project_id': 'cb27a3d0a5a54697a40831784e559c0d'}} 2025-04-04 15:15:07,287 - INFO - Created VN ctest-ext_vn-71573353 2025-04-04 15:15:07,342 - DEBUG - VN ctest-ext_vn-71573353 UUID is d0b0f79b-7817-4165-b437-38970814117b 2025-04-04 15:15:07,515 - DEBUG - Services list from nova: [, , ] 2025-04-04 15:15:08,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3035-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3035-1) 2025-04-04 15:15:09,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3035-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3035-1) 2025-04-04 15:15:09,937 - INFO - Setting gateway for router 85e98504-6ce8-4e4e-8c12-b2829bac069d to network d0b0f79b-7817-4165-b437-38970814117b 2025-04-04 15:15:10,006 - INFO - Adding interface with subnet_id a8891635-bcc9-4a0a-9b30-656fcf648aae, port_id None to router 85e98504-6ce8-4e4e-8c12-b2829bac069d 2025-04-04 15:15:10,530 - INFO - Waiting for VM ctest-TestRoutersBasic-18314180-30532464 to be up.. 2025-04-04 15:15:10,774 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-04 15:15:15,861 - DEBUG - VM is in ACTIVE state now 2025-04-04 15:15:15,861 - INFO - VM name : ctest-TestRoutersBasic-18314180-30532464 2025-04-04 15:15:15,954 - DEBUG - VM ctest-TestRoutersBasic-18314180-30532464 ID is 710df24d-39ca-4cb9-a2af-397b3f582393 2025-04-04 15:15:15,975 - DEBUG - VM ctest-TestRoutersBasic-18314180-30532464 launched on Node cn-jenkins-deploy-platform-ansible-os-3035-1 2025-04-04 15:15:16,061 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/710df24d-39ca-4cb9-a2af-397b3f582393 2025-04-04 15:15:16,360 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/710df24d-39ca-4cb9-a2af-397b3f582393 2025-04-04 15:15:16,395 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/eff8a979-7bdc-4b9c-8ed4-379555d883e6 2025-04-04 15:15:19,653 - 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 1005ms') 2025-04-04 15:15:19,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18314180-30532464 failed! 2025-04-04 15:15:19,711 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18314180:ctest-vn-47551806 is 27.120.76.193 and allocation pool is NOT set 2025-04-04 15:15:21,772 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.788 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.788/2.392/3.997/1.604 ms') 2025-04-04 15:15:21,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18314180-30532464 passed 2025-04-04 15:15:21,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:15:21,927 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18314180-30532464, IP 27.120.76.195, Port 22 2025-04-04 15:15:22,082 - DEBUG - VM ctest-TestRoutersBasic-18314180-30532464 is ready for SSH connections 2025-04-04 15:15:22,082 - INFO - Waiting for VM ctest-TestRoutersBasic-18314180-03421092 to be up.. 2025-04-04 15:15:22,164 - DEBUG - VM is in ACTIVE state now 2025-04-04 15:15:22,164 - INFO - VM name : ctest-TestRoutersBasic-18314180-03421092 2025-04-04 15:15:22,254 - DEBUG - VM ctest-TestRoutersBasic-18314180-03421092 ID is 29f3ee34-31a5-4caf-80b4-4e2c679df460 2025-04-04 15:15:22,254 - DEBUG - VM ctest-TestRoutersBasic-18314180-03421092 launched on Node cn-jenkins-deploy-platform-ansible-os-3035-1 2025-04-04 15:15:22,343 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/29f3ee34-31a5-4caf-80b4-4e2c679df460 2025-04-04 15:15:22,355 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/8945d8b6-325c-48f4-8610-ad4b2f9b5eff 2025-04-04 15:15:23,605 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.913 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.913/2.919/4.925/2.006 ms') 2025-04-04 15:15:23,605 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18314180-03421092 passed 2025-04-04 15:15:23,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:15:23,759 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18314180-03421092, IP 161.164.194.131, Port 22 2025-04-04 15:15:23,914 - DEBUG - VM ctest-TestRoutersBasic-18314180-03421092 is ready for SSH connections 2025-04-04 15:15:23,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:15:23,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.164.194.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-04-04 15:15:23,914 - DEBUG - ping -s 56 -c 3 -W 1 161.164.194.131 2025-04-04 15:15:27,633 - DEBUG - PING 161.164.194.131 (161.164.194.131): 56 data bytes 64 bytes from 161.164.194.131: seq=0 ttl=62 time=7.885 ms 64 bytes from 161.164.194.131: seq=1 ttl=62 time=0.944 ms 64 bytes from 161.164.194.131: seq=2 ttl=62 time=0.888 ms --- 161.164.194.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/3.239/7.885 ms 2025-04-04 15:15:27,633 - INFO - Ping to IP 161.164.194.131 from VM ctest-TestRoutersBasic-18314180-30532464 passed 2025-04-04 15:15:27,633 - INFO - Deleting interface with subnet_id a8891635-bcc9-4a0a-9b30-656fcf648aae, port_id None from router 85e98504-6ce8-4e4e-8c12-b2829bac069d 2025-04-04 15:15:27,884 - INFO - Deleting VM ctest-TestRoutersBasic-18314180-03421092 2025-04-04 15:15:27,962 - INFO - Deleting VM ctest-TestRoutersBasic-18314180-30532464 2025-04-04 15:15:28,064 - INFO - Deleting VN ctest-ext_vn-71573353 2025-04-04 15:15:28,158 - DEBUG - VN d0b0f79b-7817-4165-b437-38970814117b still in use: Unable to complete operation on network d0b0f79b-7817-4165-b437-38970814117b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4540a952-c19f-41d7-bff9-0ed131560eff'] 2025-04-04 15:15:28,158 - WARNING - Deleting VN ctest-ext_vn-71573353 failed..Will retry 2025-04-04 15:15:30,299 - DEBUG - Response for deleting network () 2025-04-04 15:15:30,299 - INFO - Deleting VN ctest-vn-47551806 2025-04-04 15:15:30,424 - DEBUG - Response for deleting network () 2025-04-04 15:15:30,680 - DEBUG - No XMPP flaps were noticed during the test 2025-04-04 15:15:30,681 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-04-04 15:15:30,681 - INFO - -------------------------------------------------------------------------------- 2025-04-04 15:15:31,398 - INFO - Deleted project: ctest-TestRoutersBasic-18314180, ID : cb27a3d0-a5a5-4697-a408-31784e559c0d