2024-09-12 12:28:28,344 - INFO - Domain Default found not creating 2024-09-12 12:28:28,510 - INFO - Project ctest-TestRoutersBasic-18765962 not found, creating it 2024-09-12 12:28:28,994 - INFO - Created Project:ctest-TestRoutersBasic-18765962, ID : 968e8f8c-a609-472d-aa87-7715e2b06ecd 2024-09-12 12:28:30,556 - INFO - ================================================================================ 2024-09-12 12:28:30,557 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-12 12:28:30,557 - 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-12 12:28:30,816 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.12': '0'}} with 2024-09-12 12:28:30,816 - INFO - Initial checks done. Running the testcase now 2024-09-12 12:28:30,817 - INFO - 2024-09-12 12:28:31,557 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18765962 2024-09-12 12:28:31,661 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18765962 2024-09-12 12:28:31,997 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18765962', 'default']} 2024-09-12 12:28:32,326 - DEBUG - Response for create_network : {'network': {'id': 'aa001a48-6f28-408a-9c0f-8c042ccb5156', 'name': 'ctest-vn-06181196', 'tenant_id': '968e8f8ca609472daa877715e2b06ecd', 'project_id': '968e8f8ca609472daa877715e2b06ecd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18765962', 'ctest-vn-06181196'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 12:28:32,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '7576c1cf-a5a9-41a4-8c6e-f9a4eaf464c4', 'name': '', 'tenant_id': '968e8f8ca609472daa877715e2b06ecd', 'network_id': 'aa001a48-6f28-408a-9c0f-8c042ccb5156', 'ip_version': 4, 'cidr': '42.138.9.64/26', 'allocation_pools': [{'start': '42.138.9.66', 'end': '42.138.9.126'}], 'gateway_ip': '42.138.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.138.9.66', 'tags': [], 'project_id': '968e8f8ca609472daa877715e2b06ecd'}} 2024-09-12 12:28:32,503 - INFO - Created VN ctest-vn-06181196 2024-09-12 12:28:32,561 - DEBUG - VN ctest-vn-06181196 UUID is aa001a48-6f28-408a-9c0f-8c042ccb5156 2024-09-12 12:28:32,911 - DEBUG - Response for create_network : {'network': {'id': '2a32fa48-ce1d-4e6a-b99a-646b12be6e95', 'name': 'ctest-ext_vn-14644094', 'tenant_id': '968e8f8ca609472daa877715e2b06ecd', 'project_id': '968e8f8ca609472daa877715e2b06ecd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18765962', 'ctest-ext_vn-14644094'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 12:28:33,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '6170ca2f-05c6-45a3-9dfd-abf26a885f9e', 'name': '', 'tenant_id': '968e8f8ca609472daa877715e2b06ecd', 'network_id': '2a32fa48-ce1d-4e6a-b99a-646b12be6e95', 'ip_version': 4, 'cidr': '35.147.157.128/26', 'allocation_pools': [{'start': '35.147.157.130', 'end': '35.147.157.190'}], 'gateway_ip': '35.147.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.147.157.130', 'tags': [], 'project_id': '968e8f8ca609472daa877715e2b06ecd'}} 2024-09-12 12:28:33,123 - INFO - Created VN ctest-ext_vn-14644094 2024-09-12 12:28:33,185 - DEBUG - VN ctest-ext_vn-14644094 UUID is 2a32fa48-ce1d-4e6a-b99a-646b12be6e95 2024-09-12 12:28:33,353 - DEBUG - Services list from nova: [, , ] 2024-09-12 12:28:34,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1907-1) 2024-09-12 12:28:35,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1907-1) 2024-09-12 12:28:35,766 - INFO - Setting gateway for router 4395d11f-a99d-41fb-8b83-b22fcef79755 to network 2a32fa48-ce1d-4e6a-b99a-646b12be6e95 2024-09-12 12:28:35,905 - INFO - Adding interface with subnet_id 7576c1cf-a5a9-41a4-8c6e-f9a4eaf464c4, port_id None to router 4395d11f-a99d-41fb-8b83-b22fcef79755 2024-09-12 12:28:36,300 - INFO - Waiting for VM ctest-TestRoutersBasic-18765962-04203608 to be up.. 2024-09-12 12:28:36,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 12:28:41,558 - DEBUG - VM is in ACTIVE state now 2024-09-12 12:28:41,559 - INFO - VM name : ctest-TestRoutersBasic-18765962-04203608 2024-09-12 12:28:41,646 - DEBUG - VM ctest-TestRoutersBasic-18765962-04203608 ID is 89a4619e-acc1-4c18-9ac4-0a44aac0166a 2024-09-12 12:28:41,663 - DEBUG - VM ctest-TestRoutersBasic-18765962-04203608 launched on Node cn-jenkins-deploy-platform-ansible-os-1907-1 2024-09-12 12:28:41,805 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/89a4619e-acc1-4c18-9ac4-0a44aac0166a 2024-09-12 12:28:42,100 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/89a4619e-acc1-4c18-9ac4-0a44aac0166a 2024-09-12 12:28:42,133 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/8daa9d60-307f-4bca-950e-557dba0041ed 2024-09-12 12:28:45,390 - 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 1007ms') 2024-09-12 12:28:45,390 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18765962-04203608 failed! 2024-09-12 12:28:45,453 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18765962:ctest-vn-06181196 is 42.138.9.65 and allocation pool is NOT set 2024-09-12 12:28:47,516 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.503 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.503/1.620/2.737/1.117 ms') 2024-09-12 12:28:47,516 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18765962-04203608 passed 2024-09-12 12:28:47,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:28:47,673 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18765962-04203608, IP 42.138.9.67, Port 22 2024-09-12 12:28:47,828 - DEBUG - VM ctest-TestRoutersBasic-18765962-04203608 is ready for SSH connections 2024-09-12 12:28:47,829 - INFO - Waiting for VM ctest-TestRoutersBasic-18765962-55084150 to be up.. 2024-09-12 12:28:47,929 - DEBUG - VM is in ACTIVE state now 2024-09-12 12:28:47,929 - INFO - VM name : ctest-TestRoutersBasic-18765962-55084150 2024-09-12 12:28:48,021 - DEBUG - VM ctest-TestRoutersBasic-18765962-55084150 ID is 04a8e57a-62c2-4571-a25b-374cd38ae568 2024-09-12 12:28:48,021 - DEBUG - VM ctest-TestRoutersBasic-18765962-55084150 launched on Node cn-jenkins-deploy-platform-ansible-os-1907-1 2024-09-12 12:28:48,105 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/04a8e57a-62c2-4571-a25b-374cd38ae568 2024-09-12 12:28:48,115 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/b6cca0c8-da6f-4d04-9410-9fa3ea37bdc6 2024-09-12 12:28:49,365 - 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=3.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/2.045/3.675/1.629 ms') 2024-09-12 12:28:49,365 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18765962-55084150 passed 2024-09-12 12:28:49,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:28:49,521 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18765962-55084150, IP 35.147.157.131, Port 22 2024-09-12 12:28:49,672 - DEBUG - VM ctest-TestRoutersBasic-18765962-55084150 is ready for SSH connections 2024-09-12 12:28:49,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 12:28:49,673 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.147.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-12 12:28:49,673 - DEBUG - ping -s 56 -c 3 -W 1 35.147.157.131 2024-09-12 12:28:53,355 - DEBUG - PING 35.147.157.131 (35.147.157.131): 56 data bytes 64 bytes from 35.147.157.131: seq=0 ttl=62 time=5.778 ms 64 bytes from 35.147.157.131: seq=1 ttl=62 time=0.966 ms 64 bytes from 35.147.157.131: seq=2 ttl=62 time=0.821 ms --- 35.147.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/2.521/5.778 ms 2024-09-12 12:28:53,355 - INFO - Ping to IP 35.147.157.131 from VM ctest-TestRoutersBasic-18765962-04203608 passed 2024-09-12 12:28:53,355 - INFO - Deleting interface with subnet_id 7576c1cf-a5a9-41a4-8c6e-f9a4eaf464c4, port_id None from router 4395d11f-a99d-41fb-8b83-b22fcef79755 2024-09-12 12:28:53,579 - INFO - Deleting VM ctest-TestRoutersBasic-18765962-55084150 2024-09-12 12:28:53,649 - INFO - Deleting VM ctest-TestRoutersBasic-18765962-04203608 2024-09-12 12:28:53,745 - INFO - Deleting VN ctest-ext_vn-14644094 2024-09-12 12:28:53,811 - DEBUG - VN 2a32fa48-ce1d-4e6a-b99a-646b12be6e95 still in use: Unable to complete operation on network 2a32fa48-ce1d-4e6a-b99a-646b12be6e95. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9698e7b-d226-4644-8a8f-406f46ecff82'] 2024-09-12 12:28:53,811 - WARNING - Deleting VN ctest-ext_vn-14644094 failed..Will retry 2024-09-12 12:28:55,928 - DEBUG - Response for deleting network () 2024-09-12 12:28:55,929 - INFO - Deleting VN ctest-vn-06181196 2024-09-12 12:28:56,035 - DEBUG - Response for deleting network () 2024-09-12 12:28:56,290 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 12:28:56,290 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-12 12:28:56,290 - INFO - -------------------------------------------------------------------------------- 2024-09-12 12:28:57,016 - INFO - Deleted project: ctest-TestRoutersBasic-18765962, ID : 968e8f8c-a609-472d-aa87-7715e2b06ecd