2025-01-07 21:41:57,814 - INFO - Domain Default found not creating 2025-01-07 21:41:57,970 - INFO - Project ctest-TestRoutersBasic-55067495 not found, creating it 2025-01-07 21:41:58,439 - INFO - Created Project:ctest-TestRoutersBasic-55067495, ID : 076ed75a-144a-4353-bed7-6ce844d73b9a 2025-01-07 21:41:59,918 - INFO - ================================================================================ 2025-01-07 21:41:59,918 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-07 21:41:59,918 - 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-01-07 21:42:00,171 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.10': '0'}} with 2025-01-07 21:42:00,171 - INFO - Initial checks done. Running the testcase now 2025-01-07 21:42:00,171 - INFO - 2025-01-07 21:42:00,873 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55067495 2025-01-07 21:42:00,970 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55067495 2025-01-07 21:42:01,301 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55067495', 'default']} 2025-01-07 21:42:01,582 - DEBUG - Response for create_network : {'network': {'id': '06762af7-5780-4d33-ad07-6ef2e8e24521', 'name': 'ctest-vn-74816870', 'tenant_id': '076ed75a144a4353bed76ce844d73b9a', 'project_id': '076ed75a144a4353bed76ce844d73b9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55067495', 'ctest-vn-74816870'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:42:01,767 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1deaba8-0dd7-4134-a9ef-18ee6814fb7d', 'name': '', 'tenant_id': '076ed75a144a4353bed76ce844d73b9a', 'network_id': '06762af7-5780-4d33-ad07-6ef2e8e24521', 'ip_version': 4, 'cidr': '187.2.246.64/26', 'allocation_pools': [{'start': '187.2.246.66', 'end': '187.2.246.126'}], 'gateway_ip': '187.2.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.2.246.66', 'tags': [], 'project_id': '076ed75a144a4353bed76ce844d73b9a'}} 2025-01-07 21:42:01,783 - INFO - Created VN ctest-vn-74816870 2025-01-07 21:42:01,834 - DEBUG - VN ctest-vn-74816870 UUID is 06762af7-5780-4d33-ad07-6ef2e8e24521 2025-01-07 21:42:02,188 - DEBUG - Response for create_network : {'network': {'id': 'dddbf6b0-a369-4ce8-9318-040091482153', 'name': 'ctest-ext_vn-78763108', 'tenant_id': '076ed75a144a4353bed76ce844d73b9a', 'project_id': '076ed75a144a4353bed76ce844d73b9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55067495', 'ctest-ext_vn-78763108'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:42:02,384 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f47af3a0-24ff-4eb1-8f65-1ba17bb5b334', 'name': '', 'tenant_id': '076ed75a144a4353bed76ce844d73b9a', 'network_id': 'dddbf6b0-a369-4ce8-9318-040091482153', 'ip_version': 4, 'cidr': '193.1.149.0/26', 'allocation_pools': [{'start': '193.1.149.2', 'end': '193.1.149.62'}], 'gateway_ip': '193.1.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.1.149.2', 'tags': [], 'project_id': '076ed75a144a4353bed76ce844d73b9a'}} 2025-01-07 21:42:02,403 - INFO - Created VN ctest-ext_vn-78763108 2025-01-07 21:42:02,457 - DEBUG - VN ctest-ext_vn-78763108 UUID is dddbf6b0-a369-4ce8-9318-040091482153 2025-01-07 21:42:02,652 - DEBUG - Services list from nova: [, , ] 2025-01-07 21:42:03,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2555-1) 2025-01-07 21:42:04,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2555-1) 2025-01-07 21:42:04,888 - INFO - Setting gateway for router 94fef948-8f8e-42d7-be7b-a67ae9910492 to network dddbf6b0-a369-4ce8-9318-040091482153 2025-01-07 21:42:04,966 - INFO - Adding interface with subnet_id e1deaba8-0dd7-4134-a9ef-18ee6814fb7d, port_id None to router 94fef948-8f8e-42d7-be7b-a67ae9910492 2025-01-07 21:42:05,429 - INFO - Waiting for VM ctest-TestRoutersBasic-55067495-61811641 to be up.. 2025-01-07 21:42:05,604 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 21:42:10,690 - DEBUG - VM is in ACTIVE state now 2025-01-07 21:42:10,690 - INFO - VM name : ctest-TestRoutersBasic-55067495-61811641 2025-01-07 21:42:10,760 - DEBUG - VM ctest-TestRoutersBasic-55067495-61811641 ID is 6593f127-9a0a-4cc0-996e-54d9bccf2467 2025-01-07 21:42:10,778 - DEBUG - VM ctest-TestRoutersBasic-55067495-61811641 launched on Node cn-jenkins-deploy-platform-ansible-os-2555-1 2025-01-07 21:42:10,848 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6593f127-9a0a-4cc0-996e-54d9bccf2467 2025-01-07 21:42:11,139 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6593f127-9a0a-4cc0-996e-54d9bccf2467 2025-01-07 21:42:11,168 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/29e465fb-272d-4180-868f-228131903004 2025-01-07 21:42:14,419 - 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 1019ms') 2025-01-07 21:42:14,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55067495-61811641 failed! 2025-01-07 21:42:14,474 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55067495:ctest-vn-74816870 is 187.2.246.65 and allocation pool is NOT set 2025-01-07 21:42:16,528 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/1.684/2.977/1.293 ms') 2025-01-07 21:42:16,528 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55067495-61811641 passed 2025-01-07 21:42:16,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:42:16,682 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55067495-61811641, IP 187.2.246.67, Port 22 2025-01-07 21:42:16,838 - DEBUG - VM ctest-TestRoutersBasic-55067495-61811641 is ready for SSH connections 2025-01-07 21:42:16,838 - INFO - Waiting for VM ctest-TestRoutersBasic-55067495-28390870 to be up.. 2025-01-07 21:42:16,927 - DEBUG - VM is in ACTIVE state now 2025-01-07 21:42:16,927 - INFO - VM name : ctest-TestRoutersBasic-55067495-28390870 2025-01-07 21:42:17,000 - DEBUG - VM ctest-TestRoutersBasic-55067495-28390870 ID is 96ce86e0-d3e3-42cc-90d8-b44e8287caab 2025-01-07 21:42:17,000 - DEBUG - VM ctest-TestRoutersBasic-55067495-28390870 launched on Node cn-jenkins-deploy-platform-ansible-os-2555-1 2025-01-07 21:42:17,076 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/96ce86e0-d3e3-42cc-90d8-b44e8287caab 2025-01-07 21:42:17,085 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6810622b-20ba-4efb-8476-9f93f70fce18 2025-01-07 21:42:18,332 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.910/3.429/1.519 ms') 2025-01-07 21:42:18,332 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55067495-28390870 passed 2025-01-07 21:42:18,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:42:18,486 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55067495-28390870, IP 193.1.149.3, Port 22 2025-01-07 21:42:18,649 - DEBUG - VM ctest-TestRoutersBasic-55067495-28390870 is ready for SSH connections 2025-01-07 21:42:18,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:42:18,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.1.149.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-07 21:42:18,649 - DEBUG - ping -s 56 -c 3 -W 1 193.1.149.3 2025-01-07 21:42:22,316 - DEBUG - PING 193.1.149.3 (193.1.149.3): 56 data bytes 64 bytes from 193.1.149.3: seq=0 ttl=62 time=4.522 ms 64 bytes from 193.1.149.3: seq=1 ttl=62 time=0.839 ms 64 bytes from 193.1.149.3: seq=2 ttl=62 time=0.964 ms --- 193.1.149.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/2.108/4.522 ms 2025-01-07 21:42:22,316 - INFO - Ping to IP 193.1.149.3 from VM ctest-TestRoutersBasic-55067495-61811641 passed 2025-01-07 21:42:22,316 - INFO - Deleting interface with subnet_id e1deaba8-0dd7-4134-a9ef-18ee6814fb7d, port_id None from router 94fef948-8f8e-42d7-be7b-a67ae9910492 2025-01-07 21:42:22,559 - INFO - Deleting VM ctest-TestRoutersBasic-55067495-28390870 2025-01-07 21:42:22,638 - INFO - Deleting VM ctest-TestRoutersBasic-55067495-61811641 2025-01-07 21:42:22,707 - INFO - Deleting VN ctest-ext_vn-78763108 2025-01-07 21:42:22,782 - DEBUG - VN dddbf6b0-a369-4ce8-9318-040091482153 still in use: Unable to complete operation on network dddbf6b0-a369-4ce8-9318-040091482153. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a8d64e5-7fef-4b29-8991-1e5195d73594'] 2025-01-07 21:42:22,782 - WARNING - Deleting VN ctest-ext_vn-78763108 failed..Will retry 2025-01-07 21:42:24,884 - DEBUG - Response for deleting network () 2025-01-07 21:42:24,884 - INFO - Deleting VN ctest-vn-74816870 2025-01-07 21:42:24,979 - DEBUG - Response for deleting network () 2025-01-07 21:42:25,235 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 21:42:25,235 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-07 21:42:25,235 - INFO - -------------------------------------------------------------------------------- 2025-01-07 21:42:26,342 - INFO - Deleted project: ctest-TestRoutersBasic-55067495, ID : 076ed75a-144a-4353-bed7-6ce844d73b9a