2025-12-29 17:03:29,488 - INFO - Domain Default found not creating 2025-12-29 17:03:29,721 - INFO - Project ctest-TestRoutersBasic-21931979 not found, creating it 2025-12-29 17:03:30,216 - INFO - Created Project:ctest-TestRoutersBasic-21931979, ID : 771d4720-26db-4e37-846f-aae4cabcfb37 2025-12-29 17:03:31,923 - INFO - ================================================================================ 2025-12-29 17:03:31,923 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-29 17:03:31,923 - 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-12-29 17:03:32,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-12-29 17:03:32,199 - INFO - Initial checks done. Running the testcase now 2025-12-29 17:03:32,199 - INFO - 2025-12-29 17:03:32,974 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21931979 2025-12-29 17:03:33,069 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21931979 2025-12-29 17:03:33,409 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21931979', 'default']} 2025-12-29 17:03:33,872 - DEBUG - Response for create_network : {'network': {'id': '56b58063-0aab-410c-96f7-6cbb4d6eecc4', 'name': 'ctest-vn-88055942', 'tenant_id': '771d472026db4e37846faae4cabcfb37', 'project_id': '771d472026db4e37846faae4cabcfb37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21931979', 'ctest-vn-88055942'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 17:03:34,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '035c5358-0aca-45e7-8ac6-bb51e8637f8f', 'name': '', 'tenant_id': '771d472026db4e37846faae4cabcfb37', 'network_id': '56b58063-0aab-410c-96f7-6cbb4d6eecc4', 'ip_version': 4, 'cidr': '137.113.239.64/26', 'allocation_pools': [{'start': '137.113.239.66', 'end': '137.113.239.126'}], 'gateway_ip': '137.113.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.113.239.66', 'tags': [], 'project_id': '771d472026db4e37846faae4cabcfb37'}} 2025-12-29 17:03:34,058 - INFO - Created VN ctest-vn-88055942 2025-12-29 17:03:34,113 - DEBUG - VN ctest-vn-88055942 UUID is 56b58063-0aab-410c-96f7-6cbb4d6eecc4 2025-12-29 17:03:34,466 - DEBUG - Response for create_network : {'network': {'id': '81027b01-61bf-48b9-8465-5dcded16d072', 'name': 'ctest-ext_vn-25882214', 'tenant_id': '771d472026db4e37846faae4cabcfb37', 'project_id': '771d472026db4e37846faae4cabcfb37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21931979', 'ctest-ext_vn-25882214'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 17:03:34,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '6bc23d17-3be7-4143-b9d7-3571f7b155c9', 'name': '', 'tenant_id': '771d472026db4e37846faae4cabcfb37', 'network_id': '81027b01-61bf-48b9-8465-5dcded16d072', 'ip_version': 4, 'cidr': '98.250.221.0/26', 'allocation_pools': [{'start': '98.250.221.2', 'end': '98.250.221.62'}], 'gateway_ip': '98.250.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.250.221.2', 'tags': [], 'project_id': '771d472026db4e37846faae4cabcfb37'}} 2025-12-29 17:03:34,682 - INFO - Created VN ctest-ext_vn-25882214 2025-12-29 17:03:34,737 - DEBUG - VN ctest-ext_vn-25882214 UUID is 81027b01-61bf-48b9-8465-5dcded16d072 2025-12-29 17:03:34,918 - DEBUG - Services list from nova: [, , ] 2025-12-29 17:03:36,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4937-1) 2025-12-29 17:03:37,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4937-1) 2025-12-29 17:03:37,480 - INFO - Setting gateway for router 0458f42e-be34-488e-8555-80c94e21c5f3 to network 81027b01-61bf-48b9-8465-5dcded16d072 2025-12-29 17:03:37,593 - INFO - Adding interface with subnet_id 035c5358-0aca-45e7-8ac6-bb51e8637f8f, port_id None to router 0458f42e-be34-488e-8555-80c94e21c5f3 2025-12-29 17:03:38,011 - INFO - Waiting for VM ctest-TestRoutersBasic-21931979-32123543 to be up.. 2025-12-29 17:03:38,181 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 17:03:43,273 - DEBUG - VM is in ACTIVE state now 2025-12-29 17:03:43,273 - INFO - VM name : ctest-TestRoutersBasic-21931979-32123543 2025-12-29 17:03:43,361 - DEBUG - VM ctest-TestRoutersBasic-21931979-32123543 ID is b56ce0e7-4c4e-4576-9acb-505a166c54af 2025-12-29 17:03:43,386 - DEBUG - VM ctest-TestRoutersBasic-21931979-32123543 launched on Node cn-jenkins-deploy-platform-ansible-os-4937-1 2025-12-29 17:03:43,470 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b56ce0e7-4c4e-4576-9acb-505a166c54af 2025-12-29 17:03:43,777 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b56ce0e7-4c4e-4576-9acb-505a166c54af 2025-12-29 17:03:43,822 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/127e8b92-f99b-4200-afc7-5c336c6ee60e 2025-12-29 17:03:47,112 - 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 1030ms') 2025-12-29 17:03:47,113 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21931979-32123543 failed! 2025-12-29 17:03:47,173 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21931979:ctest-vn-88055942 is 137.113.239.65 and allocation pool is NOT set 2025-12-29 17:03:49,239 - 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=5.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.41 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 = 2.407/3.901/5.396/1.494 ms') 2025-12-29 17:03:49,239 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21931979-32123543 passed 2025-12-29 17:03:49,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 17:03:49,393 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21931979-32123543, IP 137.113.239.67, Port 22 2025-12-29 17:03:49,564 - DEBUG - VM ctest-TestRoutersBasic-21931979-32123543 is ready for SSH connections 2025-12-29 17:03:49,564 - INFO - Waiting for VM ctest-TestRoutersBasic-21931979-29721996 to be up.. 2025-12-29 17:03:49,665 - DEBUG - VM is in ACTIVE state now 2025-12-29 17:03:49,665 - INFO - VM name : ctest-TestRoutersBasic-21931979-29721996 2025-12-29 17:03:49,760 - DEBUG - VM ctest-TestRoutersBasic-21931979-29721996 ID is 39efa39d-e42c-492c-b754-989de1963867 2025-12-29 17:03:49,761 - DEBUG - VM ctest-TestRoutersBasic-21931979-29721996 launched on Node cn-jenkins-deploy-platform-ansible-os-4937-1 2025-12-29 17:03:49,859 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/39efa39d-e42c-492c-b754-989de1963867 2025-12-29 17:03:49,871 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0bf75419-a7d3-40f0-a1f2-710db5858838 2025-12-29 17:03:51,115 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/2.534/4.544/2.009 ms') 2025-12-29 17:03:51,115 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21931979-29721996 passed 2025-12-29 17:03:51,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 17:03:51,269 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21931979-29721996, IP 98.250.221.3, Port 22 2025-12-29 17:03:51,435 - DEBUG - VM ctest-TestRoutersBasic-21931979-29721996 is ready for SSH connections 2025-12-29 17:03:51,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 17:03:51,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.250.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-29 17:03:51,436 - DEBUG - ping -s 56 -c 3 -W 1 98.250.221.3 2025-12-29 17:03:55,182 - DEBUG - PING 98.250.221.3 (98.250.221.3): 56 data bytes 64 bytes from 98.250.221.3: seq=0 ttl=62 time=7.549 ms 64 bytes from 98.250.221.3: seq=1 ttl=62 time=1.185 ms 64 bytes from 98.250.221.3: seq=2 ttl=62 time=1.085 ms --- 98.250.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.085/3.273/7.549 ms 2025-12-29 17:03:55,183 - INFO - Ping to IP 98.250.221.3 from VM ctest-TestRoutersBasic-21931979-32123543 passed 2025-12-29 17:03:55,183 - INFO - Deleting interface with subnet_id 035c5358-0aca-45e7-8ac6-bb51e8637f8f, port_id None from router 0458f42e-be34-488e-8555-80c94e21c5f3 2025-12-29 17:03:55,434 - INFO - Deleting VM ctest-TestRoutersBasic-21931979-29721996 2025-12-29 17:03:55,535 - INFO - Deleting VM ctest-TestRoutersBasic-21931979-32123543 2025-12-29 17:03:55,640 - INFO - Deleting VN ctest-ext_vn-25882214 2025-12-29 17:03:55,748 - DEBUG - VN 81027b01-61bf-48b9-8465-5dcded16d072 still in use: Unable to complete operation on network 81027b01-61bf-48b9-8465-5dcded16d072. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd8478ef-be41-4078-8a7b-91b9800bb915'] 2025-12-29 17:03:55,748 - WARNING - Deleting VN ctest-ext_vn-25882214 failed..Will retry 2025-12-29 17:03:57,886 - DEBUG - Response for deleting network () 2025-12-29 17:03:57,887 - INFO - Deleting VN ctest-vn-88055942 2025-12-29 17:03:58,014 - DEBUG - Response for deleting network () 2025-12-29 17:03:58,294 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 17:03:58,294 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-12-29 17:03:58,294 - INFO - -------------------------------------------------------------------------------- 2025-12-29 17:03:59,030 - INFO - Deleted project: ctest-TestRoutersBasic-21931979, ID : 771d4720-26db-4e37-846f-aae4cabcfb37