2025-10-21 11:55:13,693 - INFO - Domain Default found not creating 2025-10-21 11:55:13,922 - INFO - Project ctest-TestRoutersBasic-66167231 not found, creating it 2025-10-21 11:55:14,352 - INFO - Created Project:ctest-TestRoutersBasic-66167231, ID : 28677f73-4815-45cf-be49-93e4804690f4 2025-10-21 11:55:15,718 - INFO - ================================================================================ 2025-10-21 11:55:15,718 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 11:55:15,718 - 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-10-21 11:55:15,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 11:55:15,977 - INFO - Initial checks done. Running the testcase now 2025-10-21 11:55:15,977 - INFO - 2025-10-21 11:55:16,672 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66167231 2025-10-21 11:55:16,766 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66167231 2025-10-21 11:55:17,086 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66167231', 'default']} 2025-10-21 11:55:17,373 - DEBUG - Response for create_network : {'network': {'id': 'e2343007-d611-4761-88e4-c2d894f6d860', 'name': 'ctest-vn-78208885', 'tenant_id': '28677f73481545cfbe4993e4804690f4', 'project_id': '28677f73481545cfbe4993e4804690f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66167231', 'ctest-vn-78208885'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:55:17,562 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5e7e733-edcc-4cec-96fb-d38dd95f7be1', 'name': '', 'tenant_id': '28677f73481545cfbe4993e4804690f4', 'network_id': 'e2343007-d611-4761-88e4-c2d894f6d860', 'ip_version': 4, 'cidr': '187.102.222.0/26', 'allocation_pools': [{'start': '187.102.222.2', 'end': '187.102.222.62'}], 'gateway_ip': '187.102.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.102.222.2', 'tags': [], 'project_id': '28677f73481545cfbe4993e4804690f4'}} 2025-10-21 11:55:17,580 - INFO - Created VN ctest-vn-78208885 2025-10-21 11:55:17,630 - DEBUG - VN ctest-vn-78208885 UUID is e2343007-d611-4761-88e4-c2d894f6d860 2025-10-21 11:55:17,932 - DEBUG - Response for create_network : {'network': {'id': '83bd2b86-b4f1-4b9b-9c6c-15e46ff4b39f', 'name': 'ctest-ext_vn-27676759', 'tenant_id': '28677f73481545cfbe4993e4804690f4', 'project_id': '28677f73481545cfbe4993e4804690f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66167231', 'ctest-ext_vn-27676759'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:55:18,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e3e963e-e45d-4408-87b4-3d8f8c10817b', 'name': '', 'tenant_id': '28677f73481545cfbe4993e4804690f4', 'network_id': '83bd2b86-b4f1-4b9b-9c6c-15e46ff4b39f', 'ip_version': 4, 'cidr': '217.230.151.128/26', 'allocation_pools': [{'start': '217.230.151.130', 'end': '217.230.151.190'}], 'gateway_ip': '217.230.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.230.151.130', 'tags': [], 'project_id': '28677f73481545cfbe4993e4804690f4'}} 2025-10-21 11:55:18,174 - INFO - Created VN ctest-ext_vn-27676759 2025-10-21 11:55:18,226 - DEBUG - VN ctest-ext_vn-27676759 UUID is 83bd2b86-b4f1-4b9b-9c6c-15e46ff4b39f 2025-10-21 11:55:18,397 - DEBUG - Services list from nova: [, , ] 2025-10-21 11:55:19,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4392-1) 2025-10-21 11:55:20,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4392-1) 2025-10-21 11:55:20,555 - INFO - Setting gateway for router 991d92b8-c331-4f0b-8eb7-6c29060c6507 to network 83bd2b86-b4f1-4b9b-9c6c-15e46ff4b39f 2025-10-21 11:55:20,610 - INFO - Adding interface with subnet_id a5e7e733-edcc-4cec-96fb-d38dd95f7be1, port_id None to router 991d92b8-c331-4f0b-8eb7-6c29060c6507 2025-10-21 11:55:21,006 - INFO - Waiting for VM ctest-TestRoutersBasic-66167231-90505221 to be up.. 2025-10-21 11:55:21,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 11:55:26,207 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:55:26,207 - INFO - VM name : ctest-TestRoutersBasic-66167231-90505221 2025-10-21 11:55:26,278 - DEBUG - VM ctest-TestRoutersBasic-66167231-90505221 ID is 71db1db9-81be-4857-aa91-49a2e49730fa 2025-10-21 11:55:26,302 - DEBUG - VM ctest-TestRoutersBasic-66167231-90505221 launched on Node cn-jenkins-deploy-platform-ansible-os-4392-1 2025-10-21 11:55:26,381 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71db1db9-81be-4857-aa91-49a2e49730fa 2025-10-21 11:55:26,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71db1db9-81be-4857-aa91-49a2e49730fa 2025-10-21 11:55:26,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78a0e8b6-8994-4d9f-a474-b16fca2e659a 2025-10-21 11:55:29,964 - 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') 2025-10-21 11:55:29,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66167231-90505221 failed! 2025-10-21 11:55:30,026 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66167231:ctest-vn-78208885 is 187.102.222.1 and allocation pool is NOT set 2025-10-21 11:55:32,090 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.525/2.626/1.101 ms') 2025-10-21 11:55:32,090 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66167231-90505221 passed 2025-10-21 11:55:32,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:55:32,246 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66167231-90505221, IP 187.102.222.3, Port 22 2025-10-21 11:55:32,401 - DEBUG - VM ctest-TestRoutersBasic-66167231-90505221 is ready for SSH connections 2025-10-21 11:55:32,401 - INFO - Waiting for VM ctest-TestRoutersBasic-66167231-32805297 to be up.. 2025-10-21 11:55:32,475 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:55:32,475 - INFO - VM name : ctest-TestRoutersBasic-66167231-32805297 2025-10-21 11:55:32,547 - DEBUG - VM ctest-TestRoutersBasic-66167231-32805297 ID is 05101c81-0cc8-43f2-ab2d-626af70d24ab 2025-10-21 11:55:32,547 - DEBUG - VM ctest-TestRoutersBasic-66167231-32805297 launched on Node cn-jenkins-deploy-platform-ansible-os-4392-1 2025-10-21 11:55:32,613 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/05101c81-0cc8-43f2-ab2d-626af70d24ab 2025-10-21 11:55:32,621 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/11f53dc2-e1ff-4c55-900f-9ae0f81473b4 2025-10-21 11:55:33,850 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.619/2.833/1.213 ms') 2025-10-21 11:55:33,850 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66167231-32805297 passed 2025-10-21 11:55:34,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:55:34,002 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66167231-32805297, IP 217.230.151.131, Port 22 2025-10-21 11:55:34,166 - DEBUG - VM ctest-TestRoutersBasic-66167231-32805297 is ready for SSH connections 2025-10-21 11:55:34,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:55:34,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.230.151.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 11:55:34,166 - DEBUG - ping -s 56 -c 3 -W 1 217.230.151.131 2025-10-21 11:55:38,161 - DEBUG - PING 217.230.151.131 (217.230.151.131): 56 data bytes 64 bytes from 217.230.151.131: seq=0 ttl=62 time=7.364 ms 64 bytes from 217.230.151.131: seq=1 ttl=62 time=0.882 ms 64 bytes from 217.230.151.131: seq=2 ttl=62 time=0.691 ms --- 217.230.151.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.691/2.979/7.364 ms 2025-10-21 11:55:38,161 - INFO - Ping to IP 217.230.151.131 from VM ctest-TestRoutersBasic-66167231-90505221 passed 2025-10-21 11:55:38,161 - INFO - Deleting interface with subnet_id a5e7e733-edcc-4cec-96fb-d38dd95f7be1, port_id None from router 991d92b8-c331-4f0b-8eb7-6c29060c6507 2025-10-21 11:55:38,330 - INFO - Deleting VM ctest-TestRoutersBasic-66167231-32805297 2025-10-21 11:55:38,400 - INFO - Deleting VM ctest-TestRoutersBasic-66167231-90505221 2025-10-21 11:55:38,477 - INFO - Deleting VN ctest-ext_vn-27676759 2025-10-21 11:55:38,545 - DEBUG - VN 83bd2b86-b4f1-4b9b-9c6c-15e46ff4b39f still in use: Unable to complete operation on network 83bd2b86-b4f1-4b9b-9c6c-15e46ff4b39f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fa6688d-cb02-4029-80bc-823177a1655f'] 2025-10-21 11:55:38,545 - WARNING - Deleting VN ctest-ext_vn-27676759 failed..Will retry 2025-10-21 11:55:40,664 - DEBUG - Response for deleting network () 2025-10-21 11:55:40,664 - INFO - Deleting VN ctest-vn-78208885 2025-10-21 11:55:40,787 - DEBUG - Response for deleting network () 2025-10-21 11:55:41,039 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 11:55:41,039 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-21 11:55:41,039 - INFO - -------------------------------------------------------------------------------- 2025-10-21 11:55:41,711 - INFO - Deleted project: ctest-TestRoutersBasic-66167231, ID : 28677f73-4815-45cf-be49-93e4804690f4