2025-11-24 02:01:16,748 - INFO - Domain Default found not creating 2025-11-24 02:01:16,920 - INFO - Project ctest-TestRoutersBasic-90582770 not found, creating it 2025-11-24 02:01:17,387 - INFO - Created Project:ctest-TestRoutersBasic-90582770, ID : cfb7da4d-dc47-4bb0-b8f9-75251ae0e0c2 2025-11-24 02:01:19,018 - INFO - ================================================================================ 2025-11-24 02:01:19,019 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 02:01:19,019 - 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-11-24 02:01:19,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-11-24 02:01:19,271 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:01:19,271 - INFO - 2025-11-24 02:01:20,080 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90582770 2025-11-24 02:01:20,178 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90582770 2025-11-24 02:01:20,497 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90582770', 'default']} 2025-11-24 02:01:20,806 - DEBUG - Response for create_network : {'network': {'id': 'b4592bed-b5d0-4c68-b6b8-46bfb0ba4701', 'name': 'ctest-vn-47833525', 'tenant_id': 'cfb7da4ddc474bb0b8f975251ae0e0c2', 'project_id': 'cfb7da4ddc474bb0b8f975251ae0e0c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90582770', 'ctest-vn-47833525'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:01:20,981 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0151553-fba6-40f3-bfc8-641a3f9e180e', 'name': '', 'tenant_id': 'cfb7da4ddc474bb0b8f975251ae0e0c2', 'network_id': 'b4592bed-b5d0-4c68-b6b8-46bfb0ba4701', 'ip_version': 4, 'cidr': '75.130.148.128/26', 'allocation_pools': [{'start': '75.130.148.130', 'end': '75.130.148.190'}], 'gateway_ip': '75.130.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.130.148.130', 'tags': [], 'project_id': 'cfb7da4ddc474bb0b8f975251ae0e0c2'}} 2025-11-24 02:01:20,999 - INFO - Created VN ctest-vn-47833525 2025-11-24 02:01:21,053 - DEBUG - VN ctest-vn-47833525 UUID is b4592bed-b5d0-4c68-b6b8-46bfb0ba4701 2025-11-24 02:01:21,368 - DEBUG - Response for create_network : {'network': {'id': '3816d8cc-06fa-4038-a684-98d7c078b045', 'name': 'ctest-ext_vn-18804332', 'tenant_id': 'cfb7da4ddc474bb0b8f975251ae0e0c2', 'project_id': 'cfb7da4ddc474bb0b8f975251ae0e0c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90582770', 'ctest-ext_vn-18804332'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:01:21,540 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe27e7a9-c05e-4d5b-aab6-397f08c9ee9a', 'name': '', 'tenant_id': 'cfb7da4ddc474bb0b8f975251ae0e0c2', 'network_id': '3816d8cc-06fa-4038-a684-98d7c078b045', 'ip_version': 4, 'cidr': '171.252.42.64/26', 'allocation_pools': [{'start': '171.252.42.66', 'end': '171.252.42.126'}], 'gateway_ip': '171.252.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.252.42.66', 'tags': [], 'project_id': 'cfb7da4ddc474bb0b8f975251ae0e0c2'}} 2025-11-24 02:01:21,559 - INFO - Created VN ctest-ext_vn-18804332 2025-11-24 02:01:21,613 - DEBUG - VN ctest-ext_vn-18804332 UUID is 3816d8cc-06fa-4038-a684-98d7c078b045 2025-11-24 02:01:21,776 - DEBUG - Services list from nova: [, , ] 2025-11-24 02:01:22,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4800-1) 2025-11-24 02:01:24,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4800-1) 2025-11-24 02:01:24,226 - INFO - Setting gateway for router ad33c305-d0a6-4085-a60e-43ac155bc0db to network 3816d8cc-06fa-4038-a684-98d7c078b045 2025-11-24 02:01:24,306 - INFO - Adding interface with subnet_id a0151553-fba6-40f3-bfc8-641a3f9e180e, port_id None to router ad33c305-d0a6-4085-a60e-43ac155bc0db 2025-11-24 02:01:24,565 - INFO - Waiting for VM ctest-TestRoutersBasic-90582770-74071736 to be up.. 2025-11-24 02:01:24,698 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:01:29,776 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:01:29,776 - INFO - VM name : ctest-TestRoutersBasic-90582770-74071736 2025-11-24 02:01:29,851 - DEBUG - VM ctest-TestRoutersBasic-90582770-74071736 ID is 20bb9690-3c62-4dd9-abe7-0e0d1a2cf217 2025-11-24 02:01:29,872 - DEBUG - VM ctest-TestRoutersBasic-90582770-74071736 launched on Node cn-jenkins-deploy-platform-ansible-os-4800-1 2025-11-24 02:01:29,952 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/20bb9690-3c62-4dd9-abe7-0e0d1a2cf217 2025-11-24 02:01:30,292 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/20bb9690-3c62-4dd9-abe7-0e0d1a2cf217 2025-11-24 02:01:30,327 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d55ab508-b1e7-49cd-af63-78ad2b14c572 2025-11-24 02:01:33,573 - 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 1005ms') 2025-11-24 02:01:33,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90582770-74071736 failed! 2025-11-24 02:01:33,629 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90582770:ctest-vn-47833525 is 75.130.148.129 and allocation pool is NOT set 2025-11-24 02:01:35,694 - 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=4.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.997 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.997/2.681/4.365/1.684 ms') 2025-11-24 02:01:35,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90582770-74071736 passed 2025-11-24 02:01:35,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:01:35,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90582770-74071736, IP 75.130.148.131, Port 22 2025-11-24 02:01:36,002 - DEBUG - VM ctest-TestRoutersBasic-90582770-74071736 is ready for SSH connections 2025-11-24 02:01:36,002 - INFO - Waiting for VM ctest-TestRoutersBasic-90582770-70934422 to be up.. 2025-11-24 02:01:36,082 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:01:36,082 - INFO - VM name : ctest-TestRoutersBasic-90582770-70934422 2025-11-24 02:01:36,157 - DEBUG - VM ctest-TestRoutersBasic-90582770-70934422 ID is b8c93f56-25d3-4444-bc06-dc8e07e9d8c7 2025-11-24 02:01:36,157 - DEBUG - VM ctest-TestRoutersBasic-90582770-70934422 launched on Node cn-jenkins-deploy-platform-ansible-os-4800-1 2025-11-24 02:01:36,239 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b8c93f56-25d3-4444-bc06-dc8e07e9d8c7 2025-11-24 02:01:36,247 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a3fddd60-b7a7-47e2-a291-db14869477ae 2025-11-24 02:01:37,482 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.570 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.570/1.792/3.014/1.222 ms') 2025-11-24 02:01:37,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90582770-70934422 passed 2025-11-24 02:01:37,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:01:37,629 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90582770-70934422, IP 171.252.42.67, Port 22 2025-11-24 02:01:37,799 - DEBUG - VM ctest-TestRoutersBasic-90582770-70934422 is ready for SSH connections 2025-11-24 02:01:37,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:01:37,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.252.42.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-24 02:01:37,800 - DEBUG - ping -s 56 -c 3 -W 1 171.252.42.67 2025-11-24 02:01:41,542 - DEBUG - PING 171.252.42.67 (171.252.42.67): 56 data bytes 64 bytes from 171.252.42.67: seq=0 ttl=62 time=7.624 ms 64 bytes from 171.252.42.67: seq=1 ttl=62 time=1.078 ms 64 bytes from 171.252.42.67: seq=2 ttl=62 time=1.087 ms --- 171.252.42.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.078/3.263/7.624 ms 2025-11-24 02:01:41,542 - INFO - Ping to IP 171.252.42.67 from VM ctest-TestRoutersBasic-90582770-74071736 passed 2025-11-24 02:01:41,542 - INFO - Deleting interface with subnet_id a0151553-fba6-40f3-bfc8-641a3f9e180e, port_id None from router ad33c305-d0a6-4085-a60e-43ac155bc0db 2025-11-24 02:01:41,743 - INFO - Deleting VM ctest-TestRoutersBasic-90582770-70934422 2025-11-24 02:01:41,812 - INFO - Deleting VM ctest-TestRoutersBasic-90582770-74071736 2025-11-24 02:01:41,913 - INFO - Deleting VN ctest-ext_vn-18804332 2025-11-24 02:01:41,984 - DEBUG - VN 3816d8cc-06fa-4038-a684-98d7c078b045 still in use: Unable to complete operation on network 3816d8cc-06fa-4038-a684-98d7c078b045. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-977e715f-4047-4489-bc08-0ec2c213e140'] 2025-11-24 02:01:41,985 - WARNING - Deleting VN ctest-ext_vn-18804332 failed..Will retry 2025-11-24 02:01:44,099 - DEBUG - Response for deleting network () 2025-11-24 02:01:44,100 - INFO - Deleting VN ctest-vn-47833525 2025-11-24 02:01:44,311 - DEBUG - Response for deleting network () 2025-11-24 02:01:44,575 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 02:01:44,575 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-24 02:01:44,575 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:01:45,299 - INFO - Deleted project: ctest-TestRoutersBasic-90582770, ID : cfb7da4d-dc47-4bb0-b8f9-75251ae0e0c2