2024-09-17 20:22:31,514 - INFO - Domain Default found not creating 2024-09-17 20:22:31,684 - INFO - Project ctest-TestRoutersBasic-70264392 not found, creating it 2024-09-17 20:22:32,183 - INFO - Created Project:ctest-TestRoutersBasic-70264392, ID : 859c226a-7258-44a4-ac33-5b97ab0c4455 2024-09-17 20:22:33,742 - INFO - ================================================================================ 2024-09-17 20:22:33,742 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-17 20:22:33,742 - 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:22:34,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.77': {'10.20.0.24': '0'}} with 2024-09-17 20:22:34,000 - INFO - Initial checks done. Running the testcase now 2024-09-17 20:22:34,000 - INFO - 2024-09-17 20:22:34,752 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70264392 2024-09-17 20:22:34,851 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70264392 2024-09-17 20:22:35,203 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70264392', 'default']} 2024-09-17 20:22:35,525 - DEBUG - Response for create_network : {'network': {'id': '7a94dd1d-5585-492c-8c14-14735526f666', 'name': 'ctest-vn-37613551', 'tenant_id': '859c226a725844a4ac335b97ab0c4455', 'project_id': '859c226a725844a4ac335b97ab0c4455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70264392', 'ctest-vn-37613551'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 20:22:35,704 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3560f1a-0035-4415-a593-dcfb3b617be2', 'name': '', 'tenant_id': '859c226a725844a4ac335b97ab0c4455', 'network_id': '7a94dd1d-5585-492c-8c14-14735526f666', 'ip_version': 4, 'cidr': '111.70.11.64/26', 'allocation_pools': [{'start': '111.70.11.66', 'end': '111.70.11.126'}], 'gateway_ip': '111.70.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.70.11.66', 'tags': [], 'project_id': '859c226a725844a4ac335b97ab0c4455'}} 2024-09-17 20:22:35,724 - INFO - Created VN ctest-vn-37613551 2024-09-17 20:22:35,783 - DEBUG - VN ctest-vn-37613551 UUID is 7a94dd1d-5585-492c-8c14-14735526f666 2024-09-17 20:22:36,151 - DEBUG - Response for create_network : {'network': {'id': '472e06c3-bbdc-4891-b13c-ecfee91da66b', 'name': 'ctest-ext_vn-84572379', 'tenant_id': '859c226a725844a4ac335b97ab0c4455', 'project_id': '859c226a725844a4ac335b97ab0c4455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70264392', 'ctest-ext_vn-84572379'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 20:22:36,364 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc1052ea-93dc-46d0-a1ee-351cbbfec571', 'name': '', 'tenant_id': '859c226a725844a4ac335b97ab0c4455', 'network_id': '472e06c3-bbdc-4891-b13c-ecfee91da66b', 'ip_version': 4, 'cidr': '139.107.127.64/26', 'allocation_pools': [{'start': '139.107.127.66', 'end': '139.107.127.126'}], 'gateway_ip': '139.107.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.107.127.66', 'tags': [], 'project_id': '859c226a725844a4ac335b97ab0c4455'}} 2024-09-17 20:22:36,386 - INFO - Created VN ctest-ext_vn-84572379 2024-09-17 20:22:36,443 - DEBUG - VN ctest-ext_vn-84572379 UUID is 472e06c3-bbdc-4891-b13c-ecfee91da66b 2024-09-17 20:22:36,629 - DEBUG - Services list from nova: [, , ] 2024-09-17 20:22:37,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1972-1) 2024-09-17 20:22:38,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1972-1) 2024-09-17 20:22:38,990 - INFO - Setting gateway for router baf0ad06-9bcc-453e-82b0-fefce58d1ee7 to network 472e06c3-bbdc-4891-b13c-ecfee91da66b 2024-09-17 20:22:39,041 - INFO - Adding interface with subnet_id f3560f1a-0035-4415-a593-dcfb3b617be2, port_id None to router baf0ad06-9bcc-453e-82b0-fefce58d1ee7 2024-09-17 20:22:39,349 - INFO - Waiting for VM ctest-TestRoutersBasic-70264392-70839677 to be up.. 2024-09-17 20:22:39,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 20:22:44,569 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:22:44,569 - INFO - VM name : ctest-TestRoutersBasic-70264392-70839677 2024-09-17 20:22:44,651 - DEBUG - VM ctest-TestRoutersBasic-70264392-70839677 ID is defc3c57-463c-4fae-bfae-6c7aaaff4ec6 2024-09-17 20:22:44,673 - DEBUG - VM ctest-TestRoutersBasic-70264392-70839677 launched on Node cn-jenkins-deploy-platform-ansible-os-1972-1 2024-09-17 20:22:44,765 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine/defc3c57-463c-4fae-bfae-6c7aaaff4ec6 2024-09-17 20:22:45,071 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine/defc3c57-463c-4fae-bfae-6c7aaaff4ec6 2024-09-17 20:22:45,106 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine-interface/459e87e4-1cfa-4b45-940e-c3dfd719f8f5 2024-09-17 20:22:48,392 - 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 1028ms') 2024-09-17 20:22:48,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70264392-70839677 failed! 2024-09-17 20:22:48,451 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70264392:ctest-vn-37613551 is 111.70.11.65 and allocation pool is NOT set 2024-09-17 20:22:50,515 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.586 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 = 0.586/1.799/3.013/1.213 ms') 2024-09-17 20:22:50,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70264392-70839677 passed 2024-09-17 20:22:50,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:22:50,675 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70264392-70839677, IP 111.70.11.67, Port 22 2024-09-17 20:22:50,835 - DEBUG - VM ctest-TestRoutersBasic-70264392-70839677 is ready for SSH connections 2024-09-17 20:22:50,835 - INFO - Waiting for VM ctest-TestRoutersBasic-70264392-88314985 to be up.. 2024-09-17 20:22:50,925 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:22:50,925 - INFO - VM name : ctest-TestRoutersBasic-70264392-88314985 2024-09-17 20:22:51,020 - DEBUG - VM ctest-TestRoutersBasic-70264392-88314985 ID is ad3c2d07-14a2-419e-91ad-5e1e0e02690f 2024-09-17 20:22:51,020 - DEBUG - VM ctest-TestRoutersBasic-70264392-88314985 launched on Node cn-jenkins-deploy-platform-ansible-os-1972-1 2024-09-17 20:22:51,099 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine/ad3c2d07-14a2-419e-91ad-5e1e0e02690f 2024-09-17 20:22:51,109 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine-interface/3e948c4a-e870-4d47-9d36-4d87c71c3077 2024-09-17 20:22:52,368 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.698/3.003/1.305 ms') 2024-09-17 20:22:52,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70264392-88314985 passed 2024-09-17 20:22:52,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:22:52,527 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70264392-88314985, IP 139.107.127.67, Port 22 2024-09-17 20:22:52,683 - DEBUG - VM ctest-TestRoutersBasic-70264392-88314985 is ready for SSH connections 2024-09-17 20:22:52,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:22:52,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.107.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.77, gateway password: c0ntrail123 2024-09-17 20:22:52,683 - DEBUG - ping -s 56 -c 3 -W 1 139.107.127.67 2024-09-17 20:22:56,396 - DEBUG - PING 139.107.127.67 (139.107.127.67): 56 data bytes 64 bytes from 139.107.127.67: seq=0 ttl=62 time=7.804 ms 64 bytes from 139.107.127.67: seq=1 ttl=62 time=0.812 ms 64 bytes from 139.107.127.67: seq=2 ttl=62 time=1.108 ms --- 139.107.127.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/3.241/7.804 ms 2024-09-17 20:22:56,396 - INFO - Ping to IP 139.107.127.67 from VM ctest-TestRoutersBasic-70264392-70839677 passed 2024-09-17 20:22:56,396 - INFO - Deleting interface with subnet_id f3560f1a-0035-4415-a593-dcfb3b617be2, port_id None from router baf0ad06-9bcc-453e-82b0-fefce58d1ee7 2024-09-17 20:22:56,611 - INFO - Deleting VM ctest-TestRoutersBasic-70264392-88314985 2024-09-17 20:22:56,673 - INFO - Deleting VM ctest-TestRoutersBasic-70264392-70839677 2024-09-17 20:22:56,763 - INFO - Deleting VN ctest-ext_vn-84572379 2024-09-17 20:22:56,878 - DEBUG - VN 472e06c3-bbdc-4891-b13c-ecfee91da66b still in use: Unable to complete operation on network 472e06c3-bbdc-4891-b13c-ecfee91da66b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-adf0edfa-c618-4d85-9752-c976d9763061'] 2024-09-17 20:22:56,878 - WARNING - Deleting VN ctest-ext_vn-84572379 failed..Will retry 2024-09-17 20:22:58,989 - DEBUG - Response for deleting network () 2024-09-17 20:22:58,990 - INFO - Deleting VN ctest-vn-37613551 2024-09-17 20:22:59,104 - DEBUG - Response for deleting network () 2024-09-17 20:22:59,362 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 20:22:59,362 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-17 20:22:59,362 - INFO - -------------------------------------------------------------------------------- 2024-09-17 20:23:00,089 - INFO - Deleted project: ctest-TestRoutersBasic-70264392, ID : 859c226a-7258-44a4-ac33-5b97ab0c4455