2025-01-07 21:03:10,556 - INFO - Domain Default found not creating
2025-01-07 21:03:10,736 - INFO - Project ctest-TestRoutersBasic-63004040 not found, creating it
2025-01-07 21:03:11,224 - INFO - Created Project:ctest-TestRoutersBasic-63004040, ID : 8bd50b5f-5ccc-4a66-856e-c95db3fe4d35
2025-01-07 21:03:12,832 - INFO - ================================================================================
2025-01-07 21:03:12,832 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-07 21:03:12,832 - 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-07 21:03:13,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.17': '0'}} with
2025-01-07 21:03:13,087 - INFO - Initial checks done. Running the testcase now
2025-01-07 21:03:13,087 - INFO -
2025-01-07 21:03:13,795 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63004040
2025-01-07 21:03:13,893 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63004040
2025-01-07 21:03:14,225 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63004040', 'default']}
2025-01-07 21:03:14,556 - DEBUG - Response for create_network : {'network': {'id': 'aea7a1af-3d9a-400f-8ee8-4a5332a357b0', 'name': 'ctest-vn-64732068', 'tenant_id': '8bd50b5f5ccc4a66856ec95db3fe4d35', 'project_id': '8bd50b5f5ccc4a66856ec95db3fe4d35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63004040', 'ctest-vn-64732068'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 21:03:14,820 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f799cde3-71cc-415f-87aa-17133588011f', 'name': '', 'tenant_id': '8bd50b5f5ccc4a66856ec95db3fe4d35', 'network_id': 'aea7a1af-3d9a-400f-8ee8-4a5332a357b0', 'ip_version': 4, 'cidr': '222.221.240.128/26', 'allocation_pools': [{'start': '222.221.240.130', 'end': '222.221.240.190'}], 'gateway_ip': '222.221.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.221.240.130', 'tags': [], 'project_id': '8bd50b5f5ccc4a66856ec95db3fe4d35'}}
2025-01-07 21:03:14,840 - INFO - Created VN ctest-vn-64732068
2025-01-07 21:03:14,897 - DEBUG - VN ctest-vn-64732068 UUID is aea7a1af-3d9a-400f-8ee8-4a5332a357b0
2025-01-07 21:03:15,251 - DEBUG - Response for create_network : {'network': {'id': '5d00f327-830c-4725-b70a-827af5a4eae5', 'name': 'ctest-ext_vn-56357900', 'tenant_id': '8bd50b5f5ccc4a66856ec95db3fe4d35', 'project_id': '8bd50b5f5ccc4a66856ec95db3fe4d35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63004040', 'ctest-ext_vn-56357900'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 21:03:15,493 - DEBUG - Response for create_subnet : {'subnet': {'id': '06be36b8-330a-4fa9-99a6-eacd38ba4611', 'name': '', 'tenant_id': '8bd50b5f5ccc4a66856ec95db3fe4d35', 'network_id': '5d00f327-830c-4725-b70a-827af5a4eae5', 'ip_version': 4, 'cidr': '118.1.102.128/26', 'allocation_pools': [{'start': '118.1.102.130', 'end': '118.1.102.190'}], 'gateway_ip': '118.1.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.1.102.130', 'tags': [], 'project_id': '8bd50b5f5ccc4a66856ec95db3fe4d35'}}
2025-01-07 21:03:15,518 - INFO - Created VN ctest-ext_vn-56357900
2025-01-07 21:03:15,577 - DEBUG - VN ctest-ext_vn-56357900 UUID is 5d00f327-830c-4725-b70a-827af5a4eae5
2025-01-07 21:03:15,759 - DEBUG - Services list from nova: [, , ]
2025-01-07 21:03:16,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2554-1)
2025-01-07 21:03:18,046 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2554-1)
2025-01-07 21:03:18,123 - INFO - Setting gateway for router 52a591e0-01e7-4f0b-b13c-383e723e2476 to network 5d00f327-830c-4725-b70a-827af5a4eae5
2025-01-07 21:03:18,192 - INFO - Adding interface with subnet_id f799cde3-71cc-415f-87aa-17133588011f, port_id None to router 52a591e0-01e7-4f0b-b13c-383e723e2476
2025-01-07 21:03:18,647 - INFO - Waiting for VM ctest-TestRoutersBasic-63004040-59651162 to be up..
2025-01-07 21:03:18,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-07 21:03:23,949 - DEBUG - VM is in ACTIVE state now
2025-01-07 21:03:23,949 - INFO - VM name : ctest-TestRoutersBasic-63004040-59651162
2025-01-07 21:03:24,026 - DEBUG - VM ctest-TestRoutersBasic-63004040-59651162 ID is fe158c33-28d7-4da8-9b9f-db1b1f7fdaf4
2025-01-07 21:03:24,044 - DEBUG - VM ctest-TestRoutersBasic-63004040-59651162 launched on Node cn-jenkins-deploy-platform-ansible-os-2554-1
2025-01-07 21:03:24,125 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/fe158c33-28d7-4da8-9b9f-db1b1f7fdaf4
2025-01-07 21:03:24,430 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/fe158c33-28d7-4da8-9b9f-db1b1f7fdaf4
2025-01-07 21:03:24,468 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/43272ac6-4869-4859-8cf9-76d42be80115
2025-01-07 21:03:27,748 - 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 1023ms')
2025-01-07 21:03:27,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63004040-59651162 failed!
2025-01-07 21:03:27,805 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63004040:ctest-vn-64732068 is 222.221.240.129 and allocation pool is NOT set
2025-01-07 21:03:29,865 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.784/3.093/1.308 ms')
2025-01-07 21:03:29,865 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63004040-59651162 passed
2025-01-07 21:03:30,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 21:03:30,025 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63004040-59651162, IP 222.221.240.131, Port 22
2025-01-07 21:03:30,181 - DEBUG - VM ctest-TestRoutersBasic-63004040-59651162 is ready for SSH connections
2025-01-07 21:03:30,181 - INFO - Waiting for VM ctest-TestRoutersBasic-63004040-51595601 to be up..
2025-01-07 21:03:30,278 - DEBUG - VM is in ACTIVE state now
2025-01-07 21:03:30,278 - INFO - VM name : ctest-TestRoutersBasic-63004040-51595601
2025-01-07 21:03:30,353 - DEBUG - VM ctest-TestRoutersBasic-63004040-51595601 ID is dec991f3-2c2a-48ca-bc45-dc6ba4a0fcf2
2025-01-07 21:03:30,353 - DEBUG - VM ctest-TestRoutersBasic-63004040-51595601 launched on Node cn-jenkins-deploy-platform-ansible-os-2554-1
2025-01-07 21:03:30,438 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/dec991f3-2c2a-48ca-bc45-dc6ba4a0fcf2
2025-01-07 21:03:30,453 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/50c42c7f-7508-49ea-af8d-5367ff6cbfad
2025-01-07 21:03:31,690 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.711/2.959/1.247 ms')
2025-01-07 21:03:31,690 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63004040-51595601 passed
2025-01-07 21:03:31,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 21:03:31,853 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63004040-51595601, IP 118.1.102.131, Port 22
2025-01-07 21:03:32,008 - DEBUG - VM ctest-TestRoutersBasic-63004040-51595601 is ready for SSH connections
2025-01-07 21:03:32,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 21:03:32,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.1.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-01-07 21:03:32,009 - DEBUG - ping -s 56 -c 3 -W 1 118.1.102.131
2025-01-07 21:03:35,702 - DEBUG - PING 118.1.102.131 (118.1.102.131): 56 data bytes
64 bytes from 118.1.102.131: seq=0 ttl=62 time=7.204 ms
64 bytes from 118.1.102.131: seq=1 ttl=62 time=1.315 ms
64 bytes from 118.1.102.131: seq=2 ttl=62 time=1.240 ms
--- 118.1.102.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.240/3.253/7.204 ms
2025-01-07 21:03:35,702 - INFO - Ping to IP 118.1.102.131 from VM ctest-TestRoutersBasic-63004040-59651162 passed
2025-01-07 21:03:35,702 - INFO - Deleting interface with subnet_id f799cde3-71cc-415f-87aa-17133588011f, port_id None from router 52a591e0-01e7-4f0b-b13c-383e723e2476
2025-01-07 21:03:35,944 - INFO - Deleting VM ctest-TestRoutersBasic-63004040-51595601
2025-01-07 21:03:36,012 - INFO - Deleting VM ctest-TestRoutersBasic-63004040-59651162
2025-01-07 21:03:36,098 - INFO - Deleting VN ctest-ext_vn-56357900
2025-01-07 21:03:36,186 - DEBUG - VN 5d00f327-830c-4725-b70a-827af5a4eae5 still in use: Unable to complete operation on network 5d00f327-830c-4725-b70a-827af5a4eae5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-93e36d83-f8cf-4d7c-adc3-395c7e16ae82']
2025-01-07 21:03:36,186 - WARNING - Deleting VN ctest-ext_vn-56357900 failed..Will retry
2025-01-07 21:03:38,312 - DEBUG - Response for deleting network ()
2025-01-07 21:03:38,312 - INFO - Deleting VN ctest-vn-64732068
2025-01-07 21:03:38,425 - DEBUG - Response for deleting network ()
2025-01-07 21:03:38,680 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 21:03:38,680 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-07 21:03:38,680 - INFO - --------------------------------------------------------------------------------
2025-01-07 21:03:39,409 - INFO - Deleted project: ctest-TestRoutersBasic-63004040, ID : 8bd50b5f-5ccc-4a66-856e-c95db3fe4d35