2024-08-24 01:52:31,915 - INFO - Domain Default found not creating 2024-08-24 01:52:32,064 - INFO - Project ctest-TestRoutersBasic-83514653 not found, creating it 2024-08-24 01:52:32,505 - INFO - Created Project:ctest-TestRoutersBasic-83514653, ID : 96d53d1a-7ce4-46ba-bc62-e970fdd13de8 2024-08-24 01:52:39,095 - INFO - ================================================================================ 2024-08-24 01:52:39,095 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-24 01:52:39,095 - 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-24 01:52:39,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.20': '0'}} with 2024-08-24 01:52:39,356 - INFO - Initial checks done. Running the testcase now 2024-08-24 01:52:39,356 - INFO - 2024-08-24 01:52:40,052 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83514653 2024-08-24 01:52:40,150 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83514653 2024-08-24 01:52:40,469 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83514653', 'default']} 2024-08-24 01:52:40,771 - DEBUG - Response for create_network : {'network': {'id': 'a39e1d90-4852-439c-8a38-9ba835f04239', 'name': 'ctest-vn-60374273', 'tenant_id': '96d53d1a7ce446babc62e970fdd13de8', 'project_id': '96d53d1a7ce446babc62e970fdd13de8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83514653', 'ctest-vn-60374273'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:52:40,966 - DEBUG - Response for create_subnet : {'subnet': {'id': '14823f36-e420-4dea-baeb-5478c230386a', 'name': '', 'tenant_id': '96d53d1a7ce446babc62e970fdd13de8', 'network_id': 'a39e1d90-4852-439c-8a38-9ba835f04239', 'ip_version': 4, 'cidr': '211.25.158.64/26', 'allocation_pools': [{'start': '211.25.158.66', 'end': '211.25.158.126'}], 'gateway_ip': '211.25.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.25.158.66', 'tags': [], 'project_id': '96d53d1a7ce446babc62e970fdd13de8'}} 2024-08-24 01:52:40,987 - INFO - Created VN ctest-vn-60374273 2024-08-24 01:52:41,038 - DEBUG - VN ctest-vn-60374273 UUID is a39e1d90-4852-439c-8a38-9ba835f04239 2024-08-24 01:52:41,409 - DEBUG - Response for create_network : {'network': {'id': '5f4f8be2-fd56-48d0-beca-3f47a7fdf69f', 'name': 'ctest-ext_vn-07542033', 'tenant_id': '96d53d1a7ce446babc62e970fdd13de8', 'project_id': '96d53d1a7ce446babc62e970fdd13de8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83514653', 'ctest-ext_vn-07542033'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:52:41,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '43956766-a985-4629-93f7-0f13a64da7df', 'name': '', 'tenant_id': '96d53d1a7ce446babc62e970fdd13de8', 'network_id': '5f4f8be2-fd56-48d0-beca-3f47a7fdf69f', 'ip_version': 4, 'cidr': '128.59.186.192/26', 'allocation_pools': [{'start': '128.59.186.194', 'end': '128.59.186.254'}], 'gateway_ip': '128.59.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.59.186.194', 'tags': [], 'project_id': '96d53d1a7ce446babc62e970fdd13de8'}} 2024-08-24 01:52:41,651 - INFO - Created VN ctest-ext_vn-07542033 2024-08-24 01:52:41,702 - DEBUG - VN ctest-ext_vn-07542033 UUID is 5f4f8be2-fd56-48d0-beca-3f47a7fdf69f 2024-08-24 01:52:41,860 - DEBUG - Services list from nova: [, , ] 2024-08-24 01:52:42,858 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:52:43,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:52:44,014 - INFO - Setting gateway for router 40b538c0-52ce-4d57-8e26-496a14a6fc70 to network 5f4f8be2-fd56-48d0-beca-3f47a7fdf69f 2024-08-24 01:52:44,088 - INFO - Adding interface with subnet_id 14823f36-e420-4dea-baeb-5478c230386a, port_id None to router 40b538c0-52ce-4d57-8e26-496a14a6fc70 2024-08-24 01:52:44,481 - INFO - Waiting for VM ctest-TestRoutersBasic-83514653-55247069 to be up.. 2024-08-24 01:52:44,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 01:52:49,732 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:52:49,732 - INFO - VM name : ctest-TestRoutersBasic-83514653-55247069 2024-08-24 01:52:49,808 - DEBUG - VM ctest-TestRoutersBasic-83514653-55247069 ID is bf08a10b-b624-4b36-be0b-3b372768b4e7 2024-08-24 01:52:49,826 - DEBUG - VM ctest-TestRoutersBasic-83514653-55247069 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:52:49,902 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bf08a10b-b624-4b36-be0b-3b372768b4e7 2024-08-24 01:52:50,193 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bf08a10b-b624-4b36-be0b-3b372768b4e7 2024-08-24 01:52:50,226 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/77ab6505-6956-4c1e-bba3-941542fbcd75 2024-08-24 01:52:53,760 - 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 1027ms') 2024-08-24 01:52:53,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83514653-55247069 failed! 2024-08-24 01:52:53,814 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83514653:ctest-vn-60374273 is 211.25.158.65 and allocation pool is NOT set 2024-08-24 01:52:55,875 - 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=4.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.035/3.116/4.198/1.081 ms') 2024-08-24 01:52:55,876 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83514653-55247069 passed 2024-08-24 01:52:56,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:52:56,026 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83514653-55247069, IP 211.25.158.67, Port 22 2024-08-24 01:52:56,197 - DEBUG - VM ctest-TestRoutersBasic-83514653-55247069 is ready for SSH connections 2024-08-24 01:52:56,197 - INFO - Waiting for VM ctest-TestRoutersBasic-83514653-26169631 to be up.. 2024-08-24 01:52:56,277 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:52:56,277 - INFO - VM name : ctest-TestRoutersBasic-83514653-26169631 2024-08-24 01:52:56,357 - DEBUG - VM ctest-TestRoutersBasic-83514653-26169631 ID is 7b086bfd-d4bf-4b19-8c00-d8b05e21ee53 2024-08-24 01:52:56,357 - DEBUG - VM ctest-TestRoutersBasic-83514653-26169631 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:52:56,429 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/7b086bfd-d4bf-4b19-8c00-d8b05e21ee53 2024-08-24 01:52:56,438 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/41531c99-4cfe-4b9d-87c6-d30573cbd521 2024-08-24 01:52:57,673 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.633/2.846/1.213 ms') 2024-08-24 01:52:57,673 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83514653-26169631 passed 2024-08-24 01:52:57,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:52:57,822 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83514653-26169631, IP 128.59.186.195, Port 22 2024-08-24 01:52:57,973 - DEBUG - VM ctest-TestRoutersBasic-83514653-26169631 is ready for SSH connections 2024-08-24 01:52:57,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:52:57,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.59.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:52:57,973 - DEBUG - ping -s 56 -c 3 -W 1 128.59.186.195 2024-08-24 01:53:05,319 - DEBUG - PING 128.59.186.195 (128.59.186.195): 56 data bytes 64 bytes from 128.59.186.195: seq=0 ttl=62 time=4.244 ms 64 bytes from 128.59.186.195: seq=1 ttl=62 time=1.033 ms 64 bytes from 128.59.186.195: seq=2 ttl=62 time=0.998 ms --- 128.59.186.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/2.091/4.244 ms 2024-08-24 01:53:05,319 - INFO - Ping to IP 128.59.186.195 from VM ctest-TestRoutersBasic-83514653-55247069 passed 2024-08-24 01:53:05,320 - INFO - Deleting interface with subnet_id 14823f36-e420-4dea-baeb-5478c230386a, port_id None from router 40b538c0-52ce-4d57-8e26-496a14a6fc70 2024-08-24 01:53:05,510 - INFO - Deleting VM ctest-TestRoutersBasic-83514653-26169631 2024-08-24 01:53:05,581 - INFO - Deleting VM ctest-TestRoutersBasic-83514653-55247069 2024-08-24 01:53:05,659 - INFO - Deleting VN ctest-ext_vn-07542033 2024-08-24 01:53:05,739 - DEBUG - VN 5f4f8be2-fd56-48d0-beca-3f47a7fdf69f still in use: Unable to complete operation on network 5f4f8be2-fd56-48d0-beca-3f47a7fdf69f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6bc4ab18-9887-4300-9fd2-209d0331be93'] 2024-08-24 01:53:05,740 - WARNING - Deleting VN ctest-ext_vn-07542033 failed..Will retry 2024-08-24 01:53:07,847 - DEBUG - Response for deleting network () 2024-08-24 01:53:07,847 - INFO - Deleting VN ctest-vn-60374273 2024-08-24 01:53:07,957 - DEBUG - Response for deleting network () 2024-08-24 01:53:08,211 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 01:53:08,212 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2024-08-24 01:53:08,212 - INFO - -------------------------------------------------------------------------------- 2024-08-24 01:53:08,875 - INFO - Deleted project: ctest-TestRoutersBasic-83514653, ID : 96d53d1a-7ce4-46ba-bc62-e970fdd13de8