2024-10-28 02:18:11,026 - INFO - Domain Default found not creating
2024-10-28 02:18:11,190 - INFO - Project ctest-TestRoutersBasic-48406341 not found, creating it
2024-10-28 02:18:11,663 - INFO - Created Project:ctest-TestRoutersBasic-48406341, ID : 9bf9f023-c56f-4bf0-b83f-3e7c94b14d82
2024-10-28 02:18:13,146 - INFO - ================================================================================
2024-10-28 02:18:13,146 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-28 02:18:13,146 - 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-10-28 02:18:13,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.23': '0'}} with
2024-10-28 02:18:13,402 - INFO - Initial checks done. Running the testcase now
2024-10-28 02:18:13,402 - INFO -
2024-10-28 02:18:14,138 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48406341
2024-10-28 02:18:14,240 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48406341
2024-10-28 02:18:14,600 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48406341', 'default']}
2024-10-28 02:18:14,927 - DEBUG - Response for create_network : {'network': {'id': '58998fa3-5aed-4000-bacf-16cb473d7bc3', 'name': 'ctest-vn-12175235', 'tenant_id': '9bf9f023c56f4bf0b83f3e7c94b14d82', 'project_id': '9bf9f023c56f4bf0b83f3e7c94b14d82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48406341', 'ctest-vn-12175235'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 02:18:15,098 - DEBUG - Response for create_subnet : {'subnet': {'id': '06312075-3bf5-4421-8b9f-530913068ab1', 'name': '', 'tenant_id': '9bf9f023c56f4bf0b83f3e7c94b14d82', 'network_id': '58998fa3-5aed-4000-bacf-16cb473d7bc3', 'ip_version': 4, 'cidr': '149.78.36.128/26', 'allocation_pools': [{'start': '149.78.36.130', 'end': '149.78.36.190'}], 'gateway_ip': '149.78.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.78.36.130', 'tags': [], 'project_id': '9bf9f023c56f4bf0b83f3e7c94b14d82'}}
2024-10-28 02:18:15,120 - INFO - Created VN ctest-vn-12175235
2024-10-28 02:18:15,176 - DEBUG - VN ctest-vn-12175235 UUID is 58998fa3-5aed-4000-bacf-16cb473d7bc3
2024-10-28 02:18:15,527 - DEBUG - Response for create_network : {'network': {'id': '13f4ef17-58b5-4865-8590-d8c90949c699', 'name': 'ctest-ext_vn-00037720', 'tenant_id': '9bf9f023c56f4bf0b83f3e7c94b14d82', 'project_id': '9bf9f023c56f4bf0b83f3e7c94b14d82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48406341', 'ctest-ext_vn-00037720'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 02:18:15,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c4657fe-9f62-4a3d-a000-0356ec1e8950', 'name': '', 'tenant_id': '9bf9f023c56f4bf0b83f3e7c94b14d82', 'network_id': '13f4ef17-58b5-4865-8590-d8c90949c699', 'ip_version': 4, 'cidr': '73.14.239.64/26', 'allocation_pools': [{'start': '73.14.239.66', 'end': '73.14.239.126'}], 'gateway_ip': '73.14.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.14.239.66', 'tags': [], 'project_id': '9bf9f023c56f4bf0b83f3e7c94b14d82'}}
2024-10-28 02:18:15,849 - INFO - Created VN ctest-ext_vn-00037720
2024-10-28 02:18:15,908 - DEBUG - VN ctest-ext_vn-00037720 UUID is 13f4ef17-58b5-4865-8590-d8c90949c699
2024-10-28 02:18:16,091 - DEBUG - Services list from nova: [, , ]
2024-10-28 02:18:17,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2155-1)
2024-10-28 02:18:18,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2155-1)
2024-10-28 02:18:18,435 - INFO - Setting gateway for router a97c55a8-0d33-49f0-9e73-3b167d4d04a0 to network 13f4ef17-58b5-4865-8590-d8c90949c699
2024-10-28 02:18:18,507 - INFO - Adding interface with subnet_id 06312075-3bf5-4421-8b9f-530913068ab1, port_id None to router a97c55a8-0d33-49f0-9e73-3b167d4d04a0
2024-10-28 02:18:18,949 - INFO - Waiting for VM ctest-TestRoutersBasic-48406341-50719562 to be up..
2024-10-28 02:18:19,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 02:18:24,249 - DEBUG - VM is in ACTIVE state now
2024-10-28 02:18:24,249 - INFO - VM name : ctest-TestRoutersBasic-48406341-50719562
2024-10-28 02:18:24,354 - DEBUG - VM ctest-TestRoutersBasic-48406341-50719562 ID is b119dbf6-4ecb-4f64-a8b7-b4412350b38d
2024-10-28 02:18:24,377 - DEBUG - VM ctest-TestRoutersBasic-48406341-50719562 launched on Node cn-jenkins-deploy-platform-ansible-os-2155-1
2024-10-28 02:18:24,466 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/b119dbf6-4ecb-4f64-a8b7-b4412350b38d
2024-10-28 02:18:24,767 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/b119dbf6-4ecb-4f64-a8b7-b4412350b38d
2024-10-28 02:18:24,804 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/b5eabb0d-62f9-4deb-9fd8-d01093957660
2024-10-28 02:18:28,070 - 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 1005ms')
2024-10-28 02:18:28,070 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48406341-50719562 failed!
2024-10-28 02:18:28,128 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48406341:ctest-vn-12175235 is 149.78.36.129 and allocation pool is NOT set
2024-10-28 02:18:30,187 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/1.703/2.941/1.237 ms')
2024-10-28 02:18:30,187 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48406341-50719562 passed
2024-10-28 02:18:30,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:18:30,344 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48406341-50719562, IP 149.78.36.131, Port 22
2024-10-28 02:18:30,499 - DEBUG - VM ctest-TestRoutersBasic-48406341-50719562 is ready for SSH connections
2024-10-28 02:18:30,500 - INFO - Waiting for VM ctest-TestRoutersBasic-48406341-92426990 to be up..
2024-10-28 02:18:30,581 - DEBUG - VM is in ACTIVE state now
2024-10-28 02:18:30,581 - INFO - VM name : ctest-TestRoutersBasic-48406341-92426990
2024-10-28 02:18:30,665 - DEBUG - VM ctest-TestRoutersBasic-48406341-92426990 ID is f065a6f3-1a3e-4e9b-9744-15dfd43a63d0
2024-10-28 02:18:30,666 - DEBUG - VM ctest-TestRoutersBasic-48406341-92426990 launched on Node cn-jenkins-deploy-platform-ansible-os-2155-1
2024-10-28 02:18:30,746 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f065a6f3-1a3e-4e9b-9744-15dfd43a63d0
2024-10-28 02:18:30,759 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/fb86f3de-ee1f-4389-b850-917c9cf4a178
2024-10-28 02:18:32,024 - 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=6.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.844 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.844/3.655/6.467/2.811 ms')
2024-10-28 02:18:32,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48406341-92426990 passed
2024-10-28 02:18:32,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:18:32,184 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48406341-92426990, IP 73.14.239.67, Port 22
2024-10-28 02:18:32,339 - DEBUG - VM ctest-TestRoutersBasic-48406341-92426990 is ready for SSH connections
2024-10-28 02:18:32,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:18:32,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.14.239.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-10-28 02:18:32,340 - DEBUG - ping -s 56 -c 3 -W 1 73.14.239.67
2024-10-28 02:18:36,325 - DEBUG - PING 73.14.239.67 (73.14.239.67): 56 data bytes
64 bytes from 73.14.239.67: seq=0 ttl=62 time=5.159 ms
64 bytes from 73.14.239.67: seq=1 ttl=62 time=2.181 ms
64 bytes from 73.14.239.67: seq=2 ttl=62 time=0.864 ms
--- 73.14.239.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.864/2.734/5.159 ms
2024-10-28 02:18:36,325 - INFO - Ping to IP 73.14.239.67 from VM ctest-TestRoutersBasic-48406341-50719562 passed
2024-10-28 02:18:36,326 - INFO - Deleting interface with subnet_id 06312075-3bf5-4421-8b9f-530913068ab1, port_id None from router a97c55a8-0d33-49f0-9e73-3b167d4d04a0
2024-10-28 02:18:36,542 - INFO - Deleting VM ctest-TestRoutersBasic-48406341-92426990
2024-10-28 02:18:36,613 - INFO - Deleting VM ctest-TestRoutersBasic-48406341-50719562
2024-10-28 02:18:36,688 - INFO - Deleting VN ctest-ext_vn-00037720
2024-10-28 02:18:36,789 - DEBUG - VN 13f4ef17-58b5-4865-8590-d8c90949c699 still in use: Unable to complete operation on network 13f4ef17-58b5-4865-8590-d8c90949c699. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c0795d5d-c672-4fef-b4ef-0a70db3d5f59']
2024-10-28 02:18:36,790 - WARNING - Deleting VN ctest-ext_vn-00037720 failed..Will retry
2024-10-28 02:18:38,910 - DEBUG - Response for deleting network ()
2024-10-28 02:18:38,911 - INFO - Deleting VN ctest-vn-12175235
2024-10-28 02:18:39,027 - DEBUG - Response for deleting network ()
2024-10-28 02:18:39,283 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 02:18:39,284 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-28 02:18:39,284 - INFO - --------------------------------------------------------------------------------
2024-10-28 02:18:40,018 - INFO - Deleted project: ctest-TestRoutersBasic-48406341, ID : 9bf9f023-c56f-4bf0-b83f-3e7c94b14d82