2025-02-19 18:05:23,341 - INFO - Domain Default found not creating 2025-02-19 18:05:23,508 - INFO - Project ctest-TestRoutersBasic-88038785 not found, creating it 2025-02-19 18:05:23,987 - INFO - Created Project:ctest-TestRoutersBasic-88038785, ID : 68e1df6f-3675-40f9-a32d-f81677c09605 2025-02-19 18:05:25,462 - INFO - ================================================================================ 2025-02-19 18:05:25,462 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-19 18:05:25,462 - 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 2025-02-19 18:05:25,723 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.10': '0'}} with 2025-02-19 18:05:25,723 - INFO - Initial checks done. Running the testcase now 2025-02-19 18:05:25,723 - INFO - 2025-02-19 18:05:26,554 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88038785 2025-02-19 18:05:26,656 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88038785 2025-02-19 18:05:26,992 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88038785', 'default']} 2025-02-19 18:05:27,329 - DEBUG - Response for create_network : {'network': {'id': '4bd9c0b7-e403-4e71-89d2-85a66145a3e7', 'name': 'ctest-vn-26112592', 'tenant_id': '68e1df6f367540f9a32df81677c09605', 'project_id': '68e1df6f367540f9a32df81677c09605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88038785', 'ctest-vn-26112592'], 'port_security_enabled': True, 'description': ''}} 2025-02-19 18:05:27,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d0a737b-5ec0-4383-9e74-59b331a6ee73', 'name': '', 'tenant_id': '68e1df6f367540f9a32df81677c09605', 'network_id': '4bd9c0b7-e403-4e71-89d2-85a66145a3e7', 'ip_version': 4, 'cidr': '141.18.69.192/26', 'allocation_pools': [{'start': '141.18.69.194', 'end': '141.18.69.254'}], 'gateway_ip': '141.18.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.18.69.194', 'tags': [], 'project_id': '68e1df6f367540f9a32df81677c09605'}} 2025-02-19 18:05:27,550 - INFO - Created VN ctest-vn-26112592 2025-02-19 18:05:27,604 - DEBUG - VN ctest-vn-26112592 UUID is 4bd9c0b7-e403-4e71-89d2-85a66145a3e7 2025-02-19 18:05:27,960 - DEBUG - Response for create_network : {'network': {'id': '3c1768e3-915f-4e0f-bf26-cc0f8f73b4d5', 'name': 'ctest-ext_vn-17663966', 'tenant_id': '68e1df6f367540f9a32df81677c09605', 'project_id': '68e1df6f367540f9a32df81677c09605', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88038785', 'ctest-ext_vn-17663966'], 'port_security_enabled': True, 'description': ''}} 2025-02-19 18:05:28,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '77ed02b9-a057-4ebb-8191-80a77bb9da35', 'name': '', 'tenant_id': '68e1df6f367540f9a32df81677c09605', 'network_id': '3c1768e3-915f-4e0f-bf26-cc0f8f73b4d5', 'ip_version': 4, 'cidr': '6.161.215.64/26', 'allocation_pools': [{'start': '6.161.215.66', 'end': '6.161.215.126'}], 'gateway_ip': '6.161.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.161.215.66', 'tags': [], 'project_id': '68e1df6f367540f9a32df81677c09605'}} 2025-02-19 18:05:28,208 - INFO - Created VN ctest-ext_vn-17663966 2025-02-19 18:05:28,268 - DEBUG - VN ctest-ext_vn-17663966 UUID is 3c1768e3-915f-4e0f-bf26-cc0f8f73b4d5 2025-02-19 18:05:28,449 - DEBUG - Services list from nova: [, , ] 2025-02-19 18:05:29,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2746-1) 2025-02-19 18:05:30,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2746-1) 2025-02-19 18:05:30,961 - INFO - Setting gateway for router ae81e76e-6b2e-483f-b808-c70b3705840f to network 3c1768e3-915f-4e0f-bf26-cc0f8f73b4d5 2025-02-19 18:05:31,057 - INFO - Adding interface with subnet_id 0d0a737b-5ec0-4383-9e74-59b331a6ee73, port_id None to router ae81e76e-6b2e-483f-b808-c70b3705840f 2025-02-19 18:05:31,666 - INFO - Waiting for VM ctest-TestRoutersBasic-88038785-71057926 to be up.. 2025-02-19 18:05:31,887 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-19 18:05:36,982 - DEBUG - VM is in ACTIVE state now 2025-02-19 18:05:36,982 - INFO - VM name : ctest-TestRoutersBasic-88038785-71057926 2025-02-19 18:05:37,074 - DEBUG - VM ctest-TestRoutersBasic-88038785-71057926 ID is 2ea1e9f0-8a98-4091-b8e3-c09432862b10 2025-02-19 18:05:37,098 - DEBUG - VM ctest-TestRoutersBasic-88038785-71057926 launched on Node cn-jenkins-deploy-platform-ansible-os-2746-1 2025-02-19 18:05:37,227 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/2ea1e9f0-8a98-4091-b8e3-c09432862b10 2025-02-19 18:05:37,531 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/2ea1e9f0-8a98-4091-b8e3-c09432862b10 2025-02-19 18:05:37,567 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/34084687-576a-4166-b1e6-ec9335a98d76 2025-02-19 18:05:40,830 - 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 1014ms') 2025-02-19 18:05:40,830 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88038785-71057926 failed! 2025-02-19 18:05:40,888 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88038785:ctest-vn-26112592 is 141.18.69.193 and allocation pool is NOT set 2025-02-19 18:05:42,955 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.747 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 = 0.747/2.584/4.422/1.837 ms') 2025-02-19 18:05:42,956 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88038785-71057926 passed 2025-02-19 18:05:43,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-19 18:05:43,112 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88038785-71057926, IP 141.18.69.195, Port 22 2025-02-19 18:05:43,267 - DEBUG - VM ctest-TestRoutersBasic-88038785-71057926 is ready for SSH connections 2025-02-19 18:05:43,267 - INFO - Waiting for VM ctest-TestRoutersBasic-88038785-54276421 to be up.. 2025-02-19 18:05:43,355 - DEBUG - VM is in ACTIVE state now 2025-02-19 18:05:43,355 - INFO - VM name : ctest-TestRoutersBasic-88038785-54276421 2025-02-19 18:05:43,437 - DEBUG - VM ctest-TestRoutersBasic-88038785-54276421 ID is 66a48811-3173-4a3e-9dcb-6306828aeac4 2025-02-19 18:05:43,438 - DEBUG - VM ctest-TestRoutersBasic-88038785-54276421 launched on Node cn-jenkins-deploy-platform-ansible-os-2746-1 2025-02-19 18:05:43,528 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/66a48811-3173-4a3e-9dcb-6306828aeac4 2025-02-19 18:05:43,539 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/991c74af-f69c-4ce8-b9d2-b1ae10001ffb 2025-02-19 18:05:44,792 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.759/3.054/1.294 ms') 2025-02-19 18:05:44,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88038785-54276421 passed 2025-02-19 18:05:44,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-19 18:05:44,948 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88038785-54276421, IP 6.161.215.67, Port 22 2025-02-19 18:05:45,104 - DEBUG - VM ctest-TestRoutersBasic-88038785-54276421 is ready for SSH connections 2025-02-19 18:05:45,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-19 18:05:45,104 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.161.215.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-19 18:05:45,104 - DEBUG - ping -s 56 -c 3 -W 1 6.161.215.67 2025-02-19 18:05:49,153 - DEBUG - PING 6.161.215.67 (6.161.215.67): 56 data bytes 64 bytes from 6.161.215.67: seq=0 ttl=62 time=6.826 ms 64 bytes from 6.161.215.67: seq=1 ttl=62 time=0.932 ms 64 bytes from 6.161.215.67: seq=2 ttl=62 time=1.042 ms --- 6.161.215.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/2.933/6.826 ms 2025-02-19 18:05:49,153 - INFO - Ping to IP 6.161.215.67 from VM ctest-TestRoutersBasic-88038785-71057926 passed 2025-02-19 18:05:49,153 - INFO - Deleting interface with subnet_id 0d0a737b-5ec0-4383-9e74-59b331a6ee73, port_id None from router ae81e76e-6b2e-483f-b808-c70b3705840f 2025-02-19 18:05:49,368 - INFO - Deleting VM ctest-TestRoutersBasic-88038785-54276421 2025-02-19 18:05:49,448 - INFO - Deleting VM ctest-TestRoutersBasic-88038785-71057926 2025-02-19 18:05:49,531 - INFO - Deleting VN ctest-ext_vn-17663966 2025-02-19 18:05:49,625 - DEBUG - VN 3c1768e3-915f-4e0f-bf26-cc0f8f73b4d5 still in use: Unable to complete operation on network 3c1768e3-915f-4e0f-bf26-cc0f8f73b4d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5a3b4f5-5618-493b-985b-6673aa3f208c'] 2025-02-19 18:05:49,625 - WARNING - Deleting VN ctest-ext_vn-17663966 failed..Will retry 2025-02-19 18:05:51,761 - DEBUG - Response for deleting network () 2025-02-19 18:05:51,761 - INFO - Deleting VN ctest-vn-26112592 2025-02-19 18:05:51,877 - DEBUG - Response for deleting network () 2025-02-19 18:05:52,139 - DEBUG - No XMPP flaps were noticed during the test 2025-02-19 18:05:52,139 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-02-19 18:05:52,139 - INFO - -------------------------------------------------------------------------------- 2025-02-19 18:05:52,850 - INFO - Deleted project: ctest-TestRoutersBasic-88038785, ID : 68e1df6f-3675-40f9-a32d-f81677c09605