2024-09-13 21:44:07,948 - INFO - Domain Default found not creating 2024-09-13 21:44:08,107 - INFO - Project ctest-TestRoutersBasic-32355975 not found, creating it 2024-09-13 21:44:08,609 - INFO - Created Project:ctest-TestRoutersBasic-32355975, ID : 81f93c6d-9556-4693-aaef-a751bf13f68f 2024-09-13 21:44:10,220 - INFO - ================================================================================ 2024-09-13 21:44:10,220 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-13 21:44:10,221 - 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-13 21:44:10,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.7': '0'}} with 2024-09-13 21:44:10,479 - INFO - Initial checks done. Running the testcase now 2024-09-13 21:44:10,479 - INFO - 2024-09-13 21:44:11,211 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32355975 2024-09-13 21:44:11,313 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32355975 2024-09-13 21:44:11,662 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32355975', 'default']} 2024-09-13 21:44:11,984 - DEBUG - Response for create_network : {'network': {'id': '6c8d2060-a8c6-4bc2-8750-1694ade97e03', 'name': 'ctest-vn-51639895', 'tenant_id': '81f93c6d95564693aaefa751bf13f68f', 'project_id': '81f93c6d95564693aaefa751bf13f68f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32355975', 'ctest-vn-51639895'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 21:44:12,208 - DEBUG - Response for create_subnet : {'subnet': {'id': 'add645f7-a2d0-4b9d-bf3a-19e35af0baa0', 'name': '', 'tenant_id': '81f93c6d95564693aaefa751bf13f68f', 'network_id': '6c8d2060-a8c6-4bc2-8750-1694ade97e03', 'ip_version': 4, 'cidr': '128.241.111.128/26', 'allocation_pools': [{'start': '128.241.111.130', 'end': '128.241.111.190'}], 'gateway_ip': '128.241.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.241.111.130', 'tags': [], 'project_id': '81f93c6d95564693aaefa751bf13f68f'}} 2024-09-13 21:44:12,227 - INFO - Created VN ctest-vn-51639895 2024-09-13 21:44:12,281 - DEBUG - VN ctest-vn-51639895 UUID is 6c8d2060-a8c6-4bc2-8750-1694ade97e03 2024-09-13 21:44:12,620 - DEBUG - Response for create_network : {'network': {'id': '614a5635-95d5-4b56-80c1-40fedb0313a8', 'name': 'ctest-ext_vn-00276144', 'tenant_id': '81f93c6d95564693aaefa751bf13f68f', 'project_id': '81f93c6d95564693aaefa751bf13f68f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32355975', 'ctest-ext_vn-00276144'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 21:44:12,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef915632-e8b3-497f-83bd-c60086a039d8', 'name': '', 'tenant_id': '81f93c6d95564693aaefa751bf13f68f', 'network_id': '614a5635-95d5-4b56-80c1-40fedb0313a8', 'ip_version': 4, 'cidr': '170.5.203.64/26', 'allocation_pools': [{'start': '170.5.203.66', 'end': '170.5.203.126'}], 'gateway_ip': '170.5.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.5.203.66', 'tags': [], 'project_id': '81f93c6d95564693aaefa751bf13f68f'}} 2024-09-13 21:44:12,856 - INFO - Created VN ctest-ext_vn-00276144 2024-09-13 21:44:12,913 - DEBUG - VN ctest-ext_vn-00276144 UUID is 614a5635-95d5-4b56-80c1-40fedb0313a8 2024-09-13 21:44:13,091 - DEBUG - Services list from nova: [, , ] 2024-09-13 21:44:14,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1932-1) 2024-09-13 21:44:15,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1932-1) 2024-09-13 21:44:15,485 - INFO - Setting gateway for router c42e82f3-b114-4265-a85b-36041ccb7f60 to network 614a5635-95d5-4b56-80c1-40fedb0313a8 2024-09-13 21:44:15,547 - INFO - Adding interface with subnet_id add645f7-a2d0-4b9d-bf3a-19e35af0baa0, port_id None to router c42e82f3-b114-4265-a85b-36041ccb7f60 2024-09-13 21:44:15,942 - INFO - Waiting for VM ctest-TestRoutersBasic-32355975-98695335 to be up.. 2024-09-13 21:44:16,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 21:44:21,200 - DEBUG - VM is in ACTIVE state now 2024-09-13 21:44:21,200 - INFO - VM name : ctest-TestRoutersBasic-32355975-98695335 2024-09-13 21:44:21,274 - DEBUG - VM ctest-TestRoutersBasic-32355975-98695335 ID is 26894fae-150f-4b2c-a990-4a8b43c937de 2024-09-13 21:44:21,292 - DEBUG - VM ctest-TestRoutersBasic-32355975-98695335 launched on Node cn-jenkins-deploy-platform-ansible-os-1932-1 2024-09-13 21:44:21,370 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/26894fae-150f-4b2c-a990-4a8b43c937de 2024-09-13 21:44:21,670 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/26894fae-150f-4b2c-a990-4a8b43c937de 2024-09-13 21:44:21,720 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/2a7a9ffb-1ce9-4ca6-9abe-a6710a2ef44b 2024-09-13 21:44:24,991 - 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 1009ms') 2024-09-13 21:44:24,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32355975-98695335 failed! 2024-09-13 21:44:25,053 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32355975:ctest-vn-51639895 is 128.241.111.129 and allocation pool is NOT set 2024-09-13 21:44:27,114 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 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.577/1.703/2.830/1.126 ms') 2024-09-13 21:44:27,114 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32355975-98695335 passed 2024-09-13 21:44:27,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:44:27,273 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32355975-98695335, IP 128.241.111.131, Port 22 2024-09-13 21:44:27,428 - DEBUG - VM ctest-TestRoutersBasic-32355975-98695335 is ready for SSH connections 2024-09-13 21:44:27,428 - INFO - Waiting for VM ctest-TestRoutersBasic-32355975-79317139 to be up.. 2024-09-13 21:44:27,507 - DEBUG - VM is in ACTIVE state now 2024-09-13 21:44:27,507 - INFO - VM name : ctest-TestRoutersBasic-32355975-79317139 2024-09-13 21:44:27,591 - DEBUG - VM ctest-TestRoutersBasic-32355975-79317139 ID is 2ec06bae-4829-458e-9cce-05803b194c55 2024-09-13 21:44:27,591 - DEBUG - VM ctest-TestRoutersBasic-32355975-79317139 launched on Node cn-jenkins-deploy-platform-ansible-os-1932-1 2024-09-13 21:44:27,666 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/2ec06bae-4829-458e-9cce-05803b194c55 2024-09-13 21:44:27,677 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/ce0fe7d8-300a-496e-b000-b95dc76e88c1 2024-09-13 21:44:28,933 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.593/2.759/1.165 ms') 2024-09-13 21:44:28,934 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32355975-79317139 passed 2024-09-13 21:44:29,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:44:29,089 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32355975-79317139, IP 170.5.203.67, Port 22 2024-09-13 21:44:29,246 - DEBUG - VM ctest-TestRoutersBasic-32355975-79317139 is ready for SSH connections 2024-09-13 21:44:29,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:44:29,246 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.5.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-13 21:44:29,246 - DEBUG - ping -s 56 -c 3 -W 1 170.5.203.67 2024-09-13 21:44:32,949 - DEBUG - PING 170.5.203.67 (170.5.203.67): 56 data bytes 64 bytes from 170.5.203.67: seq=0 ttl=62 time=6.673 ms 64 bytes from 170.5.203.67: seq=1 ttl=62 time=0.854 ms 64 bytes from 170.5.203.67: seq=2 ttl=62 time=1.004 ms --- 170.5.203.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/2.843/6.673 ms 2024-09-13 21:44:32,949 - INFO - Ping to IP 170.5.203.67 from VM ctest-TestRoutersBasic-32355975-98695335 passed 2024-09-13 21:44:32,949 - INFO - Deleting interface with subnet_id add645f7-a2d0-4b9d-bf3a-19e35af0baa0, port_id None from router c42e82f3-b114-4265-a85b-36041ccb7f60 2024-09-13 21:44:33,342 - INFO - Deleting VM ctest-TestRoutersBasic-32355975-79317139 2024-09-13 21:44:33,438 - INFO - Deleting VM ctest-TestRoutersBasic-32355975-98695335 2024-09-13 21:44:33,534 - INFO - Deleting VN ctest-ext_vn-00276144 2024-09-13 21:44:33,615 - DEBUG - VN 614a5635-95d5-4b56-80c1-40fedb0313a8 still in use: Unable to complete operation on network 614a5635-95d5-4b56-80c1-40fedb0313a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed3254a0-bd18-4ed2-b4d3-140f07b4c79f'] 2024-09-13 21:44:33,615 - WARNING - Deleting VN ctest-ext_vn-00276144 failed..Will retry 2024-09-13 21:44:35,735 - DEBUG - Response for deleting network () 2024-09-13 21:44:35,735 - INFO - Deleting VN ctest-vn-51639895 2024-09-13 21:44:35,862 - DEBUG - Response for deleting network () 2024-09-13 21:44:36,120 - DEBUG - No XMPP flaps were noticed during the test
2024-09-13 21:44:36,120 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-13 21:44:36,120 - INFO - -------------------------------------------------------------------------------- 2024-09-13 21:44:36,833 - INFO - Deleted project: ctest-TestRoutersBasic-32355975, ID : 81f93c6d-9556-4693-aaef-a751bf13f68f