2025-08-15 18:49:17,869 - INFO - Domain Default found not creating 2025-08-15 18:49:18,028 - INFO - Project ctest-TestRoutersBasic-99758187 not found, creating it 2025-08-15 18:49:18,503 - INFO - Created Project:ctest-TestRoutersBasic-99758187, ID : 93487a04-4816-4f4a-bc69-6b18b7642e92 2025-08-15 18:49:20,042 - INFO - ================================================================================ 2025-08-15 18:49:20,043 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-15 18:49:20,043 - 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-08-15 18:49:20,309 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-15 18:49:20,309 - INFO - Initial checks done. Running the testcase now 2025-08-15 18:49:20,309 - INFO - 2025-08-15 18:49:21,083 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99758187 2025-08-15 18:49:21,180 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99758187 2025-08-15 18:49:21,504 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99758187', 'default']} 2025-08-15 18:49:21,802 - DEBUG - Response for create_network : {'network': {'id': '19a22f93-fa59-4e7f-a11a-37b94bfb236a', 'name': 'ctest-vn-54679064', 'tenant_id': '93487a0448164f4abc696b18b7642e92', 'project_id': '93487a0448164f4abc696b18b7642e92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99758187', 'ctest-vn-54679064'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 18:49:22,011 - DEBUG - Response for create_subnet : {'subnet': {'id': '19590432-c6fe-40c6-8d68-7c2ebc7d4764', 'name': '', 'tenant_id': '93487a0448164f4abc696b18b7642e92', 'network_id': '19a22f93-fa59-4e7f-a11a-37b94bfb236a', 'ip_version': 4, 'cidr': '119.146.108.64/26', 'allocation_pools': [{'start': '119.146.108.66', 'end': '119.146.108.126'}], 'gateway_ip': '119.146.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.146.108.66', 'tags': [], 'project_id': '93487a0448164f4abc696b18b7642e92'}} 2025-08-15 18:49:22,030 - INFO - Created VN ctest-vn-54679064 2025-08-15 18:49:22,084 - DEBUG - VN ctest-vn-54679064 UUID is 19a22f93-fa59-4e7f-a11a-37b94bfb236a 2025-08-15 18:49:22,405 - DEBUG - Response for create_network : {'network': {'id': 'bc8d96f2-5b2e-45b0-85bf-ac6819fe9125', 'name': 'ctest-ext_vn-59636212', 'tenant_id': '93487a0448164f4abc696b18b7642e92', 'project_id': '93487a0448164f4abc696b18b7642e92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99758187', 'ctest-ext_vn-59636212'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 18:49:22,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '31097718-566e-4b9a-a61f-55e153d61586', 'name': '', 'tenant_id': '93487a0448164f4abc696b18b7642e92', 'network_id': 'bc8d96f2-5b2e-45b0-85bf-ac6819fe9125', 'ip_version': 4, 'cidr': '25.133.157.0/26', 'allocation_pools': [{'start': '25.133.157.2', 'end': '25.133.157.62'}], 'gateway_ip': '25.133.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.133.157.2', 'tags': [], 'project_id': '93487a0448164f4abc696b18b7642e92'}} 2025-08-15 18:49:22,659 - INFO - Created VN ctest-ext_vn-59636212 2025-08-15 18:49:22,712 - DEBUG - VN ctest-ext_vn-59636212 UUID is bc8d96f2-5b2e-45b0-85bf-ac6819fe9125 2025-08-15 18:49:22,919 - DEBUG - Services list from nova: [, , ] 2025-08-15 18:49:24,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3869-1) 2025-08-15 18:49:25,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3869-1) 2025-08-15 18:49:25,294 - INFO - Setting gateway for router 28bbd671-09e4-4938-bf9e-66e64f252e35 to network bc8d96f2-5b2e-45b0-85bf-ac6819fe9125 2025-08-15 18:49:25,366 - INFO - Adding interface with subnet_id 19590432-c6fe-40c6-8d68-7c2ebc7d4764, port_id None to router 28bbd671-09e4-4938-bf9e-66e64f252e35 2025-08-15 18:49:25,817 - INFO - Waiting for VM ctest-TestRoutersBasic-99758187-63204631 to be up.. 2025-08-15 18:49:25,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 18:49:31,072 - DEBUG - VM is in ACTIVE state now 2025-08-15 18:49:31,072 - INFO - VM name : ctest-TestRoutersBasic-99758187-63204631 2025-08-15 18:49:31,150 - DEBUG - VM ctest-TestRoutersBasic-99758187-63204631 ID is 8bdb6ccb-7ba4-4eec-9f5a-21adc717d2e7 2025-08-15 18:49:31,171 - DEBUG - VM ctest-TestRoutersBasic-99758187-63204631 launched on Node cn-jenkins-deploy-platform-ansible-os-3869-1 2025-08-15 18:49:31,254 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8bdb6ccb-7ba4-4eec-9f5a-21adc717d2e7 2025-08-15 18:49:31,591 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8bdb6ccb-7ba4-4eec-9f5a-21adc717d2e7 2025-08-15 18:49:31,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/311cfe62-2067-44dd-89cc-4bfb478e6846 2025-08-15 18:49:34,885 - 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 1006ms') 2025-08-15 18:49:34,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99758187-63204631 failed! 2025-08-15 18:49:34,944 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99758187:ctest-vn-54679064 is 119.146.108.65 and allocation pool is NOT set 2025-08-15 18:49:37,005 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.823/3.230/1.406 ms') 2025-08-15 18:49:37,005 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99758187-63204631 passed 2025-08-15 18:49:37,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:49:37,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99758187-63204631, IP 119.146.108.67, Port 22 2025-08-15 18:49:37,319 - DEBUG - VM ctest-TestRoutersBasic-99758187-63204631 is ready for SSH connections 2025-08-15 18:49:37,319 - INFO - Waiting for VM ctest-TestRoutersBasic-99758187-96732090 to be up.. 2025-08-15 18:49:37,399 - DEBUG - VM is in ACTIVE state now 2025-08-15 18:49:37,400 - INFO - VM name : ctest-TestRoutersBasic-99758187-96732090 2025-08-15 18:49:37,474 - DEBUG - VM ctest-TestRoutersBasic-99758187-96732090 ID is db5f228c-c517-4855-8a58-9c3ed451cb14 2025-08-15 18:49:37,475 - DEBUG - VM ctest-TestRoutersBasic-99758187-96732090 launched on Node cn-jenkins-deploy-platform-ansible-os-3869-1 2025-08-15 18:49:37,549 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/db5f228c-c517-4855-8a58-9c3ed451cb14 2025-08-15 18:49:37,557 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/57b35557-0b2f-4cbf-96ac-9b1856b66b54 2025-08-15 18:49:38,804 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.949 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.949/2.405/3.862/1.456 ms') 2025-08-15 18:49:38,804 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99758187-96732090 passed 2025-08-15 18:49:38,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:49:38,960 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99758187-96732090, IP 25.133.157.3, Port 22 2025-08-15 18:49:39,124 - DEBUG - VM ctest-TestRoutersBasic-99758187-96732090 is ready for SSH connections 2025-08-15 18:49:39,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:49:39,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.133.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 18:49:39,124 - DEBUG - ping -s 56 -c 3 -W 1 25.133.157.3 2025-08-15 18:49:42,832 - DEBUG - PING 25.133.157.3 (25.133.157.3): 56 data bytes 64 bytes from 25.133.157.3: seq=0 ttl=62 time=4.960 ms 64 bytes from 25.133.157.3: seq=1 ttl=62 time=0.977 ms 64 bytes from 25.133.157.3: seq=2 ttl=62 time=1.021 ms --- 25.133.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/2.319/4.960 ms 2025-08-15 18:49:42,832 - INFO - Ping to IP 25.133.157.3 from VM ctest-TestRoutersBasic-99758187-63204631 passed 2025-08-15 18:49:42,832 - INFO - Deleting interface with subnet_id 19590432-c6fe-40c6-8d68-7c2ebc7d4764, port_id None from router 28bbd671-09e4-4938-bf9e-66e64f252e35 2025-08-15 18:49:43,058 - INFO - Deleting VM ctest-TestRoutersBasic-99758187-96732090 2025-08-15 18:49:43,145 - INFO - Deleting VM ctest-TestRoutersBasic-99758187-63204631 2025-08-15 18:49:43,229 - INFO - Deleting VN ctest-ext_vn-59636212 2025-08-15 18:49:43,314 - DEBUG - VN bc8d96f2-5b2e-45b0-85bf-ac6819fe9125 still in use: Unable to complete operation on network bc8d96f2-5b2e-45b0-85bf-ac6819fe9125. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-285757aa-5593-4d49-8c43-705c05d33c6f'] 2025-08-15 18:49:43,314 - WARNING - Deleting VN ctest-ext_vn-59636212 failed..Will retry 2025-08-15 18:49:45,428 - DEBUG - Response for deleting network () 2025-08-15 18:49:45,428 - INFO - Deleting VN ctest-vn-54679064 2025-08-15 18:49:45,550 - DEBUG - Response for deleting network () 2025-08-15 18:49:45,810 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 18:49:45,810 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-15 18:49:45,810 - INFO - -------------------------------------------------------------------------------- 2025-08-15 18:49:46,568 - INFO - Deleted project: ctest-TestRoutersBasic-99758187, ID : 93487a04-4816-4f4a-bc69-6b18b7642e92