2024-08-22 01:07:19,316 - INFO - Domain Default found not creating 2024-08-22 01:07:19,787 - INFO - Project ctest-TestRoutersBasic-95395521 not found, creating it 2024-08-22 01:07:20,247 - INFO - Created Project:ctest-TestRoutersBasic-95395521, ID : ff2f6984-baf4-4b99-b968-ca5732964e27 2024-08-22 01:07:22,329 - INFO - ================================================================================ 2024-08-22 01:07:22,329 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-22 01:07:22,329 - 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-22 01:07:22,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.13': '0'}} with 2024-08-22 01:07:22,585 - INFO - Initial checks done. Running the testcase now 2024-08-22 01:07:22,585 - INFO - 2024-08-22 01:07:23,340 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95395521 2024-08-22 01:07:23,440 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95395521 2024-08-22 01:07:23,763 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95395521', 'default']} 2024-08-22 01:07:24,066 - DEBUG - Response for create_network : {'network': {'id': '08eea879-6738-4922-b3ba-6812dd52c464', 'name': 'ctest-vn-51635331', 'tenant_id': 'ff2f6984baf44b99b968ca5732964e27', 'project_id': 'ff2f6984baf44b99b968ca5732964e27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95395521', 'ctest-vn-51635331'], 'port_security_enabled': True, 'description': ''}} 2024-08-22 01:07:24,245 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3b3ef0e-6335-4878-b462-1bee90d50d2e', 'name': '', 'tenant_id': 'ff2f6984baf44b99b968ca5732964e27', 'network_id': '08eea879-6738-4922-b3ba-6812dd52c464', 'ip_version': 4, 'cidr': '128.44.129.64/26', 'allocation_pools': [{'start': '128.44.129.66', 'end': '128.44.129.126'}], 'gateway_ip': '128.44.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.44.129.66', 'tags': [], 'project_id': 'ff2f6984baf44b99b968ca5732964e27'}} 2024-08-22 01:07:24,264 - INFO - Created VN ctest-vn-51635331 2024-08-22 01:07:24,320 - DEBUG - VN ctest-vn-51635331 UUID is 08eea879-6738-4922-b3ba-6812dd52c464 2024-08-22 01:07:24,642 - DEBUG - Response for create_network : {'network': {'id': '019a334f-cd36-49b0-81b6-f523c08ac6cf', 'name': 'ctest-ext_vn-60881943', 'tenant_id': 'ff2f6984baf44b99b968ca5732964e27', 'project_id': 'ff2f6984baf44b99b968ca5732964e27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95395521', 'ctest-ext_vn-60881943'], 'port_security_enabled': True, 'description': ''}} 2024-08-22 01:07:24,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '37797a61-958e-4cb5-a5fa-18e15eda5367', 'name': '', 'tenant_id': 'ff2f6984baf44b99b968ca5732964e27', 'network_id': '019a334f-cd36-49b0-81b6-f523c08ac6cf', 'ip_version': 4, 'cidr': '124.117.132.192/26', 'allocation_pools': [{'start': '124.117.132.194', 'end': '124.117.132.254'}], 'gateway_ip': '124.117.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.117.132.194', 'tags': [], 'project_id': 'ff2f6984baf44b99b968ca5732964e27'}} 2024-08-22 01:07:24,870 - INFO - Created VN ctest-ext_vn-60881943 2024-08-22 01:07:24,923 - DEBUG - VN ctest-ext_vn-60881943 UUID is 019a334f-cd36-49b0-81b6-f523c08ac6cf 2024-08-22 01:07:25,088 - DEBUG - Services list from nova: [, , ] 2024-08-22 01:07:26,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1706-1) 2024-08-22 01:07:27,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1706-1) 2024-08-22 01:07:27,465 - INFO - Setting gateway for router 4253b420-d2d0-4f1d-b321-764e3b0bcd82 to network 019a334f-cd36-49b0-81b6-f523c08ac6cf 2024-08-22 01:07:27,564 - INFO - Adding interface with subnet_id b3b3ef0e-6335-4878-b462-1bee90d50d2e, port_id None to router 4253b420-d2d0-4f1d-b321-764e3b0bcd82 2024-08-22 01:07:27,992 - INFO - Waiting for VM ctest-TestRoutersBasic-95395521-11447564 to be up.. 2024-08-22 01:07:28,135 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-22 01:07:33,211 - DEBUG - VM is in ACTIVE state now 2024-08-22 01:07:33,212 - INFO - VM name : ctest-TestRoutersBasic-95395521-11447564 2024-08-22 01:07:33,287 - DEBUG - VM ctest-TestRoutersBasic-95395521-11447564 ID is 41415360-442e-4a83-ab37-cd9b74d2dfb2 2024-08-22 01:07:33,304 - DEBUG - VM ctest-TestRoutersBasic-95395521-11447564 launched on Node cn-jenkins-deploy-platform-ansible-os-1706-1 2024-08-22 01:07:33,378 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/41415360-442e-4a83-ab37-cd9b74d2dfb2 2024-08-22 01:07:33,670 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/41415360-442e-4a83-ab37-cd9b74d2dfb2 2024-08-22 01:07:33,702 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/69d532e8-5186-40be-9eba-a1cbc95fa069 2024-08-22 01:07:36,966 - 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 1027ms') 2024-08-22 01:07:36,967 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95395521-11447564 failed! 2024-08-22 01:07:37,020 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95395521:ctest-vn-51635331 is 128.44.129.65 and allocation pool is NOT set 2024-08-22 01:07:39,086 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 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.371/1.838/3.306/1.467 ms') 2024-08-22 01:07:39,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95395521-11447564 passed 2024-08-22 01:07:39,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 01:07:39,236 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95395521-11447564, IP 128.44.129.67, Port 22 2024-08-22 01:07:39,387 - DEBUG - VM ctest-TestRoutersBasic-95395521-11447564 is ready for SSH connections 2024-08-22 01:07:39,387 - INFO - Waiting for VM ctest-TestRoutersBasic-95395521-98353605 to be up.. 2024-08-22 01:07:39,461 - DEBUG - VM is in ACTIVE state now 2024-08-22 01:07:39,461 - INFO - VM name : ctest-TestRoutersBasic-95395521-98353605 2024-08-22 01:07:39,533 - DEBUG - VM ctest-TestRoutersBasic-95395521-98353605 ID is f23428fd-dd9c-4abd-8071-fe07dba9b95d 2024-08-22 01:07:39,533 - DEBUG - VM ctest-TestRoutersBasic-95395521-98353605 launched on Node cn-jenkins-deploy-platform-ansible-os-1706-1 2024-08-22 01:07:39,605 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/f23428fd-dd9c-4abd-8071-fe07dba9b95d 2024-08-22 01:07:39,614 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/c3072f8b-d703-4b8e-95a6-209a25fcaf02 2024-08-22 01:07:40,852 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.625/2.851/1.226 ms') 2024-08-22 01:07:40,852 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95395521-98353605 passed 2024-08-22 01:07:41,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 01:07:41,000 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95395521-98353605, IP 124.117.132.195, Port 22 2024-08-22 01:07:41,151 - DEBUG - VM ctest-TestRoutersBasic-95395521-98353605 is ready for SSH connections 2024-08-22 01:07:41,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 01:07:41,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.117.132.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-08-22 01:07:41,151 - DEBUG - ping -s 56 -c 3 -W 1 124.117.132.195 2024-08-22 01:07:45,111 - DEBUG - PING 124.117.132.195 (124.117.132.195): 56 data bytes 64 bytes from 124.117.132.195: seq=0 ttl=62 time=4.683 ms 64 bytes from 124.117.132.195: seq=1 ttl=62 time=0.940 ms 64 bytes from 124.117.132.195: seq=2 ttl=62 time=0.693 ms --- 124.117.132.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.693/2.105/4.683 ms 2024-08-22 01:07:45,112 - INFO - Ping to IP 124.117.132.195 from VM ctest-TestRoutersBasic-95395521-11447564 passed 2024-08-22 01:07:45,112 - INFO - Deleting interface with subnet_id b3b3ef0e-6335-4878-b462-1bee90d50d2e, port_id None from router 4253b420-d2d0-4f1d-b321-764e3b0bcd82 2024-08-22 01:07:45,303 - INFO - Deleting VM ctest-TestRoutersBasic-95395521-98353605 2024-08-22 01:07:45,375 - INFO - Deleting VM ctest-TestRoutersBasic-95395521-11447564 2024-08-22 01:07:45,450 - INFO - Deleting VN ctest-ext_vn-60881943 2024-08-22 01:07:45,521 - DEBUG - VN 019a334f-cd36-49b0-81b6-f523c08ac6cf still in use: Unable to complete operation on network 019a334f-cd36-49b0-81b6-f523c08ac6cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66823ed4-41d2-4431-9e8c-0af60635047e'] 2024-08-22 01:07:45,521 - WARNING - Deleting VN ctest-ext_vn-60881943 failed..Will retry 2024-08-22 01:07:47,631 - DEBUG - Response for deleting network () 2024-08-22 01:07:47,632 - INFO - Deleting VN ctest-vn-51635331 2024-08-22 01:07:47,745 - DEBUG - Response for deleting network () 2024-08-22 01:07:48,001 - DEBUG - No XMPP flaps were noticed during the test
2024-08-22 01:07:48,001 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-08-22 01:07:48,001 - INFO - -------------------------------------------------------------------------------- 2024-08-22 01:07:48,656 - INFO - Deleted project: ctest-TestRoutersBasic-95395521, ID : ff2f6984-baf4-4b99-b968-ca5732964e27