2025-11-20 17:08:47,963 - INFO - Domain Default found not creating 2025-11-20 17:08:48,163 - INFO - Project ctest-TestRoutersBasic-24582729 not found, creating it 2025-11-20 17:08:48,668 - INFO - Created Project:ctest-TestRoutersBasic-24582729, ID : 5a627770-f7fd-451e-80ad-dbbe5e093236 2025-11-20 17:08:50,337 - INFO - ================================================================================ 2025-11-20 17:08:50,338 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-20 17:08:50,338 - 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-11-20 17:08:50,605 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0'}} with 2025-11-20 17:08:50,605 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:08:50,605 - INFO - 2025-11-20 17:08:51,360 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24582729 2025-11-20 17:08:51,459 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24582729 2025-11-20 17:08:51,790 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24582729', 'default']} 2025-11-20 17:08:52,124 - DEBUG - Response for create_network : {'network': {'id': '81e74e73-eb09-4c61-98f8-b9d54c5acc66', 'name': 'ctest-vn-63533011', 'tenant_id': '5a627770f7fd451e80addbbe5e093236', 'project_id': '5a627770f7fd451e80addbbe5e093236', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24582729', 'ctest-vn-63533011'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:08:52,304 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c57c8fa9-1929-4bc4-ad18-d0086dc9c10d', 'name': '', 'tenant_id': '5a627770f7fd451e80addbbe5e093236', 'network_id': '81e74e73-eb09-4c61-98f8-b9d54c5acc66', 'ip_version': 4, 'cidr': '202.44.178.0/26', 'allocation_pools': [{'start': '202.44.178.2', 'end': '202.44.178.62'}], 'gateway_ip': '202.44.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.44.178.2', 'tags': [], 'project_id': '5a627770f7fd451e80addbbe5e093236'}} 2025-11-20 17:08:52,328 - INFO - Created VN ctest-vn-63533011 2025-11-20 17:08:52,383 - DEBUG - VN ctest-vn-63533011 UUID is 81e74e73-eb09-4c61-98f8-b9d54c5acc66 2025-11-20 17:08:52,731 - DEBUG - Response for create_network : {'network': {'id': '9b715311-2e57-4f63-92d3-d3f24a42f1cd', 'name': 'ctest-ext_vn-29464464', 'tenant_id': '5a627770f7fd451e80addbbe5e093236', 'project_id': '5a627770f7fd451e80addbbe5e093236', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24582729', 'ctest-ext_vn-29464464'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:08:52,932 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5a3c4f5-7e06-4a37-83d4-ebb2129d2814', 'name': '', 'tenant_id': '5a627770f7fd451e80addbbe5e093236', 'network_id': '9b715311-2e57-4f63-92d3-d3f24a42f1cd', 'ip_version': 4, 'cidr': '137.89.120.64/26', 'allocation_pools': [{'start': '137.89.120.66', 'end': '137.89.120.126'}], 'gateway_ip': '137.89.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.89.120.66', 'tags': [], 'project_id': '5a627770f7fd451e80addbbe5e093236'}} 2025-11-20 17:08:52,952 - INFO - Created VN ctest-ext_vn-29464464 2025-11-20 17:08:53,007 - DEBUG - VN ctest-ext_vn-29464464 UUID is 9b715311-2e57-4f63-92d3-d3f24a42f1cd 2025-11-20 17:08:53,193 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:08:54,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4781-1) 2025-11-20 17:08:55,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4781-1) 2025-11-20 17:08:55,569 - INFO - Setting gateway for router 4090033d-33ad-4c46-b7cc-d8b744ea3c36 to network 9b715311-2e57-4f63-92d3-d3f24a42f1cd 2025-11-20 17:08:55,637 - INFO - Adding interface with subnet_id c57c8fa9-1929-4bc4-ad18-d0086dc9c10d, port_id None to router 4090033d-33ad-4c46-b7cc-d8b744ea3c36 2025-11-20 17:08:56,014 - INFO - Waiting for VM ctest-TestRoutersBasic-24582729-39800508 to be up.. 2025-11-20 17:08:56,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:09:01,226 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:09:01,226 - INFO - VM name : ctest-TestRoutersBasic-24582729-39800508 2025-11-20 17:09:01,317 - DEBUG - VM ctest-TestRoutersBasic-24582729-39800508 ID is 2f7a899f-7f7f-481c-9c76-8bbda71481ed 2025-11-20 17:09:01,347 - DEBUG - VM ctest-TestRoutersBasic-24582729-39800508 launched on Node cn-jenkins-deploy-platform-ansible-os-4781-1 2025-11-20 17:09:01,436 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2f7a899f-7f7f-481c-9c76-8bbda71481ed 2025-11-20 17:09:01,736 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2f7a899f-7f7f-481c-9c76-8bbda71481ed 2025-11-20 17:09:01,778 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ac9b7ef7-3603-4d5f-865f-a78dddf1da58 2025-11-20 17:09:05,029 - 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 1002ms') 2025-11-20 17:09:05,030 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24582729-39800508 failed! 2025-11-20 17:09:05,099 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24582729:ctest-vn-63533011 is 202.44.178.1 and allocation pool is NOT set 2025-11-20 17:09:07,157 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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.267/2.897/4.528/1.630 ms') 2025-11-20 17:09:07,157 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24582729-39800508 passed 2025-11-20 17:09:07,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:09:07,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24582729-39800508, IP 202.44.178.3, Port 22 2025-11-20 17:09:07,485 - DEBUG - VM ctest-TestRoutersBasic-24582729-39800508 is ready for SSH connections 2025-11-20 17:09:07,485 - INFO - Waiting for VM ctest-TestRoutersBasic-24582729-62029812 to be up.. 2025-11-20 17:09:07,578 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:09:07,578 - INFO - VM name : ctest-TestRoutersBasic-24582729-62029812 2025-11-20 17:09:07,661 - DEBUG - VM ctest-TestRoutersBasic-24582729-62029812 ID is 8c051088-127a-42f1-bc03-036d2313fd66 2025-11-20 17:09:07,661 - DEBUG - VM ctest-TestRoutersBasic-24582729-62029812 launched on Node cn-jenkins-deploy-platform-ansible-os-4781-1 2025-11-20 17:09:07,747 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8c051088-127a-42f1-bc03-036d2313fd66 2025-11-20 17:09:07,756 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/883f6592-05dd-4f5c-97cd-88bac1632af0 2025-11-20 17:09:09,006 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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 = 0.464/1.666/2.869/1.202 ms') 2025-11-20 17:09:09,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24582729-62029812 passed 2025-11-20 17:09:09,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:09:09,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24582729-62029812, IP 137.89.120.67, Port 22 2025-11-20 17:09:09,325 - DEBUG - VM ctest-TestRoutersBasic-24582729-62029812 is ready for SSH connections 2025-11-20 17:09:09,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:09:09,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.89.120.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:09:09,326 - DEBUG - ping -s 56 -c 3 -W 1 137.89.120.67 2025-11-20 17:09:13,110 - DEBUG - PING 137.89.120.67 (137.89.120.67): 56 data bytes 64 bytes from 137.89.120.67: seq=0 ttl=62 time=6.871 ms 64 bytes from 137.89.120.67: seq=1 ttl=62 time=1.515 ms 64 bytes from 137.89.120.67: seq=2 ttl=62 time=1.028 ms --- 137.89.120.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.028/3.138/6.871 ms 2025-11-20 17:09:13,110 - INFO - Ping to IP 137.89.120.67 from VM ctest-TestRoutersBasic-24582729-39800508 passed 2025-11-20 17:09:13,110 - INFO - Deleting interface with subnet_id c57c8fa9-1929-4bc4-ad18-d0086dc9c10d, port_id None from router 4090033d-33ad-4c46-b7cc-d8b744ea3c36 2025-11-20 17:09:13,329 - INFO - Deleting VM ctest-TestRoutersBasic-24582729-62029812 2025-11-20 17:09:13,418 - INFO - Deleting VM ctest-TestRoutersBasic-24582729-39800508 2025-11-20 17:09:13,534 - INFO - Deleting VN ctest-ext_vn-29464464 2025-11-20 17:09:13,617 - DEBUG - VN 9b715311-2e57-4f63-92d3-d3f24a42f1cd still in use: Unable to complete operation on network 9b715311-2e57-4f63-92d3-d3f24a42f1cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b31951ea-3879-4f27-becb-ce4c44656a37'] 2025-11-20 17:09:13,617 - WARNING - Deleting VN ctest-ext_vn-29464464 failed..Will retry 2025-11-20 17:09:15,745 - DEBUG - Response for deleting network () 2025-11-20 17:09:15,745 - INFO - Deleting VN ctest-vn-63533011 2025-11-20 17:09:15,868 - DEBUG - Response for deleting network () 2025-11-20 17:09:16,133 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 17:09:16,135 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-20 17:09:16,135 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:09:16,875 - INFO - Deleted project: ctest-TestRoutersBasic-24582729, ID : 5a627770-f7fd-451e-80ad-dbbe5e093236