2025-01-14 20:41:41,859 - INFO - Domain Default found not creating 2025-01-14 20:41:42,016 - INFO - Project ctest-TestRoutersBasic-38492912 not found, creating it 2025-01-14 20:41:42,479 - INFO - Created Project:ctest-TestRoutersBasic-38492912, ID : 7ea972d1-c242-433b-864e-16e7d8bcbf0c 2025-01-14 20:41:43,904 - INFO - ================================================================================ 2025-01-14 20:41:43,904 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-14 20:41:43,905 - 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-01-14 20:41:44,161 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.7': '0'}} with 2025-01-14 20:41:44,161 - INFO - Initial checks done. Running the testcase now 2025-01-14 20:41:44,161 - INFO - 2025-01-14 20:41:44,876 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38492912 2025-01-14 20:41:44,980 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38492912 2025-01-14 20:41:45,319 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38492912', 'default']} 2025-01-14 20:41:45,647 - DEBUG - Response for create_network : {'network': {'id': '599dde2e-bacb-404b-a00b-0cf20781def1', 'name': 'ctest-vn-55360745', 'tenant_id': '7ea972d1c242433b864e16e7d8bcbf0c', 'project_id': '7ea972d1c242433b864e16e7d8bcbf0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38492912', 'ctest-vn-55360745'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 20:41:45,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d18e9eb-cfbe-48f2-8254-0fcb6a45b0bb', 'name': '', 'tenant_id': '7ea972d1c242433b864e16e7d8bcbf0c', 'network_id': '599dde2e-bacb-404b-a00b-0cf20781def1', 'ip_version': 4, 'cidr': '169.124.138.0/26', 'allocation_pools': [{'start': '169.124.138.2', 'end': '169.124.138.62'}], 'gateway_ip': '169.124.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.124.138.2', 'tags': [], 'project_id': '7ea972d1c242433b864e16e7d8bcbf0c'}} 2025-01-14 20:41:45,880 - INFO - Created VN ctest-vn-55360745 2025-01-14 20:41:45,931 - DEBUG - VN ctest-vn-55360745 UUID is 599dde2e-bacb-404b-a00b-0cf20781def1 2025-01-14 20:41:46,274 - DEBUG - Response for create_network : {'network': {'id': '29113fce-4f36-47a5-a7fe-429faa5dd704', 'name': 'ctest-ext_vn-56440957', 'tenant_id': '7ea972d1c242433b864e16e7d8bcbf0c', 'project_id': '7ea972d1c242433b864e16e7d8bcbf0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38492912', 'ctest-ext_vn-56440957'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 20:41:46,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d56fae8-12b8-4a00-a157-00f4cc3ac8df', 'name': '', 'tenant_id': '7ea972d1c242433b864e16e7d8bcbf0c', 'network_id': '29113fce-4f36-47a5-a7fe-429faa5dd704', 'ip_version': 4, 'cidr': '99.231.128.192/26', 'allocation_pools': [{'start': '99.231.128.194', 'end': '99.231.128.254'}], 'gateway_ip': '99.231.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.231.128.194', 'tags': [], 'project_id': '7ea972d1c242433b864e16e7d8bcbf0c'}} 2025-01-14 20:41:46,457 - INFO - Created VN ctest-ext_vn-56440957 2025-01-14 20:41:46,511 - DEBUG - VN ctest-ext_vn-56440957 UUID is 29113fce-4f36-47a5-a7fe-429faa5dd704 2025-01-14 20:41:46,681 - DEBUG - Services list from nova: [, , ] 2025-01-14 20:41:47,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2630-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2630-1) 2025-01-14 20:41:48,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2630-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2630-1) 2025-01-14 20:41:49,005 - INFO - Setting gateway for router 6a622531-cf56-411b-9870-564d034dd319 to network 29113fce-4f36-47a5-a7fe-429faa5dd704 2025-01-14 20:41:49,099 - INFO - Adding interface with subnet_id 0d18e9eb-cfbe-48f2-8254-0fcb6a45b0bb, port_id None to router 6a622531-cf56-411b-9870-564d034dd319 2025-01-14 20:41:49,547 - INFO - Waiting for VM ctest-TestRoutersBasic-38492912-74078016 to be up.. 2025-01-14 20:41:49,721 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 20:41:54,801 - DEBUG - VM is in ACTIVE state now 2025-01-14 20:41:54,802 - INFO - VM name : ctest-TestRoutersBasic-38492912-74078016 2025-01-14 20:41:54,874 - DEBUG - VM ctest-TestRoutersBasic-38492912-74078016 ID is 46712ea3-2ba9-4f93-a567-b5fd3ea1db61 2025-01-14 20:41:54,892 - DEBUG - VM ctest-TestRoutersBasic-38492912-74078016 launched on Node cn-jenkins-deploy-platform-ansible-os-2630-1 2025-01-14 20:41:54,975 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/46712ea3-2ba9-4f93-a567-b5fd3ea1db61 2025-01-14 20:41:55,272 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/46712ea3-2ba9-4f93-a567-b5fd3ea1db61 2025-01-14 20:41:55,306 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a5071dea-e178-4c27-bc7e-506a0f5d9375 2025-01-14 20:41:58,587 - 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 1024ms') 2025-01-14 20:41:58,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38492912-74078016 failed! 2025-01-14 20:41:58,651 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38492912:ctest-vn-55360745 is 169.124.138.1 and allocation pool is NOT set 2025-01-14 20:42:00,713 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/2.067/3.725/1.657 ms') 2025-01-14 20:42:00,713 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38492912-74078016 passed 2025-01-14 20:42:00,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 20:42:00,875 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38492912-74078016, IP 169.124.138.3, Port 22 2025-01-14 20:42:01,035 - DEBUG - VM ctest-TestRoutersBasic-38492912-74078016 is ready for SSH connections 2025-01-14 20:42:01,035 - INFO - Waiting for VM ctest-TestRoutersBasic-38492912-04122802 to be up.. 2025-01-14 20:42:01,120 - DEBUG - VM is in ACTIVE state now 2025-01-14 20:42:01,120 - INFO - VM name : ctest-TestRoutersBasic-38492912-04122802 2025-01-14 20:42:01,199 - DEBUG - VM ctest-TestRoutersBasic-38492912-04122802 ID is 92fad14d-ecbc-42a0-8de6-2b9ca8a66eac 2025-01-14 20:42:01,199 - DEBUG - VM ctest-TestRoutersBasic-38492912-04122802 launched on Node cn-jenkins-deploy-platform-ansible-os-2630-1 2025-01-14 20:42:01,289 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/92fad14d-ecbc-42a0-8de6-2b9ca8a66eac 2025-01-14 20:42:01,299 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cbc8b921-855c-4f06-bf3e-141be34ce9ae 2025-01-14 20:42:02,544 - 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=4.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.821 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.821/2.434/4.048/1.613 ms') 2025-01-14 20:42:02,544 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38492912-04122802 passed 2025-01-14 20:42:02,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 20:42:02,699 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38492912-04122802, IP 99.231.128.195, Port 22 2025-01-14 20:42:02,855 - DEBUG - VM ctest-TestRoutersBasic-38492912-04122802 is ready for SSH connections 2025-01-14 20:42:02,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 20:42:02,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.231.128.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-14 20:42:02,856 - DEBUG - ping -s 56 -c 3 -W 1 99.231.128.195 2025-01-14 20:42:06,560 - DEBUG - PING 99.231.128.195 (99.231.128.195): 56 data bytes 64 bytes from 99.231.128.195: seq=0 ttl=62 time=5.110 ms 64 bytes from 99.231.128.195: seq=1 ttl=62 time=0.879 ms 64 bytes from 99.231.128.195: seq=2 ttl=62 time=1.244 ms --- 99.231.128.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/2.411/5.110 ms 2025-01-14 20:42:06,560 - INFO - Ping to IP 99.231.128.195 from VM ctest-TestRoutersBasic-38492912-74078016 passed 2025-01-14 20:42:06,560 - INFO - Deleting interface with subnet_id 0d18e9eb-cfbe-48f2-8254-0fcb6a45b0bb, port_id None from router 6a622531-cf56-411b-9870-564d034dd319 2025-01-14 20:42:06,829 - INFO - Deleting VM ctest-TestRoutersBasic-38492912-04122802 2025-01-14 20:42:06,898 - INFO - Deleting VM ctest-TestRoutersBasic-38492912-74078016 2025-01-14 20:42:06,984 - INFO - Deleting VN ctest-ext_vn-56440957 2025-01-14 20:42:07,056 - DEBUG - VN 29113fce-4f36-47a5-a7fe-429faa5dd704 still in use: Unable to complete operation on network 29113fce-4f36-47a5-a7fe-429faa5dd704. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ae08373-ab41-479a-81bc-7fc0273df165'] 2025-01-14 20:42:07,056 - WARNING - Deleting VN ctest-ext_vn-56440957 failed..Will retry 2025-01-14 20:42:09,184 - DEBUG - Response for deleting network () 2025-01-14 20:42:09,184 - INFO - Deleting VN ctest-vn-55360745 2025-01-14 20:42:09,295 - DEBUG - Response for deleting network () 2025-01-14 20:42:09,557 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 20:42:09,558 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-14 20:42:09,558 - INFO - -------------------------------------------------------------------------------- 2025-01-14 20:42:10,240 - INFO - Deleted project: ctest-TestRoutersBasic-38492912, ID : 7ea972d1-c242-433b-864e-16e7d8bcbf0c