2025-11-12 09:11:44,639 - INFO - Domain Default found not creating 2025-11-12 09:11:44,787 - INFO - Project ctest-TestRoutersBasic-36469283 not found, creating it 2025-11-12 09:11:45,264 - INFO - Created Project:ctest-TestRoutersBasic-36469283, ID : 9f4e4784-b0ee-4571-9723-cfc8176f341c 2025-11-12 09:11:46,801 - INFO - ================================================================================ 2025-11-12 09:11:46,801 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-12 09:11:46,801 - 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-12 09:11:47,055 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-11-12 09:11:47,055 - INFO - Initial checks done. Running the testcase now 2025-11-12 09:11:47,055 - INFO - 2025-11-12 09:11:47,844 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36469283 2025-11-12 09:11:47,944 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36469283 2025-11-12 09:11:48,264 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36469283', 'default']} 2025-11-12 09:11:48,565 - DEBUG - Response for create_network : {'network': {'id': '5bebcfbe-3247-4476-a711-5670a16442d9', 'name': 'ctest-vn-90702429', 'tenant_id': '9f4e4784b0ee45719723cfc8176f341c', 'project_id': '9f4e4784b0ee45719723cfc8176f341c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36469283', 'ctest-vn-90702429'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:48,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '57885740-4893-401c-af14-4eb951d5e06c', 'name': '', 'tenant_id': '9f4e4784b0ee45719723cfc8176f341c', 'network_id': '5bebcfbe-3247-4476-a711-5670a16442d9', 'ip_version': 4, 'cidr': '57.73.148.64/26', 'allocation_pools': [{'start': '57.73.148.66', 'end': '57.73.148.126'}], 'gateway_ip': '57.73.148.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.73.148.66', 'tags': [], 'project_id': '9f4e4784b0ee45719723cfc8176f341c'}} 2025-11-12 09:11:48,740 - INFO - Created VN ctest-vn-90702429 2025-11-12 09:11:48,792 - DEBUG - VN ctest-vn-90702429 UUID is 5bebcfbe-3247-4476-a711-5670a16442d9 2025-11-12 09:11:49,135 - DEBUG - Response for create_network : {'network': {'id': 'd0e0be48-32ff-4fc5-9ad1-ab67732163a8', 'name': 'ctest-ext_vn-34089151', 'tenant_id': '9f4e4784b0ee45719723cfc8176f341c', 'project_id': '9f4e4784b0ee45719723cfc8176f341c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36469283', 'ctest-ext_vn-34089151'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:49,329 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6a14e9f-e01d-44db-9a47-1776cc2d5e43', 'name': '', 'tenant_id': '9f4e4784b0ee45719723cfc8176f341c', 'network_id': 'd0e0be48-32ff-4fc5-9ad1-ab67732163a8', 'ip_version': 4, 'cidr': '196.255.141.192/26', 'allocation_pools': [{'start': '196.255.141.194', 'end': '196.255.141.254'}], 'gateway_ip': '196.255.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.255.141.194', 'tags': [], 'project_id': '9f4e4784b0ee45719723cfc8176f341c'}} 2025-11-12 09:11:49,350 - INFO - Created VN ctest-ext_vn-34089151 2025-11-12 09:11:49,400 - DEBUG - VN ctest-ext_vn-34089151 UUID is d0e0be48-32ff-4fc5-9ad1-ab67732163a8 2025-11-12 09:11:49,562 - DEBUG - Services list from nova: [, , ] 2025-11-12 09:11:50,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4703-1) 2025-11-12 09:11:51,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4703-1) 2025-11-12 09:11:51,942 - INFO - Setting gateway for router 7f72d273-064c-45af-a0a8-3269ca38355b to network d0e0be48-32ff-4fc5-9ad1-ab67732163a8 2025-11-12 09:11:52,002 - INFO - Adding interface with subnet_id 57885740-4893-401c-af14-4eb951d5e06c, port_id None to router 7f72d273-064c-45af-a0a8-3269ca38355b 2025-11-12 09:11:52,276 - INFO - Waiting for VM ctest-TestRoutersBasic-36469283-64572711 to be up.. 2025-11-12 09:11:52,428 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 09:11:57,508 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:11:57,508 - INFO - VM name : ctest-TestRoutersBasic-36469283-64572711 2025-11-12 09:11:57,579 - DEBUG - VM ctest-TestRoutersBasic-36469283-64572711 ID is 4cd009d8-85f2-4fab-be5e-2d717ad95ecd 2025-11-12 09:11:57,601 - DEBUG - VM ctest-TestRoutersBasic-36469283-64572711 launched on Node cn-jenkins-deploy-platform-ansible-os-4703-1 2025-11-12 09:11:57,681 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4cd009d8-85f2-4fab-be5e-2d717ad95ecd 2025-11-12 09:11:58,019 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4cd009d8-85f2-4fab-be5e-2d717ad95ecd 2025-11-12 09:11:58,049 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2ce0ffc3-4e71-4778-a653-cdddeb0412fa 2025-11-12 09:12:01,289 - 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 1011ms') 2025-11-12 09:12:01,289 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36469283-64572711 failed! 2025-11-12 09:12:01,348 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36469283:ctest-vn-90702429 is 57.73.148.65 and allocation pool is NOT set 2025-11-12 09:12:03,409 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 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 = 1.188/2.574/3.961/1.386 ms') 2025-11-12 09:12:03,409 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36469283-64572711 passed 2025-11-12 09:12:03,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:12:03,561 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36469283-64572711, IP 57.73.148.67, Port 22 2025-11-12 09:12:03,716 - DEBUG - VM ctest-TestRoutersBasic-36469283-64572711 is ready for SSH connections 2025-11-12 09:12:03,716 - INFO - Waiting for VM ctest-TestRoutersBasic-36469283-49214424 to be up.. 2025-11-12 09:12:03,796 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:12:03,797 - INFO - VM name : ctest-TestRoutersBasic-36469283-49214424 2025-11-12 09:12:03,877 - DEBUG - VM ctest-TestRoutersBasic-36469283-49214424 ID is 04412d5d-2a46-449c-8308-7e9a02cfd67d 2025-11-12 09:12:03,878 - DEBUG - VM ctest-TestRoutersBasic-36469283-49214424 launched on Node cn-jenkins-deploy-platform-ansible-os-4703-1 2025-11-12 09:12:03,961 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/04412d5d-2a46-449c-8308-7e9a02cfd67d 2025-11-12 09:12:03,969 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c1590551-f539-49a1-b7a9-fc07a731135d 2025-11-12 09:12:05,208 - 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=3.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/2.204/3.966/1.761 ms') 2025-11-12 09:12:05,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36469283-49214424 passed 2025-11-12 09:12:05,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:12:05,356 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36469283-49214424, IP 196.255.141.195, Port 22 2025-11-12 09:12:05,512 - DEBUG - VM ctest-TestRoutersBasic-36469283-49214424 is ready for SSH connections 2025-11-12 09:12:05,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:12:05,512 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.255.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 09:12:05,512 - DEBUG - ping -s 56 -c 3 -W 1 196.255.141.195 2025-11-12 09:12:09,594 - DEBUG - PING 196.255.141.195 (196.255.141.195): 56 data bytes 64 bytes from 196.255.141.195: seq=0 ttl=62 time=5.651 ms 64 bytes from 196.255.141.195: seq=1 ttl=62 time=1.153 ms 64 bytes from 196.255.141.195: seq=2 ttl=62 time=0.908 ms --- 196.255.141.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/2.570/5.651 ms 2025-11-12 09:12:09,594 - INFO - Ping to IP 196.255.141.195 from VM ctest-TestRoutersBasic-36469283-64572711 passed 2025-11-12 09:12:09,594 - INFO - Deleting interface with subnet_id 57885740-4893-401c-af14-4eb951d5e06c, port_id None from router 7f72d273-064c-45af-a0a8-3269ca38355b 2025-11-12 09:12:09,768 - INFO - Deleting VM ctest-TestRoutersBasic-36469283-49214424 2025-11-12 09:12:09,840 - INFO - Deleting VM ctest-TestRoutersBasic-36469283-64572711 2025-11-12 09:12:09,912 - INFO - Deleting VN ctest-ext_vn-34089151 2025-11-12 09:12:09,974 - DEBUG - VN d0e0be48-32ff-4fc5-9ad1-ab67732163a8 still in use: Unable to complete operation on network d0e0be48-32ff-4fc5-9ad1-ab67732163a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-afa84a80-6561-4e17-8d97-01eb894c83df'] 2025-11-12 09:12:09,974 - WARNING - Deleting VN ctest-ext_vn-34089151 failed..Will retry 2025-11-12 09:12:12,083 - DEBUG - Response for deleting network () 2025-11-12 09:12:12,083 - INFO - Deleting VN ctest-vn-90702429 2025-11-12 09:12:12,186 - DEBUG - Response for deleting network () 2025-11-12 09:12:12,441 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:12:12,441 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-12 09:12:12,442 - INFO - -------------------------------------------------------------------------------- 2025-11-12 09:12:13,154 - INFO - Deleted project: ctest-TestRoutersBasic-36469283, ID : 9f4e4784-b0ee-4571-9723-cfc8176f341c