2024-09-14 02:58:27,282 - INFO - Domain Default found not creating 2024-09-14 02:58:27,424 - INFO - Project ctest-TestRoutersBasic-13353844 not found, creating it 2024-09-14 02:58:27,882 - INFO - Created Project:ctest-TestRoutersBasic-13353844, ID : 56d0c6e7-aaab-4566-9203-2c91c6644e29 2024-09-14 02:58:29,383 - INFO - ================================================================================ 2024-09-14 02:58:29,384 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-14 02:58:29,384 - 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-14 02:58:29,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.33': '0'}} with 2024-09-14 02:58:29,640 - INFO - Initial checks done. Running the testcase now 2024-09-14 02:58:29,640 - INFO - 2024-09-14 02:58:30,361 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13353844 2024-09-14 02:58:30,459 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13353844 2024-09-14 02:58:30,795 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13353844', 'default']} 2024-09-14 02:58:31,099 - DEBUG - Response for create_network : {'network': {'id': '82e75100-9915-403e-80ae-d62ac8218685', 'name': 'ctest-vn-84497013', 'tenant_id': '56d0c6e7aaab456692032c91c6644e29', 'project_id': '56d0c6e7aaab456692032c91c6644e29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13353844', 'ctest-vn-84497013'], 'port_security_enabled': True, 'description': ''}} 2024-09-14 02:58:31,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '870cf937-ddd4-4fce-813a-e41ca2f82673', 'name': '', 'tenant_id': '56d0c6e7aaab456692032c91c6644e29', 'network_id': '82e75100-9915-403e-80ae-d62ac8218685', 'ip_version': 4, 'cidr': '109.242.248.128/26', 'allocation_pools': [{'start': '109.242.248.130', 'end': '109.242.248.190'}], 'gateway_ip': '109.242.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.242.248.130', 'tags': [], 'project_id': '56d0c6e7aaab456692032c91c6644e29'}} 2024-09-14 02:58:31,283 - INFO - Created VN ctest-vn-84497013 2024-09-14 02:58:31,339 - DEBUG - VN ctest-vn-84497013 UUID is 82e75100-9915-403e-80ae-d62ac8218685 2024-09-14 02:58:31,703 - DEBUG - Response for create_network : {'network': {'id': '26e24e16-7754-459a-a25e-0e8be89043bc', 'name': 'ctest-ext_vn-33978873', 'tenant_id': '56d0c6e7aaab456692032c91c6644e29', 'project_id': '56d0c6e7aaab456692032c91c6644e29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13353844', 'ctest-ext_vn-33978873'], 'port_security_enabled': True, 'description': ''}} 2024-09-14 02:58:31,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '5149b620-7009-40bb-a404-11ea1e2b40e8', 'name': '', 'tenant_id': '56d0c6e7aaab456692032c91c6644e29', 'network_id': '26e24e16-7754-459a-a25e-0e8be89043bc', 'ip_version': 4, 'cidr': '17.175.128.128/26', 'allocation_pools': [{'start': '17.175.128.130', 'end': '17.175.128.190'}], 'gateway_ip': '17.175.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.175.128.130', 'tags': [], 'project_id': '56d0c6e7aaab456692032c91c6644e29'}} 2024-09-14 02:58:31,894 - INFO - Created VN ctest-ext_vn-33978873 2024-09-14 02:58:31,951 - DEBUG - VN ctest-ext_vn-33978873 UUID is 26e24e16-7754-459a-a25e-0e8be89043bc 2024-09-14 02:58:32,152 - DEBUG - Services list from nova: [, , ] 2024-09-14 02:58:33,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1934-1) 2024-09-14 02:58:34,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1934-1) 2024-09-14 02:58:34,407 - INFO - Setting gateway for router d8a5c468-7c54-48dc-ab09-5d0797b08bee to network 26e24e16-7754-459a-a25e-0e8be89043bc 2024-09-14 02:58:34,503 - INFO - Adding interface with subnet_id 870cf937-ddd4-4fce-813a-e41ca2f82673, port_id None to router d8a5c468-7c54-48dc-ab09-5d0797b08bee 2024-09-14 02:58:34,994 - INFO - Waiting for VM ctest-TestRoutersBasic-13353844-90618747 to be up.. 2024-09-14 02:58:35,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-14 02:58:40,250 - DEBUG - VM is in ACTIVE state now 2024-09-14 02:58:40,250 - INFO - VM name : ctest-TestRoutersBasic-13353844-90618747 2024-09-14 02:58:40,326 - DEBUG - VM ctest-TestRoutersBasic-13353844-90618747 ID is 47ce397b-6a0e-4fc1-9df3-5c18350622d5 2024-09-14 02:58:40,347 - DEBUG - VM ctest-TestRoutersBasic-13353844-90618747 launched on Node cn-jenkins-deploy-platform-ansible-os-1934-1 2024-09-14 02:58:40,427 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/47ce397b-6a0e-4fc1-9df3-5c18350622d5 2024-09-14 02:58:40,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/47ce397b-6a0e-4fc1-9df3-5c18350622d5 2024-09-14 02:58:40,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9ed2d4a4-53f9-4f30-aca5-6d7eae5c6150 2024-09-14 02:58:44,006 - 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=2 ttl=63 time=11.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 11.697/11.697/11.697/0.000 ms') 2024-09-14 02:58:44,006 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13353844-90618747 passed 2024-09-14 02:58:44,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-14 02:58:44,167 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13353844-90618747, IP 109.242.248.131, Port 22 2024-09-14 02:58:44,318 - DEBUG - VM ctest-TestRoutersBasic-13353844-90618747 is ready for SSH connections 2024-09-14 02:58:44,318 - INFO - Waiting for VM ctest-TestRoutersBasic-13353844-51903966 to be up.. 2024-09-14 02:58:44,391 - DEBUG - VM is in ACTIVE state now 2024-09-14 02:58:44,391 - INFO - VM name : ctest-TestRoutersBasic-13353844-51903966 2024-09-14 02:58:44,461 - DEBUG - VM ctest-TestRoutersBasic-13353844-51903966 ID is 25e45dee-a5c2-4980-ae28-29a4de176620 2024-09-14 02:58:44,461 - DEBUG - VM ctest-TestRoutersBasic-13353844-51903966 launched on Node cn-jenkins-deploy-platform-ansible-os-1934-1 2024-09-14 02:58:44,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/25e45dee-a5c2-4980-ae28-29a4de176620 2024-09-14 02:58:44,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5bb62087-1619-4fed-8786-fa92a1cabf4a 2024-09-14 02:58:45,785 - 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=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.389/1.651/2.913/1.262 ms') 2024-09-14 02:58:45,785 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13353844-51903966 passed 2024-09-14 02:58:45,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-14 02:58:45,947 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13353844-51903966, IP 17.175.128.131, Port 22 2024-09-14 02:58:46,106 - DEBUG - VM ctest-TestRoutersBasic-13353844-51903966 is ready for SSH connections 2024-09-14 02:58:46,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-14 02:58:46,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.175.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-09-14 02:58:46,107 - DEBUG - ping -s 56 -c 3 -W 1 17.175.128.131 2024-09-14 02:58:50,045 - DEBUG - PING 17.175.128.131 (17.175.128.131): 56 data bytes 64 bytes from 17.175.128.131: seq=0 ttl=62 time=4.080 ms 64 bytes from 17.175.128.131: seq=1 ttl=62 time=0.808 ms 64 bytes from 17.175.128.131: seq=2 ttl=62 time=0.796 ms --- 17.175.128.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.894/4.080 ms 2024-09-14 02:58:50,046 - INFO - Ping to IP 17.175.128.131 from VM ctest-TestRoutersBasic-13353844-90618747 passed 2024-09-14 02:58:50,046 - INFO - Deleting interface with subnet_id 870cf937-ddd4-4fce-813a-e41ca2f82673, port_id None from router d8a5c468-7c54-48dc-ab09-5d0797b08bee 2024-09-14 02:58:50,243 - INFO - Deleting VM ctest-TestRoutersBasic-13353844-51903966 2024-09-14 02:58:50,304 - INFO - Deleting VM ctest-TestRoutersBasic-13353844-90618747 2024-09-14 02:58:50,386 - INFO - Deleting VN ctest-ext_vn-33978873 2024-09-14 02:58:50,459 - DEBUG - VN 26e24e16-7754-459a-a25e-0e8be89043bc still in use: Unable to complete operation on network 26e24e16-7754-459a-a25e-0e8be89043bc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3df7439-bf90-4b4b-81a3-132e5b20fcc6'] 2024-09-14 02:58:50,460 - WARNING - Deleting VN ctest-ext_vn-33978873 failed..Will retry 2024-09-14 02:58:52,603 - DEBUG - Response for deleting network () 2024-09-14 02:58:52,603 - INFO - Deleting VN ctest-vn-84497013 2024-09-14 02:58:52,709 - DEBUG - Response for deleting network () 2024-09-14 02:58:52,964 - DEBUG - No XMPP flaps were noticed during the test
2024-09-14 02:58:52,964 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2024-09-14 02:58:52,965 - INFO - -------------------------------------------------------------------------------- 2024-09-14 02:58:53,707 - INFO - Deleted project: ctest-TestRoutersBasic-13353844, ID : 56d0c6e7-aaab-4566-9203-2c91c6644e29