2024-08-26 20:20:43,611 - INFO - Domain Default found not creating 2024-08-26 20:20:43,775 - INFO - Project ctest-TestRoutersBasic-69175635 not found, creating it 2024-08-26 20:20:44,258 - INFO - Created Project:ctest-TestRoutersBasic-69175635, ID : 80473607-14a3-45e9-9f87-02e7feaa0068 2024-08-26 20:20:45,774 - INFO - ================================================================================ 2024-08-26 20:20:45,774 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-26 20:20:45,774 - 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-08-26 20:20:46,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.7': '0'}} with 2024-08-26 20:20:46,030 - INFO - Initial checks done. Running the testcase now 2024-08-26 20:20:46,030 - INFO - 2024-08-26 20:20:46,740 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69175635 2024-08-26 20:20:46,836 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69175635 2024-08-26 20:20:47,160 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69175635', 'default']} 2024-08-26 20:20:47,441 - DEBUG - Response for create_network : {'network': {'id': '7533392c-de88-415d-b895-5a40bf473271', 'name': 'ctest-vn-19459566', 'tenant_id': '8047360714a345e99f8702e7feaa0068', 'project_id': '8047360714a345e99f8702e7feaa0068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69175635', 'ctest-vn-19459566'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 20:20:47,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3a53398-b9bb-4dad-ba1e-3c17faa2ed0d', 'name': '', 'tenant_id': '8047360714a345e99f8702e7feaa0068', 'network_id': '7533392c-de88-415d-b895-5a40bf473271', 'ip_version': 4, 'cidr': '35.182.4.64/26', 'allocation_pools': [{'start': '35.182.4.66', 'end': '35.182.4.126'}], 'gateway_ip': '35.182.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.182.4.66', 'tags': [], 'project_id': '8047360714a345e99f8702e7feaa0068'}} 2024-08-26 20:20:47,642 - INFO - Created VN ctest-vn-19459566 2024-08-26 20:20:47,692 - DEBUG - VN ctest-vn-19459566 UUID is 7533392c-de88-415d-b895-5a40bf473271 2024-08-26 20:20:48,044 - DEBUG - Response for create_network : {'network': {'id': 'dc0c60dd-ebef-417c-a2e1-e80d13972b55', 'name': 'ctest-ext_vn-43570632', 'tenant_id': '8047360714a345e99f8702e7feaa0068', 'project_id': '8047360714a345e99f8702e7feaa0068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69175635', 'ctest-ext_vn-43570632'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 20:20:48,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '1568f66b-919b-46fe-9a0b-c3f89af80b1d', 'name': '', 'tenant_id': '8047360714a345e99f8702e7feaa0068', 'network_id': 'dc0c60dd-ebef-417c-a2e1-e80d13972b55', 'ip_version': 4, 'cidr': '126.175.153.64/26', 'allocation_pools': [{'start': '126.175.153.66', 'end': '126.175.153.126'}], 'gateway_ip': '126.175.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.175.153.66', 'tags': [], 'project_id': '8047360714a345e99f8702e7feaa0068'}} 2024-08-26 20:20:48,329 - INFO - Created VN ctest-ext_vn-43570632 2024-08-26 20:20:48,380 - DEBUG - VN ctest-ext_vn-43570632 UUID is dc0c60dd-ebef-417c-a2e1-e80d13972b55 2024-08-26 20:20:48,580 - DEBUG - Services list from nova: [, , ] 2024-08-26 20:20:49,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1771-1) 2024-08-26 20:20:50,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1771-1) 2024-08-26 20:20:50,772 - INFO - Setting gateway for router ad763229-d36c-4bef-b74c-436ebcc57d38 to network dc0c60dd-ebef-417c-a2e1-e80d13972b55 2024-08-26 20:20:50,840 - INFO - Adding interface with subnet_id f3a53398-b9bb-4dad-ba1e-3c17faa2ed0d, port_id None to router ad763229-d36c-4bef-b74c-436ebcc57d38 2024-08-26 20:20:51,190 - INFO - Waiting for VM ctest-TestRoutersBasic-69175635-40756659 to be up.. 2024-08-26 20:20:51,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 20:20:56,387 - DEBUG - VM is in ACTIVE state now 2024-08-26 20:20:56,388 - INFO - VM name : ctest-TestRoutersBasic-69175635-40756659 2024-08-26 20:20:56,466 - DEBUG - VM ctest-TestRoutersBasic-69175635-40756659 ID is 52272b26-c47d-4f81-9507-872c795f2a18 2024-08-26 20:20:56,484 - DEBUG - VM ctest-TestRoutersBasic-69175635-40756659 launched on Node cn-jenkins-deploy-platform-ansible-os-1771-1 2024-08-26 20:20:56,558 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/52272b26-c47d-4f81-9507-872c795f2a18 2024-08-26 20:20:56,858 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/52272b26-c47d-4f81-9507-872c795f2a18 2024-08-26 20:20:56,890 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/f22327fc-896a-4b66-8c09-2e33210b11a8 2024-08-26 20:21:00,137 - 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-08-26 20:21:00,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69175635-40756659 failed! 2024-08-26 20:21:00,188 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69175635:ctest-vn-19459566 is 35.182.4.65 and allocation pool is NOT set 2024-08-26 20:21:02,259 - 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=5.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.746/4.089/5.433/1.343 ms') 2024-08-26 20:21:02,259 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69175635-40756659 passed 2024-08-26 20:21:02,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 20:21:02,421 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69175635-40756659, IP 35.182.4.67, Port 22 2024-08-26 20:21:02,575 - DEBUG - VM ctest-TestRoutersBasic-69175635-40756659 is ready for SSH connections 2024-08-26 20:21:02,575 - INFO - Waiting for VM ctest-TestRoutersBasic-69175635-30790598 to be up.. 2024-08-26 20:21:02,662 - DEBUG - VM is in ACTIVE state now 2024-08-26 20:21:02,663 - INFO - VM name : ctest-TestRoutersBasic-69175635-30790598 2024-08-26 20:21:02,746 - DEBUG - VM ctest-TestRoutersBasic-69175635-30790598 ID is 2bd81123-e70a-437c-b31e-6e232af85904 2024-08-26 20:21:02,746 - DEBUG - VM ctest-TestRoutersBasic-69175635-30790598 launched on Node cn-jenkins-deploy-platform-ansible-os-1771-1 2024-08-26 20:21:02,819 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/2bd81123-e70a-437c-b31e-6e232af85904 2024-08-26 20:21:02,828 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/2eee8edc-858d-4a25-aa5e-5e83a4889485 2024-08-26 20:21:04,068 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.718 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.718/1.814/2.910/1.096 ms') 2024-08-26 20:21:04,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69175635-30790598 passed 2024-08-26 20:21:04,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 20:21:04,216 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69175635-30790598, IP 126.175.153.67, Port 22 2024-08-26 20:21:04,393 - DEBUG - VM ctest-TestRoutersBasic-69175635-30790598 is ready for SSH connections 2024-08-26 20:21:04,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 20:21:04,393 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.175.153.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-08-26 20:21:04,393 - DEBUG - ping -s 56 -c 3 -W 1 126.175.153.67 2024-08-26 20:21:08,056 - DEBUG - PING 126.175.153.67 (126.175.153.67): 56 data bytes 64 bytes from 126.175.153.67: seq=0 ttl=62 time=6.696 ms 64 bytes from 126.175.153.67: seq=1 ttl=62 time=0.846 ms 64 bytes from 126.175.153.67: seq=2 ttl=62 time=0.877 ms --- 126.175.153.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.806/6.696 ms 2024-08-26 20:21:08,056 - INFO - Ping to IP 126.175.153.67 from VM ctest-TestRoutersBasic-69175635-40756659 passed 2024-08-26 20:21:08,056 - INFO - Deleting interface with subnet_id f3a53398-b9bb-4dad-ba1e-3c17faa2ed0d, port_id None from router ad763229-d36c-4bef-b74c-436ebcc57d38 2024-08-26 20:21:08,292 - INFO - Deleting VM ctest-TestRoutersBasic-69175635-30790598 2024-08-26 20:21:08,361 - INFO - Deleting VM ctest-TestRoutersBasic-69175635-40756659 2024-08-26 20:21:08,446 - INFO - Deleting VN ctest-ext_vn-43570632 2024-08-26 20:21:08,541 - DEBUG - VN dc0c60dd-ebef-417c-a2e1-e80d13972b55 still in use: Unable to complete operation on network dc0c60dd-ebef-417c-a2e1-e80d13972b55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc4ac9ce-9b1c-43b1-bf77-e123e9914a9f'] 2024-08-26 20:21:08,541 - WARNING - Deleting VN ctest-ext_vn-43570632 failed..Will retry 2024-08-26 20:21:10,651 - DEBUG - Response for deleting network () 2024-08-26 20:21:10,651 - INFO - Deleting VN ctest-vn-19459566 2024-08-26 20:21:10,760 - DEBUG - Response for deleting network () 2024-08-26 20:21:11,018 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 20:21:11,018 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2024-08-26 20:21:11,018 - INFO - -------------------------------------------------------------------------------- 2024-08-26 20:21:11,682 - INFO - Deleted project: ctest-TestRoutersBasic-69175635, ID : 80473607-14a3-45e9-9f87-02e7feaa0068