2025-04-23 15:12:29,077 - INFO - Domain Default found not creating 2025-04-23 15:12:29,216 - INFO - Project ctest-TestRoutersBasic-39599662 not found, creating it 2025-04-23 15:12:29,635 - INFO - Created Project:ctest-TestRoutersBasic-39599662, ID : c21b7bed-71f6-4ade-b913-5ab7d11b78bc 2025-04-23 15:12:30,865 - INFO - ================================================================================ 2025-04-23 15:12:30,865 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-23 15:12:30,866 - 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-23 15:12:31,117 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.18': '0'}} with 2025-04-23 15:12:31,117 - INFO - Initial checks done. Running the testcase now 2025-04-23 15:12:31,117 - INFO - 2025-04-23 15:12:31,732 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39599662 2025-04-23 15:12:31,827 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39599662 2025-04-23 15:12:32,143 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39599662', 'default']} 2025-04-23 15:12:32,416 - DEBUG - Response for create_network : {'network': {'id': 'ebe9a77a-fcd6-49fe-98db-cd433f7629fb', 'name': 'ctest-vn-96272979', 'tenant_id': 'c21b7bed71f64adeb9135ab7d11b78bc', 'project_id': 'c21b7bed71f64adeb9135ab7d11b78bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39599662', 'ctest-vn-96272979'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:12:32,609 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdff1562-9b7d-41d3-9f3e-4f08473ca4a2', 'name': '', 'tenant_id': 'c21b7bed71f64adeb9135ab7d11b78bc', 'network_id': 'ebe9a77a-fcd6-49fe-98db-cd433f7629fb', 'ip_version': 4, 'cidr': '103.63.40.128/26', 'allocation_pools': [{'start': '103.63.40.130', 'end': '103.63.40.190'}], 'gateway_ip': '103.63.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.63.40.130', 'tags': [], 'project_id': 'c21b7bed71f64adeb9135ab7d11b78bc'}} 2025-04-23 15:12:32,626 - INFO - Created VN ctest-vn-96272979 2025-04-23 15:12:32,679 - DEBUG - VN ctest-vn-96272979 UUID is ebe9a77a-fcd6-49fe-98db-cd433f7629fb 2025-04-23 15:12:33,017 - DEBUG - Response for create_network : {'network': {'id': '1144c82c-0145-488f-8d01-04a4db621748', 'name': 'ctest-ext_vn-04615467', 'tenant_id': 'c21b7bed71f64adeb9135ab7d11b78bc', 'project_id': 'c21b7bed71f64adeb9135ab7d11b78bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39599662', 'ctest-ext_vn-04615467'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:12:33,193 - DEBUG - Response for create_subnet : {'subnet': {'id': '5949dde6-24d8-4983-bb01-48313814297e', 'name': '', 'tenant_id': 'c21b7bed71f64adeb9135ab7d11b78bc', 'network_id': '1144c82c-0145-488f-8d01-04a4db621748', 'ip_version': 4, 'cidr': '30.107.219.128/26', 'allocation_pools': [{'start': '30.107.219.130', 'end': '30.107.219.190'}], 'gateway_ip': '30.107.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.107.219.130', 'tags': [], 'project_id': 'c21b7bed71f64adeb9135ab7d11b78bc'}} 2025-04-23 15:12:33,211 - INFO - Created VN ctest-ext_vn-04615467 2025-04-23 15:12:33,267 - DEBUG - VN ctest-ext_vn-04615467 UUID is 1144c82c-0145-488f-8d01-04a4db621748 2025-04-23 15:12:33,462 - DEBUG - Services list from nova: [, , ] 2025-04-23 15:12:34,515 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3188-1) 2025-04-23 15:12:35,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3188-1) 2025-04-23 15:12:35,632 - INFO - Setting gateway for router 6ce9e4a5-27f0-40ba-aaa8-0194d997beb4 to network 1144c82c-0145-488f-8d01-04a4db621748 2025-04-23 15:12:35,724 - INFO - Adding interface with subnet_id fdff1562-9b7d-41d3-9f3e-4f08473ca4a2, port_id None to router 6ce9e4a5-27f0-40ba-aaa8-0194d997beb4 2025-04-23 15:12:36,012 - INFO - Waiting for VM ctest-TestRoutersBasic-39599662-27312561 to be up.. 2025-04-23 15:12:36,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 15:12:41,254 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:12:41,254 - INFO - VM name : ctest-TestRoutersBasic-39599662-27312561 2025-04-23 15:12:41,344 - DEBUG - VM ctest-TestRoutersBasic-39599662-27312561 ID is fc3c6ab8-e2b8-49ce-a09b-20b40d48e611 2025-04-23 15:12:41,364 - DEBUG - VM ctest-TestRoutersBasic-39599662-27312561 launched on Node cn-jenkins-deploy-platform-ansible-os-3188-1 2025-04-23 15:12:41,463 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/fc3c6ab8-e2b8-49ce-a09b-20b40d48e611 2025-04-23 15:12:41,743 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/fc3c6ab8-e2b8-49ce-a09b-20b40d48e611 2025-04-23 15:12:41,771 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/3052851b-9806-49f4-aace-00f4f2b7a6b4 2025-04-23 15:12:45,023 - 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=2 ttl=63 time=9.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 9.221/9.221/9.221/0.000 ms') 2025-04-23 15:12:45,023 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39599662-27312561 passed 2025-04-23 15:12:45,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:12:45,183 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39599662-27312561, IP 103.63.40.131, Port 22 2025-04-23 15:12:45,367 - DEBUG - VM ctest-TestRoutersBasic-39599662-27312561 is ready for SSH connections 2025-04-23 15:12:45,367 - INFO - Waiting for VM ctest-TestRoutersBasic-39599662-83180952 to be up.. 2025-04-23 15:12:45,436 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:12:45,436 - INFO - VM name : ctest-TestRoutersBasic-39599662-83180952 2025-04-23 15:12:45,503 - DEBUG - VM ctest-TestRoutersBasic-39599662-83180952 ID is 7df9b46c-3129-414c-8562-04eba6421e23 2025-04-23 15:12:45,504 - DEBUG - VM ctest-TestRoutersBasic-39599662-83180952 launched on Node cn-jenkins-deploy-platform-ansible-os-3188-1 2025-04-23 15:12:45,571 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/7df9b46c-3129-414c-8562-04eba6421e23 2025-04-23 15:12:45,580 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/2fdcc000-d965-41cb-ba2e-fae35986ccc2 2025-04-23 15:12:46,816 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.965 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.965/2.313/3.661/1.348 ms') 2025-04-23 15:12:46,817 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39599662-83180952 passed 2025-04-23 15:12:46,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:12:46,967 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39599662-83180952, IP 30.107.219.131, Port 22 2025-04-23 15:12:47,118 - DEBUG - VM ctest-TestRoutersBasic-39599662-83180952 is ready for SSH connections 2025-04-23 15:12:47,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:12:47,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.107.219.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-04-23 15:12:47,118 - DEBUG - ping -s 56 -c 3 -W 1 30.107.219.131 2025-04-23 15:12:51,006 - DEBUG - PING 30.107.219.131 (30.107.219.131): 56 data bytes 64 bytes from 30.107.219.131: seq=0 ttl=62 time=7.526 ms 64 bytes from 30.107.219.131: seq=1 ttl=62 time=0.777 ms 64 bytes from 30.107.219.131: seq=2 ttl=62 time=0.956 ms --- 30.107.219.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/3.086/7.526 ms 2025-04-23 15:12:51,006 - INFO - Ping to IP 30.107.219.131 from VM ctest-TestRoutersBasic-39599662-27312561 passed 2025-04-23 15:12:51,007 - INFO - Deleting interface with subnet_id fdff1562-9b7d-41d3-9f3e-4f08473ca4a2, port_id None from router 6ce9e4a5-27f0-40ba-aaa8-0194d997beb4 2025-04-23 15:12:51,216 - INFO - Deleting VM ctest-TestRoutersBasic-39599662-83180952 2025-04-23 15:12:51,277 - INFO - Deleting VM ctest-TestRoutersBasic-39599662-27312561 2025-04-23 15:12:51,356 - INFO - Deleting VN ctest-ext_vn-04615467 2025-04-23 15:12:51,431 - DEBUG - VN 1144c82c-0145-488f-8d01-04a4db621748 still in use: Unable to complete operation on network 1144c82c-0145-488f-8d01-04a4db621748. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca184fe2-a69f-40d8-ba13-fc34bc40f22b'] 2025-04-23 15:12:51,432 - WARNING - Deleting VN ctest-ext_vn-04615467 failed..Will retry 2025-04-23 15:12:53,521 - DEBUG - Response for deleting network () 2025-04-23 15:12:53,521 - INFO - Deleting VN ctest-vn-96272979 2025-04-23 15:12:53,620 - DEBUG - Response for deleting network () 2025-04-23 15:12:53,876 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 15:12:53,876 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-23 15:12:53,877 - INFO - -------------------------------------------------------------------------------- 2025-04-23 15:12:54,487 - INFO - Deleted project: ctest-TestRoutersBasic-39599662, ID : c21b7bed-71f6-4ade-b913-5ab7d11b78bc