2025-04-11 14:57:20,641 - INFO - Domain Default found not creating 2025-04-11 14:57:20,799 - INFO - Project ctest-TestRoutersBasic-12545815 not found, creating it 2025-04-11 14:57:21,272 - INFO - Created Project:ctest-TestRoutersBasic-12545815, ID : 71d33f9c-bb67-4d35-8bec-81069e493af7 2025-04-11 14:57:22,724 - INFO - ================================================================================ 2025-04-11 14:57:22,725 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-11 14:57:22,725 - 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-11 14:57:22,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-04-11 14:57:22,985 - INFO - Initial checks done. Running the testcase now 2025-04-11 14:57:22,985 - INFO - 2025-04-11 14:57:23,700 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12545815 2025-04-11 14:57:23,802 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12545815 2025-04-11 14:57:24,138 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12545815', 'default']} 2025-04-11 14:57:24,447 - DEBUG - Response for create_network : {'network': {'id': '9685d8bd-65ba-445b-8de6-3acf7b1796c4', 'name': 'ctest-vn-09977771', 'tenant_id': '71d33f9cbb674d358bec81069e493af7', 'project_id': '71d33f9cbb674d358bec81069e493af7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12545815', 'ctest-vn-09977771'], 'port_security_enabled': True, 'description': ''}} 2025-04-11 14:57:24,636 - DEBUG - Response for create_subnet : {'subnet': {'id': '15eb4f0e-d817-4681-b305-ee306d234a26', 'name': '', 'tenant_id': '71d33f9cbb674d358bec81069e493af7', 'network_id': '9685d8bd-65ba-445b-8de6-3acf7b1796c4', 'ip_version': 4, 'cidr': '88.52.220.64/26', 'allocation_pools': [{'start': '88.52.220.66', 'end': '88.52.220.126'}], 'gateway_ip': '88.52.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.52.220.66', 'tags': [], 'project_id': '71d33f9cbb674d358bec81069e493af7'}} 2025-04-11 14:57:24,653 - INFO - Created VN ctest-vn-09977771 2025-04-11 14:57:24,710 - DEBUG - VN ctest-vn-09977771 UUID is 9685d8bd-65ba-445b-8de6-3acf7b1796c4 2025-04-11 14:57:25,028 - DEBUG - Response for create_network : {'network': {'id': '04338bc4-d6bb-4f04-a5ff-4a886ceae585', 'name': 'ctest-ext_vn-50934359', 'tenant_id': '71d33f9cbb674d358bec81069e493af7', 'project_id': '71d33f9cbb674d358bec81069e493af7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12545815', 'ctest-ext_vn-50934359'], 'port_security_enabled': True, 'description': ''}} 2025-04-11 14:57:25,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '024c551f-b9fb-4886-8fd4-ca1680f48735', 'name': '', 'tenant_id': '71d33f9cbb674d358bec81069e493af7', 'network_id': '04338bc4-d6bb-4f04-a5ff-4a886ceae585', 'ip_version': 4, 'cidr': '74.141.95.0/26', 'allocation_pools': [{'start': '74.141.95.2', 'end': '74.141.95.62'}], 'gateway_ip': '74.141.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.141.95.2', 'tags': [], 'project_id': '71d33f9cbb674d358bec81069e493af7'}} 2025-04-11 14:57:25,232 - INFO - Created VN ctest-ext_vn-50934359 2025-04-11 14:57:25,286 - DEBUG - VN ctest-ext_vn-50934359 UUID is 04338bc4-d6bb-4f04-a5ff-4a886ceae585 2025-04-11 14:57:25,460 - DEBUG - Services list from nova: [, , ] 2025-04-11 14:57:26,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3080-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3080-1) 2025-04-11 14:57:27,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3080-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3080-1) 2025-04-11 14:57:27,794 - INFO - Setting gateway for router 7477c1f3-f248-410a-bb07-21507174f789 to network 04338bc4-d6bb-4f04-a5ff-4a886ceae585 2025-04-11 14:57:27,865 - INFO - Adding interface with subnet_id 15eb4f0e-d817-4681-b305-ee306d234a26, port_id None to router 7477c1f3-f248-410a-bb07-21507174f789 2025-04-11 14:57:28,355 - INFO - Waiting for VM ctest-TestRoutersBasic-12545815-31045402 to be up.. 2025-04-11 14:57:28,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-11 14:57:33,613 - DEBUG - VM is in ACTIVE state now 2025-04-11 14:57:33,613 - INFO - VM name : ctest-TestRoutersBasic-12545815-31045402 2025-04-11 14:57:33,696 - DEBUG - VM ctest-TestRoutersBasic-12545815-31045402 ID is 0b33e0ec-a3c1-45a0-ba78-8eceaee7a271 2025-04-11 14:57:33,716 - DEBUG - VM ctest-TestRoutersBasic-12545815-31045402 launched on Node cn-jenkins-deploy-platform-ansible-os-3080-1 2025-04-11 14:57:33,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0b33e0ec-a3c1-45a0-ba78-8eceaee7a271 2025-04-11 14:57:34,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0b33e0ec-a3c1-45a0-ba78-8eceaee7a271 2025-04-11 14:57:34,132 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9e8c43d7-204d-449c-bb05-77ff6c76dad6 2025-04-11 14:57:37,397 - 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 1007ms') 2025-04-11 14:57:37,397 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12545815-31045402 failed! 2025-04-11 14:57:37,450 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12545815:ctest-vn-09977771 is 88.52.220.65 and allocation pool is NOT set 2025-04-11 14:57:39,519 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.694 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.694/1.992/3.291/1.298 ms') 2025-04-11 14:57:39,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12545815-31045402 passed 2025-04-11 14:57:39,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 14:57:39,670 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12545815-31045402, IP 88.52.220.67, Port 22 2025-04-11 14:57:39,826 - DEBUG - VM ctest-TestRoutersBasic-12545815-31045402 is ready for SSH connections 2025-04-11 14:57:39,826 - INFO - Waiting for VM ctest-TestRoutersBasic-12545815-18843029 to be up.. 2025-04-11 14:57:39,924 - DEBUG - VM is in ACTIVE state now 2025-04-11 14:57:39,924 - INFO - VM name : ctest-TestRoutersBasic-12545815-18843029 2025-04-11 14:57:40,003 - DEBUG - VM ctest-TestRoutersBasic-12545815-18843029 ID is f3ff41d3-dde7-4121-a939-8685e2062bd7 2025-04-11 14:57:40,003 - DEBUG - VM ctest-TestRoutersBasic-12545815-18843029 launched on Node cn-jenkins-deploy-platform-ansible-os-3080-1 2025-04-11 14:57:40,081 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f3ff41d3-dde7-4121-a939-8685e2062bd7 2025-04-11 14:57:40,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/54e4275f-c7f6-40ed-b3c6-0513ae7f2032 2025-04-11 14:57:41,330 - 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=8.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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.505/4.669/8.834/4.164 ms') 2025-04-11 14:57:41,330 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12545815-18843029 passed 2025-04-11 14:57:41,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 14:57:41,482 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12545815-18843029, IP 74.141.95.3, Port 22 2025-04-11 14:57:41,638 - DEBUG - VM ctest-TestRoutersBasic-12545815-18843029 is ready for SSH connections 2025-04-11 14:57:41,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 14:57:41,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.141.95.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-11 14:57:41,639 - DEBUG - ping -s 56 -c 3 -W 1 74.141.95.3 2025-04-11 14:57:45,651 - DEBUG - PING 74.141.95.3 (74.141.95.3): 56 data bytes 64 bytes from 74.141.95.3: seq=0 ttl=62 time=6.736 ms 64 bytes from 74.141.95.3: seq=1 ttl=62 time=0.903 ms 64 bytes from 74.141.95.3: seq=2 ttl=62 time=0.830 ms --- 74.141.95.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/2.823/6.736 ms 2025-04-11 14:57:45,651 - INFO - Ping to IP 74.141.95.3 from VM ctest-TestRoutersBasic-12545815-31045402 passed 2025-04-11 14:57:45,652 - INFO - Deleting interface with subnet_id 15eb4f0e-d817-4681-b305-ee306d234a26, port_id None from router 7477c1f3-f248-410a-bb07-21507174f789 2025-04-11 14:57:45,849 - INFO - Deleting VM ctest-TestRoutersBasic-12545815-18843029 2025-04-11 14:57:45,917 - INFO - Deleting VM ctest-TestRoutersBasic-12545815-31045402 2025-04-11 14:57:45,994 - INFO - Deleting VN ctest-ext_vn-50934359 2025-04-11 14:57:46,063 - DEBUG - VN 04338bc4-d6bb-4f04-a5ff-4a886ceae585 still in use: Unable to complete operation on network 04338bc4-d6bb-4f04-a5ff-4a886ceae585. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6234e96-e3da-4df5-acfb-97ca1f7722c1'] 2025-04-11 14:57:46,063 - WARNING - Deleting VN ctest-ext_vn-50934359 failed..Will retry 2025-04-11 14:57:48,193 - DEBUG - Response for deleting network () 2025-04-11 14:57:48,193 - INFO - Deleting VN ctest-vn-09977771 2025-04-11 14:57:48,312 - DEBUG - Response for deleting network () 2025-04-11 14:57:48,568 - DEBUG - No XMPP flaps were noticed during the test
2025-04-11 14:57:48,568 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-11 14:57:48,568 - INFO - -------------------------------------------------------------------------------- 2025-04-11 14:57:49,241 - INFO - Deleted project: ctest-TestRoutersBasic-12545815, ID : 71d33f9c-bb67-4d35-8bec-81069e493af7