2024-09-15 21:53:21,228 - INFO - Domain Default found not creating 2024-09-15 21:53:21,378 - INFO - Project ctest-TestRoutersBasic-77957587 not found, creating it 2024-09-15 21:53:21,828 - INFO - Created Project:ctest-TestRoutersBasic-77957587, ID : d4766968-8eb6-430f-b5ee-9e6031b97250 2024-09-15 21:53:23,376 - INFO - ================================================================================ 2024-09-15 21:53:23,376 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-15 21:53:23,376 - 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-09-15 21:53:23,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.10': '0'}} with 2024-09-15 21:53:23,630 - INFO - Initial checks done. Running the testcase now 2024-09-15 21:53:23,630 - INFO - 2024-09-15 21:53:24,343 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77957587 2024-09-15 21:53:24,440 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77957587 2024-09-15 21:53:24,764 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77957587', 'default']} 2024-09-15 21:53:25,062 - DEBUG - Response for create_network : {'network': {'id': 'e7acf668-db6f-4000-a3d7-b34bf4ada297', 'name': 'ctest-vn-78351660', 'tenant_id': 'd47669688eb6430fb5ee9e6031b97250', 'project_id': 'd47669688eb6430fb5ee9e6031b97250', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77957587', 'ctest-vn-78351660'], 'port_security_enabled': True, 'description': ''}} 2024-09-15 21:53:25,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e11e9d6-c4de-4231-906b-66d2ad9349d3', 'name': '', 'tenant_id': 'd47669688eb6430fb5ee9e6031b97250', 'network_id': 'e7acf668-db6f-4000-a3d7-b34bf4ada297', 'ip_version': 4, 'cidr': '23.239.181.128/26', 'allocation_pools': [{'start': '23.239.181.130', 'end': '23.239.181.190'}], 'gateway_ip': '23.239.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.239.181.130', 'tags': [], 'project_id': 'd47669688eb6430fb5ee9e6031b97250'}} 2024-09-15 21:53:25,274 - INFO - Created VN ctest-vn-78351660 2024-09-15 21:53:25,328 - DEBUG - VN ctest-vn-78351660 UUID is e7acf668-db6f-4000-a3d7-b34bf4ada297 2024-09-15 21:53:25,655 - DEBUG - Response for create_network : {'network': {'id': 'df5c2b1d-c45a-4cb2-9b0a-8e523b3130e5', 'name': 'ctest-ext_vn-16200538', 'tenant_id': 'd47669688eb6430fb5ee9e6031b97250', 'project_id': 'd47669688eb6430fb5ee9e6031b97250', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77957587', 'ctest-ext_vn-16200538'], 'port_security_enabled': True, 'description': ''}} 2024-09-15 21:53:25,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fca90fd-9566-48e1-a643-19715c88f977', 'name': '', 'tenant_id': 'd47669688eb6430fb5ee9e6031b97250', 'network_id': 'df5c2b1d-c45a-4cb2-9b0a-8e523b3130e5', 'ip_version': 4, 'cidr': '209.73.34.64/26', 'allocation_pools': [{'start': '209.73.34.66', 'end': '209.73.34.126'}], 'gateway_ip': '209.73.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.73.34.66', 'tags': [], 'project_id': 'd47669688eb6430fb5ee9e6031b97250'}} 2024-09-15 21:53:25,879 - INFO - Created VN ctest-ext_vn-16200538 2024-09-15 21:53:25,937 - DEBUG - VN ctest-ext_vn-16200538 UUID is df5c2b1d-c45a-4cb2-9b0a-8e523b3130e5 2024-09-15 21:53:26,105 - DEBUG - Services list from nova: [, , ] 2024-09-15 21:53:27,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1942-1) 2024-09-15 21:53:28,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1942-1) 2024-09-15 21:53:28,357 - INFO - Setting gateway for router 0ba55d0f-54a9-4d9d-b15c-ecc437beca2c to network df5c2b1d-c45a-4cb2-9b0a-8e523b3130e5 2024-09-15 21:53:28,420 - INFO - Adding interface with subnet_id 8e11e9d6-c4de-4231-906b-66d2ad9349d3, port_id None to router 0ba55d0f-54a9-4d9d-b15c-ecc437beca2c 2024-09-15 21:53:28,911 - INFO - Waiting for VM ctest-TestRoutersBasic-77957587-57167838 to be up.. 2024-09-15 21:53:29,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-15 21:53:34,164 - DEBUG - VM is in ACTIVE state now 2024-09-15 21:53:34,164 - INFO - VM name : ctest-TestRoutersBasic-77957587-57167838 2024-09-15 21:53:34,236 - DEBUG - VM ctest-TestRoutersBasic-77957587-57167838 ID is 04a966af-ef49-4536-ab1d-0b7fc2a075a7 2024-09-15 21:53:34,252 - DEBUG - VM ctest-TestRoutersBasic-77957587-57167838 launched on Node cn-jenkins-deploy-platform-ansible-os-1942-1 2024-09-15 21:53:34,323 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/04a966af-ef49-4536-ab1d-0b7fc2a075a7 2024-09-15 21:53:34,623 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/04a966af-ef49-4536-ab1d-0b7fc2a075a7 2024-09-15 21:53:34,656 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/155425a0-8528-46ba-afb1-9cf65e6b3ab9 2024-09-15 21:53:37,943 - 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 1031ms') 2024-09-15 21:53:37,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77957587-57167838 failed! 2024-09-15 21:53:38,004 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77957587:ctest-vn-78351660 is 23.239.181.129 and allocation pool is NOT set 2024-09-15 21:53:40,065 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.426/1.625/2.824/1.199 ms') 2024-09-15 21:53:40,065 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77957587-57167838 passed 2024-09-15 21:53:40,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:53:40,217 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77957587-57167838, IP 23.239.181.131, Port 22 2024-09-15 21:53:40,382 - DEBUG - VM ctest-TestRoutersBasic-77957587-57167838 is ready for SSH connections 2024-09-15 21:53:40,382 - INFO - Waiting for VM ctest-TestRoutersBasic-77957587-79027743 to be up.. 2024-09-15 21:53:40,464 - DEBUG - VM is in ACTIVE state now 2024-09-15 21:53:40,464 - INFO - VM name : ctest-TestRoutersBasic-77957587-79027743 2024-09-15 21:53:40,546 - DEBUG - VM ctest-TestRoutersBasic-77957587-79027743 ID is 15201407-dea2-4069-b036-81478ddf3918 2024-09-15 21:53:40,546 - DEBUG - VM ctest-TestRoutersBasic-77957587-79027743 launched on Node cn-jenkins-deploy-platform-ansible-os-1942-1 2024-09-15 21:53:40,618 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/15201407-dea2-4069-b036-81478ddf3918 2024-09-15 21:53:40,627 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/67e227e1-bc0e-4cc8-ab0b-3cffc4af793b 2024-09-15 21:53:41,883 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.101/2.223/3.346/1.122 ms') 2024-09-15 21:53:41,883 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77957587-79027743 passed 2024-09-15 21:53:42,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:53:42,044 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77957587-79027743, IP 209.73.34.67, Port 22 2024-09-15 21:53:42,204 - DEBUG - VM ctest-TestRoutersBasic-77957587-79027743 is ready for SSH connections 2024-09-15 21:53:42,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:53:42,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.73.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-09-15 21:53:42,204 - DEBUG - ping -s 56 -c 3 -W 1 209.73.34.67 2024-09-15 21:53:45,861 - DEBUG - PING 209.73.34.67 (209.73.34.67): 56 data bytes 64 bytes from 209.73.34.67: seq=0 ttl=62 time=4.096 ms 64 bytes from 209.73.34.67: seq=1 ttl=62 time=0.882 ms 64 bytes from 209.73.34.67: seq=2 ttl=62 time=0.767 ms --- 209.73.34.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.915/4.096 ms 2024-09-15 21:53:45,861 - INFO - Ping to IP 209.73.34.67 from VM ctest-TestRoutersBasic-77957587-57167838 passed 2024-09-15 21:53:45,861 - INFO - Deleting interface with subnet_id 8e11e9d6-c4de-4231-906b-66d2ad9349d3, port_id None from router 0ba55d0f-54a9-4d9d-b15c-ecc437beca2c 2024-09-15 21:53:46,056 - INFO - Deleting VM ctest-TestRoutersBasic-77957587-79027743 2024-09-15 21:53:46,119 - INFO - Deleting VM ctest-TestRoutersBasic-77957587-57167838 2024-09-15 21:53:46,198 - INFO - Deleting VN ctest-ext_vn-16200538 2024-09-15 21:53:46,267 - DEBUG - VN df5c2b1d-c45a-4cb2-9b0a-8e523b3130e5 still in use: Unable to complete operation on network df5c2b1d-c45a-4cb2-9b0a-8e523b3130e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f9e8da21-d594-4639-8662-349e7f437cc3'] 2024-09-15 21:53:46,267 - WARNING - Deleting VN ctest-ext_vn-16200538 failed..Will retry 2024-09-15 21:53:48,363 - DEBUG - Response for deleting network () 2024-09-15 21:53:48,363 - INFO - Deleting VN ctest-vn-78351660 2024-09-15 21:53:48,465 - DEBUG - Response for deleting network () 2024-09-15 21:53:48,717 - DEBUG - No XMPP flaps were noticed during the test
2024-09-15 21:53:48,717 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-09-15 21:53:48,717 - INFO - -------------------------------------------------------------------------------- 2024-09-15 21:53:49,412 - INFO - Deleted project: ctest-TestRoutersBasic-77957587, ID : d4766968-8eb6-430f-b5ee-9e6031b97250