2025-11-21 18:34:29,053 - INFO - Domain Default found not creating
2025-11-21 18:34:29,226 - INFO - Project ctest-TestRoutersBasic-56858748 not found, creating it
2025-11-21 18:34:29,713 - INFO - Created Project:ctest-TestRoutersBasic-56858748, ID : fa9d43f0-1143-4cff-9fd2-16548c615e29
2025-11-21 18:34:31,268 - INFO - ================================================================================
2025-11-21 18:34:31,269 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-21 18:34:31,269 - 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-21 18:34:31,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with
2025-11-21 18:34:31,531 - INFO - Initial checks done. Running the testcase now
2025-11-21 18:34:31,532 - INFO -
2025-11-21 18:34:32,306 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56858748
2025-11-21 18:34:32,405 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56858748
2025-11-21 18:34:32,728 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56858748', 'default']}
2025-11-21 18:34:33,055 - DEBUG - Response for create_network : {'network': {'id': 'd1c65106-b558-4739-9354-f2cc249f375c', 'name': 'ctest-vn-87315159', 'tenant_id': 'fa9d43f011434cff9fd216548c615e29', 'project_id': 'fa9d43f011434cff9fd216548c615e29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56858748', 'ctest-vn-87315159'], 'port_security_enabled': True, 'description': ''}}
2025-11-21 18:34:33,260 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1cc7f7e-51d9-4d3b-aa42-af77bce98e69', 'name': '', 'tenant_id': 'fa9d43f011434cff9fd216548c615e29', 'network_id': 'd1c65106-b558-4739-9354-f2cc249f375c', 'ip_version': 4, 'cidr': '8.202.130.128/26', 'allocation_pools': [{'start': '8.202.130.130', 'end': '8.202.130.190'}], 'gateway_ip': '8.202.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.202.130.130', 'tags': [], 'project_id': 'fa9d43f011434cff9fd216548c615e29'}}
2025-11-21 18:34:33,280 - INFO - Created VN ctest-vn-87315159
2025-11-21 18:34:33,333 - DEBUG - VN ctest-vn-87315159 UUID is d1c65106-b558-4739-9354-f2cc249f375c
2025-11-21 18:34:33,665 - DEBUG - Response for create_network : {'network': {'id': '9237eaff-f136-4ea0-b963-42221e9fa879', 'name': 'ctest-ext_vn-43578717', 'tenant_id': 'fa9d43f011434cff9fd216548c615e29', 'project_id': 'fa9d43f011434cff9fd216548c615e29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56858748', 'ctest-ext_vn-43578717'], 'port_security_enabled': True, 'description': ''}}
2025-11-21 18:34:33,899 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3abc75f-9140-4a05-9c1d-e6f7dd664d16', 'name': '', 'tenant_id': 'fa9d43f011434cff9fd216548c615e29', 'network_id': '9237eaff-f136-4ea0-b963-42221e9fa879', 'ip_version': 4, 'cidr': '203.54.211.64/26', 'allocation_pools': [{'start': '203.54.211.66', 'end': '203.54.211.126'}], 'gateway_ip': '203.54.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.54.211.66', 'tags': [], 'project_id': 'fa9d43f011434cff9fd216548c615e29'}}
2025-11-21 18:34:33,918 - INFO - Created VN ctest-ext_vn-43578717
2025-11-21 18:34:33,972 - DEBUG - VN ctest-ext_vn-43578717 UUID is 9237eaff-f136-4ea0-b963-42221e9fa879
2025-11-21 18:34:34,140 - DEBUG - Services list from nova: [, , ]
2025-11-21 18:34:35,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1)
2025-11-21 18:34:36,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1)
2025-11-21 18:34:36,635 - INFO - Setting gateway for router e0616eab-fd42-45ae-9787-e1000db32080 to network 9237eaff-f136-4ea0-b963-42221e9fa879
2025-11-21 18:34:36,760 - INFO - Adding interface with subnet_id b1cc7f7e-51d9-4d3b-aa42-af77bce98e69, port_id None to router e0616eab-fd42-45ae-9787-e1000db32080
2025-11-21 18:34:37,517 - INFO - Waiting for VM ctest-TestRoutersBasic-56858748-60234075 to be up..
2025-11-21 18:34:37,651 - DEBUG - VM is in ACTIVE state now
2025-11-21 18:34:37,651 - INFO - VM name : ctest-TestRoutersBasic-56858748-60234075
2025-11-21 18:34:37,759 - DEBUG - VM ctest-TestRoutersBasic-56858748-60234075 ID is f91e600a-1c8d-4bd4-8dd8-e2a693f71618
2025-11-21 18:34:37,784 - DEBUG - VM ctest-TestRoutersBasic-56858748-60234075 launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1
2025-11-21 18:34:37,890 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f91e600a-1c8d-4bd4-8dd8-e2a693f71618
2025-11-21 18:34:38,210 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f91e600a-1c8d-4bd4-8dd8-e2a693f71618
2025-11-21 18:34:38,280 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6c5e0892-83c2-4c93-b3bc-4fe98d29bc21
2025-11-21 18:34:41,555 - 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 1014ms')
2025-11-21 18:34:41,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56858748-60234075 failed!
2025-11-21 18:34:41,609 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56858748:ctest-vn-87315159 is 8.202.130.129 and allocation pool is NOT set
2025-11-21 18:34:45,685 - 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 1018ms')
2025-11-21 18:34:45,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56858748-60234075 failed!
2025-11-21 18:34:45,741 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56858748:ctest-vn-87315159 is 8.202.130.129 and allocation pool is NOT set
2025-11-21 18:34:47,800 - 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=3.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/1.784/3.172/1.388 ms')
2025-11-21 18:34:47,800 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56858748-60234075 passed
2025-11-21 18:34:47,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 18:34:47,957 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56858748-60234075, IP 8.202.130.131, Port 22
2025-11-21 18:34:48,123 - DEBUG - VM ctest-TestRoutersBasic-56858748-60234075 is ready for SSH connections
2025-11-21 18:34:48,123 - INFO - Waiting for VM ctest-TestRoutersBasic-56858748-03203442 to be up..
2025-11-21 18:34:48,205 - DEBUG - VM is in ACTIVE state now
2025-11-21 18:34:48,205 - INFO - VM name : ctest-TestRoutersBasic-56858748-03203442
2025-11-21 18:34:48,283 - DEBUG - VM ctest-TestRoutersBasic-56858748-03203442 ID is 3facde6e-170d-43c0-b45f-ac737f3ba92f
2025-11-21 18:34:48,283 - DEBUG - VM ctest-TestRoutersBasic-56858748-03203442 launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1
2025-11-21 18:34:48,360 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3facde6e-170d-43c0-b45f-ac737f3ba92f
2025-11-21 18:34:48,369 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a0773488-9401-42e3-b3c0-d51aaf75d987
2025-11-21 18:34:49,612 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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.145/2.759/4.374/1.614 ms')
2025-11-21 18:34:49,612 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56858748-03203442 passed
2025-11-21 18:34:49,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 18:34:49,768 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56858748-03203442, IP 203.54.211.67, Port 22
2025-11-21 18:34:49,935 - DEBUG - VM ctest-TestRoutersBasic-56858748-03203442 is ready for SSH connections
2025-11-21 18:34:49,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 18:34:49,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.54.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-21 18:34:49,935 - DEBUG - ping -s 56 -c 3 -W 1 203.54.211.67
2025-11-21 18:34:53,647 - DEBUG - PING 203.54.211.67 (203.54.211.67): 56 data bytes
64 bytes from 203.54.211.67: seq=0 ttl=62 time=8.049 ms
64 bytes from 203.54.211.67: seq=1 ttl=62 time=1.103 ms
64 bytes from 203.54.211.67: seq=2 ttl=62 time=1.029 ms
--- 203.54.211.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.029/3.393/8.049 ms
2025-11-21 18:34:53,648 - INFO - Ping to IP 203.54.211.67 from VM ctest-TestRoutersBasic-56858748-60234075 passed
2025-11-21 18:34:53,648 - INFO - Deleting interface with subnet_id b1cc7f7e-51d9-4d3b-aa42-af77bce98e69, port_id None from router e0616eab-fd42-45ae-9787-e1000db32080
2025-11-21 18:34:53,872 - INFO - Deleting VM ctest-TestRoutersBasic-56858748-03203442
2025-11-21 18:34:53,940 - INFO - Deleting VM ctest-TestRoutersBasic-56858748-60234075
2025-11-21 18:34:54,021 - INFO - Deleting VN ctest-ext_vn-43578717
2025-11-21 18:34:54,095 - DEBUG - VN 9237eaff-f136-4ea0-b963-42221e9fa879 still in use: Unable to complete operation on network 9237eaff-f136-4ea0-b963-42221e9fa879. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-af92c57a-5a66-481f-923f-1c8b823a519a']
2025-11-21 18:34:54,095 - WARNING - Deleting VN ctest-ext_vn-43578717 failed..Will retry
2025-11-21 18:34:56,198 - DEBUG - Response for deleting network ()
2025-11-21 18:34:56,198 - INFO - Deleting VN ctest-vn-87315159
2025-11-21 18:34:56,305 - DEBUG - Response for deleting network ()
2025-11-21 18:34:56,571 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 18:34:56,571 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-21 18:34:56,571 - INFO - --------------------------------------------------------------------------------
2025-11-21 18:34:57,310 - INFO - Deleted project: ctest-TestRoutersBasic-56858748, ID : fa9d43f0-1143-4cff-9fd2-16548c615e29