2024-09-18 05:02:06,033 - INFO - Domain Default found not creating 2024-09-18 05:02:06,238 - INFO - Project ctest-TestRoutersBasic-88069445 not found, creating it 2024-09-18 05:02:06,780 - INFO - Created Project:ctest-TestRoutersBasic-88069445, ID : 87d4612f-9c91-4d4a-bd25-8f4c78c3a275 2024-09-18 05:02:08,409 - INFO - ================================================================================ 2024-09-18 05:02:08,409 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-18 05:02:08,409 - 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-18 05:02:08,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.12': '0'}} with 2024-09-18 05:02:08,676 - INFO - Initial checks done. Running the testcase now 2024-09-18 05:02:08,676 - INFO - 2024-09-18 05:02:10,026 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88069445 2024-09-18 05:02:10,128 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88069445 2024-09-18 05:02:10,475 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88069445', 'default']} 2024-09-18 05:02:10,799 - DEBUG - Response for create_network : {'network': {'id': '3edf0d70-03eb-4ab8-a56d-9257b3bdc616', 'name': 'ctest-vn-98514740', 'tenant_id': '87d4612f9c914d4abd258f4c78c3a275', 'project_id': '87d4612f9c914d4abd258f4c78c3a275', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88069445', 'ctest-vn-98514740'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 05:02:11,025 - DEBUG - Response for create_subnet : {'subnet': {'id': '88850744-66af-4e73-9b69-d0d1dccccfcd', 'name': '', 'tenant_id': '87d4612f9c914d4abd258f4c78c3a275', 'network_id': '3edf0d70-03eb-4ab8-a56d-9257b3bdc616', 'ip_version': 4, 'cidr': '133.157.249.64/26', 'allocation_pools': [{'start': '133.157.249.66', 'end': '133.157.249.126'}], 'gateway_ip': '133.157.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.157.249.66', 'tags': [], 'project_id': '87d4612f9c914d4abd258f4c78c3a275'}} 2024-09-18 05:02:11,047 - INFO - Created VN ctest-vn-98514740 2024-09-18 05:02:11,108 - DEBUG - VN ctest-vn-98514740 UUID is 3edf0d70-03eb-4ab8-a56d-9257b3bdc616 2024-09-18 05:02:11,519 - DEBUG - Response for create_network : {'network': {'id': 'a92d37db-4ce1-4aa8-ba65-65af5b36b67a', 'name': 'ctest-ext_vn-12735282', 'tenant_id': '87d4612f9c914d4abd258f4c78c3a275', 'project_id': '87d4612f9c914d4abd258f4c78c3a275', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88069445', 'ctest-ext_vn-12735282'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 05:02:11,706 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b52d646-5306-41c4-8293-474bbbc2aef3', 'name': '', 'tenant_id': '87d4612f9c914d4abd258f4c78c3a275', 'network_id': 'a92d37db-4ce1-4aa8-ba65-65af5b36b67a', 'ip_version': 4, 'cidr': '178.28.194.0/26', 'allocation_pools': [{'start': '178.28.194.2', 'end': '178.28.194.62'}], 'gateway_ip': '178.28.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.28.194.2', 'tags': [], 'project_id': '87d4612f9c914d4abd258f4c78c3a275'}} 2024-09-18 05:02:11,731 - INFO - Created VN ctest-ext_vn-12735282 2024-09-18 05:02:11,792 - DEBUG - VN ctest-ext_vn-12735282 UUID is a92d37db-4ce1-4aa8-ba65-65af5b36b67a 2024-09-18 05:02:11,983 - DEBUG - Services list from nova: [, , ] 2024-09-18 05:02:13,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1983-1) 2024-09-18 05:02:14,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1983-1) 2024-09-18 05:02:14,388 - INFO - Setting gateway for router 393dba41-4f83-4f5e-8b40-99c59d16a7a1 to network a92d37db-4ce1-4aa8-ba65-65af5b36b67a 2024-09-18 05:02:14,582 - INFO - Adding interface with subnet_id 88850744-66af-4e73-9b69-d0d1dccccfcd, port_id None to router 393dba41-4f83-4f5e-8b40-99c59d16a7a1 2024-09-18 05:02:15,144 - INFO - Waiting for VM ctest-TestRoutersBasic-88069445-00566856 to be up.. 2024-09-18 05:02:15,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 05:02:20,404 - DEBUG - VM is in ACTIVE state now 2024-09-18 05:02:20,405 - INFO - VM name : ctest-TestRoutersBasic-88069445-00566856 2024-09-18 05:02:20,491 - DEBUG - VM ctest-TestRoutersBasic-88069445-00566856 ID is 09ef35ea-355d-4701-8a33-88c8d8d3f46b 2024-09-18 05:02:20,515 - DEBUG - VM ctest-TestRoutersBasic-88069445-00566856 launched on Node cn-jenkins-deploy-platform-ansible-os-1983-1 2024-09-18 05:02:20,613 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/09ef35ea-355d-4701-8a33-88c8d8d3f46b 2024-09-18 05:02:20,932 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/09ef35ea-355d-4701-8a33-88c8d8d3f46b 2024-09-18 05:02:20,969 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/7bb54b44-e86b-4aa1-aa7c-68c36a2648ad 2024-09-18 05:02:24,258 - 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 1026ms') 2024-09-18 05:02:24,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88069445-00566856 failed! 2024-09-18 05:02:24,328 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88069445:ctest-vn-98514740 is 133.157.249.65 and allocation pool is NOT set 2024-09-18 05:02:26,389 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/2.019/3.595/1.575 ms') 2024-09-18 05:02:26,390 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88069445-00566856 passed 2024-09-18 05:02:26,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:02:26,552 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88069445-00566856, IP 133.157.249.67, Port 22 2024-09-18 05:02:26,708 - DEBUG - VM ctest-TestRoutersBasic-88069445-00566856 is ready for SSH connections 2024-09-18 05:02:26,708 - INFO - Waiting for VM ctest-TestRoutersBasic-88069445-31199739 to be up.. 2024-09-18 05:02:26,803 - DEBUG - VM is in ACTIVE state now 2024-09-18 05:02:26,803 - INFO - VM name : ctest-TestRoutersBasic-88069445-31199739 2024-09-18 05:02:26,890 - DEBUG - VM ctest-TestRoutersBasic-88069445-31199739 ID is 9e462ea6-64ad-4a43-ad3d-e8cf26fd4106 2024-09-18 05:02:26,890 - DEBUG - VM ctest-TestRoutersBasic-88069445-31199739 launched on Node cn-jenkins-deploy-platform-ansible-os-1983-1 2024-09-18 05:02:26,977 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/9e462ea6-64ad-4a43-ad3d-e8cf26fd4106 2024-09-18 05:02:26,989 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/6da8a6be-1a17-4312-83e1-1dfd37b9ed5e 2024-09-18 05:02:28,248 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.864/3.370/1.505 ms') 2024-09-18 05:02:28,248 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88069445-31199739 passed 2024-09-18 05:02:28,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:02:28,412 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88069445-31199739, IP 178.28.194.3, Port 22 2024-09-18 05:02:28,575 - DEBUG - VM ctest-TestRoutersBasic-88069445-31199739 is ready for SSH connections 2024-09-18 05:02:28,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:02:28,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.28.194.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2024-09-18 05:02:28,576 - DEBUG - ping -s 56 -c 3 -W 1 178.28.194.3 2024-09-18 05:02:32,268 - DEBUG - PING 178.28.194.3 (178.28.194.3): 56 data bytes 64 bytes from 178.28.194.3: seq=0 ttl=62 time=8.314 ms 64 bytes from 178.28.194.3: seq=1 ttl=62 time=0.897 ms 64 bytes from 178.28.194.3: seq=2 ttl=62 time=0.875 ms --- 178.28.194.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/3.362/8.314 ms 2024-09-18 05:02:32,269 - INFO - Ping to IP 178.28.194.3 from VM ctest-TestRoutersBasic-88069445-00566856 passed 2024-09-18 05:02:32,269 - INFO - Deleting interface with subnet_id 88850744-66af-4e73-9b69-d0d1dccccfcd, port_id None from router 393dba41-4f83-4f5e-8b40-99c59d16a7a1 2024-09-18 05:02:32,498 - INFO - Deleting VM ctest-TestRoutersBasic-88069445-31199739 2024-09-18 05:02:32,566 - INFO - Deleting VM ctest-TestRoutersBasic-88069445-00566856 2024-09-18 05:02:32,654 - INFO - Deleting VN ctest-ext_vn-12735282 2024-09-18 05:02:32,774 - DEBUG - VN a92d37db-4ce1-4aa8-ba65-65af5b36b67a still in use: Unable to complete operation on network a92d37db-4ce1-4aa8-ba65-65af5b36b67a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96826be9-fa6d-4c37-8580-0e6ab00a2fa9'] 2024-09-18 05:02:32,774 - WARNING - Deleting VN ctest-ext_vn-12735282 failed..Will retry 2024-09-18 05:02:34,896 - DEBUG - Response for deleting network () 2024-09-18 05:02:34,896 - INFO - Deleting VN ctest-vn-98514740 2024-09-18 05:02:35,010 - DEBUG - Response for deleting network () 2024-09-18 05:02:35,270 - DEBUG - No XMPP flaps were noticed during the test 2024-09-18 05:02:35,270 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2024-09-18 05:02:35,270 - INFO - -------------------------------------------------------------------------------- 2024-09-18 05:02:35,985 - INFO - Deleted project: ctest-TestRoutersBasic-88069445, ID : 87d4612f-9c91-4d4a-bd25-8f4c78c3a275