2025-04-15 12:15:14,341 - INFO - Domain Default found not creating 2025-04-15 12:15:14,501 - INFO - Project ctest-TestRoutersBasic-95973428 not found, creating it 2025-04-15 12:15:14,963 - INFO - Created Project:ctest-TestRoutersBasic-95973428, ID : 0f928670-2d0f-4e4b-9ede-d0cf7e420f81 2025-04-15 12:15:16,523 - INFO - ================================================================================ 2025-04-15 12:15:16,524 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-15 12:15:16,524 - 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-04-15 12:15:16,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-04-15 12:15:16,783 - INFO - Initial checks done. Running the testcase now 2025-04-15 12:15:16,784 - INFO - 2025-04-15 12:15:17,512 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95973428 2025-04-15 12:15:17,611 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95973428 2025-04-15 12:15:17,939 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95973428', 'default']} 2025-04-15 12:15:18,251 - DEBUG - Response for create_network : {'network': {'id': 'bff65c39-9088-40d1-86bc-37ecf0acd5a1', 'name': 'ctest-vn-79538697', 'tenant_id': '0f9286702d0f4e4b9eded0cf7e420f81', 'project_id': '0f9286702d0f4e4b9eded0cf7e420f81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95973428', 'ctest-vn-79538697'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 12:15:18,421 - DEBUG - Response for create_subnet : {'subnet': {'id': '03048a30-7221-474f-80b4-919233bf4087', 'name': '', 'tenant_id': '0f9286702d0f4e4b9eded0cf7e420f81', 'network_id': 'bff65c39-9088-40d1-86bc-37ecf0acd5a1', 'ip_version': 4, 'cidr': '85.231.196.192/26', 'allocation_pools': [{'start': '85.231.196.194', 'end': '85.231.196.254'}], 'gateway_ip': '85.231.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.231.196.194', 'tags': [], 'project_id': '0f9286702d0f4e4b9eded0cf7e420f81'}} 2025-04-15 12:15:18,441 - INFO - Created VN ctest-vn-79538697 2025-04-15 12:15:18,495 - DEBUG - VN ctest-vn-79538697 UUID is bff65c39-9088-40d1-86bc-37ecf0acd5a1 2025-04-15 12:15:18,846 - DEBUG - Response for create_network : {'network': {'id': '9944374a-3e69-4bf2-8d58-a369a6e1b4b1', 'name': 'ctest-ext_vn-35339025', 'tenant_id': '0f9286702d0f4e4b9eded0cf7e420f81', 'project_id': '0f9286702d0f4e4b9eded0cf7e420f81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95973428', 'ctest-ext_vn-35339025'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 12:15:19,077 - DEBUG - Response for create_subnet : {'subnet': {'id': '981950f3-a500-482e-b6f7-e58a8533d0d9', 'name': '', 'tenant_id': '0f9286702d0f4e4b9eded0cf7e420f81', 'network_id': '9944374a-3e69-4bf2-8d58-a369a6e1b4b1', 'ip_version': 4, 'cidr': '200.91.69.192/26', 'allocation_pools': [{'start': '200.91.69.194', 'end': '200.91.69.254'}], 'gateway_ip': '200.91.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.91.69.194', 'tags': [], 'project_id': '0f9286702d0f4e4b9eded0cf7e420f81'}} 2025-04-15 12:15:19,097 - INFO - Created VN ctest-ext_vn-35339025 2025-04-15 12:15:19,155 - DEBUG - VN ctest-ext_vn-35339025 UUID is 9944374a-3e69-4bf2-8d58-a369a6e1b4b1 2025-04-15 12:15:19,336 - DEBUG - Services list from nova: [, , ] 2025-04-15 12:15:20,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3116-1) 2025-04-15 12:15:21,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3116-1) 2025-04-15 12:15:21,604 - INFO - Setting gateway for router 4d867365-17ea-4076-bb92-4a2de77224d2 to network 9944374a-3e69-4bf2-8d58-a369a6e1b4b1 2025-04-15 12:15:21,671 - INFO - Adding interface with subnet_id 03048a30-7221-474f-80b4-919233bf4087, port_id None to router 4d867365-17ea-4076-bb92-4a2de77224d2 2025-04-15 12:15:22,162 - INFO - Waiting for VM ctest-TestRoutersBasic-95973428-66631726 to be up.. 2025-04-15 12:15:22,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 12:15:27,563 - DEBUG - VM is in ACTIVE state now 2025-04-15 12:15:27,563 - INFO - VM name : ctest-TestRoutersBasic-95973428-66631726 2025-04-15 12:15:27,660 - DEBUG - VM ctest-TestRoutersBasic-95973428-66631726 ID is 7f770e6a-49dd-4b4a-b0f7-a63fa5fc4daf 2025-04-15 12:15:27,683 - DEBUG - VM ctest-TestRoutersBasic-95973428-66631726 launched on Node cn-jenkins-deploy-platform-ansible-os-3116-1 2025-04-15 12:15:27,772 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7f770e6a-49dd-4b4a-b0f7-a63fa5fc4daf 2025-04-15 12:15:28,067 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7f770e6a-49dd-4b4a-b0f7-a63fa5fc4daf 2025-04-15 12:15:28,101 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8cceb998-576a-4037-886c-63cddc65f96c 2025-04-15 12:15:31,352 - 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 1003ms') 2025-04-15 12:15:31,352 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95973428-66631726 failed! 2025-04-15 12:15:31,407 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95973428:ctest-vn-79538697 is 85.231.196.193 and allocation pool is NOT set 2025-04-15 12:15:33,466 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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.401/2.880/4.360/1.479 ms') 2025-04-15 12:15:33,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95973428-66631726 passed 2025-04-15 12:15:33,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 12:15:33,623 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95973428-66631726, IP 85.231.196.195, Port 22 2025-04-15 12:15:33,778 - DEBUG - VM ctest-TestRoutersBasic-95973428-66631726 is ready for SSH connections 2025-04-15 12:15:33,779 - INFO - Waiting for VM ctest-TestRoutersBasic-95973428-13649351 to be up.. 2025-04-15 12:15:33,863 - DEBUG - VM is in ACTIVE state now 2025-04-15 12:15:33,863 - INFO - VM name : ctest-TestRoutersBasic-95973428-13649351 2025-04-15 12:15:33,941 - DEBUG - VM ctest-TestRoutersBasic-95973428-13649351 ID is 7191602e-58f5-4d0a-83b5-8021675bf206 2025-04-15 12:15:33,941 - DEBUG - VM ctest-TestRoutersBasic-95973428-13649351 launched on Node cn-jenkins-deploy-platform-ansible-os-3116-1 2025-04-15 12:15:34,020 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7191602e-58f5-4d0a-83b5-8021675bf206 2025-04-15 12:15:34,031 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8bcf57ab-1ec1-4c4c-86b5-eea890665177 2025-04-15 12:15:35,278 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.08 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 = 2.083/3.385/4.687/1.302 ms') 2025-04-15 12:15:35,278 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95973428-13649351 passed 2025-04-15 12:15:35,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 12:15:35,435 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95973428-13649351, IP 200.91.69.195, Port 22 2025-04-15 12:15:35,606 - DEBUG - VM ctest-TestRoutersBasic-95973428-13649351 is ready for SSH connections 2025-04-15 12:15:35,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 12:15:35,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.91.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 12:15:35,606 - DEBUG - ping -s 56 -c 3 -W 1 200.91.69.195 2025-04-15 12:15:39,699 - DEBUG - PING 200.91.69.195 (200.91.69.195): 56 data bytes 64 bytes from 200.91.69.195: seq=0 ttl=62 time=4.908 ms 64 bytes from 200.91.69.195: seq=1 ttl=62 time=1.028 ms 64 bytes from 200.91.69.195: seq=2 ttl=62 time=0.997 ms --- 200.91.69.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/2.311/4.908 ms 2025-04-15 12:15:39,700 - INFO - Ping to IP 200.91.69.195 from VM ctest-TestRoutersBasic-95973428-66631726 passed 2025-04-15 12:15:39,700 - INFO - Deleting interface with subnet_id 03048a30-7221-474f-80b4-919233bf4087, port_id None from router 4d867365-17ea-4076-bb92-4a2de77224d2 2025-04-15 12:15:39,904 - INFO - Deleting VM ctest-TestRoutersBasic-95973428-13649351 2025-04-15 12:15:39,979 - INFO - Deleting VM ctest-TestRoutersBasic-95973428-66631726 2025-04-15 12:15:40,056 - INFO - Deleting VN ctest-ext_vn-35339025 2025-04-15 12:15:40,127 - DEBUG - VN 9944374a-3e69-4bf2-8d58-a369a6e1b4b1 still in use: Unable to complete operation on network 9944374a-3e69-4bf2-8d58-a369a6e1b4b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7fd975fe-f549-41b7-a812-2d5d82378cc2'] 2025-04-15 12:15:40,128 - WARNING - Deleting VN ctest-ext_vn-35339025 failed..Will retry 2025-04-15 12:15:42,240 - DEBUG - Response for deleting network () 2025-04-15 12:15:42,241 - INFO - Deleting VN ctest-vn-79538697 2025-04-15 12:15:42,354 - DEBUG - Response for deleting network () 2025-04-15 12:15:42,615 - DEBUG - No XMPP flaps were noticed during the test 2025-04-15 12:15:42,615 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-04-15 12:15:42,615 - INFO - -------------------------------------------------------------------------------- 2025-04-15 12:15:43,310 - INFO - Deleted project: ctest-TestRoutersBasic-95973428, ID : 0f928670-2d0f-4e4b-9ede-d0cf7e420f81