2024-12-30 02:25:30,208 - INFO - Domain Default found not creating 2024-12-30 02:25:30,361 - INFO - Project ctest-TestRoutersBasic-20260654 not found, creating it 2024-12-30 02:25:30,837 - INFO - Created Project:ctest-TestRoutersBasic-20260654, ID : 03ccaa2a-07ae-4618-98bf-5f994331a0bc 2024-12-30 02:25:32,307 - INFO - ================================================================================ 2024-12-30 02:25:32,307 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-12-30 02:25:32,307 - 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-12-30 02:25:32,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2024-12-30 02:25:32,566 - INFO - Initial checks done. Running the testcase now 2024-12-30 02:25:32,566 - INFO - 2024-12-30 02:25:33,274 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20260654 2024-12-30 02:25:33,372 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20260654 2024-12-30 02:25:33,695 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20260654', 'default']} 2024-12-30 02:25:33,987 - DEBUG - Response for create_network : {'network': {'id': '0deb8dfa-5b9f-4cc6-b64f-b38d94506b61', 'name': 'ctest-vn-09024838', 'tenant_id': '03ccaa2a07ae461898bf5f994331a0bc', 'project_id': '03ccaa2a07ae461898bf5f994331a0bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20260654', 'ctest-vn-09024838'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:25:34,174 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8a6b3f4-64b7-4d92-8ddf-f18fe4a825e7', 'name': '', 'tenant_id': '03ccaa2a07ae461898bf5f994331a0bc', 'network_id': '0deb8dfa-5b9f-4cc6-b64f-b38d94506b61', 'ip_version': 4, 'cidr': '158.9.200.128/26', 'allocation_pools': [{'start': '158.9.200.130', 'end': '158.9.200.190'}], 'gateway_ip': '158.9.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.9.200.130', 'tags': [], 'project_id': '03ccaa2a07ae461898bf5f994331a0bc'}} 2024-12-30 02:25:34,192 - INFO - Created VN ctest-vn-09024838 2024-12-30 02:25:34,243 - DEBUG - VN ctest-vn-09024838 UUID is 0deb8dfa-5b9f-4cc6-b64f-b38d94506b61 2024-12-30 02:25:34,607 - DEBUG - Response for create_network : {'network': {'id': 'c5727e16-3d33-4ec8-9249-cf4ff876b45b', 'name': 'ctest-ext_vn-82595661', 'tenant_id': '03ccaa2a07ae461898bf5f994331a0bc', 'project_id': '03ccaa2a07ae461898bf5f994331a0bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20260654', 'ctest-ext_vn-82595661'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:25:34,754 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb3b1d0f-aa86-4eb8-a194-5b225239581f', 'name': '', 'tenant_id': '03ccaa2a07ae461898bf5f994331a0bc', 'network_id': 'c5727e16-3d33-4ec8-9249-cf4ff876b45b', 'ip_version': 4, 'cidr': '154.74.110.64/26', 'allocation_pools': [{'start': '154.74.110.66', 'end': '154.74.110.126'}], 'gateway_ip': '154.74.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.74.110.66', 'tags': [], 'project_id': '03ccaa2a07ae461898bf5f994331a0bc'}} 2024-12-30 02:25:34,772 - INFO - Created VN ctest-ext_vn-82595661 2024-12-30 02:25:34,827 - DEBUG - VN ctest-ext_vn-82595661 UUID is c5727e16-3d33-4ec8-9249-cf4ff876b45b 2024-12-30 02:25:35,036 - DEBUG - Services list from nova: [, , ] 2024-12-30 02:25:36,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2502-1) 2024-12-30 02:25:37,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2502-1) 2024-12-30 02:25:37,275 - INFO - Setting gateway for router af090c6e-d3ab-4345-8a0f-3cf4e4bfae37 to network c5727e16-3d33-4ec8-9249-cf4ff876b45b 2024-12-30 02:25:37,352 - INFO - Adding interface with subnet_id c8a6b3f4-64b7-4d92-8ddf-f18fe4a825e7, port_id None to router af090c6e-d3ab-4345-8a0f-3cf4e4bfae37 2024-12-30 02:25:37,643 - INFO - Waiting for VM ctest-TestRoutersBasic-20260654-05345456 to be up.. 2024-12-30 02:25:37,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 02:25:42,854 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:25:42,854 - INFO - VM name : ctest-TestRoutersBasic-20260654-05345456 2024-12-30 02:25:42,923 - DEBUG - VM ctest-TestRoutersBasic-20260654-05345456 ID is 59cda8d2-ac70-4a68-a9a7-04aa290cc20b 2024-12-30 02:25:42,942 - DEBUG - VM ctest-TestRoutersBasic-20260654-05345456 launched on Node cn-jenkins-deploy-platform-ansible-os-2502-1. 2024-12-30 02:25:43,021 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/59cda8d2-ac70-4a68-a9a7-04aa290cc20b 2024-12-30 02:25:43,330 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/59cda8d2-ac70-4a68-a9a7-04aa290cc20b 2024-12-30 02:25:43,360 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/ba1ee178-8b36-4947-a44c-f74e6f1e097c 2024-12-30 02:25:46,638 - 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-12-30 02:25:46,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20260654-05345456 failed! 2024-12-30 02:25:46,691 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20260654:ctest-vn-09024838 is 158.9.200.129 and allocation pool is NOT set 2024-12-30 02:25:48,757 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 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 = 1.636/3.825/6.015/2.189 ms') 2024-12-30 02:25:48,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20260654-05345456 passed 2024-12-30 02:25:48,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:25:48,912 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20260654-05345456, IP 158.9.200.131, Port 22 2024-12-30 02:25:49,066 - DEBUG - VM ctest-TestRoutersBasic-20260654-05345456 is ready for SSH connections 2024-12-30 02:25:49,066 - INFO - Waiting for VM ctest-TestRoutersBasic-20260654-01527739 to be up.. 2024-12-30 02:25:49,142 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:25:49,142 - INFO - VM name : ctest-TestRoutersBasic-20260654-01527739 2024-12-30 02:25:49,215 - DEBUG - VM ctest-TestRoutersBasic-20260654-01527739 ID is 965710d5-ce90-4fc9-b00f-2da43ce3b706 2024-12-30 02:25:49,215 - DEBUG - VM ctest-TestRoutersBasic-20260654-01527739 launched on Node cn-jenkins-deploy-platform-ansible-os-2502-1. 2024-12-30 02:25:49,282 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/965710d5-ce90-4fc9-b00f-2da43ce3b706 2024-12-30 02:25:49,291 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/0e06be6e-b353-482f-8703-3288432cb581 2024-12-30 02:25:50,536 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.544/2.636/1.092 ms') 2024-12-30 02:25:50,536 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-20260654-01527739 passed 2024-12-30 02:25:50,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:25:50,683 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20260654-01527739, IP 154.74.110.67, Port 22 2024-12-30 02:25:50,839 - DEBUG - VM ctest-TestRoutersBasic-20260654-01527739 is ready for SSH connections 2024-12-30 02:25:50,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:25:50,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.74.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-12-30 02:25:50,839 - DEBUG - ping -s 56 -c 3 -W 1 154.74.110.67 2024-12-30 02:25:54,794 - DEBUG - PING 154.74.110.67 (154.74.110.67): 56 data bytes 64 bytes from 154.74.110.67: seq=0 ttl=62 time=6.551 ms 64 bytes from 154.74.110.67: seq=1 ttl=62 time=1.213 ms 64 bytes from 154.74.110.67: seq=2 ttl=62 time=1.232 ms --- 154.74.110.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.213/2.998/6.551 ms 2024-12-30 02:25:54,794 - INFO - Ping to IP 154.74.110.67 from VM ctest-TestRoutersBasic-20260654-05345456 passed 2024-12-30 02:25:54,795 - INFO - Deleting interface with subnet_id c8a6b3f4-64b7-4d92-8ddf-f18fe4a825e7, port_id None from router af090c6e-d3ab-4345-8a0f-3cf4e4bfae37 2024-12-30 02:25:55,008 - INFO - Deleting VM ctest-TestRoutersBasic-20260654-01527739 2024-12-30 02:25:55,069 - INFO - Deleting VM ctest-TestRoutersBasic-20260654-05345456 2024-12-30 02:25:55,144 - INFO - Deleting VN ctest-ext_vn-82595661 2024-12-30 02:25:55,205 - DEBUG - VN c5727e16-3d33-4ec8-9249-cf4ff876b45b still in use: Unable to complete operation on network c5727e16-3d33-4ec8-9249-cf4ff876b45b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7c6c1d3-e528-4c76-b9fc-6c4a6e0157de'] 2024-12-30 02:25:55,205 - WARNING - Deleting VN ctest-ext_vn-82595661 failed..Will retry 2024-12-30 02:25:57,298 - DEBUG - Response for deleting network () 2024-12-30 02:25:57,298 - INFO - Deleting VN ctest-vn-09024838 2024-12-30 02:25:57,403 - DEBUG - Response for deleting network () 2024-12-30 02:25:57,657 - DEBUG - No XMPP flaps were noticed during the test 2024-12-30 02:25:57,657 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2024-12-30 02:25:57,657 - INFO - -------------------------------------------------------------------------------- 2024-12-30 02:25:58,345 - INFO - Deleted project: ctest-TestRoutersBasic-20260654, ID : 03ccaa2a-07ae-4618-98bf-5f994331a0bc