2025-09-18 19:04:16,621 - INFO - Domain Default found not creating 2025-09-18 19:04:16,782 - INFO - Project ctest-TestRoutersBasic-56466514 not found, creating it 2025-09-18 19:04:17,234 - INFO - Created Project:ctest-TestRoutersBasic-56466514, ID : a8d90400-f065-4bd8-b487-c02a29dcd56a 2025-09-18 19:04:18,639 - INFO - ================================================================================ 2025-09-18 19:04:18,640 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-18 19:04:18,640 - 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-09-18 19:04:18,892 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-18 19:04:18,892 - INFO - Initial checks done. Running the testcase now 2025-09-18 19:04:18,892 - INFO - 2025-09-18 19:04:19,608 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56466514 2025-09-18 19:04:19,707 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56466514 2025-09-18 19:04:20,026 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56466514', 'default']} 2025-09-18 19:04:20,311 - DEBUG - Response for create_network : {'network': {'id': '45a849af-0bc3-46fa-8cc9-6412d595ce21', 'name': 'ctest-vn-22367357', 'tenant_id': 'a8d90400f0654bd8b487c02a29dcd56a', 'project_id': 'a8d90400f0654bd8b487c02a29dcd56a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56466514', 'ctest-vn-22367357'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:04:20,510 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e733f42d-8205-46f7-8265-732b5691e8e1', 'name': '', 'tenant_id': 'a8d90400f0654bd8b487c02a29dcd56a', 'network_id': '45a849af-0bc3-46fa-8cc9-6412d595ce21', 'ip_version': 4, 'cidr': '56.30.95.0/26', 'allocation_pools': [{'start': '56.30.95.2', 'end': '56.30.95.62'}], 'gateway_ip': '56.30.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.30.95.2', 'tags': [], 'project_id': 'a8d90400f0654bd8b487c02a29dcd56a'}} 2025-09-18 19:04:20,527 - INFO - Created VN ctest-vn-22367357 2025-09-18 19:04:20,579 - DEBUG - VN ctest-vn-22367357 UUID is 45a849af-0bc3-46fa-8cc9-6412d595ce21 2025-09-18 19:04:20,895 - DEBUG - Response for create_network : {'network': {'id': '8287b7bb-ae81-4851-b830-f003c2c451ae', 'name': 'ctest-ext_vn-97288260', 'tenant_id': 'a8d90400f0654bd8b487c02a29dcd56a', 'project_id': 'a8d90400f0654bd8b487c02a29dcd56a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56466514', 'ctest-ext_vn-97288260'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:04:21,094 - DEBUG - Response for create_subnet : {'subnet': {'id': '48890635-937d-4463-bc50-be1680c8d66c', 'name': '', 'tenant_id': 'a8d90400f0654bd8b487c02a29dcd56a', 'network_id': '8287b7bb-ae81-4851-b830-f003c2c451ae', 'ip_version': 4, 'cidr': '2.145.57.128/26', 'allocation_pools': [{'start': '2.145.57.130', 'end': '2.145.57.190'}], 'gateway_ip': '2.145.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.145.57.130', 'tags': [], 'project_id': 'a8d90400f0654bd8b487c02a29dcd56a'}} 2025-09-18 19:04:21,111 - INFO - Created VN ctest-ext_vn-97288260 2025-09-18 19:04:21,163 - DEBUG - VN ctest-ext_vn-97288260 UUID is 8287b7bb-ae81-4851-b830-f003c2c451ae 2025-09-18 19:04:21,363 - DEBUG - Services list from nova: [, , ] 2025-09-18 19:04:22,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4140-1) 2025-09-18 19:04:23,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4140-1) 2025-09-18 19:04:23,523 - INFO - Setting gateway for router 82c51868-6e1b-4954-b492-08e7ecdae003 to network 8287b7bb-ae81-4851-b830-f003c2c451ae 2025-09-18 19:04:23,591 - INFO - Adding interface with subnet_id e733f42d-8205-46f7-8265-732b5691e8e1, port_id None to router 82c51868-6e1b-4954-b492-08e7ecdae003 2025-09-18 19:04:23,882 - INFO - Waiting for VM ctest-TestRoutersBasic-56466514-20807104 to be up.. 2025-09-18 19:04:24,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 19:04:29,080 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:04:29,081 - INFO - VM name : ctest-TestRoutersBasic-56466514-20807104 2025-09-18 19:04:29,149 - DEBUG - VM ctest-TestRoutersBasic-56466514-20807104 ID is 0f1d4c0e-b77e-492e-9bd3-d558ed044247 2025-09-18 19:04:29,168 - DEBUG - VM ctest-TestRoutersBasic-56466514-20807104 launched on Node cn-jenkins-deploy-platform-ansible-os-4140-1 2025-09-18 19:04:29,239 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0f1d4c0e-b77e-492e-9bd3-d558ed044247 2025-09-18 19:04:29,533 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0f1d4c0e-b77e-492e-9bd3-d558ed044247 2025-09-18 19:04:29,563 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2d170ef8-40c7-4502-a6a3-1b545d59cdeb 2025-09-18 19:04:32,796 - 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 1003ms') 2025-09-18 19:04:32,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56466514-20807104 failed! 2025-09-18 19:04:32,851 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56466514:ctest-vn-22367357 is 56.30.95.1 and allocation pool is NOT set 2025-09-18 19:04:34,907 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.378/1.623/2.868/1.245 ms') 2025-09-18 19:04:34,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56466514-20807104 passed 2025-09-18 19:04:35,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:04:35,055 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56466514-20807104, IP 56.30.95.3, Port 22 2025-09-18 19:04:35,220 - DEBUG - VM ctest-TestRoutersBasic-56466514-20807104 is ready for SSH connections 2025-09-18 19:04:35,220 - INFO - Waiting for VM ctest-TestRoutersBasic-56466514-37536010 to be up.. 2025-09-18 19:04:35,303 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:04:35,303 - INFO - VM name : ctest-TestRoutersBasic-56466514-37536010 2025-09-18 19:04:35,374 - DEBUG - VM ctest-TestRoutersBasic-56466514-37536010 ID is c719fff4-1399-4c11-a8c0-f0b3ccb04f73 2025-09-18 19:04:35,374 - DEBUG - VM ctest-TestRoutersBasic-56466514-37536010 launched on Node cn-jenkins-deploy-platform-ansible-os-4140-1 2025-09-18 19:04:35,439 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c719fff4-1399-4c11-a8c0-f0b3ccb04f73 2025-09-18 19:04:35,446 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ca5f1f3e-2bcc-426a-ba83-f50b5ac75711 2025-09-18 19:04:36,683 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.04 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 = 2.037/3.404/4.771/1.367 ms') 2025-09-18 19:04:36,683 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56466514-37536010 passed 2025-09-18 19:04:36,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:04:36,831 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56466514-37536010, IP 2.145.57.131, Port 22 2025-09-18 19:04:36,982 - DEBUG - VM ctest-TestRoutersBasic-56466514-37536010 is ready for SSH connections 2025-09-18 19:04:36,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:04:36,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.145.57.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-18 19:04:36,983 - DEBUG - ping -s 56 -c 3 -W 1 2.145.57.131 2025-09-18 19:04:40,962 - DEBUG - PING 2.145.57.131 (2.145.57.131): 56 data bytes 64 bytes from 2.145.57.131: seq=0 ttl=62 time=6.681 ms 64 bytes from 2.145.57.131: seq=1 ttl=62 time=1.126 ms 64 bytes from 2.145.57.131: seq=2 ttl=62 time=0.867 ms --- 2.145.57.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/2.891/6.681 ms 2025-09-18 19:04:40,962 - INFO - Ping to IP 2.145.57.131 from VM ctest-TestRoutersBasic-56466514-20807104 passed 2025-09-18 19:04:40,962 - INFO - Deleting interface with subnet_id e733f42d-8205-46f7-8265-732b5691e8e1, port_id None from router 82c51868-6e1b-4954-b492-08e7ecdae003 2025-09-18 19:04:41,153 - INFO - Deleting VM ctest-TestRoutersBasic-56466514-37536010 2025-09-18 19:04:41,218 - INFO - Deleting VM ctest-TestRoutersBasic-56466514-20807104 2025-09-18 19:04:41,302 - INFO - Deleting VN ctest-ext_vn-97288260 2025-09-18 19:04:41,369 - DEBUG - VN 8287b7bb-ae81-4851-b830-f003c2c451ae still in use: Unable to complete operation on network 8287b7bb-ae81-4851-b830-f003c2c451ae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-02da20fc-d860-43aa-a4ea-e12a49277e30'] 2025-09-18 19:04:41,369 - WARNING - Deleting VN ctest-ext_vn-97288260 failed..Will retry 2025-09-18 19:04:43,467 - DEBUG - Response for deleting network () 2025-09-18 19:04:43,467 - INFO - Deleting VN ctest-vn-22367357 2025-09-18 19:04:43,584 - DEBUG - Response for deleting network () 2025-09-18 19:04:43,843 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 19:04:43,843 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-18 19:04:43,843 - INFO - -------------------------------------------------------------------------------- 2025-09-18 19:04:44,508 - INFO - Deleted project: ctest-TestRoutersBasic-56466514, ID : a8d90400-f065-4bd8-b487-c02a29dcd56a