2025-03-29 18:37:13,862 - INFO - Domain Default found not creating 2025-03-29 18:37:14,008 - INFO - Project ctest-TestRoutersBasic-30634652 not found, creating it 2025-03-29 18:37:14,472 - INFO - Created Project:ctest-TestRoutersBasic-30634652, ID : a47454dd-24a7-4d84-8277-f1492dafccd5 2025-03-29 18:37:16,019 - INFO - ================================================================================ 2025-03-29 18:37:16,019 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-29 18:37:16,019 - 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-03-29 18:37:16,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with 2025-03-29 18:37:16,280 - INFO - Initial checks done. Running the testcase now 2025-03-29 18:37:16,280 - INFO - 2025-03-29 18:37:17,078 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30634652 2025-03-29 18:37:17,177 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30634652 2025-03-29 18:37:17,501 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30634652', 'default']} 2025-03-29 18:37:17,811 - DEBUG - Response for create_network : {'network': {'id': '17bf9640-68d9-48e3-8e95-4d2ac07f575a', 'name': 'ctest-vn-23303432', 'tenant_id': 'a47454dd24a74d848277f1492dafccd5', 'project_id': 'a47454dd24a74d848277f1492dafccd5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30634652', 'ctest-vn-23303432'], 'port_security_enabled': True, 'description': ''}} 2025-03-29 18:37:18,001 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab625540-3710-4b8c-955b-8bc90030a824', 'name': '', 'tenant_id': 'a47454dd24a74d848277f1492dafccd5', 'network_id': '17bf9640-68d9-48e3-8e95-4d2ac07f575a', 'ip_version': 4, 'cidr': '172.74.208.128/26', 'allocation_pools': [{'start': '172.74.208.130', 'end': '172.74.208.190'}], 'gateway_ip': '172.74.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.74.208.130', 'tags': [], 'project_id': 'a47454dd24a74d848277f1492dafccd5'}} 2025-03-29 18:37:18,020 - INFO - Created VN ctest-vn-23303432 2025-03-29 18:37:18,073 - DEBUG - VN ctest-vn-23303432 UUID is 17bf9640-68d9-48e3-8e95-4d2ac07f575a 2025-03-29 18:37:18,404 - DEBUG - Response for create_network : {'network': {'id': 'd9723c4f-cd86-4c41-84a7-f1f0e2fa6564', 'name': 'ctest-ext_vn-90347029', 'tenant_id': 'a47454dd24a74d848277f1492dafccd5', 'project_id': 'a47454dd24a74d848277f1492dafccd5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30634652', 'ctest-ext_vn-90347029'], 'port_security_enabled': True, 'description': ''}} 2025-03-29 18:37:18,600 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7fcc5f3-fe28-4865-9fa6-1efdd28dce2d', 'name': '', 'tenant_id': 'a47454dd24a74d848277f1492dafccd5', 'network_id': 'd9723c4f-cd86-4c41-84a7-f1f0e2fa6564', 'ip_version': 4, 'cidr': '205.148.156.64/26', 'allocation_pools': [{'start': '205.148.156.66', 'end': '205.148.156.126'}], 'gateway_ip': '205.148.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.148.156.66', 'tags': [], 'project_id': 'a47454dd24a74d848277f1492dafccd5'}} 2025-03-29 18:37:18,619 - INFO - Created VN ctest-ext_vn-90347029 2025-03-29 18:37:18,673 - DEBUG - VN ctest-ext_vn-90347029 UUID is d9723c4f-cd86-4c41-84a7-f1f0e2fa6564 2025-03-29 18:37:18,840 - DEBUG - Services list from nova: [, , ] 2025-03-29 18:37:19,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3001-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3001-1) 2025-03-29 18:37:21,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3001-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3001-1) 2025-03-29 18:37:21,294 - INFO - Setting gateway for router d14d8aef-3b69-40b3-a45a-c652f4f8149f to network d9723c4f-cd86-4c41-84a7-f1f0e2fa6564 2025-03-29 18:37:21,373 - INFO - Adding interface with subnet_id ab625540-3710-4b8c-955b-8bc90030a824, port_id None to router d14d8aef-3b69-40b3-a45a-c652f4f8149f 2025-03-29 18:37:21,747 - INFO - Waiting for VM ctest-TestRoutersBasic-30634652-50455267 to be up.. 2025-03-29 18:37:21,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-29 18:37:27,018 - DEBUG - VM is in ACTIVE state now 2025-03-29 18:37:27,019 - INFO - VM name : ctest-TestRoutersBasic-30634652-50455267 2025-03-29 18:37:27,097 - DEBUG - VM ctest-TestRoutersBasic-30634652-50455267 ID is f064009a-5900-4e33-9792-0518ae33023a 2025-03-29 18:37:27,118 - DEBUG - VM ctest-TestRoutersBasic-30634652-50455267 launched on Node cn-jenkins-deploy-platform-ansible-os-3001-1 2025-03-29 18:37:27,195 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f064009a-5900-4e33-9792-0518ae33023a 2025-03-29 18:37:27,530 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f064009a-5900-4e33-9792-0518ae33023a 2025-03-29 18:37:27,565 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7b61a54c-cef8-4a2e-b761-18af7ad93e31 2025-03-29 18:37:30,810 - 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-03-29 18:37:30,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30634652-50455267 failed! 2025-03-29 18:37:30,865 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30634652:ctest-vn-23303432 is 172.74.208.129 and allocation pool is NOT set 2025-03-29 18:37:32,933 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.796 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 = 0.796/3.531/6.267/2.735 ms') 2025-03-29 18:37:32,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30634652-50455267 passed 2025-03-29 18:37:33,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 18:37:33,086 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30634652-50455267, IP 172.74.208.131, Port 22 2025-03-29 18:37:33,241 - DEBUG - VM ctest-TestRoutersBasic-30634652-50455267 is ready for SSH connections 2025-03-29 18:37:33,241 - INFO - Waiting for VM ctest-TestRoutersBasic-30634652-50769263 to be up.. 2025-03-29 18:37:33,324 - DEBUG - VM is in ACTIVE state now 2025-03-29 18:37:33,324 - INFO - VM name : ctest-TestRoutersBasic-30634652-50769263 2025-03-29 18:37:33,401 - DEBUG - VM ctest-TestRoutersBasic-30634652-50769263 ID is 238cd4ea-ade9-46db-9190-682f0c31233c 2025-03-29 18:37:33,401 - DEBUG - VM ctest-TestRoutersBasic-30634652-50769263 launched on Node cn-jenkins-deploy-platform-ansible-os-3001-1 2025-03-29 18:37:33,481 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/238cd4ea-ade9-46db-9190-682f0c31233c 2025-03-29 18:37:33,491 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/01910576-1374-481c-8790-aca1b6277ec9 2025-03-29 18:37:34,756 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/2.276/4.063/1.787 ms') 2025-03-29 18:37:34,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30634652-50769263 passed 2025-03-29 18:37:34,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 18:37:34,918 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30634652-50769263, IP 205.148.156.67, Port 22 2025-03-29 18:37:35,086 - DEBUG - VM ctest-TestRoutersBasic-30634652-50769263 is ready for SSH connections 2025-03-29 18:37:35,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 18:37:35,086 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.148.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-29 18:37:35,086 - DEBUG - ping -s 56 -c 3 -W 1 205.148.156.67 2025-03-29 18:37:38,801 - DEBUG - PING 205.148.156.67 (205.148.156.67): 56 data bytes 64 bytes from 205.148.156.67: seq=0 ttl=62 time=7.084 ms 64 bytes from 205.148.156.67: seq=1 ttl=62 time=0.949 ms 64 bytes from 205.148.156.67: seq=2 ttl=62 time=0.781 ms --- 205.148.156.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/2.938/7.084 ms 2025-03-29 18:37:38,801 - INFO - Ping to IP 205.148.156.67 from VM ctest-TestRoutersBasic-30634652-50455267 passed 2025-03-29 18:37:38,801 - INFO - Deleting interface with subnet_id ab625540-3710-4b8c-955b-8bc90030a824, port_id None from router d14d8aef-3b69-40b3-a45a-c652f4f8149f 2025-03-29 18:37:39,128 - INFO - Deleting VM ctest-TestRoutersBasic-30634652-50769263 2025-03-29 18:37:39,195 - INFO - Deleting VM ctest-TestRoutersBasic-30634652-50455267 2025-03-29 18:37:39,283 - INFO - Deleting VN ctest-ext_vn-90347029 2025-03-29 18:37:39,378 - DEBUG - VN d9723c4f-cd86-4c41-84a7-f1f0e2fa6564 still in use: Unable to complete operation on network d9723c4f-cd86-4c41-84a7-f1f0e2fa6564. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81a9f4bc-16d7-45cd-a6ef-46614bb0315e'] 2025-03-29 18:37:39,378 - WARNING - Deleting VN ctest-ext_vn-90347029 failed..Will retry 2025-03-29 18:37:41,507 - DEBUG - Response for deleting network () 2025-03-29 18:37:41,507 - INFO - Deleting VN ctest-vn-23303432 2025-03-29 18:37:41,630 - DEBUG - Response for deleting network () 2025-03-29 18:37:41,908 - DEBUG - No XMPP flaps were noticed during the test 2025-03-29 18:37:41,909 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-03-29 18:37:41,909 - INFO - -------------------------------------------------------------------------------- 2025-03-29 18:37:42,669 - INFO - Deleted project: ctest-TestRoutersBasic-30634652, ID : a47454dd-24a7-4d84-8277-f1492dafccd5