2026-04-21 09:59:38,729 - INFO - Domain Default found not creating 2026-04-21 09:59:38,952 - INFO - Project ctest-TestRoutersBasic-03596516 not found, creating it 2026-04-21 09:59:39,426 - INFO - Created Project:ctest-TestRoutersBasic-03596516, ID : a3f719a5-a037-4cd1-9d9f-d1cd7c5881e3 2026-04-21 09:59:41,096 - INFO - ================================================================================ 2026-04-21 09:59:41,096 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-21 09:59:41,096 - 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-21 09:59:41,368 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-21 09:59:41,368 - INFO - Initial checks done. Running the testcase now 2026-04-21 09:59:41,368 - INFO - 2026-04-21 09:59:42,119 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03596516 2026-04-21 09:59:42,222 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03596516 2026-04-21 09:59:42,549 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03596516', 'default']} 2026-04-21 09:59:42,869 - DEBUG - Response for create_network : {'network': {'id': '01e39cb1-d0c3-49d2-902a-fd4b0c48b07b', 'name': 'ctest-vn-24903901', 'tenant_id': 'a3f719a5a0374cd19d9fd1cd7c5881e3', 'project_id': 'a3f719a5a0374cd19d9fd1cd7c5881e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03596516', 'ctest-vn-24903901'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 09:59:43,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '602714eb-298e-42c3-b582-2ff87ba1d396', 'name': '', 'tenant_id': 'a3f719a5a0374cd19d9fd1cd7c5881e3', 'network_id': '01e39cb1-d0c3-49d2-902a-fd4b0c48b07b', 'ip_version': 4, 'cidr': '155.44.47.0/26', 'allocation_pools': [{'start': '155.44.47.2', 'end': '155.44.47.62'}], 'gateway_ip': '155.44.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.44.47.2', 'tags': [], 'project_id': 'a3f719a5a0374cd19d9fd1cd7c5881e3'}} 2026-04-21 09:59:43,119 - INFO - Created VN ctest-vn-24903901 2026-04-21 09:59:43,174 - DEBUG - VN ctest-vn-24903901 UUID is 01e39cb1-d0c3-49d2-902a-fd4b0c48b07b 2026-04-21 09:59:43,516 - DEBUG - Response for create_network : {'network': {'id': '0ca1f77f-b34d-4a1b-9e51-3bc6066dce63', 'name': 'ctest-ext_vn-50053782', 'tenant_id': 'a3f719a5a0374cd19d9fd1cd7c5881e3', 'project_id': 'a3f719a5a0374cd19d9fd1cd7c5881e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03596516', 'ctest-ext_vn-50053782'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 09:59:43,684 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6c8b2ae-35e5-417b-a7e4-d32eebe613d6', 'name': '', 'tenant_id': 'a3f719a5a0374cd19d9fd1cd7c5881e3', 'network_id': '0ca1f77f-b34d-4a1b-9e51-3bc6066dce63', 'ip_version': 4, 'cidr': '94.39.236.128/26', 'allocation_pools': [{'start': '94.39.236.130', 'end': '94.39.236.190'}], 'gateway_ip': '94.39.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.39.236.130', 'tags': [], 'project_id': 'a3f719a5a0374cd19d9fd1cd7c5881e3'}} 2026-04-21 09:59:43,704 - INFO - Created VN ctest-ext_vn-50053782 2026-04-21 09:59:43,758 - DEBUG - VN ctest-ext_vn-50053782 UUID is 0ca1f77f-b34d-4a1b-9e51-3bc6066dce63 2026-04-21 09:59:43,952 - DEBUG - Services list from nova: [, , ] 2026-04-21 09:59:45,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5658-1) 2026-04-21 09:59:46,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5658-1) 2026-04-21 09:59:46,412 - INFO - Setting gateway for router 9eb7a726-65f8-4056-8528-26c6337d29be to network 0ca1f77f-b34d-4a1b-9e51-3bc6066dce63 2026-04-21 09:59:46,489 - INFO - Adding interface with subnet_id 602714eb-298e-42c3-b582-2ff87ba1d396, port_id None to router 9eb7a726-65f8-4056-8528-26c6337d29be 2026-04-21 09:59:46,903 - INFO - Waiting for VM ctest-TestRoutersBasic-03596516-41795932 to be up.. 2026-04-21 09:59:47,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 09:59:52,183 - DEBUG - VM is in ACTIVE state now 2026-04-21 09:59:52,183 - INFO - VM name : ctest-TestRoutersBasic-03596516-41795932 2026-04-21 09:59:52,285 - DEBUG - VM ctest-TestRoutersBasic-03596516-41795932 ID is c146b9be-75a6-4cf0-84bb-2a81d3655e9b 2026-04-21 09:59:52,306 - DEBUG - VM ctest-TestRoutersBasic-03596516-41795932 launched on Node cn-jenkins-deploy-platform-ansible-os-5658-1 2026-04-21 09:59:52,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c146b9be-75a6-4cf0-84bb-2a81d3655e9b 2026-04-21 09:59:52,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c146b9be-75a6-4cf0-84bb-2a81d3655e9b 2026-04-21 09:59:52,777 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a21c013b-8bf6-453d-bc4b-d7cd163f229e 2026-04-21 09:59:56,057 - 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 1025ms') 2026-04-21 09:59:56,057 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03596516-41795932 failed! 2026-04-21 09:59:56,118 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03596516:ctest-vn-24903901 is 155.44.47.1 and allocation pool is NOT set 2026-04-21 09:59:58,186 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/1.775/3.141/1.365 ms') 2026-04-21 09:59:58,186 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03596516-41795932 passed 2026-04-21 09:59:58,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 09:59:58,302 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03596516-41795932, IP 155.44.47.3, Port 22 2026-04-21 09:59:58,476 - DEBUG - VM ctest-TestRoutersBasic-03596516-41795932 is ready for SSH connections 2026-04-21 09:59:58,476 - INFO - Waiting for VM ctest-TestRoutersBasic-03596516-83757286 to be up.. 2026-04-21 09:59:58,577 - DEBUG - VM is in ACTIVE state now 2026-04-21 09:59:58,577 - INFO - VM name : ctest-TestRoutersBasic-03596516-83757286 2026-04-21 09:59:58,668 - DEBUG - VM ctest-TestRoutersBasic-03596516-83757286 ID is b11bb219-1b10-484e-a76d-5d8a63764872 2026-04-21 09:59:58,668 - DEBUG - VM ctest-TestRoutersBasic-03596516-83757286 launched on Node cn-jenkins-deploy-platform-ansible-os-5658-1 2026-04-21 09:59:58,767 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b11bb219-1b10-484e-a76d-5d8a63764872 2026-04-21 09:59:58,777 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7b372e52-0916-47d4-bb9f-4bf8e366d8b5 2026-04-21 10:00:00,035 - 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=5.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 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.544/2.928/5.312/2.384 ms') 2026-04-21 10:00:00,035 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03596516-83757286 passed 2026-04-21 10:00:00,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 10:00:00,198 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03596516-83757286, IP 94.39.236.131, Port 22 2026-04-21 10:00:00,368 - DEBUG - VM ctest-TestRoutersBasic-03596516-83757286 is ready for SSH connections 2026-04-21 10:00:00,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 10:00:00,368 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.39.236.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-21 10:00:00,368 - DEBUG - ping -s 56 -c 3 -W 1 94.39.236.131 2026-04-21 10:00:04,172 - DEBUG - PING 94.39.236.131 (94.39.236.131): 56 data bytes 64 bytes from 94.39.236.131: seq=0 ttl=62 time=7.411 ms 64 bytes from 94.39.236.131: seq=1 ttl=62 time=1.470 ms 64 bytes from 94.39.236.131: seq=2 ttl=62 time=1.754 ms --- 94.39.236.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.470/3.545/7.411 ms 2026-04-21 10:00:04,172 - INFO - Ping to IP 94.39.236.131 from VM ctest-TestRoutersBasic-03596516-41795932 passed 2026-04-21 10:00:04,173 - INFO - Deleting interface with subnet_id 602714eb-298e-42c3-b582-2ff87ba1d396, port_id None from router 9eb7a726-65f8-4056-8528-26c6337d29be 2026-04-21 10:00:04,444 - INFO - Deleting VM ctest-TestRoutersBasic-03596516-83757286 2026-04-21 10:00:04,548 - INFO - Deleting VM ctest-TestRoutersBasic-03596516-41795932 2026-04-21 10:00:04,649 - INFO - Deleting VN ctest-ext_vn-50053782 2026-04-21 10:00:04,764 - DEBUG - VN 0ca1f77f-b34d-4a1b-9e51-3bc6066dce63 still in use: Unable to complete operation on network 0ca1f77f-b34d-4a1b-9e51-3bc6066dce63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7fa2bd9-6370-4b00-985c-0b3b5dbd6200'] 2026-04-21 10:00:04,764 - WARNING - Deleting VN ctest-ext_vn-50053782 failed..Will retry 2026-04-21 10:00:06,884 - DEBUG - Response for deleting network () 2026-04-21 10:00:06,884 - INFO - Deleting VN ctest-vn-24903901 2026-04-21 10:00:07,071 - DEBUG - Response for deleting network () 2026-04-21 10:00:07,351 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 10:00:07,351 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-21 10:00:07,351 - INFO - -------------------------------------------------------------------------------- 2026-04-21 10:00:08,089 - INFO - Deleted project: ctest-TestRoutersBasic-03596516, ID : a3f719a5-a037-4cd1-9d9f-d1cd7c5881e3