2026-03-16 02:07:18,968 - INFO - Domain Default found not creating 2026-03-16 02:07:19,147 - INFO - Project ctest-TestRoutersBasic-62212116 not found, creating it 2026-03-16 02:07:19,614 - INFO - Created Project:ctest-TestRoutersBasic-62212116, ID : 3eb33a68-7df3-4df6-8b86-c70d7489fe0a 2026-03-16 02:07:21,083 - INFO - ================================================================================ 2026-03-16 02:07:21,083 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-16 02:07:21,083 - 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-03-16 02:07:21,340 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.201': '0'}} with 2026-03-16 02:07:21,340 - INFO - Initial checks done. Running the testcase now 2026-03-16 02:07:21,340 - INFO - 2026-03-16 02:07:22,029 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62212116 2026-03-16 02:07:22,126 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62212116 2026-03-16 02:07:22,441 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62212116', 'default']} 2026-03-16 02:07:22,734 - DEBUG - Response for create_network : {'network': {'id': '8bda740c-f5ff-434d-b320-24893df3243b', 'name': 'ctest-vn-48062133', 'tenant_id': '3eb33a687df34df68b86c70d7489fe0a', 'project_id': '3eb33a687df34df68b86c70d7489fe0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62212116', 'ctest-vn-48062133'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 02:07:22,890 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4eaf182-4ea3-4b9b-9845-4985af292e25', 'name': '', 'tenant_id': '3eb33a687df34df68b86c70d7489fe0a', 'network_id': '8bda740c-f5ff-434d-b320-24893df3243b', 'ip_version': 4, 'cidr': '11.193.12.192/26', 'allocation_pools': [{'start': '11.193.12.194', 'end': '11.193.12.254'}], 'gateway_ip': '11.193.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.193.12.194', 'tags': [], 'project_id': '3eb33a687df34df68b86c70d7489fe0a'}} 2026-03-16 02:07:22,906 - INFO - Created VN ctest-vn-48062133 2026-03-16 02:07:22,957 - DEBUG - VN ctest-vn-48062133 UUID is 8bda740c-f5ff-434d-b320-24893df3243b 2026-03-16 02:07:23,291 - DEBUG - Response for create_network : {'network': {'id': 'aa00b3ba-f2f6-4a90-9a91-17a268ab0e0b', 'name': 'ctest-ext_vn-12440903', 'tenant_id': '3eb33a687df34df68b86c70d7489fe0a', 'project_id': '3eb33a687df34df68b86c70d7489fe0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62212116', 'ctest-ext_vn-12440903'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 02:07:23,481 - DEBUG - Response for create_subnet : {'subnet': {'id': '8eb54fea-b5e1-41aa-9fcb-3ddd405a2f4b', 'name': '', 'tenant_id': '3eb33a687df34df68b86c70d7489fe0a', 'network_id': 'aa00b3ba-f2f6-4a90-9a91-17a268ab0e0b', 'ip_version': 4, 'cidr': '202.248.179.64/26', 'allocation_pools': [{'start': '202.248.179.66', 'end': '202.248.179.126'}], 'gateway_ip': '202.248.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.248.179.66', 'tags': [], 'project_id': '3eb33a687df34df68b86c70d7489fe0a'}} 2026-03-16 02:07:23,496 - INFO - Created VN ctest-ext_vn-12440903 2026-03-16 02:07:23,549 - DEBUG - VN ctest-ext_vn-12440903 UUID is aa00b3ba-f2f6-4a90-9a91-17a268ab0e0b 2026-03-16 02:07:23,721 - DEBUG - Services list from nova: [, , ] 2026-03-16 02:07:24,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5473-1) 2026-03-16 02:07:25,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5473-1) 2026-03-16 02:07:25,930 - INFO - Setting gateway for router 47230a78-e52e-4239-8494-fa20b4a8417a to network aa00b3ba-f2f6-4a90-9a91-17a268ab0e0b 2026-03-16 02:07:25,984 - INFO - Adding interface with subnet_id b4eaf182-4ea3-4b9b-9845-4985af292e25, port_id None to router 47230a78-e52e-4239-8494-fa20b4a8417a 2026-03-16 02:07:26,331 - INFO - Waiting for VM ctest-TestRoutersBasic-62212116-53729881 to be up.. 2026-03-16 02:07:26,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-16 02:07:31,576 - DEBUG - VM is in ACTIVE state now 2026-03-16 02:07:31,576 - INFO - VM name : ctest-TestRoutersBasic-62212116-53729881 2026-03-16 02:07:31,649 - DEBUG - VM ctest-TestRoutersBasic-62212116-53729881 ID is 1ef1cae4-a2a6-4e38-8a4f-d264dacdd369 2026-03-16 02:07:31,667 - DEBUG - VM ctest-TestRoutersBasic-62212116-53729881 launched on Node cn-jenkins-deploy-platform-ansible-os-5473-1 2026-03-16 02:07:31,737 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1ef1cae4-a2a6-4e38-8a4f-d264dacdd369 2026-03-16 02:07:32,032 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1ef1cae4-a2a6-4e38-8a4f-d264dacdd369 2026-03-16 02:07:32,063 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a87950ce-4d27-43cb-840f-74c85eaf556a 2026-03-16 02:07:35,306 - 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 1007ms') 2026-03-16 02:07:35,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62212116-53729881 failed! 2026-03-16 02:07:35,357 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62212116:ctest-vn-48062133 is 11.193.12.193 and allocation pool is NOT set 2026-03-16 02:07:37,423 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.567 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.567/1.945/3.323/1.378 ms') 2026-03-16 02:07:37,423 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62212116-53729881 passed 2026-03-16 02:07:37,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 02:07:37,577 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62212116-53729881, IP 11.193.12.195, Port 22 2026-03-16 02:07:37,751 - DEBUG - VM ctest-TestRoutersBasic-62212116-53729881 is ready for SSH connections 2026-03-16 02:07:37,751 - INFO - Waiting for VM ctest-TestRoutersBasic-62212116-16617400 to be up.. 2026-03-16 02:07:37,827 - DEBUG - VM is in ACTIVE state now 2026-03-16 02:07:37,827 - INFO - VM name : ctest-TestRoutersBasic-62212116-16617400 2026-03-16 02:07:37,900 - DEBUG - VM ctest-TestRoutersBasic-62212116-16617400 ID is 4d49443a-05e9-4641-bfbe-22dee103d1d4 2026-03-16 02:07:37,900 - DEBUG - VM ctest-TestRoutersBasic-62212116-16617400 launched on Node cn-jenkins-deploy-platform-ansible-os-5473-1 2026-03-16 02:07:37,979 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/4d49443a-05e9-4641-bfbe-22dee103d1d4 2026-03-16 02:07:37,988 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9c7f2c4d-2a64-41f1-b3bf-4b22a235633e 2026-03-16 02:07:39,223 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.655/2.881/1.226 ms') 2026-03-16 02:07:39,223 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62212116-16617400 passed 2026-03-16 02:07:39,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 02:07:39,374 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62212116-16617400, IP 202.248.179.67, Port 22 2026-03-16 02:07:39,533 - DEBUG - VM ctest-TestRoutersBasic-62212116-16617400 is ready for SSH connections 2026-03-16 02:07:39,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 02:07:39,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.248.179.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-03-16 02:07:39,533 - DEBUG - ping -s 56 -c 3 -W 1 202.248.179.67 2026-03-16 02:07:43,219 - DEBUG - PING 202.248.179.67 (202.248.179.67): 56 data bytes 64 bytes from 202.248.179.67: seq=0 ttl=62 time=6.885 ms 64 bytes from 202.248.179.67: seq=1 ttl=62 time=0.977 ms 64 bytes from 202.248.179.67: seq=2 ttl=62 time=1.379 ms --- 202.248.179.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/3.080/6.885 ms 2026-03-16 02:07:43,219 - INFO - Ping to IP 202.248.179.67 from VM ctest-TestRoutersBasic-62212116-53729881 passed 2026-03-16 02:07:43,220 - INFO - Deleting interface with subnet_id b4eaf182-4ea3-4b9b-9845-4985af292e25, port_id None from router 47230a78-e52e-4239-8494-fa20b4a8417a 2026-03-16 02:07:43,405 - INFO - Deleting VM ctest-TestRoutersBasic-62212116-16617400 2026-03-16 02:07:43,467 - INFO - Deleting VM ctest-TestRoutersBasic-62212116-53729881 2026-03-16 02:07:43,548 - INFO - Deleting VN ctest-ext_vn-12440903 2026-03-16 02:07:43,608 - DEBUG - VN aa00b3ba-f2f6-4a90-9a91-17a268ab0e0b still in use: Unable to complete operation on network aa00b3ba-f2f6-4a90-9a91-17a268ab0e0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-06225ec8-a385-4b56-902a-f62656687e6e'] 2026-03-16 02:07:43,608 - WARNING - Deleting VN ctest-ext_vn-12440903 failed..Will retry 2026-03-16 02:07:45,703 - DEBUG - Response for deleting network () 2026-03-16 02:07:45,703 - INFO - Deleting VN ctest-vn-48062133 2026-03-16 02:07:45,801 - DEBUG - Response for deleting network () 2026-03-16 02:07:46,054 - DEBUG - No XMPP flaps were noticed during the test 2026-03-16 02:07:46,054 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-16 02:07:46,054 - INFO - -------------------------------------------------------------------------------- 2026-03-16 02:07:46,729 - INFO - Deleted project: ctest-TestRoutersBasic-62212116, ID : 3eb33a68-7df3-4df6-8b86-c70d7489fe0a