2024-09-18 06:58:31,532 - INFO - Domain Default found not creating 2024-09-18 06:58:31,730 - INFO - Project ctest-TestRoutersBasic-34377598 not found, creating it 2024-09-18 06:58:32,254 - INFO - Created Project:ctest-TestRoutersBasic-34377598, ID : c9c95a95-6ab8-4ebd-816e-43bce79f9b9d 2024-09-18 06:58:34,022 - INFO - ================================================================================ 2024-09-18 06:58:34,022 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-18 06:58:34,022 - 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-18 06:58:34,287 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.13': '0'}} with 2024-09-18 06:58:34,287 - INFO - Initial checks done. Running the testcase now 2024-09-18 06:58:34,287 - INFO - 2024-09-18 06:58:35,114 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34377598 2024-09-18 06:58:35,213 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34377598 2024-09-18 06:58:35,561 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34377598', 'default']} 2024-09-18 06:58:35,884 - DEBUG - Response for create_network : {'network': {'id': '71f7e087-152f-4a19-a416-1cf5d63c0c84', 'name': 'ctest-vn-52159699', 'tenant_id': 'c9c95a956ab84ebd816e43bce79f9b9d', 'project_id': 'c9c95a956ab84ebd816e43bce79f9b9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34377598', 'ctest-vn-52159699'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 06:58:36,104 - DEBUG - Response for create_subnet : {'subnet': {'id': '43250d62-9c97-45ab-b1f0-b228892e1041', 'name': '', 'tenant_id': 'c9c95a956ab84ebd816e43bce79f9b9d', 'network_id': '71f7e087-152f-4a19-a416-1cf5d63c0c84', 'ip_version': 4, 'cidr': '184.244.43.128/26', 'allocation_pools': [{'start': '184.244.43.130', 'end': '184.244.43.190'}], 'gateway_ip': '184.244.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.244.43.130', 'tags': [], 'project_id': 'c9c95a956ab84ebd816e43bce79f9b9d'}} 2024-09-18 06:58:36,125 - INFO - Created VN ctest-vn-52159699 2024-09-18 06:58:36,181 - DEBUG - VN ctest-vn-52159699 UUID is 71f7e087-152f-4a19-a416-1cf5d63c0c84 2024-09-18 06:58:36,552 - DEBUG - Response for create_network : {'network': {'id': 'fedf1485-fb69-4e6d-9c4b-b0f84039e87c', 'name': 'ctest-ext_vn-54936857', 'tenant_id': 'c9c95a956ab84ebd816e43bce79f9b9d', 'project_id': 'c9c95a956ab84ebd816e43bce79f9b9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34377598', 'ctest-ext_vn-54936857'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 06:58:36,745 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd54a54a9-16f6-4135-afe8-03bac407e5f8', 'name': '', 'tenant_id': 'c9c95a956ab84ebd816e43bce79f9b9d', 'network_id': 'fedf1485-fb69-4e6d-9c4b-b0f84039e87c', 'ip_version': 4, 'cidr': '159.110.97.192/26', 'allocation_pools': [{'start': '159.110.97.194', 'end': '159.110.97.254'}], 'gateway_ip': '159.110.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.110.97.194', 'tags': [], 'project_id': 'c9c95a956ab84ebd816e43bce79f9b9d'}} 2024-09-18 06:58:36,766 - INFO - Created VN ctest-ext_vn-54936857 2024-09-18 06:58:36,825 - DEBUG - VN ctest-ext_vn-54936857 UUID is fedf1485-fb69-4e6d-9c4b-b0f84039e87c 2024-09-18 06:58:37,017 - DEBUG - Services list from nova: [, , ] 2024-09-18 06:58:38,177 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1987-1) 2024-09-18 06:58:39,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1987-1) 2024-09-18 06:58:39,674 - INFO - Setting gateway for router abe881de-f75e-4650-8b21-c55d4025a116 to network fedf1485-fb69-4e6d-9c4b-b0f84039e87c 2024-09-18 06:58:39,763 - INFO - Adding interface with subnet_id 43250d62-9c97-45ab-b1f0-b228892e1041, port_id None to router abe881de-f75e-4650-8b21-c55d4025a116 2024-09-18 06:58:40,349 - INFO - Waiting for VM ctest-TestRoutersBasic-34377598-95140973 to be up.. 2024-09-18 06:58:40,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 06:58:45,718 - DEBUG - VM is in ACTIVE state now 2024-09-18 06:58:45,718 - INFO - VM name : ctest-TestRoutersBasic-34377598-95140973 2024-09-18 06:58:45,805 - DEBUG - VM ctest-TestRoutersBasic-34377598-95140973 ID is 1f8b2ef1-f3c8-4eaf-a411-40f6bf279f93 2024-09-18 06:58:45,825 - DEBUG - VM ctest-TestRoutersBasic-34377598-95140973 launched on Node cn-jenkins-deploy-platform-ansible-os-1987-1 2024-09-18 06:58:45,909 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/1f8b2ef1-f3c8-4eaf-a411-40f6bf279f93 2024-09-18 06:58:46,254 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/1f8b2ef1-f3c8-4eaf-a411-40f6bf279f93 2024-09-18 06:58:46,303 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/a11a659d-56b9-4bee-ad56-0ae8ea8a140a 2024-09-18 06:58:49,597 - 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 1025ms') 2024-09-18 06:58:49,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34377598-95140973 failed! 2024-09-18 06:58:49,661 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34377598:ctest-vn-52159699 is 184.244.43.129 and allocation pool is NOT set 2024-09-18 06:58:51,727 - 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=6.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/3.270/6.089/2.819 ms') 2024-09-18 06:58:51,727 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34377598-95140973 passed 2024-09-18 06:58:51,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 06:58:51,889 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34377598-95140973, IP 184.244.43.131, Port 22 2024-09-18 06:58:52,055 - DEBUG - VM ctest-TestRoutersBasic-34377598-95140973 is ready for SSH connections 2024-09-18 06:58:52,055 - INFO - Waiting for VM ctest-TestRoutersBasic-34377598-12572545 to be up.. 2024-09-18 06:58:52,157 - DEBUG - VM is in ACTIVE state now 2024-09-18 06:58:52,157 - INFO - VM name : ctest-TestRoutersBasic-34377598-12572545 2024-09-18 06:58:52,239 - DEBUG - VM ctest-TestRoutersBasic-34377598-12572545 ID is 915f7a14-37bf-47fc-9008-1bd75c85bc11 2024-09-18 06:58:52,239 - DEBUG - VM ctest-TestRoutersBasic-34377598-12572545 launched on Node cn-jenkins-deploy-platform-ansible-os-1987-1 2024-09-18 06:58:52,333 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/915f7a14-37bf-47fc-9008-1bd75c85bc11 2024-09-18 06:58:52,346 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/d44d3a4d-4a5a-46dd-9d81-574d508e8317 2024-09-18 06:58:53,612 - 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=4.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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 = 1.176/2.967/4.758/1.791 ms') 2024-09-18 06:58:53,612 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34377598-12572545 passed 2024-09-18 06:58:53,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 06:58:53,773 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34377598-12572545, IP 159.110.97.195, Port 22 2024-09-18 06:58:53,939 - DEBUG - VM ctest-TestRoutersBasic-34377598-12572545 is ready for SSH connections 2024-09-18 06:58:53,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 06:58:53,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.110.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2024-09-18 06:58:53,939 - DEBUG - ping -s 56 -c 3 -W 1 159.110.97.195 2024-09-18 06:58:57,673 - DEBUG - PING 159.110.97.195 (159.110.97.195): 56 data bytes 64 bytes from 159.110.97.195: seq=0 ttl=62 time=5.851 ms 64 bytes from 159.110.97.195: seq=1 ttl=62 time=0.988 ms 64 bytes from 159.110.97.195: seq=2 ttl=62 time=0.842 ms --- 159.110.97.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/2.560/5.851 ms 2024-09-18 06:58:57,673 - INFO - Ping to IP 159.110.97.195 from VM ctest-TestRoutersBasic-34377598-95140973 passed 2024-09-18 06:58:57,673 - INFO - Deleting interface with subnet_id 43250d62-9c97-45ab-b1f0-b228892e1041, port_id None from router abe881de-f75e-4650-8b21-c55d4025a116 2024-09-18 06:58:58,103 - INFO - Deleting VM ctest-TestRoutersBasic-34377598-12572545 2024-09-18 06:58:58,175 - INFO - Deleting VM ctest-TestRoutersBasic-34377598-95140973 2024-09-18 06:58:58,249 - INFO - Deleting VN ctest-ext_vn-54936857 2024-09-18 06:58:58,329 - DEBUG - VN fedf1485-fb69-4e6d-9c4b-b0f84039e87c still in use: Unable to complete operation on network fedf1485-fb69-4e6d-9c4b-b0f84039e87c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a3554d3-caa9-4203-b35d-bdce5a7f1b5d'] 2024-09-18 06:58:58,329 - WARNING - Deleting VN ctest-ext_vn-54936857 failed..Will retry 2024-09-18 06:59:00,453 - DEBUG - Response for deleting network () 2024-09-18 06:59:00,453 - INFO - Deleting VN ctest-vn-52159699 2024-09-18 06:59:00,575 - DEBUG - Response for deleting network () 2024-09-18 06:59:00,835 - DEBUG - No XMPP flaps were noticed during the test
2024-09-18 06:59:00,836 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-18 06:59:00,836 - INFO - -------------------------------------------------------------------------------- 2024-09-18 06:59:01,604 - INFO - Deleted project: ctest-TestRoutersBasic-34377598, ID : c9c95a95-6ab8-4ebd-816e-43bce79f9b9d