2025-10-05 18:51:24,164 - INFO - Domain Default found not creating 2025-10-05 18:51:24,285 - INFO - Project ctest-TestRoutersBasic-48326269 not found, creating it 2025-10-05 18:51:24,689 - INFO - Created Project:ctest-TestRoutersBasic-48326269, ID : f656b40a-60d3-4739-adab-752d8a32d536 2025-10-05 18:51:26,010 - INFO - ================================================================================ 2025-10-05 18:51:26,010 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-05 18:51:26,010 - 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-10-05 18:51:26,268 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-05 18:51:26,269 - INFO - Initial checks done. Running the testcase now 2025-10-05 18:51:26,269 - INFO - 2025-10-05 18:51:26,960 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48326269 2025-10-05 18:51:27,055 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48326269 2025-10-05 18:51:27,379 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48326269', 'default']} 2025-10-05 18:51:27,650 - DEBUG - Response for create_network : {'network': {'id': 'af1420a6-f665-44ed-b09e-752d854ed53f', 'name': 'ctest-vn-85591674', 'tenant_id': 'f656b40a60d34739adab752d8a32d536', 'project_id': 'f656b40a60d34739adab752d8a32d536', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48326269', 'ctest-vn-85591674'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:51:27,844 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa7adb75-1702-463f-8c6b-ba076758cc1a', 'name': '', 'tenant_id': 'f656b40a60d34739adab752d8a32d536', 'network_id': 'af1420a6-f665-44ed-b09e-752d854ed53f', 'ip_version': 4, 'cidr': '128.203.203.0/26', 'allocation_pools': [{'start': '128.203.203.2', 'end': '128.203.203.62'}], 'gateway_ip': '128.203.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.203.203.2', 'tags': [], 'project_id': 'f656b40a60d34739adab752d8a32d536'}} 2025-10-05 18:51:27,858 - INFO - Created VN ctest-vn-85591674 2025-10-05 18:51:27,907 - DEBUG - VN ctest-vn-85591674 UUID is af1420a6-f665-44ed-b09e-752d854ed53f 2025-10-05 18:51:28,212 - DEBUG - Response for create_network : {'network': {'id': '915c3294-1e1f-4019-a8e5-0bff9a529539', 'name': 'ctest-ext_vn-61813376', 'tenant_id': 'f656b40a60d34739adab752d8a32d536', 'project_id': 'f656b40a60d34739adab752d8a32d536', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48326269', 'ctest-ext_vn-61813376'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:51:28,358 - DEBUG - Response for create_subnet : {'subnet': {'id': '82679271-d996-40ea-8900-7b36baa043c6', 'name': '', 'tenant_id': 'f656b40a60d34739adab752d8a32d536', 'network_id': '915c3294-1e1f-4019-a8e5-0bff9a529539', 'ip_version': 4, 'cidr': '192.248.236.0/26', 'allocation_pools': [{'start': '192.248.236.2', 'end': '192.248.236.62'}], 'gateway_ip': '192.248.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.248.236.2', 'tags': [], 'project_id': 'f656b40a60d34739adab752d8a32d536'}} 2025-10-05 18:51:28,374 - INFO - Created VN ctest-ext_vn-61813376 2025-10-05 18:51:28,423 - DEBUG - VN ctest-ext_vn-61813376 UUID is 915c3294-1e1f-4019-a8e5-0bff9a529539 2025-10-05 18:51:28,610 - DEBUG - Services list from nova: [, , ] 2025-10-05 18:51:29,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4214-1) 2025-10-05 18:51:30,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4214-1) 2025-10-05 18:51:30,796 - INFO - Setting gateway for router 6980c2d8-4893-45d8-96ca-f7b596165790 to network 915c3294-1e1f-4019-a8e5-0bff9a529539 2025-10-05 18:51:30,877 - INFO - Adding interface with subnet_id aa7adb75-1702-463f-8c6b-ba076758cc1a, port_id None to router 6980c2d8-4893-45d8-96ca-f7b596165790 2025-10-05 18:51:31,501 - INFO - Waiting for VM ctest-TestRoutersBasic-48326269-38221267 to be up.. 2025-10-05 18:51:31,612 - DEBUG - VM is in ACTIVE state now 2025-10-05 18:51:31,612 - INFO - VM name : ctest-TestRoutersBasic-48326269-38221267 2025-10-05 18:51:31,687 - DEBUG - VM ctest-TestRoutersBasic-48326269-38221267 ID is 13e57976-c98e-417b-b2dc-d0d4ae00c35a 2025-10-05 18:51:31,706 - DEBUG - VM ctest-TestRoutersBasic-48326269-38221267 launched on Node cn-jenkins-deploy-platform-ansible-os-4214-1 2025-10-05 18:51:31,786 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/13e57976-c98e-417b-b2dc-d0d4ae00c35a 2025-10-05 18:51:32,092 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/13e57976-c98e-417b-b2dc-d0d4ae00c35a 2025-10-05 18:51:32,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/98ab0d1c-997a-48cb-9472-546d79483f18 2025-10-05 18:51:35,384 - 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 1020ms') 2025-10-05 18:51:35,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48326269-38221267 failed! 2025-10-05 18:51:35,435 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48326269:ctest-vn-85591674 is 128.203.203.1 and allocation pool is NOT set 2025-10-05 18:51:39,514 - 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 1024ms') 2025-10-05 18:51:39,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48326269-38221267 failed! 2025-10-05 18:51:39,567 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48326269:ctest-vn-85591674 is 128.203.203.1 and allocation pool is NOT set 2025-10-05 18:51:41,627 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.750 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.750/2.225/3.701/1.475 ms') 2025-10-05 18:51:41,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48326269-38221267 passed 2025-10-05 18:51:41,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:41,779 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48326269-38221267, IP 128.203.203.3, Port 22 2025-10-05 18:51:41,939 - DEBUG - VM ctest-TestRoutersBasic-48326269-38221267 is ready for SSH connections 2025-10-05 18:51:41,939 - INFO - Waiting for VM ctest-TestRoutersBasic-48326269-31721635 to be up.. 2025-10-05 18:51:42,018 - DEBUG - VM is in ACTIVE state now 2025-10-05 18:51:42,018 - INFO - VM name : ctest-TestRoutersBasic-48326269-31721635 2025-10-05 18:51:42,090 - DEBUG - VM ctest-TestRoutersBasic-48326269-31721635 ID is 4eadb4d9-00b3-4ab0-be7c-00ef0b106d6b 2025-10-05 18:51:42,090 - DEBUG - VM ctest-TestRoutersBasic-48326269-31721635 launched on Node cn-jenkins-deploy-platform-ansible-os-4214-1 2025-10-05 18:51:42,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4eadb4d9-00b3-4ab0-be7c-00ef0b106d6b 2025-10-05 18:51:42,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6579090a-a3ae-414e-846d-7f836f86a692 2025-10-05 18:51:43,403 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.492 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.492/1.568/2.644/1.076 ms') 2025-10-05 18:51:43,404 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48326269-31721635 passed 2025-10-05 18:51:43,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:43,555 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48326269-31721635, IP 192.248.236.3, Port 22 2025-10-05 18:51:43,706 - DEBUG - VM ctest-TestRoutersBasic-48326269-31721635 is ready for SSH connections 2025-10-05 18:51:43,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:43,707 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.248.236.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:51:43,707 - DEBUG - ping -s 56 -c 3 -W 1 192.248.236.3 2025-10-05 18:51:47,662 - DEBUG - PING 192.248.236.3 (192.248.236.3): 56 data bytes 64 bytes from 192.248.236.3: seq=0 ttl=62 time=5.976 ms 64 bytes from 192.248.236.3: seq=1 ttl=62 time=0.681 ms 64 bytes from 192.248.236.3: seq=2 ttl=62 time=0.792 ms --- 192.248.236.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.681/2.483/5.976 ms 2025-10-05 18:51:47,662 - INFO - Ping to IP 192.248.236.3 from VM ctest-TestRoutersBasic-48326269-38221267 passed 2025-10-05 18:51:47,662 - INFO - Deleting interface with subnet_id aa7adb75-1702-463f-8c6b-ba076758cc1a, port_id None from router 6980c2d8-4893-45d8-96ca-f7b596165790 2025-10-05 18:51:47,820 - INFO - Deleting VM ctest-TestRoutersBasic-48326269-31721635 2025-10-05 18:51:47,880 - INFO - Deleting VM ctest-TestRoutersBasic-48326269-38221267 2025-10-05 18:51:47,947 - INFO - Deleting VN ctest-ext_vn-61813376 2025-10-05 18:51:48,001 - DEBUG - VN 915c3294-1e1f-4019-a8e5-0bff9a529539 still in use: Unable to complete operation on network 915c3294-1e1f-4019-a8e5-0bff9a529539. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25378141-2ddf-4cd7-a7ed-7429bce53eb7'] 2025-10-05 18:51:48,001 - WARNING - Deleting VN ctest-ext_vn-61813376 failed..Will retry 2025-10-05 18:51:50,087 - DEBUG - Response for deleting network () 2025-10-05 18:51:50,088 - INFO - Deleting VN ctest-vn-85591674 2025-10-05 18:51:50,184 - DEBUG - Response for deleting network () 2025-10-05 18:51:50,443 - DEBUG - No XMPP flaps were noticed during the test 2025-10-05 18:51:50,443 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-10-05 18:51:50,443 - INFO - -------------------------------------------------------------------------------- 2025-10-05 18:51:51,080 - INFO - Deleted project: ctest-TestRoutersBasic-48326269, ID : f656b40a-60d3-4739-adab-752d8a32d536