2025-05-21 13:50:48,881 - INFO - Domain Default found not creating 2025-05-21 13:50:49,066 - INFO - Project ctest-TestRoutersBasic-28836025 not found, creating it 2025-05-21 13:50:49,619 - INFO - Created Project:ctest-TestRoutersBasic-28836025, ID : 1b459eaf-4c7e-43bc-ba62-9c4e543dc373 2025-05-21 13:50:51,279 - INFO - ================================================================================ 2025-05-21 13:50:51,279 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-21 13:50:51,279 - 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-05-21 13:50:51,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-21 13:50:51,547 - INFO - Initial checks done. Running the testcase now 2025-05-21 13:50:51,547 - INFO - 2025-05-21 13:50:52,324 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28836025 2025-05-21 13:50:52,432 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28836025 2025-05-21 13:50:52,783 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28836025', 'default']} 2025-05-21 13:50:53,110 - DEBUG - Response for create_network : {'network': {'id': 'ddc87e0c-b2c5-4d4b-a35c-7c2bdab369f4', 'name': 'ctest-vn-24081046', 'tenant_id': '1b459eaf4c7e43bcba629c4e543dc373', 'project_id': '1b459eaf4c7e43bcba629c4e543dc373', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28836025', 'ctest-vn-24081046'], 'port_security_enabled': True, 'description': ''}} 2025-05-21 13:50:53,351 - DEBUG - Response for create_subnet : {'subnet': {'id': '75420492-ad27-4cc7-b7b4-9d5c3c8bba78', 'name': '', 'tenant_id': '1b459eaf4c7e43bcba629c4e543dc373', 'network_id': 'ddc87e0c-b2c5-4d4b-a35c-7c2bdab369f4', 'ip_version': 4, 'cidr': '62.178.248.128/26', 'allocation_pools': [{'start': '62.178.248.130', 'end': '62.178.248.190'}], 'gateway_ip': '62.178.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.178.248.130', 'tags': [], 'project_id': '1b459eaf4c7e43bcba629c4e543dc373'}} 2025-05-21 13:50:53,371 - INFO - Created VN ctest-vn-24081046 2025-05-21 13:50:53,427 - DEBUG - VN ctest-vn-24081046 UUID is ddc87e0c-b2c5-4d4b-a35c-7c2bdab369f4 2025-05-21 13:50:53,779 - DEBUG - Response for create_network : {'network': {'id': '87cbe682-248b-4228-a19b-a1b8396e1ee3', 'name': 'ctest-ext_vn-19430230', 'tenant_id': '1b459eaf4c7e43bcba629c4e543dc373', 'project_id': '1b459eaf4c7e43bcba629c4e543dc373', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28836025', 'ctest-ext_vn-19430230'], 'port_security_enabled': True, 'description': ''}} 2025-05-21 13:50:54,041 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee3a1b9a-d7ff-4ade-95aa-8c38cd697779', 'name': '', 'tenant_id': '1b459eaf4c7e43bcba629c4e543dc373', 'network_id': '87cbe682-248b-4228-a19b-a1b8396e1ee3', 'ip_version': 4, 'cidr': '48.40.83.64/26', 'allocation_pools': [{'start': '48.40.83.66', 'end': '48.40.83.126'}], 'gateway_ip': '48.40.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.40.83.66', 'tags': [], 'project_id': '1b459eaf4c7e43bcba629c4e543dc373'}} 2025-05-21 13:50:54,064 - INFO - Created VN ctest-ext_vn-19430230 2025-05-21 13:50:54,119 - DEBUG - VN ctest-ext_vn-19430230 UUID is 87cbe682-248b-4228-a19b-a1b8396e1ee3 2025-05-21 13:50:54,306 - DEBUG - Services list from nova: [, , ] 2025-05-21 13:50:55,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3327-1) 2025-05-21 13:50:56,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3327-1) 2025-05-21 13:50:56,808 - INFO - Setting gateway for router 376fdcea-99d0-4349-bb4a-38e85526e2a5 to network 87cbe682-248b-4228-a19b-a1b8396e1ee3 2025-05-21 13:50:56,903 - INFO - Adding interface with subnet_id 75420492-ad27-4cc7-b7b4-9d5c3c8bba78, port_id None to router 376fdcea-99d0-4349-bb4a-38e85526e2a5 2025-05-21 13:50:57,330 - INFO - Waiting for VM ctest-TestRoutersBasic-28836025-30155876 to be up.. 2025-05-21 13:50:57,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-21 13:51:02,624 - DEBUG - VM is in ACTIVE state now 2025-05-21 13:51:02,624 - INFO - VM name : ctest-TestRoutersBasic-28836025-30155876 2025-05-21 13:51:02,729 - DEBUG - VM ctest-TestRoutersBasic-28836025-30155876 ID is 40b5eab7-0aaa-4bdc-8e2e-7e9b3dcef700 2025-05-21 13:51:02,751 - DEBUG - VM ctest-TestRoutersBasic-28836025-30155876 launched on Node cn-jenkins-deploy-platform-ansible-os-3327-1 2025-05-21 13:51:02,839 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/40b5eab7-0aaa-4bdc-8e2e-7e9b3dcef700 2025-05-21 13:51:03,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/40b5eab7-0aaa-4bdc-8e2e-7e9b3dcef700 2025-05-21 13:51:03,176 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/98085159-1ef0-4457-a812-2def5592787d 2025-05-21 13:51:06,456 - 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 1001ms') 2025-05-21 13:51:06,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28836025-30155876 failed! 2025-05-21 13:51:06,520 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28836025:ctest-vn-24081046 is 62.178.248.129 and allocation pool is NOT set 2025-05-21 13:51:08,590 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.650 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.650/1.742/2.834/1.092 ms') 2025-05-21 13:51:08,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28836025-30155876 passed 2025-05-21 13:51:08,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:51:08,756 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28836025-30155876, IP 62.178.248.131, Port 22 2025-05-21 13:51:08,912 - DEBUG - VM ctest-TestRoutersBasic-28836025-30155876 is ready for SSH connections 2025-05-21 13:51:08,913 - INFO - Waiting for VM ctest-TestRoutersBasic-28836025-35120634 to be up.. 2025-05-21 13:51:09,015 - DEBUG - VM is in ACTIVE state now 2025-05-21 13:51:09,015 - INFO - VM name : ctest-TestRoutersBasic-28836025-35120634 2025-05-21 13:51:09,112 - DEBUG - VM ctest-TestRoutersBasic-28836025-35120634 ID is fe956b09-9758-49f0-a9e7-c0417130bdd2 2025-05-21 13:51:09,112 - DEBUG - VM ctest-TestRoutersBasic-28836025-35120634 launched on Node cn-jenkins-deploy-platform-ansible-os-3327-1 2025-05-21 13:51:09,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fe956b09-9758-49f0-a9e7-c0417130bdd2 2025-05-21 13:51:09,221 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e1bd4ecf-ce9d-4778-88a8-8d07ffca403b 2025-05-21 13:51:10,464 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.853/3.238/1.384 ms') 2025-05-21 13:51:10,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28836025-35120634 passed 2025-05-21 13:51:10,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:51:10,636 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28836025-35120634, IP 48.40.83.67, Port 22 2025-05-21 13:51:10,808 - DEBUG - VM ctest-TestRoutersBasic-28836025-35120634 is ready for SSH connections 2025-05-21 13:51:10,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:51:10,809 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.40.83.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-21 13:51:10,809 - DEBUG - ping -s 56 -c 3 -W 1 48.40.83.67 2025-05-21 13:51:14,965 - DEBUG - PING 48.40.83.67 (48.40.83.67): 56 data bytes 64 bytes from 48.40.83.67: seq=0 ttl=62 time=6.934 ms 64 bytes from 48.40.83.67: seq=1 ttl=62 time=1.166 ms 64 bytes from 48.40.83.67: seq=2 ttl=62 time=1.128 ms --- 48.40.83.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.128/3.076/6.934 ms 2025-05-21 13:51:14,965 - INFO - Ping to IP 48.40.83.67 from VM ctest-TestRoutersBasic-28836025-30155876 passed 2025-05-21 13:51:14,965 - INFO - Deleting interface with subnet_id 75420492-ad27-4cc7-b7b4-9d5c3c8bba78, port_id None from router 376fdcea-99d0-4349-bb4a-38e85526e2a5 2025-05-21 13:51:15,209 - INFO - Deleting VM ctest-TestRoutersBasic-28836025-35120634 2025-05-21 13:51:15,289 - INFO - Deleting VM ctest-TestRoutersBasic-28836025-30155876 2025-05-21 13:51:15,364 - INFO - Deleting VN ctest-ext_vn-19430230 2025-05-21 13:51:15,434 - DEBUG - VN 87cbe682-248b-4228-a19b-a1b8396e1ee3 still in use: Unable to complete operation on network 87cbe682-248b-4228-a19b-a1b8396e1ee3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18f54824-d658-4c59-8f9a-c604f372b968'] 2025-05-21 13:51:15,434 - WARNING - Deleting VN ctest-ext_vn-19430230 failed..Will retry 2025-05-21 13:51:17,564 - DEBUG - Response for deleting network () 2025-05-21 13:51:17,565 - INFO - Deleting VN ctest-vn-24081046 2025-05-21 13:51:17,697 - DEBUG - Response for deleting network () 2025-05-21 13:51:17,955 - DEBUG - No XMPP flaps were noticed during the test 2025-05-21 13:51:17,955 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-21 13:51:17,955 - INFO - -------------------------------------------------------------------------------- 2025-05-21 13:51:18,710 - INFO - Deleted project: ctest-TestRoutersBasic-28836025, ID : 1b459eaf-4c7e-43bc-ba62-9c4e543dc373