2025-04-22 15:45:43,575 - INFO - Domain Default found not creating 2025-04-22 15:45:43,717 - INFO - Project ctest-TestRoutersBasic-67153483 not found, creating it 2025-04-22 15:45:44,183 - INFO - Created Project:ctest-TestRoutersBasic-67153483, ID : 1c5d493f-c2c2-41b7-b9a6-910f41ff1da3 2025-04-22 15:45:45,575 - INFO - ================================================================================ 2025-04-22 15:45:45,575 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-22 15:45:45,575 - 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-04-22 15:45:45,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-22 15:45:45,838 - INFO - Initial checks done. Running the testcase now 2025-04-22 15:45:45,838 - INFO - 2025-04-22 15:45:46,532 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67153483 2025-04-22 15:45:46,632 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67153483 2025-04-22 15:45:46,964 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67153483', 'default']} 2025-04-22 15:45:47,273 - DEBUG - Response for create_network : {'network': {'id': '19813c8e-2ef5-499b-8681-03df6e540abf', 'name': 'ctest-vn-76844214', 'tenant_id': '1c5d493fc2c241b7b9a6910f41ff1da3', 'project_id': '1c5d493fc2c241b7b9a6910f41ff1da3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67153483', 'ctest-vn-76844214'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 15:45:47,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bb26179-63d8-4d69-a337-a43449156a69', 'name': '', 'tenant_id': '1c5d493fc2c241b7b9a6910f41ff1da3', 'network_id': '19813c8e-2ef5-499b-8681-03df6e540abf', 'ip_version': 4, 'cidr': '143.32.154.128/26', 'allocation_pools': [{'start': '143.32.154.130', 'end': '143.32.154.190'}], 'gateway_ip': '143.32.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.32.154.130', 'tags': [], 'project_id': '1c5d493fc2c241b7b9a6910f41ff1da3'}} 2025-04-22 15:45:47,449 - INFO - Created VN ctest-vn-76844214 2025-04-22 15:45:47,500 - DEBUG - VN ctest-vn-76844214 UUID is 19813c8e-2ef5-499b-8681-03df6e540abf 2025-04-22 15:45:47,847 - DEBUG - Response for create_network : {'network': {'id': 'effc1d6f-953c-4b6e-9971-3ed00d04c7b3', 'name': 'ctest-ext_vn-04805984', 'tenant_id': '1c5d493fc2c241b7b9a6910f41ff1da3', 'project_id': '1c5d493fc2c241b7b9a6910f41ff1da3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67153483', 'ctest-ext_vn-04805984'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 15:45:48,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '6770e8af-4ecd-4fa2-a219-9747ee7d6900', 'name': '', 'tenant_id': '1c5d493fc2c241b7b9a6910f41ff1da3', 'network_id': 'effc1d6f-953c-4b6e-9971-3ed00d04c7b3', 'ip_version': 4, 'cidr': '122.228.69.192/26', 'allocation_pools': [{'start': '122.228.69.194', 'end': '122.228.69.254'}], 'gateway_ip': '122.228.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.228.69.194', 'tags': [], 'project_id': '1c5d493fc2c241b7b9a6910f41ff1da3'}} 2025-04-22 15:45:48,052 - INFO - Created VN ctest-ext_vn-04805984 2025-04-22 15:45:48,104 - DEBUG - VN ctest-ext_vn-04805984 UUID is effc1d6f-953c-4b6e-9971-3ed00d04c7b3 2025-04-22 15:45:48,297 - DEBUG - Services list from nova: [, , ] 2025-04-22 15:45:49,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3166-1) 2025-04-22 15:45:50,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3166-1) 2025-04-22 15:45:50,427 - INFO - Setting gateway for router 62eec7bf-3336-4ca8-b0f1-9d5dec67f096 to network effc1d6f-953c-4b6e-9971-3ed00d04c7b3 2025-04-22 15:45:50,488 - INFO - Adding interface with subnet_id 0bb26179-63d8-4d69-a337-a43449156a69, port_id None to router 62eec7bf-3336-4ca8-b0f1-9d5dec67f096 2025-04-22 15:45:50,820 - INFO - Waiting for VM ctest-TestRoutersBasic-67153483-04811634 to be up.. 2025-04-22 15:45:50,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 15:45:56,097 - DEBUG - VM is in ACTIVE state now 2025-04-22 15:45:56,097 - INFO - VM name : ctest-TestRoutersBasic-67153483-04811634 2025-04-22 15:45:56,264 - DEBUG - VM ctest-TestRoutersBasic-67153483-04811634 ID is 7cc22bd4-ea65-4474-853d-11534b99b6c6 2025-04-22 15:45:56,296 - DEBUG - VM ctest-TestRoutersBasic-67153483-04811634 launched on Node cn-jenkins-deploy-platform-ansible-os-3166-1 2025-04-22 15:45:56,389 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7cc22bd4-ea65-4474-853d-11534b99b6c6 2025-04-22 15:45:56,684 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7cc22bd4-ea65-4474-853d-11534b99b6c6 2025-04-22 15:45:56,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/76f1ccfb-0d2d-4cd5-a85d-9dc1bca20dc5 2025-04-22 15:45:59,998 - 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') 2025-04-22 15:45:59,998 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67153483-04811634 failed! 2025-04-22 15:46:00,056 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67153483:ctest-vn-76844214 is 143.32.154.129 and allocation pool is NOT set 2025-04-22 15:46:02,113 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/1.496/2.570/1.074 ms') 2025-04-22 15:46:02,113 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67153483-04811634 passed 2025-04-22 15:46:02,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:46:02,264 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67153483-04811634, IP 143.32.154.131, Port 22 2025-04-22 15:46:02,426 - DEBUG - VM ctest-TestRoutersBasic-67153483-04811634 is ready for SSH connections 2025-04-22 15:46:02,427 - INFO - Waiting for VM ctest-TestRoutersBasic-67153483-17474323 to be up.. 2025-04-22 15:46:02,511 - DEBUG - VM is in ACTIVE state now 2025-04-22 15:46:02,511 - INFO - VM name : ctest-TestRoutersBasic-67153483-17474323 2025-04-22 15:46:02,595 - DEBUG - VM ctest-TestRoutersBasic-67153483-17474323 ID is 7486d2e0-f557-4ca5-aa33-1de3327c68d7 2025-04-22 15:46:02,596 - DEBUG - VM ctest-TestRoutersBasic-67153483-17474323 launched on Node cn-jenkins-deploy-platform-ansible-os-3166-1 2025-04-22 15:46:02,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7486d2e0-f557-4ca5-aa33-1de3327c68d7 2025-04-22 15:46:02,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6d6ed5ed-bed1-49ec-b146-86e8a5c33824 2025-04-22 15:46:03,926 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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.506/1.635/2.765/1.129 ms') 2025-04-22 15:46:03,926 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67153483-17474323 passed 2025-04-22 15:46:04,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:46:04,080 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67153483-17474323, IP 122.228.69.195, Port 22 2025-04-22 15:46:04,254 - DEBUG - VM ctest-TestRoutersBasic-67153483-17474323 is ready for SSH connections 2025-04-22 15:46:04,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:46:04,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.228.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-22 15:46:04,255 - DEBUG - ping -s 56 -c 3 -W 1 122.228.69.195 2025-04-22 15:46:08,203 - DEBUG - PING 122.228.69.195 (122.228.69.195): 56 data bytes 64 bytes from 122.228.69.195: seq=0 ttl=62 time=7.106 ms 64 bytes from 122.228.69.195: seq=1 ttl=62 time=0.868 ms 64 bytes from 122.228.69.195: seq=2 ttl=62 time=0.868 ms --- 122.228.69.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/2.947/7.106 ms 2025-04-22 15:46:08,203 - INFO - Ping to IP 122.228.69.195 from VM ctest-TestRoutersBasic-67153483-04811634 passed 2025-04-22 15:46:08,203 - INFO - Deleting interface with subnet_id 0bb26179-63d8-4d69-a337-a43449156a69, port_id None from router 62eec7bf-3336-4ca8-b0f1-9d5dec67f096 2025-04-22 15:46:08,396 - INFO - Deleting VM ctest-TestRoutersBasic-67153483-17474323 2025-04-22 15:46:08,471 - INFO - Deleting VM ctest-TestRoutersBasic-67153483-04811634 2025-04-22 15:46:08,555 - INFO - Deleting VN ctest-ext_vn-04805984 2025-04-22 15:46:08,622 - DEBUG - VN effc1d6f-953c-4b6e-9971-3ed00d04c7b3 still in use: Unable to complete operation on network effc1d6f-953c-4b6e-9971-3ed00d04c7b3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cfd767a0-2a79-4230-9c2d-06a0d34d9bbf'] 2025-04-22 15:46:08,622 - WARNING - Deleting VN ctest-ext_vn-04805984 failed..Will retry 2025-04-22 15:46:10,725 - DEBUG - Response for deleting network () 2025-04-22 15:46:10,726 - INFO - Deleting VN ctest-vn-76844214 2025-04-22 15:46:10,842 - DEBUG - Response for deleting network () 2025-04-22 15:46:11,101 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 15:46:11,102 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-22 15:46:11,102 - INFO - -------------------------------------------------------------------------------- 2025-04-22 15:46:11,775 - INFO - Deleted project: ctest-TestRoutersBasic-67153483, ID : 1c5d493f-c2c2-41b7-b9a6-910f41ff1da3