2024-09-17 20:01:01,279 - INFO - Domain Default found not creating 2024-09-17 20:01:01,451 - INFO - Project ctest-TestRoutersBasic-58142204 not found, creating it 2024-09-17 20:01:01,950 - INFO - Created Project:ctest-TestRoutersBasic-58142204, ID : 098c6aac-109e-4ccd-a13e-8d7121c6a8a3 2024-09-17 20:01:03,515 - INFO - ================================================================================ 2024-09-17 20:01:03,515 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-17 20:01:03,515 - 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 2024-09-17 20:01:03,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.31': '0'}} with 2024-09-17 20:01:03,770 - INFO - Initial checks done. Running the testcase now 2024-09-17 20:01:03,770 - INFO - 2024-09-17 20:01:04,511 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58142204 2024-09-17 20:01:04,612 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58142204 2024-09-17 20:01:04,948 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58142204', 'default']} 2024-09-17 20:01:05,270 - DEBUG - Response for create_network : {'network': {'id': '0349beb0-e24e-42cf-9b91-6f1c42114574', 'name': 'ctest-vn-92426147', 'tenant_id': '098c6aac109e4ccda13e8d7121c6a8a3', 'project_id': '098c6aac109e4ccda13e8d7121c6a8a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58142204', 'ctest-vn-92426147'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 20:01:05,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '49de5457-a459-4908-8ede-7d4ec609efe7', 'name': '', 'tenant_id': '098c6aac109e4ccda13e8d7121c6a8a3', 'network_id': '0349beb0-e24e-42cf-9b91-6f1c42114574', 'ip_version': 4, 'cidr': '73.194.70.0/26', 'allocation_pools': [{'start': '73.194.70.2', 'end': '73.194.70.62'}], 'gateway_ip': '73.194.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.194.70.2', 'tags': [], 'project_id': '098c6aac109e4ccda13e8d7121c6a8a3'}} 2024-09-17 20:01:05,445 - INFO - Created VN ctest-vn-92426147 2024-09-17 20:01:05,504 - DEBUG - VN ctest-vn-92426147 UUID is 0349beb0-e24e-42cf-9b91-6f1c42114574 2024-09-17 20:01:05,851 - DEBUG - Response for create_network : {'network': {'id': '5d127410-7d32-44cc-a771-c100d4d58d49', 'name': 'ctest-ext_vn-98858350', 'tenant_id': '098c6aac109e4ccda13e8d7121c6a8a3', 'project_id': '098c6aac109e4ccda13e8d7121c6a8a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58142204', 'ctest-ext_vn-98858350'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 20:01:06,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fb78f19-a3c3-4c2f-86a3-43aef6634678', 'name': '', 'tenant_id': '098c6aac109e4ccda13e8d7121c6a8a3', 'network_id': '5d127410-7d32-44cc-a771-c100d4d58d49', 'ip_version': 4, 'cidr': '136.172.12.192/26', 'allocation_pools': [{'start': '136.172.12.194', 'end': '136.172.12.254'}], 'gateway_ip': '136.172.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.172.12.194', 'tags': [], 'project_id': '098c6aac109e4ccda13e8d7121c6a8a3'}} 2024-09-17 20:01:06,026 - INFO - Created VN ctest-ext_vn-98858350 2024-09-17 20:01:06,080 - DEBUG - VN ctest-ext_vn-98858350 UUID is 5d127410-7d32-44cc-a771-c100d4d58d49 2024-09-17 20:01:06,253 - DEBUG - Services list from nova: [, , ] 2024-09-17 20:01:07,306 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1968-1) 2024-09-17 20:01:08,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1968-1) 2024-09-17 20:01:08,576 - INFO - Setting gateway for router a230d513-8dcc-4fc5-9a52-2a39ad5c9913 to network 5d127410-7d32-44cc-a771-c100d4d58d49 2024-09-17 20:01:08,677 - INFO - Adding interface with subnet_id 49de5457-a459-4908-8ede-7d4ec609efe7, port_id None to router a230d513-8dcc-4fc5-9a52-2a39ad5c9913 2024-09-17 20:01:08,973 - INFO - Waiting for VM ctest-TestRoutersBasic-58142204-58451913 to be up.. 2024-09-17 20:01:09,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 20:01:14,253 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:01:14,253 - INFO - VM name : ctest-TestRoutersBasic-58142204-58451913 2024-09-17 20:01:14,328 - DEBUG - VM ctest-TestRoutersBasic-58142204-58451913 ID is 380b9e49-e39e-45e4-ab2a-5e6f22e31b1a 2024-09-17 20:01:14,345 - DEBUG - VM ctest-TestRoutersBasic-58142204-58451913 launched on Node cn-jenkins-deploy-platform-ansible-os-1968-1 2024-09-17 20:01:14,427 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/380b9e49-e39e-45e4-ab2a-5e6f22e31b1a 2024-09-17 20:01:14,728 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/380b9e49-e39e-45e4-ab2a-5e6f22e31b1a 2024-09-17 20:01:14,761 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/8afc33e6-b596-4069-8ac1-87a2ce0c3e56 2024-09-17 20:01:18,029 - 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') 2024-09-17 20:01:18,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58142204-58451913 failed! 2024-09-17 20:01:18,088 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58142204:ctest-vn-92426147 is 73.194.70.1 and allocation pool is NOT set 2024-09-17 20:01:20,146 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.361 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.361/1.489/2.617/1.128 ms') 2024-09-17 20:01:20,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58142204-58451913 passed 2024-09-17 20:01:20,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:01:20,304 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58142204-58451913, IP 73.194.70.3, Port 22 2024-09-17 20:01:20,464 - DEBUG - VM ctest-TestRoutersBasic-58142204-58451913 is ready for SSH connections 2024-09-17 20:01:20,464 - INFO - Waiting for VM ctest-TestRoutersBasic-58142204-64064830 to be up.. 2024-09-17 20:01:20,539 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:01:20,539 - INFO - VM name : ctest-TestRoutersBasic-58142204-64064830 2024-09-17 20:01:20,609 - DEBUG - VM ctest-TestRoutersBasic-58142204-64064830 ID is 041c14d3-f273-4186-9b14-443c40937242 2024-09-17 20:01:20,609 - DEBUG - VM ctest-TestRoutersBasic-58142204-64064830 launched on Node cn-jenkins-deploy-platform-ansible-os-1968-1 2024-09-17 20:01:20,687 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/041c14d3-f273-4186-9b14-443c40937242 2024-09-17 20:01:20,698 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/4823cce5-b45d-4716-a9dc-f91b6fae60fa 2024-09-17 20:01:21,945 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.571/2.742/1.170 ms') 2024-09-17 20:01:21,945 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58142204-64064830 passed 2024-09-17 20:01:22,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:01:22,104 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58142204-64064830, IP 136.172.12.195, Port 22 2024-09-17 20:01:22,256 - DEBUG - VM ctest-TestRoutersBasic-58142204-64064830 is ready for SSH connections 2024-09-17 20:01:22,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:01:22,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.172.12.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-09-17 20:01:22,256 - DEBUG - ping -s 56 -c 3 -W 1 136.172.12.195 2024-09-17 20:01:26,227 - DEBUG - PING 136.172.12.195 (136.172.12.195): 56 data bytes 64 bytes from 136.172.12.195: seq=0 ttl=62 time=6.736 ms 64 bytes from 136.172.12.195: seq=1 ttl=62 time=0.941 ms 64 bytes from 136.172.12.195: seq=2 ttl=62 time=0.835 ms --- 136.172.12.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/2.837/6.736 ms 2024-09-17 20:01:26,227 - INFO - Ping to IP 136.172.12.195 from VM ctest-TestRoutersBasic-58142204-58451913 passed 2024-09-17 20:01:26,227 - INFO - Deleting interface with subnet_id 49de5457-a459-4908-8ede-7d4ec609efe7, port_id None from router a230d513-8dcc-4fc5-9a52-2a39ad5c9913 2024-09-17 20:01:26,423 - INFO - Deleting VM ctest-TestRoutersBasic-58142204-64064830 2024-09-17 20:01:26,491 - INFO - Deleting VM ctest-TestRoutersBasic-58142204-58451913 2024-09-17 20:01:26,571 - INFO - Deleting VN ctest-ext_vn-98858350 2024-09-17 20:01:26,647 - DEBUG - VN 5d127410-7d32-44cc-a771-c100d4d58d49 still in use: Unable to complete operation on network 5d127410-7d32-44cc-a771-c100d4d58d49. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-181a8221-ba51-446a-a428-8cf81ea8104a'] 2024-09-17 20:01:26,647 - WARNING - Deleting VN ctest-ext_vn-98858350 failed..Will retry 2024-09-17 20:01:28,747 - DEBUG - Response for deleting network () 2024-09-17 20:01:28,747 - INFO - Deleting VN ctest-vn-92426147 2024-09-17 20:01:28,857 - DEBUG - Response for deleting network () 2024-09-17 20:01:29,109 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 20:01:29,109 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-17 20:01:29,109 - INFO - -------------------------------------------------------------------------------- 2024-09-17 20:01:29,822 - INFO - Deleted project: ctest-TestRoutersBasic-58142204, ID : 098c6aac-109e-4ccd-a13e-8d7121c6a8a3