2024-08-27 08:35:51,437 - INFO - Domain Default found not creating 2024-08-27 08:35:51,658 - INFO - Project ctest-TestRoutersBasic-02753596 not found, creating it 2024-08-27 08:35:52,187 - INFO - Created Project:ctest-TestRoutersBasic-02753596, ID : 7740e009-8aaa-4073-93ed-b9d0c2432124 2024-08-27 08:35:53,910 - INFO - ================================================================================ 2024-08-27 08:35:53,911 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-27 08:35:53,911 - 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-27 08:35:54,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.5': '0'}} with 2024-08-27 08:35:54,175 - INFO - Initial checks done. Running the testcase now 2024-08-27 08:35:54,175 - INFO - 2024-08-27 08:35:54,922 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02753596 2024-08-27 08:35:55,022 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02753596 2024-08-27 08:35:55,354 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02753596', 'default']} 2024-08-27 08:35:55,674 - DEBUG - Response for create_network : {'network': {'id': 'a8c1ef07-941b-4ba9-a3f5-c1a13770210a', 'name': 'ctest-vn-58198356', 'tenant_id': '7740e0098aaa407393edb9d0c2432124', 'project_id': '7740e0098aaa407393edb9d0c2432124', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02753596', 'ctest-vn-58198356'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 08:35:55,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '99db9f31-c513-450a-810a-5e3e288f92a7', 'name': '', 'tenant_id': '7740e0098aaa407393edb9d0c2432124', 'network_id': 'a8c1ef07-941b-4ba9-a3f5-c1a13770210a', 'ip_version': 4, 'cidr': '199.81.194.192/26', 'allocation_pools': [{'start': '199.81.194.194', 'end': '199.81.194.254'}], 'gateway_ip': '199.81.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.81.194.194', 'tags': [], 'project_id': '7740e0098aaa407393edb9d0c2432124'}} 2024-08-27 08:35:55,920 - INFO - Created VN ctest-vn-58198356 2024-08-27 08:35:55,974 - DEBUG - VN ctest-vn-58198356 UUID is a8c1ef07-941b-4ba9-a3f5-c1a13770210a 2024-08-27 08:35:56,336 - DEBUG - Response for create_network : {'network': {'id': '704326ff-f5de-493f-a300-42a6959b6b8c', 'name': 'ctest-ext_vn-90466161', 'tenant_id': '7740e0098aaa407393edb9d0c2432124', 'project_id': '7740e0098aaa407393edb9d0c2432124', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02753596', 'ctest-ext_vn-90466161'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 08:35:56,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0a32d6e-0db2-40b2-82b2-6eb4f9a0d2d1', 'name': '', 'tenant_id': '7740e0098aaa407393edb9d0c2432124', 'network_id': '704326ff-f5de-493f-a300-42a6959b6b8c', 'ip_version': 4, 'cidr': '76.114.107.128/26', 'allocation_pools': [{'start': '76.114.107.130', 'end': '76.114.107.190'}], 'gateway_ip': '76.114.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.114.107.130', 'tags': [], 'project_id': '7740e0098aaa407393edb9d0c2432124'}} 2024-08-27 08:35:56,516 - INFO - Created VN ctest-ext_vn-90466161 2024-08-27 08:35:56,570 - DEBUG - VN ctest-ext_vn-90466161 UUID is 704326ff-f5de-493f-a300-42a6959b6b8c 2024-08-27 08:35:56,761 - DEBUG - Services list from nova: [, , ] 2024-08-27 08:35:57,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1795-1) 2024-08-27 08:35:59,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1795-1) 2024-08-27 08:35:59,241 - INFO - Setting gateway for router f44ff428-81be-49ef-a1ba-98302626b52e to network 704326ff-f5de-493f-a300-42a6959b6b8c 2024-08-27 08:35:59,328 - INFO - Adding interface with subnet_id 99db9f31-c513-450a-810a-5e3e288f92a7, port_id None to router f44ff428-81be-49ef-a1ba-98302626b52e 2024-08-27 08:35:59,823 - INFO - Waiting for VM ctest-TestRoutersBasic-02753596-76139085 to be up.. 2024-08-27 08:36:00,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 08:36:05,178 - DEBUG - VM is in ACTIVE state now 2024-08-27 08:36:05,178 - INFO - VM name : ctest-TestRoutersBasic-02753596-76139085 2024-08-27 08:36:05,271 - DEBUG - VM ctest-TestRoutersBasic-02753596-76139085 ID is 31f86072-d841-41e3-80f8-8c10cd164342 2024-08-27 08:36:05,294 - DEBUG - VM ctest-TestRoutersBasic-02753596-76139085 launched on Node cn-jenkins-deploy-platform-ansible-os-1795-1 2024-08-27 08:36:05,396 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/31f86072-d841-41e3-80f8-8c10cd164342 2024-08-27 08:36:05,702 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/31f86072-d841-41e3-80f8-8c10cd164342 2024-08-27 08:36:05,743 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/f7e1d928-ec5c-4130-8c39-0c59d9f501fd 2024-08-27 08:36:09,011 - 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 1013ms') 2024-08-27 08:36:09,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02753596-76139085 failed! 2024-08-27 08:36:09,070 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02753596:ctest-vn-58198356 is 199.81.194.193 and allocation pool is NOT set 2024-08-27 08:36:11,147 - 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=5.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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 = 2.283/3.950/5.618/1.667 ms') 2024-08-27 08:36:11,147 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02753596-76139085 passed 2024-08-27 08:36:11,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:36:11,423 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02753596-76139085, IP 199.81.194.195, Port 22 2024-08-27 08:36:11,586 - DEBUG - VM ctest-TestRoutersBasic-02753596-76139085 is ready for SSH connections 2024-08-27 08:36:11,586 - INFO - Waiting for VM ctest-TestRoutersBasic-02753596-49677195 to be up.. 2024-08-27 08:36:11,685 - DEBUG - VM is in ACTIVE state now 2024-08-27 08:36:11,685 - INFO - VM name : ctest-TestRoutersBasic-02753596-49677195 2024-08-27 08:36:11,795 - DEBUG - VM ctest-TestRoutersBasic-02753596-49677195 ID is dff47f09-45a0-42b0-bb83-dbcffa2cb132 2024-08-27 08:36:11,795 - DEBUG - VM ctest-TestRoutersBasic-02753596-49677195 launched on Node cn-jenkins-deploy-platform-ansible-os-1795-1 2024-08-27 08:36:11,903 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/dff47f09-45a0-42b0-bb83-dbcffa2cb132 2024-08-27 08:36:11,916 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/41c391bd-e1b6-4677-99da-6681dd6cb1ad 2024-08-27 08:36:13,185 - 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=0.476 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.476/1.914/3.352/1.438 ms') 2024-08-27 08:36:13,186 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02753596-49677195 passed 2024-08-27 08:36:13,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:36:13,343 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02753596-49677195, IP 76.114.107.131, Port 22 2024-08-27 08:36:13,510 - DEBUG - VM ctest-TestRoutersBasic-02753596-49677195 is ready for SSH connections 2024-08-27 08:36:13,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:36:13,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.114.107.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2024-08-27 08:36:13,510 - DEBUG - ping -s 56 -c 3 -W 1 76.114.107.131 2024-08-27 08:36:17,259 - DEBUG - PING 76.114.107.131 (76.114.107.131): 56 data bytes 64 bytes from 76.114.107.131: seq=0 ttl=62 time=7.169 ms 64 bytes from 76.114.107.131: seq=1 ttl=62 time=1.128 ms 64 bytes from 76.114.107.131: seq=2 ttl=62 time=2.768 ms --- 76.114.107.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.128/3.688/7.169 ms 2024-08-27 08:36:17,260 - INFO - Ping to IP 76.114.107.131 from VM ctest-TestRoutersBasic-02753596-76139085 passed 2024-08-27 08:36:17,260 - INFO - Deleting interface with subnet_id 99db9f31-c513-450a-810a-5e3e288f92a7, port_id None from router f44ff428-81be-49ef-a1ba-98302626b52e 2024-08-27 08:36:17,484 - INFO - Deleting VM ctest-TestRoutersBasic-02753596-49677195 2024-08-27 08:36:17,564 - INFO - Deleting VM ctest-TestRoutersBasic-02753596-76139085 2024-08-27 08:36:17,649 - INFO - Deleting VN ctest-ext_vn-90466161 2024-08-27 08:36:17,734 - DEBUG - VN 704326ff-f5de-493f-a300-42a6959b6b8c still in use: Unable to complete operation on network 704326ff-f5de-493f-a300-42a6959b6b8c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5437aec-91c3-48b7-8113-f3870d11b80c'] 2024-08-27 08:36:17,734 - WARNING - Deleting VN ctest-ext_vn-90466161 failed..Will retry 2024-08-27 08:36:19,849 - DEBUG - Response for deleting network () 2024-08-27 08:36:19,849 - INFO - Deleting VN ctest-vn-58198356 2024-08-27 08:36:19,965 - DEBUG - Response for deleting network () 2024-08-27 08:36:20,221 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 08:36:20,221 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-08-27 08:36:20,221 - INFO - -------------------------------------------------------------------------------- 2024-08-27 08:36:20,937 - INFO - Deleted project: ctest-TestRoutersBasic-02753596, ID : 7740e009-8aaa-4073-93ed-b9d0c2432124