2026-04-29 19:58:56,729 - INFO - Domain Default found not creating 2026-04-29 19:58:56,889 - INFO - Project ctest-TestRoutersBasic-93071155 not found, creating it 2026-04-29 19:58:57,372 - INFO - Created Project:ctest-TestRoutersBasic-93071155, ID : d9fc81a6-3dfc-43e8-98e3-83c23824f661 2026-04-29 19:58:58,878 - INFO - ================================================================================ 2026-04-29 19:58:58,879 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-29 19:58:58,879 - 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 2026-04-29 19:58:59,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-04-29 19:58:59,142 - INFO - Initial checks done. Running the testcase now 2026-04-29 19:58:59,142 - INFO - 2026-04-29 19:58:59,864 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93071155 2026-04-29 19:58:59,961 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93071155 2026-04-29 19:59:00,280 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93071155', 'default']} 2026-04-29 19:59:00,588 - DEBUG - Response for create_network : {'network': {'id': '7b37a3ad-9165-4b66-bc82-f1bd25f6cf8d', 'name': 'ctest-vn-11531137', 'tenant_id': 'd9fc81a63dfc43e898e383c23824f661', 'project_id': 'd9fc81a63dfc43e898e383c23824f661', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93071155', 'ctest-vn-11531137'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:59:00,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b38604b-fc20-4868-8f8a-8662d504c70c', 'name': '', 'tenant_id': 'd9fc81a63dfc43e898e383c23824f661', 'network_id': '7b37a3ad-9165-4b66-bc82-f1bd25f6cf8d', 'ip_version': 4, 'cidr': '204.108.20.128/26', 'allocation_pools': [{'start': '204.108.20.130', 'end': '204.108.20.190'}], 'gateway_ip': '204.108.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.108.20.130', 'tags': [], 'project_id': 'd9fc81a63dfc43e898e383c23824f661'}} 2026-04-29 19:59:00,781 - INFO - Created VN ctest-vn-11531137 2026-04-29 19:59:00,833 - DEBUG - VN ctest-vn-11531137 UUID is 7b37a3ad-9165-4b66-bc82-f1bd25f6cf8d 2026-04-29 19:59:01,200 - DEBUG - Response for create_network : {'network': {'id': 'd10f09ad-2532-4c0a-9c5c-66bb3420c4ce', 'name': 'ctest-ext_vn-31230515', 'tenant_id': 'd9fc81a63dfc43e898e383c23824f661', 'project_id': 'd9fc81a63dfc43e898e383c23824f661', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93071155', 'ctest-ext_vn-31230515'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:59:01,355 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a358c530-c5a1-411e-99d6-34b17b0dfa63', 'name': '', 'tenant_id': 'd9fc81a63dfc43e898e383c23824f661', 'network_id': 'd10f09ad-2532-4c0a-9c5c-66bb3420c4ce', 'ip_version': 4, 'cidr': '145.172.45.128/26', 'allocation_pools': [{'start': '145.172.45.130', 'end': '145.172.45.190'}], 'gateway_ip': '145.172.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.172.45.130', 'tags': [], 'project_id': 'd9fc81a63dfc43e898e383c23824f661'}} 2026-04-29 19:59:01,372 - INFO - Created VN ctest-ext_vn-31230515 2026-04-29 19:59:01,425 - DEBUG - VN ctest-ext_vn-31230515 UUID is d10f09ad-2532-4c0a-9c5c-66bb3420c4ce 2026-04-29 19:59:01,628 - DEBUG - Services list from nova: [, , ] 2026-04-29 19:59:02,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5716-1) 2026-04-29 19:59:03,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5716-1) 2026-04-29 19:59:03,907 - INFO - Setting gateway for router 6cd75709-20e5-4fb7-bd49-35d2d277409c to network d10f09ad-2532-4c0a-9c5c-66bb3420c4ce 2026-04-29 19:59:03,996 - INFO - Adding interface with subnet_id 5b38604b-fc20-4868-8f8a-8662d504c70c, port_id None to router 6cd75709-20e5-4fb7-bd49-35d2d277409c 2026-04-29 19:59:04,425 - INFO - Waiting for VM ctest-TestRoutersBasic-93071155-65755296 to be up.. 2026-04-29 19:59:04,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 19:59:09,679 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:59:09,679 - INFO - VM name : ctest-TestRoutersBasic-93071155-65755296 2026-04-29 19:59:09,749 - DEBUG - VM ctest-TestRoutersBasic-93071155-65755296 ID is 14e9d31e-b896-4c58-ae56-d8ea32cd16ec 2026-04-29 19:59:09,769 - DEBUG - VM ctest-TestRoutersBasic-93071155-65755296 launched on Node cn-jenkins-deploy-platform-ansible-os-5716-1 2026-04-29 19:59:09,842 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/14e9d31e-b896-4c58-ae56-d8ea32cd16ec 2026-04-29 19:59:10,136 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/14e9d31e-b896-4c58-ae56-d8ea32cd16ec 2026-04-29 19:59:10,174 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7ac811fb-6b34-4bdb-b43d-a6ea940f0358 2026-04-29 19:59:13,425 - 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 1023ms') 2026-04-29 19:59:13,425 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93071155-65755296 failed! 2026-04-29 19:59:13,481 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93071155:ctest-vn-11531137 is 204.108.20.129 and allocation pool is NOT set 2026-04-29 19:59:15,540 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/1.675/2.916/1.240 ms') 2026-04-29 19:59:15,540 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93071155-65755296 passed 2026-04-29 19:59:15,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:59:15,697 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93071155-65755296, IP 204.108.20.131, Port 22 2026-04-29 19:59:15,853 - DEBUG - VM ctest-TestRoutersBasic-93071155-65755296 is ready for SSH connections 2026-04-29 19:59:15,853 - INFO - Waiting for VM ctest-TestRoutersBasic-93071155-25075547 to be up.. 2026-04-29 19:59:15,927 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:59:15,927 - INFO - VM name : ctest-TestRoutersBasic-93071155-25075547 2026-04-29 19:59:15,996 - DEBUG - VM ctest-TestRoutersBasic-93071155-25075547 ID is 89bb7283-59c0-4dec-b235-9392e6cd52b2 2026-04-29 19:59:15,996 - DEBUG - VM ctest-TestRoutersBasic-93071155-25075547 launched on Node cn-jenkins-deploy-platform-ansible-os-5716-1 2026-04-29 19:59:16,069 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/89bb7283-59c0-4dec-b235-9392e6cd52b2 2026-04-29 19:59:16,079 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5c3b5d2c-2bb3-471b-8b51-28151c456370 2026-04-29 19:59:17,309 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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 = 1.113/2.093/3.074/0.980 ms') 2026-04-29 19:59:17,309 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93071155-25075547 passed 2026-04-29 19:59:17,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:59:17,461 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93071155-25075547, IP 145.172.45.131, Port 22 2026-04-29 19:59:17,615 - DEBUG - VM ctest-TestRoutersBasic-93071155-25075547 is ready for SSH connections 2026-04-29 19:59:17,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:59:17,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.172.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-29 19:59:17,616 - DEBUG - ping -s 56 -c 3 -W 1 145.172.45.131 2026-04-29 19:59:21,298 - DEBUG - PING 145.172.45.131 (145.172.45.131): 56 data bytes 64 bytes from 145.172.45.131: seq=0 ttl=62 time=5.174 ms 64 bytes from 145.172.45.131: seq=1 ttl=62 time=0.834 ms 64 bytes from 145.172.45.131: seq=2 ttl=62 time=0.976 ms --- 145.172.45.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/2.328/5.174 ms 2026-04-29 19:59:21,298 - INFO - Ping to IP 145.172.45.131 from VM ctest-TestRoutersBasic-93071155-65755296 passed 2026-04-29 19:59:21,298 - INFO - Deleting interface with subnet_id 5b38604b-fc20-4868-8f8a-8662d504c70c, port_id None from router 6cd75709-20e5-4fb7-bd49-35d2d277409c 2026-04-29 19:59:21,474 - INFO - Deleting VM ctest-TestRoutersBasic-93071155-25075547 2026-04-29 19:59:21,548 - INFO - Deleting VM ctest-TestRoutersBasic-93071155-65755296 2026-04-29 19:59:21,623 - INFO - Deleting VN ctest-ext_vn-31230515 2026-04-29 19:59:21,687 - DEBUG - VN d10f09ad-2532-4c0a-9c5c-66bb3420c4ce still in use: Unable to complete operation on network d10f09ad-2532-4c0a-9c5c-66bb3420c4ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ded02dd6-d519-476d-905c-8928d71ecaca'] 2026-04-29 19:59:21,687 - WARNING - Deleting VN ctest-ext_vn-31230515 failed..Will retry 2026-04-29 19:59:23,817 - DEBUG - Response for deleting network () 2026-04-29 19:59:23,818 - INFO - Deleting VN ctest-vn-11531137 2026-04-29 19:59:23,932 - DEBUG - Response for deleting network () 2026-04-29 19:59:24,193 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 19:59:24,194 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-29 19:59:24,194 - INFO - -------------------------------------------------------------------------------- 2026-04-29 19:59:24,861 - INFO - Deleted project: ctest-TestRoutersBasic-93071155, ID : d9fc81a6-3dfc-43e8-98e3-83c23824f661