2025-05-06 07:14:46,803 - INFO - Domain Default found not creating 2025-05-06 07:14:46,958 - INFO - Project ctest-TestRoutersBasic-77285973 not found, creating it 2025-05-06 07:14:47,423 - INFO - Created Project:ctest-TestRoutersBasic-77285973, ID : 364407e0-bbf0-492d-bbf8-14e5305343b2 2025-05-06 07:14:48,925 - INFO - ================================================================================ 2025-05-06 07:14:48,925 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-06 07:14:48,925 - 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-05-06 07:14:49,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-06 07:14:49,194 - INFO - Initial checks done. Running the testcase now 2025-05-06 07:14:49,194 - INFO - 2025-05-06 07:14:49,920 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77285973 2025-05-06 07:14:50,015 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77285973 2025-05-06 07:14:50,343 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77285973', 'default']} 2025-05-06 07:14:50,640 - DEBUG - Response for create_network : {'network': {'id': '78311ca3-1590-4040-94f2-31387ab624a0', 'name': 'ctest-vn-42419648', 'tenant_id': '364407e0bbf0492dbbf814e5305343b2', 'project_id': '364407e0bbf0492dbbf814e5305343b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77285973', 'ctest-vn-42419648'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 07:14:50,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '5276b594-8b15-4b9d-93c9-340fbbc34298', 'name': '', 'tenant_id': '364407e0bbf0492dbbf814e5305343b2', 'network_id': '78311ca3-1590-4040-94f2-31387ab624a0', 'ip_version': 4, 'cidr': '99.226.212.64/26', 'allocation_pools': [{'start': '99.226.212.66', 'end': '99.226.212.126'}], 'gateway_ip': '99.226.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.226.212.66', 'tags': [], 'project_id': '364407e0bbf0492dbbf814e5305343b2'}} 2025-05-06 07:14:50,835 - INFO - Created VN ctest-vn-42419648 2025-05-06 07:14:50,891 - DEBUG - VN ctest-vn-42419648 UUID is 78311ca3-1590-4040-94f2-31387ab624a0 2025-05-06 07:14:51,207 - DEBUG - Response for create_network : {'network': {'id': 'b2f06748-c96a-48e3-b4dc-367a53b51007', 'name': 'ctest-ext_vn-11818088', 'tenant_id': '364407e0bbf0492dbbf814e5305343b2', 'project_id': '364407e0bbf0492dbbf814e5305343b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77285973', 'ctest-ext_vn-11818088'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 07:14:51,414 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ccd27d8-936c-4ed1-8c3f-df047ef616ec', 'name': '', 'tenant_id': '364407e0bbf0492dbbf814e5305343b2', 'network_id': 'b2f06748-c96a-48e3-b4dc-367a53b51007', 'ip_version': 4, 'cidr': '62.203.233.192/26', 'allocation_pools': [{'start': '62.203.233.194', 'end': '62.203.233.254'}], 'gateway_ip': '62.203.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.203.233.194', 'tags': [], 'project_id': '364407e0bbf0492dbbf814e5305343b2'}} 2025-05-06 07:14:51,431 - INFO - Created VN ctest-ext_vn-11818088 2025-05-06 07:14:51,483 - DEBUG - VN ctest-ext_vn-11818088 UUID is b2f06748-c96a-48e3-b4dc-367a53b51007 2025-05-06 07:14:51,686 - DEBUG - Services list from nova: [, , ] 2025-05-06 07:14:52,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3274-1) 2025-05-06 07:14:53,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3274-1) 2025-05-06 07:14:53,962 - INFO - Setting gateway for router 23459281-622f-4d7d-8b7d-5618f4441ee3 to network b2f06748-c96a-48e3-b4dc-367a53b51007 2025-05-06 07:14:54,045 - INFO - Adding interface with subnet_id 5276b594-8b15-4b9d-93c9-340fbbc34298, port_id None to router 23459281-622f-4d7d-8b7d-5618f4441ee3 2025-05-06 07:14:54,492 - INFO - Waiting for VM ctest-TestRoutersBasic-77285973-98650664 to be up.. 2025-05-06 07:14:54,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 07:14:59,746 - DEBUG - VM is in ACTIVE state now 2025-05-06 07:14:59,747 - INFO - VM name : ctest-TestRoutersBasic-77285973-98650664 2025-05-06 07:14:59,819 - DEBUG - VM ctest-TestRoutersBasic-77285973-98650664 ID is 78e8e999-6658-4b73-8611-bcd6146d3cd1 2025-05-06 07:14:59,836 - DEBUG - VM ctest-TestRoutersBasic-77285973-98650664 launched on Node cn-jenkins-deploy-platform-ansible-os-3274-1 2025-05-06 07:14:59,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/78e8e999-6658-4b73-8611-bcd6146d3cd1 2025-05-06 07:15:00,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/78e8e999-6658-4b73-8611-bcd6146d3cd1 2025-05-06 07:15:00,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ea23c482-669c-43f9-bb1f-67e1207919c4 2025-05-06 07:15:03,470 - 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 1004ms') 2025-05-06 07:15:03,470 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77285973-98650664 failed! 2025-05-06 07:15:03,523 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77285973:ctest-vn-42419648 is 99.226.212.65 and allocation pool is NOT set 2025-05-06 07:15:05,581 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.968 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.968/1.929/2.890/0.961 ms') 2025-05-06 07:15:05,581 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77285973-98650664 passed 2025-05-06 07:15:05,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 07:15:05,735 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77285973-98650664, IP 99.226.212.67, Port 22 2025-05-06 07:15:05,887 - DEBUG - VM ctest-TestRoutersBasic-77285973-98650664 is ready for SSH connections 2025-05-06 07:15:05,887 - INFO - Waiting for VM ctest-TestRoutersBasic-77285973-01790620 to be up.. 2025-05-06 07:15:05,965 - DEBUG - VM is in ACTIVE state now 2025-05-06 07:15:05,965 - INFO - VM name : ctest-TestRoutersBasic-77285973-01790620 2025-05-06 07:15:06,038 - DEBUG - VM ctest-TestRoutersBasic-77285973-01790620 ID is 2cde7c45-e21d-44c7-a87b-a665a8a98eed 2025-05-06 07:15:06,038 - DEBUG - VM ctest-TestRoutersBasic-77285973-01790620 launched on Node cn-jenkins-deploy-platform-ansible-os-3274-1 2025-05-06 07:15:06,120 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2cde7c45-e21d-44c7-a87b-a665a8a98eed 2025-05-06 07:15:06,130 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c2345277-9111-496e-a79e-1fd0063ff7bb 2025-05-06 07:15:07,373 - 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=4.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.44 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.444/3.311/4.178/0.867 ms') 2025-05-06 07:15:07,373 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77285973-01790620 passed 2025-05-06 07:15:07,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 07:15:07,523 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77285973-01790620, IP 62.203.233.195, Port 22 2025-05-06 07:15:07,678 - DEBUG - VM ctest-TestRoutersBasic-77285973-01790620 is ready for SSH connections 2025-05-06 07:15:07,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 07:15:07,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.203.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-06 07:15:07,679 - DEBUG - ping -s 56 -c 3 -W 1 62.203.233.195 2025-05-06 07:15:11,665 - DEBUG - PING 62.203.233.195 (62.203.233.195): 56 data bytes 64 bytes from 62.203.233.195: seq=0 ttl=62 time=6.511 ms 64 bytes from 62.203.233.195: seq=1 ttl=62 time=0.997 ms 64 bytes from 62.203.233.195: seq=2 ttl=62 time=0.910 ms --- 62.203.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/2.806/6.511 ms 2025-05-06 07:15:11,665 - INFO - Ping to IP 62.203.233.195 from VM ctest-TestRoutersBasic-77285973-98650664 passed 2025-05-06 07:15:11,666 - INFO - Deleting interface with subnet_id 5276b594-8b15-4b9d-93c9-340fbbc34298, port_id None from router 23459281-622f-4d7d-8b7d-5618f4441ee3 2025-05-06 07:15:11,883 - INFO - Deleting VM ctest-TestRoutersBasic-77285973-01790620 2025-05-06 07:15:11,976 - INFO - Deleting VM ctest-TestRoutersBasic-77285973-98650664 2025-05-06 07:15:12,049 - INFO - Deleting VN ctest-ext_vn-11818088 2025-05-06 07:15:12,120 - DEBUG - VN b2f06748-c96a-48e3-b4dc-367a53b51007 still in use: Unable to complete operation on network b2f06748-c96a-48e3-b4dc-367a53b51007. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d498fe53-1eb3-4608-a80c-faeca508632e'] 2025-05-06 07:15:12,120 - WARNING - Deleting VN ctest-ext_vn-11818088 failed..Will retry 2025-05-06 07:15:14,227 - DEBUG - Response for deleting network () 2025-05-06 07:15:14,227 - INFO - Deleting VN ctest-vn-42419648 2025-05-06 07:15:14,323 - DEBUG - Response for deleting network () 2025-05-06 07:15:14,580 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 07:15:14,580 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-06 07:15:14,580 - INFO - -------------------------------------------------------------------------------- 2025-05-06 07:15:15,256 - INFO - Deleted project: ctest-TestRoutersBasic-77285973, ID : 364407e0-bbf0-492d-bbf8-14e5305343b2