2025-06-19 10:37:44,819 - INFO - Domain Default found not creating 2025-06-19 10:37:44,972 - INFO - Project ctest-TestRoutersBasic-79571042 not found, creating it 2025-06-19 10:37:45,428 - INFO - Created Project:ctest-TestRoutersBasic-79571042, ID : 596b0c6a-5958-4339-8453-7868abc3d98e 2025-06-19 10:37:46,858 - INFO - ================================================================================ 2025-06-19 10:37:46,858 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 10:37:46,858 - 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-06-19 10:37:47,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-06-19 10:37:47,116 - INFO - Initial checks done. Running the testcase now 2025-06-19 10:37:47,116 - INFO - 2025-06-19 10:37:48,254 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79571042 2025-06-19 10:37:48,349 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79571042 2025-06-19 10:37:48,673 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79571042', 'default']} 2025-06-19 10:37:48,985 - DEBUG - Response for create_network : {'network': {'id': '109873ea-31a4-4825-8cba-5284458c04d0', 'name': 'ctest-vn-74806979', 'tenant_id': '596b0c6a5958433984537868abc3d98e', 'project_id': '596b0c6a5958433984537868abc3d98e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79571042', 'ctest-vn-74806979'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:37:49,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a335ca8-d5cf-4736-aa4e-eeb68ff3ed5e', 'name': '', 'tenant_id': '596b0c6a5958433984537868abc3d98e', 'network_id': '109873ea-31a4-4825-8cba-5284458c04d0', 'ip_version': 4, 'cidr': '215.145.166.128/26', 'allocation_pools': [{'start': '215.145.166.130', 'end': '215.145.166.190'}], 'gateway_ip': '215.145.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.145.166.130', 'tags': [], 'project_id': '596b0c6a5958433984537868abc3d98e'}} 2025-06-19 10:37:49,168 - INFO - Created VN ctest-vn-74806979 2025-06-19 10:37:49,221 - DEBUG - VN ctest-vn-74806979 UUID is 109873ea-31a4-4825-8cba-5284458c04d0 2025-06-19 10:37:49,555 - DEBUG - Response for create_network : {'network': {'id': 'ce2dab18-87bf-4f9b-a532-f4c7bbd7bed6', 'name': 'ctest-ext_vn-47282479', 'tenant_id': '596b0c6a5958433984537868abc3d98e', 'project_id': '596b0c6a5958433984537868abc3d98e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79571042', 'ctest-ext_vn-47282479'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:37:49,710 - DEBUG - Response for create_subnet : {'subnet': {'id': '99f4aecc-1bf1-4871-88d1-d8aa8ad9eedb', 'name': '', 'tenant_id': '596b0c6a5958433984537868abc3d98e', 'network_id': 'ce2dab18-87bf-4f9b-a532-f4c7bbd7bed6', 'ip_version': 4, 'cidr': '101.213.56.0/26', 'allocation_pools': [{'start': '101.213.56.2', 'end': '101.213.56.62'}], 'gateway_ip': '101.213.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.213.56.2', 'tags': [], 'project_id': '596b0c6a5958433984537868abc3d98e'}} 2025-06-19 10:37:49,728 - INFO - Created VN ctest-ext_vn-47282479 2025-06-19 10:37:49,781 - DEBUG - VN ctest-ext_vn-47282479 UUID is ce2dab18-87bf-4f9b-a532-f4c7bbd7bed6 2025-06-19 10:37:49,945 - DEBUG - Services list from nova: [, , ] 2025-06-19 10:37:50,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3490-1) 2025-06-19 10:37:52,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3490-1) 2025-06-19 10:37:52,310 - INFO - Setting gateway for router aa828526-ff84-4a32-b567-f2d3ecb6d456 to network ce2dab18-87bf-4f9b-a532-f4c7bbd7bed6 2025-06-19 10:37:52,370 - INFO - Adding interface with subnet_id 5a335ca8-d5cf-4736-aa4e-eeb68ff3ed5e, port_id None to router aa828526-ff84-4a32-b567-f2d3ecb6d456 2025-06-19 10:37:52,907 - INFO - Waiting for VM ctest-TestRoutersBasic-79571042-81264664 to be up.. 2025-06-19 10:37:53,062 - DEBUG - VM is in ACTIVE state now 2025-06-19 10:37:53,062 - INFO - VM name : ctest-TestRoutersBasic-79571042-81264664 2025-06-19 10:37:53,191 - DEBUG - VM ctest-TestRoutersBasic-79571042-81264664 ID is ba219534-eae7-4b84-8dbc-56591a9a5914 2025-06-19 10:37:53,212 - DEBUG - VM ctest-TestRoutersBasic-79571042-81264664 launched on Node cn-jenkins-deploy-platform-ansible-os-3490-1 2025-06-19 10:37:53,333 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ba219534-eae7-4b84-8dbc-56591a9a5914 2025-06-19 10:37:53,654 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ba219534-eae7-4b84-8dbc-56591a9a5914 2025-06-19 10:37:53,699 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/84f36cb6-9027-42f8-9dfc-cd5f2150da37 2025-06-19 10:37:57,008 - 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 1015ms') 2025-06-19 10:37:57,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79571042-81264664 failed! 2025-06-19 10:37:57,069 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79571042:ctest-vn-74806979 is 215.145.166.129 and allocation pool is NOT set 2025-06-19 10:38:01,136 - 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') 2025-06-19 10:38:01,136 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79571042-81264664 failed! 2025-06-19 10:38:01,193 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79571042:ctest-vn-74806979 is 215.145.166.129 and allocation pool is NOT set 2025-06-19 10:38:03,261 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.728 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.728/1.950/3.173/1.222 ms') 2025-06-19 10:38:03,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79571042-81264664 passed 2025-06-19 10:38:03,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:38:03,425 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79571042-81264664, IP 215.145.166.131, Port 22 2025-06-19 10:38:03,604 - DEBUG - VM ctest-TestRoutersBasic-79571042-81264664 is ready for SSH connections 2025-06-19 10:38:03,604 - INFO - Waiting for VM ctest-TestRoutersBasic-79571042-30284824 to be up.. 2025-06-19 10:38:03,711 - DEBUG - VM is in ACTIVE state now 2025-06-19 10:38:03,711 - INFO - VM name : ctest-TestRoutersBasic-79571042-30284824 2025-06-19 10:38:03,815 - DEBUG - VM ctest-TestRoutersBasic-79571042-30284824 ID is 1844f460-2551-4cb8-8d41-e7ef316ba30c 2025-06-19 10:38:03,815 - DEBUG - VM ctest-TestRoutersBasic-79571042-30284824 launched on Node cn-jenkins-deploy-platform-ansible-os-3490-1 2025-06-19 10:38:03,894 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1844f460-2551-4cb8-8d41-e7ef316ba30c 2025-06-19 10:38:03,905 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e20f8259-bc43-495e-a609-cc6a3b5c10d6 2025-06-19 10:38:05,154 - 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=7.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.13 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 = 3.134/5.156/7.178/2.022 ms') 2025-06-19 10:38:05,154 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79571042-30284824 passed 2025-06-19 10:38:05,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:38:05,306 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79571042-30284824, IP 101.213.56.3, Port 22 2025-06-19 10:38:05,475 - DEBUG - VM ctest-TestRoutersBasic-79571042-30284824 is ready for SSH connections 2025-06-19 10:38:05,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:38:05,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.213.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-19 10:38:05,475 - DEBUG - ping -s 56 -c 3 -W 1 101.213.56.3 2025-06-19 10:38:09,514 - DEBUG - PING 101.213.56.3 (101.213.56.3): 56 data bytes 64 bytes from 101.213.56.3: seq=0 ttl=62 time=6.333 ms 64 bytes from 101.213.56.3: seq=1 ttl=62 time=0.922 ms 64 bytes from 101.213.56.3: seq=2 ttl=62 time=0.919 ms --- 101.213.56.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/2.724/6.333 ms 2025-06-19 10:38:09,514 - INFO - Ping to IP 101.213.56.3 from VM ctest-TestRoutersBasic-79571042-81264664 passed 2025-06-19 10:38:09,514 - INFO - Deleting interface with subnet_id 5a335ca8-d5cf-4736-aa4e-eeb68ff3ed5e, port_id None from router aa828526-ff84-4a32-b567-f2d3ecb6d456 2025-06-19 10:38:09,713 - INFO - Deleting VM ctest-TestRoutersBasic-79571042-30284824 2025-06-19 10:38:09,783 - INFO - Deleting VM ctest-TestRoutersBasic-79571042-81264664 2025-06-19 10:38:09,870 - INFO - Deleting VN ctest-ext_vn-47282479 2025-06-19 10:38:09,949 - DEBUG - VN ce2dab18-87bf-4f9b-a532-f4c7bbd7bed6 still in use: Unable to complete operation on network ce2dab18-87bf-4f9b-a532-f4c7bbd7bed6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ea0de5a-a557-44fa-8ec3-05c65fe084c1'] 2025-06-19 10:38:09,949 - WARNING - Deleting VN ctest-ext_vn-47282479 failed..Will retry 2025-06-19 10:38:12,060 - DEBUG - Response for deleting network () 2025-06-19 10:38:12,061 - INFO - Deleting VN ctest-vn-74806979 2025-06-19 10:38:12,168 - DEBUG - Response for deleting network () 2025-06-19 10:38:12,425 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 10:38:12,425 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-19 10:38:12,425 - INFO - -------------------------------------------------------------------------------- 2025-06-19 10:38:13,104 - INFO - Deleted project: ctest-TestRoutersBasic-79571042, ID : 596b0c6a-5958-4339-8453-7868abc3d98e