2024-08-30 06:23:41,681 - INFO - Domain Default found not creating 2024-08-30 06:23:41,851 - INFO - Project ctest-TestRoutersBasic-06570856 not found, creating it 2024-08-30 06:23:42,362 - INFO - Created Project:ctest-TestRoutersBasic-06570856, ID : b5d91fca-32ad-4f1e-90d8-c176939136d2 2024-08-30 06:23:44,151 - INFO - ================================================================================ 2024-08-30 06:23:44,151 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-30 06:23:44,151 - 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-30 06:23:44,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.18': '0'}} with 2024-08-30 06:23:44,418 - INFO - Initial checks done. Running the testcase now 2024-08-30 06:23:44,418 - INFO - 2024-08-30 06:23:45,267 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06570856 2024-08-30 06:23:45,364 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06570856 2024-08-30 06:23:45,698 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06570856', 'default']} 2024-08-30 06:23:46,012 - DEBUG - Response for create_network : {'network': {'id': 'd3dc23d5-fba0-4847-8dfa-7ac0c4f6b674', 'name': 'ctest-vn-74026481', 'tenant_id': 'b5d91fca32ad4f1e90d8c176939136d2', 'project_id': 'b5d91fca32ad4f1e90d8c176939136d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06570856', 'ctest-vn-74026481'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 06:23:46,213 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fbf6490-00b0-4847-b01d-285211b6928f', 'name': '', 'tenant_id': 'b5d91fca32ad4f1e90d8c176939136d2', 'network_id': 'd3dc23d5-fba0-4847-8dfa-7ac0c4f6b674', 'ip_version': 4, 'cidr': '216.18.97.128/26', 'allocation_pools': [{'start': '216.18.97.130', 'end': '216.18.97.190'}], 'gateway_ip': '216.18.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.18.97.130', 'tags': [], 'project_id': 'b5d91fca32ad4f1e90d8c176939136d2'}} 2024-08-30 06:23:46,230 - INFO - Created VN ctest-vn-74026481 2024-08-30 06:23:46,280 - DEBUG - VN ctest-vn-74026481 UUID is d3dc23d5-fba0-4847-8dfa-7ac0c4f6b674 2024-08-30 06:23:46,622 - DEBUG - Response for create_network : {'network': {'id': 'caf50720-fdd2-425d-af5a-42786175726b', 'name': 'ctest-ext_vn-21833739', 'tenant_id': 'b5d91fca32ad4f1e90d8c176939136d2', 'project_id': 'b5d91fca32ad4f1e90d8c176939136d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06570856', 'ctest-ext_vn-21833739'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 06:23:46,805 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7e7a6c8-a57c-448f-b391-fd8be518879d', 'name': '', 'tenant_id': 'b5d91fca32ad4f1e90d8c176939136d2', 'network_id': 'caf50720-fdd2-425d-af5a-42786175726b', 'ip_version': 4, 'cidr': '123.247.21.192/26', 'allocation_pools': [{'start': '123.247.21.194', 'end': '123.247.21.254'}], 'gateway_ip': '123.247.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.247.21.194', 'tags': [], 'project_id': 'b5d91fca32ad4f1e90d8c176939136d2'}} 2024-08-30 06:23:46,834 - INFO - Created VN ctest-ext_vn-21833739 2024-08-30 06:23:46,900 - DEBUG - VN ctest-ext_vn-21833739 UUID is caf50720-fdd2-425d-af5a-42786175726b 2024-08-30 06:23:47,070 - DEBUG - Services list from nova: [, , ] 2024-08-30 06:23:48,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1821-1) 2024-08-30 06:23:50,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1821-1) 2024-08-30 06:23:50,146 - INFO - Setting gateway for router 6af06a99-5b56-4805-83b8-02e3bafef263 to network caf50720-fdd2-425d-af5a-42786175726b 2024-08-30 06:23:50,255 - INFO - Adding interface with subnet_id 4fbf6490-00b0-4847-b01d-285211b6928f, port_id None to router 6af06a99-5b56-4805-83b8-02e3bafef263 2024-08-30 06:23:50,715 - INFO - Waiting for VM ctest-TestRoutersBasic-06570856-32323415 to be up.. 2024-08-30 06:23:50,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-30 06:23:56,029 - DEBUG - VM is in ACTIVE state now 2024-08-30 06:23:56,029 - INFO - VM name : ctest-TestRoutersBasic-06570856-32323415 2024-08-30 06:23:56,104 - DEBUG - VM ctest-TestRoutersBasic-06570856-32323415 ID is bd2328a6-cbbd-480d-9d86-f6707067ae16 2024-08-30 06:23:56,121 - DEBUG - VM ctest-TestRoutersBasic-06570856-32323415 launched on Node cn-jenkins-deploy-platform-ansible-os-1821-1 2024-08-30 06:23:56,206 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/bd2328a6-cbbd-480d-9d86-f6707067ae16 2024-08-30 06:23:56,626 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/bd2328a6-cbbd-480d-9d86-f6707067ae16 2024-08-30 06:23:56,661 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/fc4a06b3-50e6-4a54-88de-4db8d0741132 2024-08-30 06:23:59,965 - 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') 2024-08-30 06:23:59,965 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06570856-32323415 failed! 2024-08-30 06:24:00,048 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06570856:ctest-vn-74026481 is 216.18.97.129 and allocation pool is NOT set 2024-08-30 06:24:02,118 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/1.733/3.068/1.334 ms') 2024-08-30 06:24:02,118 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06570856-32323415 passed 2024-08-30 06:24:02,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 06:24:02,268 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06570856-32323415, IP 216.18.97.131, Port 22 2024-08-30 06:24:02,433 - DEBUG - VM ctest-TestRoutersBasic-06570856-32323415 is ready for SSH connections 2024-08-30 06:24:02,433 - INFO - Waiting for VM ctest-TestRoutersBasic-06570856-05616464 to be up.. 2024-08-30 06:24:02,529 - DEBUG - VM is in ACTIVE state now 2024-08-30 06:24:02,529 - INFO - VM name : ctest-TestRoutersBasic-06570856-05616464 2024-08-30 06:24:02,648 - DEBUG - VM ctest-TestRoutersBasic-06570856-05616464 ID is ef68018e-383f-48ea-bd22-397da64191a7 2024-08-30 06:24:02,648 - DEBUG - VM ctest-TestRoutersBasic-06570856-05616464 launched on Node cn-jenkins-deploy-platform-ansible-os-1821-1 2024-08-30 06:24:02,732 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/ef68018e-383f-48ea-bd22-397da64191a7 2024-08-30 06:24:02,742 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/87b5a4ba-80c7-403a-b183-36e008085093 2024-08-30 06:24:04,001 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.540/2.703/1.162 ms') 2024-08-30 06:24:04,001 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06570856-05616464 passed 2024-08-30 06:24:04,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 06:24:04,164 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06570856-05616464, IP 123.247.21.195, Port 22 2024-08-30 06:24:04,404 - DEBUG - VM ctest-TestRoutersBasic-06570856-05616464 is ready for SSH connections 2024-08-30 06:24:04,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 06:24:04,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.247.21.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2024-08-30 06:24:04,404 - DEBUG - ping -s 56 -c 3 -W 1 123.247.21.195 2024-08-30 06:24:08,108 - DEBUG - PING 123.247.21.195 (123.247.21.195): 56 data bytes 64 bytes from 123.247.21.195: seq=0 ttl=62 time=6.121 ms 64 bytes from 123.247.21.195: seq=1 ttl=62 time=0.838 ms 64 bytes from 123.247.21.195: seq=2 ttl=62 time=1.111 ms --- 123.247.21.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/2.690/6.121 ms 2024-08-30 06:24:08,108 - INFO - Ping to IP 123.247.21.195 from VM ctest-TestRoutersBasic-06570856-32323415 passed 2024-08-30 06:24:08,108 - INFO - Deleting interface with subnet_id 4fbf6490-00b0-4847-b01d-285211b6928f, port_id None from router 6af06a99-5b56-4805-83b8-02e3bafef263 2024-08-30 06:24:08,352 - INFO - Deleting VM ctest-TestRoutersBasic-06570856-05616464 2024-08-30 06:24:08,441 - INFO - Deleting VM ctest-TestRoutersBasic-06570856-32323415 2024-08-30 06:24:08,528 - INFO - Deleting VN ctest-ext_vn-21833739 2024-08-30 06:24:08,598 - DEBUG - VN caf50720-fdd2-425d-af5a-42786175726b still in use: Unable to complete operation on network caf50720-fdd2-425d-af5a-42786175726b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2807c7b8-5226-4366-865b-ca6d64d0542f'] 2024-08-30 06:24:08,598 - WARNING - Deleting VN ctest-ext_vn-21833739 failed..Will retry 2024-08-30 06:24:10,704 - DEBUG - Response for deleting network () 2024-08-30 06:24:10,705 - INFO - Deleting VN ctest-vn-74026481 2024-08-30 06:24:10,815 - DEBUG - Response for deleting network () 2024-08-30 06:24:11,070 - DEBUG - No XMPP flaps were noticed during the test
2024-08-30 06:24:11,070 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-08-30 06:24:11,071 - INFO - -------------------------------------------------------------------------------- 2024-08-30 06:24:11,890 - INFO - Deleted project: ctest-TestRoutersBasic-06570856, ID : b5d91fca-32ad-4f1e-90d8-c176939136d2