2024-08-26 18:58:57,000 - INFO - Domain Default found not creating 2024-08-26 18:58:57,196 - INFO - Project ctest-TestRoutersBasic-16820343 not found, creating it 2024-08-26 18:58:57,686 - INFO - Created Project:ctest-TestRoutersBasic-16820343, ID : f87aac5d-2e55-4ee5-b646-896cd14a81c7 2024-08-26 18:59:00,267 - INFO - ================================================================================ 2024-08-26 18:59:00,267 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-26 18:59:00,267 - 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 2024-08-26 18:59:00,524 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.26': '0'}} with 2024-08-26 18:59:00,524 - INFO - Initial checks done. Running the testcase now 2024-08-26 18:59:00,524 - INFO - 2024-08-26 18:59:01,841 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16820343 2024-08-26 18:59:01,938 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16820343 2024-08-26 18:59:02,258 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16820343', 'default']} 2024-08-26 18:59:02,570 - DEBUG - Response for create_network : {'network': {'id': '9f1d03cc-b372-429e-839d-922a70770f17', 'name': 'ctest-vn-57859509', 'tenant_id': 'f87aac5d2e554ee5b646896cd14a81c7', 'project_id': 'f87aac5d2e554ee5b646896cd14a81c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16820343', 'ctest-vn-57859509'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 18:59:02,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '878c4053-ac87-4c33-b37b-b8b5a3d65e40', 'name': '', 'tenant_id': 'f87aac5d2e554ee5b646896cd14a81c7', 'network_id': '9f1d03cc-b372-429e-839d-922a70770f17', 'ip_version': 4, 'cidr': '63.210.237.64/26', 'allocation_pools': [{'start': '63.210.237.66', 'end': '63.210.237.126'}], 'gateway_ip': '63.210.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.210.237.66', 'tags': [], 'project_id': 'f87aac5d2e554ee5b646896cd14a81c7'}} 2024-08-26 18:59:02,830 - INFO - Created VN ctest-vn-57859509 2024-08-26 18:59:02,882 - DEBUG - VN ctest-vn-57859509 UUID is 9f1d03cc-b372-429e-839d-922a70770f17 2024-08-26 18:59:03,238 - DEBUG - Response for create_network : {'network': {'id': '1ba9d5af-a61c-424f-9ae4-820473e4cc74', 'name': 'ctest-ext_vn-01068982', 'tenant_id': 'f87aac5d2e554ee5b646896cd14a81c7', 'project_id': 'f87aac5d2e554ee5b646896cd14a81c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16820343', 'ctest-ext_vn-01068982'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 18:59:03,481 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6d80586-a8b0-4b6e-804d-7260f91204cc', 'name': '', 'tenant_id': 'f87aac5d2e554ee5b646896cd14a81c7', 'network_id': '1ba9d5af-a61c-424f-9ae4-820473e4cc74', 'ip_version': 4, 'cidr': '118.224.56.192/26', 'allocation_pools': [{'start': '118.224.56.194', 'end': '118.224.56.254'}], 'gateway_ip': '118.224.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.224.56.194', 'tags': [], 'project_id': 'f87aac5d2e554ee5b646896cd14a81c7'}} 2024-08-26 18:59:03,503 - INFO - Created VN ctest-ext_vn-01068982 2024-08-26 18:59:03,559 - DEBUG - VN ctest-ext_vn-01068982 UUID is 1ba9d5af-a61c-424f-9ae4-820473e4cc74 2024-08-26 18:59:03,737 - DEBUG - Services list from nova: [, , ] 2024-08-26 18:59:04,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1767-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1767-1) 2024-08-26 18:59:06,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1767-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1767-1) 2024-08-26 18:59:06,426 - INFO - Setting gateway for router 025e9a72-e505-4fb8-b48b-9ceb8e88bff3 to network 1ba9d5af-a61c-424f-9ae4-820473e4cc74 2024-08-26 18:59:06,501 - INFO - Adding interface with subnet_id 878c4053-ac87-4c33-b37b-b8b5a3d65e40, port_id None to router 025e9a72-e505-4fb8-b48b-9ceb8e88bff3 2024-08-26 18:59:06,935 - INFO - Waiting for VM ctest-TestRoutersBasic-16820343-94411494 to be up.. 2024-08-26 18:59:07,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 18:59:12,181 - DEBUG - VM is in ACTIVE state now 2024-08-26 18:59:12,181 - INFO - VM name : ctest-TestRoutersBasic-16820343-94411494 2024-08-26 18:59:12,276 - DEBUG - VM ctest-TestRoutersBasic-16820343-94411494 ID is 04cce88e-9cd2-4ca9-81af-437769f31ad3 2024-08-26 18:59:12,300 - DEBUG - VM ctest-TestRoutersBasic-16820343-94411494 launched on Node cn-jenkins-deploy-platform-ansible-os-1767-1 2024-08-26 18:59:12,389 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/04cce88e-9cd2-4ca9-81af-437769f31ad3 2024-08-26 18:59:12,684 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/04cce88e-9cd2-4ca9-81af-437769f31ad3 2024-08-26 18:59:12,720 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/4d47776b-9eef-49bf-857e-d9e783c8155a 2024-08-26 18:59:15,960 - 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') 2024-08-26 18:59:15,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16820343-94411494 failed! 2024-08-26 18:59:16,014 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16820343:ctest-vn-57859509 is 63.210.237.65 and allocation pool is NOT set 2024-08-26 18:59:18,070 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.342 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.342/1.714/3.087/1.372 ms') 2024-08-26 18:59:18,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16820343-94411494 passed 2024-08-26 18:59:18,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 18:59:18,222 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16820343-94411494, IP 63.210.237.67, Port 22 2024-08-26 18:59:18,378 - DEBUG - VM ctest-TestRoutersBasic-16820343-94411494 is ready for SSH connections 2024-08-26 18:59:18,378 - INFO - Waiting for VM ctest-TestRoutersBasic-16820343-83312554 to be up.. 2024-08-26 18:59:18,471 - DEBUG - VM is in ACTIVE state now 2024-08-26 18:59:18,471 - INFO - VM name : ctest-TestRoutersBasic-16820343-83312554 2024-08-26 18:59:18,573 - DEBUG - VM ctest-TestRoutersBasic-16820343-83312554 ID is e198c2bd-0516-4e5f-9c8a-4ef743c08e70 2024-08-26 18:59:18,573 - DEBUG - VM ctest-TestRoutersBasic-16820343-83312554 launched on Node cn-jenkins-deploy-platform-ansible-os-1767-1 2024-08-26 18:59:18,660 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/e198c2bd-0516-4e5f-9c8a-4ef743c08e70 2024-08-26 18:59:18,670 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/aabac6d8-386e-4c84-b1b6-8dae061675d9 2024-08-26 18:59:19,916 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.746/3.095/1.348 ms') 2024-08-26 18:59:19,916 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16820343-83312554 passed 2024-08-26 18:59:20,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 18:59:20,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16820343-83312554, IP 118.224.56.195, Port 22 2024-08-26 18:59:20,221 - DEBUG - VM ctest-TestRoutersBasic-16820343-83312554 is ready for SSH connections 2024-08-26 18:59:20,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 18:59:20,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.224.56.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-08-26 18:59:20,222 - DEBUG - ping -s 56 -c 3 -W 1 118.224.56.195 2024-08-26 18:59:23,935 - DEBUG - PING 118.224.56.195 (118.224.56.195): 56 data bytes 64 bytes from 118.224.56.195: seq=0 ttl=62 time=5.172 ms 64 bytes from 118.224.56.195: seq=1 ttl=62 time=1.267 ms 64 bytes from 118.224.56.195: seq=2 ttl=62 time=0.769 ms --- 118.224.56.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/2.402/5.172 ms 2024-08-26 18:59:23,936 - INFO - Ping to IP 118.224.56.195 from VM ctest-TestRoutersBasic-16820343-94411494 passed 2024-08-26 18:59:23,936 - INFO - Deleting interface with subnet_id 878c4053-ac87-4c33-b37b-b8b5a3d65e40, port_id None from router 025e9a72-e505-4fb8-b48b-9ceb8e88bff3 2024-08-26 18:59:24,563 - INFO - Deleting VM ctest-TestRoutersBasic-16820343-83312554 2024-08-26 18:59:24,628 - INFO - Deleting VM ctest-TestRoutersBasic-16820343-94411494 2024-08-26 18:59:24,703 - INFO - Deleting VN ctest-ext_vn-01068982 2024-08-26 18:59:24,796 - DEBUG - VN 1ba9d5af-a61c-424f-9ae4-820473e4cc74 still in use: Unable to complete operation on network 1ba9d5af-a61c-424f-9ae4-820473e4cc74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea3d30dc-48fa-4a3c-81bb-76665fa5d187'] 2024-08-26 18:59:24,796 - WARNING - Deleting VN ctest-ext_vn-01068982 failed..Will retry 2024-08-26 18:59:26,915 - DEBUG - Response for deleting network () 2024-08-26 18:59:26,915 - INFO - Deleting VN ctest-vn-57859509 2024-08-26 18:59:27,055 - DEBUG - Response for deleting network () 2024-08-26 18:59:27,317 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 18:59:27,317 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2024-08-26 18:59:27,317 - INFO - -------------------------------------------------------------------------------- 2024-08-26 18:59:27,999 - INFO - Deleted project: ctest-TestRoutersBasic-16820343, ID : f87aac5d-2e55-4ee5-b646-896cd14a81c7