2025-08-10 10:58:20,372 - INFO - Domain Default found not creating 2025-08-10 10:58:20,485 - INFO - Project ctest-TestRoutersBasic-30724868 not found, creating it 2025-08-10 10:58:20,932 - INFO - Created Project:ctest-TestRoutersBasic-30724868, ID : 7d0f4bcf-4754-403f-956e-03701b86814a 2025-08-10 10:58:22,210 - INFO - ================================================================================ 2025-08-10 10:58:22,210 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-10 10:58:22,211 - 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-08-10 10:58:22,465 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-10 10:58:22,465 - INFO - Initial checks done. Running the testcase now 2025-08-10 10:58:22,465 - INFO - 2025-08-10 10:58:23,128 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30724868 2025-08-10 10:58:23,220 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30724868 2025-08-10 10:58:23,536 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30724868', 'default']} 2025-08-10 10:58:23,789 - DEBUG - Response for create_network : {'network': {'id': '365137eb-5b89-422d-8eaf-ac8a564c0f53', 'name': 'ctest-vn-24300229', 'tenant_id': '7d0f4bcf4754403f956e03701b86814a', 'project_id': '7d0f4bcf4754403f956e03701b86814a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30724868', 'ctest-vn-24300229'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:58:23,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c3adfa6-f3fc-47a9-9237-6b21e7feba70', 'name': '', 'tenant_id': '7d0f4bcf4754403f956e03701b86814a', 'network_id': '365137eb-5b89-422d-8eaf-ac8a564c0f53', 'ip_version': 4, 'cidr': '1.151.253.128/26', 'allocation_pools': [{'start': '1.151.253.130', 'end': '1.151.253.190'}], 'gateway_ip': '1.151.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.151.253.130', 'tags': [], 'project_id': '7d0f4bcf4754403f956e03701b86814a'}} 2025-08-10 10:58:23,995 - INFO - Created VN ctest-vn-24300229 2025-08-10 10:58:24,044 - DEBUG - VN ctest-vn-24300229 UUID is 365137eb-5b89-422d-8eaf-ac8a564c0f53 2025-08-10 10:58:24,350 - DEBUG - Response for create_network : {'network': {'id': '50d40c67-f387-41bd-baba-cdc3fe285aab', 'name': 'ctest-ext_vn-65799471', 'tenant_id': '7d0f4bcf4754403f956e03701b86814a', 'project_id': '7d0f4bcf4754403f956e03701b86814a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30724868', 'ctest-ext_vn-65799471'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:58:24,518 - DEBUG - Response for create_subnet : {'subnet': {'id': '692b387f-6e70-4d2a-9ef3-76164bdd1067', 'name': '', 'tenant_id': '7d0f4bcf4754403f956e03701b86814a', 'network_id': '50d40c67-f387-41bd-baba-cdc3fe285aab', 'ip_version': 4, 'cidr': '141.109.132.192/26', 'allocation_pools': [{'start': '141.109.132.194', 'end': '141.109.132.254'}], 'gateway_ip': '141.109.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.109.132.194', 'tags': [], 'project_id': '7d0f4bcf4754403f956e03701b86814a'}} 2025-08-10 10:58:24,533 - INFO - Created VN ctest-ext_vn-65799471 2025-08-10 10:58:24,584 - DEBUG - VN ctest-ext_vn-65799471 UUID is 50d40c67-f387-41bd-baba-cdc3fe285aab 2025-08-10 10:58:24,763 - DEBUG - Services list from nova: [, , ] 2025-08-10 10:58:25,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3787-1) 2025-08-10 10:58:26,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3787-1) 2025-08-10 10:58:26,783 - INFO - Setting gateway for router 19a32133-1ff2-4100-8d3d-4cfa21bd044b to network 50d40c67-f387-41bd-baba-cdc3fe285aab 2025-08-10 10:58:26,836 - INFO - Adding interface with subnet_id 5c3adfa6-f3fc-47a9-9237-6b21e7feba70, port_id None to router 19a32133-1ff2-4100-8d3d-4cfa21bd044b 2025-08-10 10:58:27,229 - INFO - Waiting for VM ctest-TestRoutersBasic-30724868-02680596 to be up.. 2025-08-10 10:58:27,352 - DEBUG - VM is in ACTIVE state now 2025-08-10 10:58:27,352 - INFO - VM name : ctest-TestRoutersBasic-30724868-02680596 2025-08-10 10:58:27,437 - DEBUG - VM ctest-TestRoutersBasic-30724868-02680596 ID is d448c547-c4f0-496d-9982-049ab49ef2b8 2025-08-10 10:58:27,453 - DEBUG - VM ctest-TestRoutersBasic-30724868-02680596 launched on Node cn-jenkins-deploy-platform-ansible-os-3787-1 2025-08-10 10:58:27,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d448c547-c4f0-496d-9982-049ab49ef2b8 2025-08-10 10:58:27,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d448c547-c4f0-496d-9982-049ab49ef2b8 2025-08-10 10:58:27,854 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/595fe322-b056-4e2b-b6af-dddde0573580 2025-08-10 10:58:31,187 - 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') 2025-08-10 10:58:31,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30724868-02680596 failed! 2025-08-10 10:58:31,240 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30724868:ctest-vn-24300229 is 1.151.253.129 and allocation pool is NOT set 2025-08-10 10:58:35,310 - 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 1015ms') 2025-08-10 10:58:35,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30724868-02680596 failed! 2025-08-10 10:58:35,364 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30724868:ctest-vn-24300229 is 1.151.253.129 and allocation pool is NOT set 2025-08-10 10:58:37,420 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.549/2.651/1.102 ms') 2025-08-10 10:58:37,420 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30724868-02680596 passed 2025-08-10 10:58:37,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:37,565 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30724868-02680596, IP 1.151.253.131, Port 22 2025-08-10 10:58:37,726 - DEBUG - VM ctest-TestRoutersBasic-30724868-02680596 is ready for SSH connections 2025-08-10 10:58:37,726 - INFO - Waiting for VM ctest-TestRoutersBasic-30724868-39294473 to be up.. 2025-08-10 10:58:37,790 - DEBUG - VM is in ACTIVE state now 2025-08-10 10:58:37,790 - INFO - VM name : ctest-TestRoutersBasic-30724868-39294473 2025-08-10 10:58:37,847 - DEBUG - VM ctest-TestRoutersBasic-30724868-39294473 ID is 208082d0-a398-4543-be49-d0e1c4c99a51 2025-08-10 10:58:37,847 - DEBUG - VM ctest-TestRoutersBasic-30724868-39294473 launched on Node cn-jenkins-deploy-platform-ansible-os-3787-1 2025-08-10 10:58:37,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/208082d0-a398-4543-be49-d0e1c4c99a51 2025-08-10 10:58:37,912 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4ce172d2-471e-4754-8639-27e2e19331be 2025-08-10 10:58:39,144 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.309 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.309/1.420/2.532/1.111 ms') 2025-08-10 10:58:39,145 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30724868-39294473 passed 2025-08-10 10:58:39,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:39,293 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30724868-39294473, IP 141.109.132.195, Port 22 2025-08-10 10:58:39,444 - DEBUG - VM ctest-TestRoutersBasic-30724868-39294473 is ready for SSH connections 2025-08-10 10:58:39,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:39,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.109.132.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-10 10:58:39,444 - DEBUG - ping -s 56 -c 3 -W 1 141.109.132.195 2025-08-10 10:58:43,361 - DEBUG - PING 141.109.132.195 (141.109.132.195): 56 data bytes 64 bytes from 141.109.132.195: seq=0 ttl=62 time=5.144 ms 64 bytes from 141.109.132.195: seq=1 ttl=62 time=0.742 ms 64 bytes from 141.109.132.195: seq=2 ttl=62 time=0.700 ms --- 141.109.132.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.700/2.195/5.144 ms 2025-08-10 10:58:43,362 - INFO - Ping to IP 141.109.132.195 from VM ctest-TestRoutersBasic-30724868-02680596 passed 2025-08-10 10:58:43,362 - INFO - Deleting interface with subnet_id 5c3adfa6-f3fc-47a9-9237-6b21e7feba70, port_id None from router 19a32133-1ff2-4100-8d3d-4cfa21bd044b 2025-08-10 10:58:43,547 - INFO - Deleting VM ctest-TestRoutersBasic-30724868-39294473 2025-08-10 10:58:43,615 - INFO - Deleting VM ctest-TestRoutersBasic-30724868-02680596 2025-08-10 10:58:43,699 - INFO - Deleting VN ctest-ext_vn-65799471 2025-08-10 10:58:43,769 - DEBUG - VN 50d40c67-f387-41bd-baba-cdc3fe285aab still in use: Unable to complete operation on network 50d40c67-f387-41bd-baba-cdc3fe285aab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12d12b94-f7e0-4ce4-be58-609f324f509d'] 2025-08-10 10:58:43,769 - WARNING - Deleting VN ctest-ext_vn-65799471 failed..Will retry 2025-08-10 10:58:45,868 - DEBUG - Response for deleting network () 2025-08-10 10:58:45,868 - INFO - Deleting VN ctest-vn-24300229 2025-08-10 10:58:45,954 - DEBUG - Response for deleting network () 2025-08-10 10:58:46,202 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 10:58:46,202 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-08-10 10:58:46,202 - INFO - -------------------------------------------------------------------------------- 2025-08-10 10:58:46,827 - INFO - Deleted project: ctest-TestRoutersBasic-30724868, ID : 7d0f4bcf-4754-403f-956e-03701b86814a