2025-08-31 00:10:35,747 - INFO - Domain Default found not creating 2025-08-31 00:10:35,918 - INFO - Project ctest-TestRoutersBasic-59648598 not found, creating it 2025-08-31 00:10:36,409 - INFO - Created Project:ctest-TestRoutersBasic-59648598, ID : 1e6f1311-8216-488c-ba95-ff4c34c505aa 2025-08-31 00:10:37,954 - INFO - ================================================================================ 2025-08-31 00:10:37,954 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-31 00:10:37,954 - 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-31 00:10:38,208 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-31 00:10:38,209 - INFO - Initial checks done. Running the testcase now 2025-08-31 00:10:38,209 - INFO - 2025-08-31 00:10:38,944 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59648598 2025-08-31 00:10:39,042 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59648598 2025-08-31 00:10:39,366 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59648598', 'default']} 2025-08-31 00:10:39,703 - DEBUG - Response for create_network : {'network': {'id': 'd55319e7-89f2-4f51-aaba-de0772cbc554', 'name': 'ctest-vn-70417817', 'tenant_id': '1e6f13118216488cba95ff4c34c505aa', 'project_id': '1e6f13118216488cba95ff4c34c505aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59648598', 'ctest-vn-70417817'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:10:39,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '15a601c6-4a2f-40a5-a2fd-c22feb661bbf', 'name': '', 'tenant_id': '1e6f13118216488cba95ff4c34c505aa', 'network_id': 'd55319e7-89f2-4f51-aaba-de0772cbc554', 'ip_version': 4, 'cidr': '73.42.232.192/26', 'allocation_pools': [{'start': '73.42.232.194', 'end': '73.42.232.254'}], 'gateway_ip': '73.42.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.42.232.194', 'tags': [], 'project_id': '1e6f13118216488cba95ff4c34c505aa'}} 2025-08-31 00:10:39,886 - INFO - Created VN ctest-vn-70417817 2025-08-31 00:10:39,942 - DEBUG - VN ctest-vn-70417817 UUID is d55319e7-89f2-4f51-aaba-de0772cbc554 2025-08-31 00:10:40,298 - DEBUG - Response for create_network : {'network': {'id': '0ce0e63d-e898-414d-a74b-1ed70857af56', 'name': 'ctest-ext_vn-52462152', 'tenant_id': '1e6f13118216488cba95ff4c34c505aa', 'project_id': '1e6f13118216488cba95ff4c34c505aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59648598', 'ctest-ext_vn-52462152'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:10:40,486 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c7b0c82-3f52-4255-8c50-f862e8bd9e6b', 'name': '', 'tenant_id': '1e6f13118216488cba95ff4c34c505aa', 'network_id': '0ce0e63d-e898-414d-a74b-1ed70857af56', 'ip_version': 4, 'cidr': '182.96.61.64/26', 'allocation_pools': [{'start': '182.96.61.66', 'end': '182.96.61.126'}], 'gateway_ip': '182.96.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.96.61.66', 'tags': [], 'project_id': '1e6f13118216488cba95ff4c34c505aa'}} 2025-08-31 00:10:40,511 - INFO - Created VN ctest-ext_vn-52462152 2025-08-31 00:10:40,566 - DEBUG - VN ctest-ext_vn-52462152 UUID is 0ce0e63d-e898-414d-a74b-1ed70857af56 2025-08-31 00:10:40,749 - DEBUG - Services list from nova: [, , ] 2025-08-31 00:10:41,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:10:43,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:10:43,112 - INFO - Setting gateway for router 0d7560e8-7cab-4567-b16f-966643be33e1 to network 0ce0e63d-e898-414d-a74b-1ed70857af56 2025-08-31 00:10:43,179 - INFO - Adding interface with subnet_id 15a601c6-4a2f-40a5-a2fd-c22feb661bbf, port_id None to router 0d7560e8-7cab-4567-b16f-966643be33e1 2025-08-31 00:10:43,626 - INFO - Waiting for VM ctest-TestRoutersBasic-59648598-86187597 to be up.. 2025-08-31 00:10:43,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 00:10:48,845 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:10:48,845 - INFO - VM name : ctest-TestRoutersBasic-59648598-86187597 2025-08-31 00:10:48,951 - DEBUG - VM ctest-TestRoutersBasic-59648598-86187597 ID is b674346e-e707-4cf1-ab2c-0dcd03afc347 2025-08-31 00:10:48,988 - DEBUG - VM ctest-TestRoutersBasic-59648598-86187597 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:10:49,083 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b674346e-e707-4cf1-ab2c-0dcd03afc347 2025-08-31 00:10:49,389 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b674346e-e707-4cf1-ab2c-0dcd03afc347 2025-08-31 00:10:49,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/21a16533-f123-4b9e-97c8-90e4e310e5b3 2025-08-31 00:10:52,678 - 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 1009ms') 2025-08-31 00:10:52,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59648598-86187597 failed! 2025-08-31 00:10:52,734 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59648598:ctest-vn-70417817 is 73.42.232.193 and allocation pool is NOT set 2025-08-31 00:10:54,801 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.16 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 = 2.156/2.950/3.745/0.794 ms') 2025-08-31 00:10:54,801 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59648598-86187597 passed 2025-08-31 00:10:54,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:54,954 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59648598-86187597, IP 73.42.232.195, Port 22 2025-08-31 00:10:55,120 - DEBUG - VM ctest-TestRoutersBasic-59648598-86187597 is ready for SSH connections 2025-08-31 00:10:55,120 - INFO - Waiting for VM ctest-TestRoutersBasic-59648598-82001846 to be up.. 2025-08-31 00:10:55,220 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:10:55,221 - INFO - VM name : ctest-TestRoutersBasic-59648598-82001846 2025-08-31 00:10:55,312 - DEBUG - VM ctest-TestRoutersBasic-59648598-82001846 ID is 215f5d17-492f-4910-9db9-8135c52e5eb3 2025-08-31 00:10:55,312 - DEBUG - VM ctest-TestRoutersBasic-59648598-82001846 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:10:55,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/215f5d17-492f-4910-9db9-8135c52e5eb3 2025-08-31 00:10:55,414 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/59db4397-231f-4615-bd0a-aab67ef7e657 2025-08-31 00:10:56,655 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.605 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.605/1.952/3.299/1.347 ms') 2025-08-31 00:10:56,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59648598-82001846 passed 2025-08-31 00:10:56,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:56,818 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59648598-82001846, IP 182.96.61.67, Port 22 2025-08-31 00:10:56,991 - DEBUG - VM ctest-TestRoutersBasic-59648598-82001846 is ready for SSH connections 2025-08-31 00:10:56,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:10:56,991 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.96.61.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:10:56,992 - DEBUG - ping -s 56 -c 3 -W 1 182.96.61.67 2025-08-31 00:11:01,102 - DEBUG - PING 182.96.61.67 (182.96.61.67): 56 data bytes 64 bytes from 182.96.61.67: seq=0 ttl=62 time=8.515 ms 64 bytes from 182.96.61.67: seq=1 ttl=62 time=1.089 ms 64 bytes from 182.96.61.67: seq=2 ttl=62 time=1.359 ms --- 182.96.61.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.089/3.654/8.515 ms 2025-08-31 00:11:01,102 - INFO - Ping to IP 182.96.61.67 from VM ctest-TestRoutersBasic-59648598-86187597 passed 2025-08-31 00:11:01,103 - INFO - Deleting interface with subnet_id 15a601c6-4a2f-40a5-a2fd-c22feb661bbf, port_id None from router 0d7560e8-7cab-4567-b16f-966643be33e1 2025-08-31 00:11:01,383 - INFO - Deleting VM ctest-TestRoutersBasic-59648598-82001846 2025-08-31 00:11:01,482 - INFO - Deleting VM ctest-TestRoutersBasic-59648598-86187597 2025-08-31 00:11:01,567 - INFO - Deleting VN ctest-ext_vn-52462152 2025-08-31 00:11:01,653 - DEBUG - VN 0ce0e63d-e898-414d-a74b-1ed70857af56 still in use: Unable to complete operation on network 0ce0e63d-e898-414d-a74b-1ed70857af56. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0ce9c82-64ac-42dc-92b9-bcadca6c84d8'] 2025-08-31 00:11:01,653 - WARNING - Deleting VN ctest-ext_vn-52462152 failed..Will retry 2025-08-31 00:11:03,758 - DEBUG - Response for deleting network () 2025-08-31 00:11:03,758 - INFO - Deleting VN ctest-vn-70417817 2025-08-31 00:11:03,867 - DEBUG - Response for deleting network () 2025-08-31 00:11:04,134 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 00:11:04,134 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-08-31 00:11:04,134 - INFO - -------------------------------------------------------------------------------- 2025-08-31 00:11:05,139 - INFO - Deleted project: ctest-TestRoutersBasic-59648598, ID : 1e6f1311-8216-488c-ba95-ff4c34c505aa