2025-04-21 08:15:14,299 - INFO - Domain Default found not creating 2025-04-21 08:15:14,431 - INFO - Project ctest-TestRoutersBasic-20665058 not found, creating it 2025-04-21 08:15:14,883 - INFO - Created Project:ctest-TestRoutersBasic-20665058, ID : efd23d42-6a43-4fa7-8ad5-c4b1ed263a81 2025-04-21 08:15:16,493 - INFO - ================================================================================ 2025-04-21 08:15:16,494 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-21 08:15:16,494 - 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 2025-04-21 08:15:16,746 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-04-21 08:15:16,746 - INFO - Initial checks done. Running the testcase now 2025-04-21 08:15:16,747 - INFO - 2025-04-21 08:15:17,549 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20665058 2025-04-21 08:15:17,648 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20665058 2025-04-21 08:15:17,984 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20665058', 'default']} 2025-04-21 08:15:18,284 - DEBUG - Response for create_network : {'network': {'id': '22801fd2-4ffb-46a8-843a-2154b9a90fb9', 'name': 'ctest-vn-70095269', 'tenant_id': 'efd23d426a434fa78ad5c4b1ed263a81', 'project_id': 'efd23d426a434fa78ad5c4b1ed263a81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20665058', 'ctest-vn-70095269'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 08:15:18,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '11a4df9a-0b2d-4bd6-84ba-400b9b308d31', 'name': '', 'tenant_id': 'efd23d426a434fa78ad5c4b1ed263a81', 'network_id': '22801fd2-4ffb-46a8-843a-2154b9a90fb9', 'ip_version': 4, 'cidr': '109.124.114.128/26', 'allocation_pools': [{'start': '109.124.114.130', 'end': '109.124.114.190'}], 'gateway_ip': '109.124.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.124.114.130', 'tags': [], 'project_id': 'efd23d426a434fa78ad5c4b1ed263a81'}} 2025-04-21 08:15:18,527 - INFO - Created VN ctest-vn-70095269 2025-04-21 08:15:18,580 - DEBUG - VN ctest-vn-70095269 UUID is 22801fd2-4ffb-46a8-843a-2154b9a90fb9 2025-04-21 08:15:18,945 - DEBUG - Response for create_network : {'network': {'id': '692b205b-fb09-489c-90ce-ea94157777e0', 'name': 'ctest-ext_vn-92689818', 'tenant_id': 'efd23d426a434fa78ad5c4b1ed263a81', 'project_id': 'efd23d426a434fa78ad5c4b1ed263a81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20665058', 'ctest-ext_vn-92689818'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 08:15:19,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dc597d6-afee-4ffa-bd7c-13511940e928', 'name': '', 'tenant_id': 'efd23d426a434fa78ad5c4b1ed263a81', 'network_id': '692b205b-fb09-489c-90ce-ea94157777e0', 'ip_version': 4, 'cidr': '77.170.243.0/26', 'allocation_pools': [{'start': '77.170.243.2', 'end': '77.170.243.62'}], 'gateway_ip': '77.170.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.170.243.2', 'tags': [], 'project_id': 'efd23d426a434fa78ad5c4b1ed263a81'}} 2025-04-21 08:15:19,143 - INFO - Created VN ctest-ext_vn-92689818 2025-04-21 08:15:19,196 - DEBUG - VN ctest-ext_vn-92689818 UUID is 692b205b-fb09-489c-90ce-ea94157777e0 2025-04-21 08:15:19,357 - DEBUG - Services list from nova: [, , ] 2025-04-21 08:15:20,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3149-1) 2025-04-21 08:15:21,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3149-1) 2025-04-21 08:15:21,766 - INFO - Setting gateway for router e3467fa9-552b-4057-acf1-a12cbd1acafa to network 692b205b-fb09-489c-90ce-ea94157777e0 2025-04-21 08:15:21,822 - INFO - Adding interface with subnet_id 11a4df9a-0b2d-4bd6-84ba-400b9b308d31, port_id None to router e3467fa9-552b-4057-acf1-a12cbd1acafa 2025-04-21 08:15:22,278 - INFO - Waiting for VM ctest-TestRoutersBasic-20665058-80316628 to be up.. 2025-04-21 08:15:22,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 08:15:27,553 - DEBUG - VM is in ACTIVE state now 2025-04-21 08:15:27,553 - INFO - VM name : ctest-TestRoutersBasic-20665058-80316628 2025-04-21 08:15:27,637 - DEBUG - VM ctest-TestRoutersBasic-20665058-80316628 ID is be6863f3-42fb-4b33-9500-e65c5eb705f3 2025-04-21 08:15:27,656 - DEBUG - VM ctest-TestRoutersBasic-20665058-80316628 launched on Node cn-jenkins-deploy-platform-ansible-os-3149-1 2025-04-21 08:15:27,742 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/be6863f3-42fb-4b33-9500-e65c5eb705f3 2025-04-21 08:15:28,074 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/be6863f3-42fb-4b33-9500-e65c5eb705f3 2025-04-21 08:15:28,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/08cccd37-9bfa-4dbc-90fd-b598342155bb 2025-04-21 08:15:31,362 - 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 1015ms') 2025-04-21 08:15:31,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20665058-80316628 failed! 2025-04-21 08:15:31,416 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20665058:ctest-vn-70095269 is 109.124.114.129 and allocation pool is NOT set 2025-04-21 08:15:33,482 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.348 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.348/1.694/3.040/1.346 ms') 2025-04-21 08:15:33,482 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20665058-80316628 passed 2025-04-21 08:15:33,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 08:15:33,644 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20665058-80316628, IP 109.124.114.131, Port 22 2025-04-21 08:15:33,799 - DEBUG - VM ctest-TestRoutersBasic-20665058-80316628 is ready for SSH connections 2025-04-21 08:15:33,799 - INFO - Waiting for VM ctest-TestRoutersBasic-20665058-36890968 to be up.. 2025-04-21 08:15:33,871 - DEBUG - VM is in ACTIVE state now 2025-04-21 08:15:33,871 - INFO - VM name : ctest-TestRoutersBasic-20665058-36890968 2025-04-21 08:15:33,939 - DEBUG - VM ctest-TestRoutersBasic-20665058-36890968 ID is 439671a2-8cbf-4f18-ae7b-135f51c56958 2025-04-21 08:15:33,940 - DEBUG - VM ctest-TestRoutersBasic-20665058-36890968 launched on Node cn-jenkins-deploy-platform-ansible-os-3149-1 2025-04-21 08:15:34,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/439671a2-8cbf-4f18-ae7b-135f51c56958 2025-04-21 08:15:34,016 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e5ba6f15-97c9-41d9-b6ae-b9521982cf68 2025-04-21 08:15:35,255 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.358 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.358/1.656/2.954/1.298 ms') 2025-04-21 08:15:35,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-20665058-36890968 passed 2025-04-21 08:15:35,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 08:15:35,404 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20665058-36890968, IP 77.170.243.3, Port 22 2025-04-21 08:15:35,564 - DEBUG - VM ctest-TestRoutersBasic-20665058-36890968 is ready for SSH connections 2025-04-21 08:15:35,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 08:15:35,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.170.243.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-21 08:15:35,564 - DEBUG - ping -s 56 -c 3 -W 1 77.170.243.3 2025-04-21 08:15:39,572 - DEBUG - PING 77.170.243.3 (77.170.243.3): 56 data bytes 64 bytes from 77.170.243.3: seq=0 ttl=62 time=6.463 ms 64 bytes from 77.170.243.3: seq=1 ttl=62 time=0.791 ms 64 bytes from 77.170.243.3: seq=2 ttl=62 time=0.753 ms --- 77.170.243.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/2.669/6.463 ms 2025-04-21 08:15:39,572 - INFO - Ping to IP 77.170.243.3 from VM ctest-TestRoutersBasic-20665058-80316628 passed 2025-04-21 08:15:39,572 - INFO - Deleting interface with subnet_id 11a4df9a-0b2d-4bd6-84ba-400b9b308d31, port_id None from router e3467fa9-552b-4057-acf1-a12cbd1acafa 2025-04-21 08:15:39,753 - INFO - Deleting VM ctest-TestRoutersBasic-20665058-36890968 2025-04-21 08:15:39,817 - INFO - Deleting VM ctest-TestRoutersBasic-20665058-80316628 2025-04-21 08:15:39,896 - INFO - Deleting VN ctest-ext_vn-92689818 2025-04-21 08:15:39,974 - DEBUG - VN 692b205b-fb09-489c-90ce-ea94157777e0 still in use: Unable to complete operation on network 692b205b-fb09-489c-90ce-ea94157777e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1950a1de-abdd-4d0e-a4c5-ba56c292d96d'] 2025-04-21 08:15:39,974 - WARNING - Deleting VN ctest-ext_vn-92689818 failed..Will retry 2025-04-21 08:15:42,108 - DEBUG - Response for deleting network () 2025-04-21 08:15:42,109 - INFO - Deleting VN ctest-vn-70095269 2025-04-21 08:15:42,257 - DEBUG - Response for deleting network () 2025-04-21 08:15:42,527 - DEBUG - No XMPP flaps were noticed during the test
2025-04-21 08:15:42,527 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-21 08:15:42,527 - INFO - -------------------------------------------------------------------------------- 2025-04-21 08:15:43,281 - INFO - Deleted project: ctest-TestRoutersBasic-20665058, ID : efd23d42-6a43-4fa7-8ad5-c4b1ed263a81