2024-09-20 19:49:38,199 - INFO - Domain Default found not creating 2024-09-20 19:49:38,357 - INFO - Project ctest-TestRoutersBasic-34210822 not found, creating it 2024-09-20 19:49:38,912 - INFO - Created Project:ctest-TestRoutersBasic-34210822, ID : e2c03799-fb80-4f39-bbfa-e942c0eb787a 2024-09-20 19:49:40,393 - INFO - ================================================================================ 2024-09-20 19:49:40,393 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-20 19:49:40,393 - 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-20 19:49:40,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.8': '0'}} with 2024-09-20 19:49:40,657 - INFO - Initial checks done. Running the testcase now 2024-09-20 19:49:40,657 - INFO - 2024-09-20 19:49:41,379 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34210822 2024-09-20 19:49:41,479 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34210822 2024-09-20 19:49:41,827 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34210822', 'default']} 2024-09-20 19:49:42,141 - DEBUG - Response for create_network : {'network': {'id': 'dea69ded-0559-4f59-80e7-26d641030d8b', 'name': 'ctest-vn-01908456', 'tenant_id': 'e2c03799fb804f39bbfae942c0eb787a', 'project_id': 'e2c03799fb804f39bbfae942c0eb787a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34210822', 'ctest-vn-01908456'], 'port_security_enabled': True, 'description': ''}} 2024-09-20 19:49:42,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '056ed8e1-8da9-417d-85f9-c8034b4eec12', 'name': '', 'tenant_id': 'e2c03799fb804f39bbfae942c0eb787a', 'network_id': 'dea69ded-0559-4f59-80e7-26d641030d8b', 'ip_version': 4, 'cidr': '116.204.39.192/26', 'allocation_pools': [{'start': '116.204.39.194', 'end': '116.204.39.254'}], 'gateway_ip': '116.204.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.204.39.194', 'tags': [], 'project_id': 'e2c03799fb804f39bbfae942c0eb787a'}} 2024-09-20 19:49:42,381 - INFO - Created VN ctest-vn-01908456 2024-09-20 19:49:42,439 - DEBUG - VN ctest-vn-01908456 UUID is dea69ded-0559-4f59-80e7-26d641030d8b 2024-09-20 19:49:42,771 - DEBUG - Response for create_network : {'network': {'id': '23c6c824-3028-4ada-868a-6f5cd0994d05', 'name': 'ctest-ext_vn-65541492', 'tenant_id': 'e2c03799fb804f39bbfae942c0eb787a', 'project_id': 'e2c03799fb804f39bbfae942c0eb787a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34210822', 'ctest-ext_vn-65541492'], 'port_security_enabled': True, 'description': ''}} 2024-09-20 19:49:42,978 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e04b5d8c-4f7c-4191-889e-af34a83f9a0d', 'name': '', 'tenant_id': 'e2c03799fb804f39bbfae942c0eb787a', 'network_id': '23c6c824-3028-4ada-868a-6f5cd0994d05', 'ip_version': 4, 'cidr': '68.50.105.0/26', 'allocation_pools': [{'start': '68.50.105.2', 'end': '68.50.105.62'}], 'gateway_ip': '68.50.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.50.105.2', 'tags': [], 'project_id': 'e2c03799fb804f39bbfae942c0eb787a'}} 2024-09-20 19:49:42,997 - INFO - Created VN ctest-ext_vn-65541492 2024-09-20 19:49:43,059 - DEBUG - VN ctest-ext_vn-65541492 UUID is 23c6c824-3028-4ada-868a-6f5cd0994d05 2024-09-20 19:49:43,228 - DEBUG - Services list from nova: [, , ] 2024-09-20 19:49:44,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2010-1) 2024-09-20 19:49:45,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2010-1) 2024-09-20 19:49:45,552 - INFO - Setting gateway for router a44fe7b9-9ad7-49bf-94ff-3de80767e961 to network 23c6c824-3028-4ada-868a-6f5cd0994d05 2024-09-20 19:49:45,628 - INFO - Adding interface with subnet_id 056ed8e1-8da9-417d-85f9-c8034b4eec12, port_id None to router a44fe7b9-9ad7-49bf-94ff-3de80767e961 2024-09-20 19:49:46,048 - INFO - Waiting for VM ctest-TestRoutersBasic-34210822-49806077 to be up.. 2024-09-20 19:49:46,217 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-20 19:49:51,294 - DEBUG - VM is in ACTIVE state now 2024-09-20 19:49:51,294 - INFO - VM name : ctest-TestRoutersBasic-34210822-49806077 2024-09-20 19:49:51,377 - DEBUG - VM ctest-TestRoutersBasic-34210822-49806077 ID is 20e2c10e-56e6-44ed-ba77-680890dc6bd8 2024-09-20 19:49:51,396 - DEBUG - VM ctest-TestRoutersBasic-34210822-49806077 launched on Node cn-jenkins-deploy-platform-ansible-os-2010-1 2024-09-20 19:49:51,477 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/20e2c10e-56e6-44ed-ba77-680890dc6bd8 2024-09-20 19:49:51,777 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/20e2c10e-56e6-44ed-ba77-680890dc6bd8 2024-09-20 19:49:51,835 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/6ec267e6-8e53-4bca-9c51-ce141be1040e 2024-09-20 19:49:55,123 - 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 1023ms') 2024-09-20 19:49:55,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34210822-49806077 failed! 2024-09-20 19:49:55,183 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34210822:ctest-vn-01908456 is 116.204.39.193 and allocation pool is NOT set 2024-09-20 19:49:57,243 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.590/2.719/1.128 ms') 2024-09-20 19:49:57,244 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34210822-49806077 passed 2024-09-20 19:49:57,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:49:57,403 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34210822-49806077, IP 116.204.39.195, Port 22 2024-09-20 19:49:57,566 - DEBUG - VM ctest-TestRoutersBasic-34210822-49806077 is ready for SSH connections 2024-09-20 19:49:57,566 - INFO - Waiting for VM ctest-TestRoutersBasic-34210822-40034326 to be up.. 2024-09-20 19:49:57,652 - DEBUG - VM is in ACTIVE state now 2024-09-20 19:49:57,652 - INFO - VM name : ctest-TestRoutersBasic-34210822-40034326 2024-09-20 19:49:57,733 - DEBUG - VM ctest-TestRoutersBasic-34210822-40034326 ID is 8ca4c7d5-116d-41d4-b22a-a6f1f5baa085 2024-09-20 19:49:57,733 - DEBUG - VM ctest-TestRoutersBasic-34210822-40034326 launched on Node cn-jenkins-deploy-platform-ansible-os-2010-1 2024-09-20 19:49:57,809 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8ca4c7d5-116d-41d4-b22a-a6f1f5baa085 2024-09-20 19:49:57,820 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/dd917d64-2e46-482c-b181-b3afe338aad3 2024-09-20 19:49:59,082 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.667/2.903/1.236 ms') 2024-09-20 19:49:59,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34210822-40034326 passed 2024-09-20 19:49:59,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:49:59,239 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34210822-40034326, IP 68.50.105.3, Port 22 2024-09-20 19:49:59,394 - DEBUG - VM ctest-TestRoutersBasic-34210822-40034326 is ready for SSH connections 2024-09-20 19:49:59,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:49:59,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.50.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-20 19:49:59,394 - DEBUG - ping -s 56 -c 3 -W 1 68.50.105.3 2024-09-20 19:50:03,081 - DEBUG - PING 68.50.105.3 (68.50.105.3): 56 data bytes 64 bytes from 68.50.105.3: seq=0 ttl=62 time=4.713 ms 64 bytes from 68.50.105.3: seq=1 ttl=62 time=0.837 ms 64 bytes from 68.50.105.3: seq=2 ttl=62 time=0.754 ms --- 68.50.105.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/2.101/4.713 ms 2024-09-20 19:50:03,082 - INFO - Ping to IP 68.50.105.3 from VM ctest-TestRoutersBasic-34210822-49806077 passed 2024-09-20 19:50:03,082 - INFO - Deleting interface with subnet_id 056ed8e1-8da9-417d-85f9-c8034b4eec12, port_id None from router a44fe7b9-9ad7-49bf-94ff-3de80767e961 2024-09-20 19:50:03,307 - INFO - Deleting VM ctest-TestRoutersBasic-34210822-40034326 2024-09-20 19:50:03,379 - INFO - Deleting VM ctest-TestRoutersBasic-34210822-49806077 2024-09-20 19:50:03,463 - INFO - Deleting VN ctest-ext_vn-65541492 2024-09-20 19:50:03,557 - DEBUG - VN 23c6c824-3028-4ada-868a-6f5cd0994d05 still in use: Unable to complete operation on network 23c6c824-3028-4ada-868a-6f5cd0994d05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36d2b2f7-d1b6-490b-9622-9f0d2b2dacc4'] 2024-09-20 19:50:03,557 - WARNING - Deleting VN ctest-ext_vn-65541492 failed..Will retry 2024-09-20 19:50:05,676 - DEBUG - Response for deleting network () 2024-09-20 19:50:05,676 - INFO - Deleting VN ctest-vn-01908456 2024-09-20 19:50:05,803 - DEBUG - Response for deleting network () 2024-09-20 19:50:06,077 - DEBUG - No XMPP flaps were noticed during the test
2024-09-20 19:50:06,078 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-20 19:50:06,078 - INFO - -------------------------------------------------------------------------------- 2024-09-20 19:50:07,241 - INFO - Deleted project: ctest-TestRoutersBasic-34210822, ID : e2c03799-fb80-4f39-bbfa-e942c0eb787a