2025-11-25 12:40:51,137 - INFO - Domain Default found not creating 2025-11-25 12:40:51,361 - INFO - Project ctest-TestRoutersBasic-64233000 not found, creating it 2025-11-25 12:40:51,870 - INFO - Created Project:ctest-TestRoutersBasic-64233000, ID : d0f54991-80a8-4587-a379-6d2cef04e6de 2025-11-25 12:40:53,571 - INFO - ================================================================================ 2025-11-25 12:40:53,571 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-25 12:40:53,571 - 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-25 12:40:53,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-25 12:40:53,856 - INFO - Initial checks done. Running the testcase now 2025-11-25 12:40:53,856 - INFO - 2025-11-25 12:40:54,611 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64233000 2025-11-25 12:40:54,711 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64233000 2025-11-25 12:40:55,059 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64233000', 'default']} 2025-11-25 12:40:55,392 - DEBUG - Response for create_network : {'network': {'id': 'd9de829f-5483-4af7-bd28-0532abcbd281', 'name': 'ctest-vn-69311628', 'tenant_id': 'd0f5499180a84587a3796d2cef04e6de', 'project_id': 'd0f5499180a84587a3796d2cef04e6de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64233000', 'ctest-vn-69311628'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:40:55,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '83b7eebd-d3e7-4c2e-a810-3f2b313d6a6e', 'name': '', 'tenant_id': 'd0f5499180a84587a3796d2cef04e6de', 'network_id': 'd9de829f-5483-4af7-bd28-0532abcbd281', 'ip_version': 4, 'cidr': '76.55.161.128/26', 'allocation_pools': [{'start': '76.55.161.130', 'end': '76.55.161.190'}], 'gateway_ip': '76.55.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.55.161.130', 'tags': [], 'project_id': 'd0f5499180a84587a3796d2cef04e6de'}} 2025-11-25 12:40:55,598 - INFO - Created VN ctest-vn-69311628 2025-11-25 12:40:55,655 - DEBUG - VN ctest-vn-69311628 UUID is d9de829f-5483-4af7-bd28-0532abcbd281 2025-11-25 12:40:56,028 - DEBUG - Response for create_network : {'network': {'id': 'cba70fd6-13f1-4a97-aa1f-7cc0ea050f5d', 'name': 'ctest-ext_vn-76442762', 'tenant_id': 'd0f5499180a84587a3796d2cef04e6de', 'project_id': 'd0f5499180a84587a3796d2cef04e6de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64233000', 'ctest-ext_vn-76442762'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:40:56,239 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a811924-f4b3-4731-a1ee-d50250dbf501', 'name': '', 'tenant_id': 'd0f5499180a84587a3796d2cef04e6de', 'network_id': 'cba70fd6-13f1-4a97-aa1f-7cc0ea050f5d', 'ip_version': 4, 'cidr': '86.122.218.64/26', 'allocation_pools': [{'start': '86.122.218.66', 'end': '86.122.218.126'}], 'gateway_ip': '86.122.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.122.218.66', 'tags': [], 'project_id': 'd0f5499180a84587a3796d2cef04e6de'}} 2025-11-25 12:40:56,262 - INFO - Created VN ctest-ext_vn-76442762 2025-11-25 12:40:56,315 - DEBUG - VN ctest-ext_vn-76442762 UUID is cba70fd6-13f1-4a97-aa1f-7cc0ea050f5d 2025-11-25 12:40:56,505 - DEBUG - Services list from nova: [, , ] 2025-11-25 12:40:57,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:40:59,052 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:40:59,138 - INFO - Setting gateway for router 3bd98cb9-2f06-4f01-b5ea-0be134d322b3 to network cba70fd6-13f1-4a97-aa1f-7cc0ea050f5d 2025-11-25 12:40:59,217 - INFO - Adding interface with subnet_id 83b7eebd-d3e7-4c2e-a810-3f2b313d6a6e, port_id None to router 3bd98cb9-2f06-4f01-b5ea-0be134d322b3 2025-11-25 12:40:59,597 - INFO - Waiting for VM ctest-TestRoutersBasic-64233000-20346322 to be up.. 2025-11-25 12:40:59,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-25 12:41:04,893 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:41:04,893 - INFO - VM name : ctest-TestRoutersBasic-64233000-20346322 2025-11-25 12:41:04,979 - DEBUG - VM ctest-TestRoutersBasic-64233000-20346322 ID is ef806239-e432-4279-897e-341caa78138f 2025-11-25 12:41:05,008 - DEBUG - VM ctest-TestRoutersBasic-64233000-20346322 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:41:05,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef806239-e432-4279-897e-341caa78138f 2025-11-25 12:41:05,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef806239-e432-4279-897e-341caa78138f 2025-11-25 12:41:05,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6923212a-a0eb-4a42-8e79-a8d030f605b7 2025-11-25 12:41:08,811 - 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 1019ms') 2025-11-25 12:41:08,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64233000-20346322 failed! 2025-11-25 12:41:08,871 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64233000:ctest-vn-69311628 is 76.55.161.129 and allocation pool is NOT set 2025-11-25 12:41:10,952 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.84 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.843/3.649/4.455/0.806 ms') 2025-11-25 12:41:10,952 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64233000-20346322 passed 2025-11-25 12:41:11,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:41:11,111 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64233000-20346322, IP 76.55.161.131, Port 22 2025-11-25 12:41:11,290 - DEBUG - VM ctest-TestRoutersBasic-64233000-20346322 is ready for SSH connections 2025-11-25 12:41:11,291 - INFO - Waiting for VM ctest-TestRoutersBasic-64233000-95434076 to be up.. 2025-11-25 12:41:11,429 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:41:11,429 - INFO - VM name : ctest-TestRoutersBasic-64233000-95434076 2025-11-25 12:41:11,515 - DEBUG - VM ctest-TestRoutersBasic-64233000-95434076 ID is b681551a-81e6-4e03-86db-540f29698bf1 2025-11-25 12:41:11,515 - DEBUG - VM ctest-TestRoutersBasic-64233000-95434076 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:41:11,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b681551a-81e6-4e03-86db-540f29698bf1 2025-11-25 12:41:11,610 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4c49ac6-7296-414b-b16e-78242af98c30 2025-11-25 12:41:12,874 - 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=6.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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 = 1.314/3.693/6.073/2.379 ms') 2025-11-25 12:41:12,875 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64233000-95434076 passed 2025-11-25 12:41:13,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:41:13,035 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64233000-95434076, IP 86.122.218.67, Port 22 2025-11-25 12:41:13,209 - DEBUG - VM ctest-TestRoutersBasic-64233000-95434076 is ready for SSH connections 2025-11-25 12:41:13,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:41:13,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.122.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-25 12:41:13,210 - DEBUG - ping -s 56 -c 3 -W 1 86.122.218.67 2025-11-25 12:41:17,212 - DEBUG - PING 86.122.218.67 (86.122.218.67): 56 data bytes 64 bytes from 86.122.218.67: seq=0 ttl=62 time=9.078 ms 64 bytes from 86.122.218.67: seq=1 ttl=62 time=1.086 ms 64 bytes from 86.122.218.67: seq=2 ttl=62 time=1.723 ms --- 86.122.218.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.086/3.962/9.078 ms 2025-11-25 12:41:17,212 - INFO - Ping to IP 86.122.218.67 from VM ctest-TestRoutersBasic-64233000-20346322 passed 2025-11-25 12:41:17,212 - INFO - Deleting interface with subnet_id 83b7eebd-d3e7-4c2e-a810-3f2b313d6a6e, port_id None from router 3bd98cb9-2f06-4f01-b5ea-0be134d322b3 2025-11-25 12:41:17,437 - INFO - Deleting VM ctest-TestRoutersBasic-64233000-95434076 2025-11-25 12:41:17,523 - INFO - Deleting VM ctest-TestRoutersBasic-64233000-20346322 2025-11-25 12:41:17,608 - INFO - Deleting VN ctest-ext_vn-76442762 2025-11-25 12:41:17,679 - DEBUG - VN cba70fd6-13f1-4a97-aa1f-7cc0ea050f5d still in use: Unable to complete operation on network cba70fd6-13f1-4a97-aa1f-7cc0ea050f5d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f525d958-17ab-4ada-9b54-23dfcd55e98b'] 2025-11-25 12:41:17,679 - WARNING - Deleting VN ctest-ext_vn-76442762 failed..Will retry 2025-11-25 12:41:19,826 - DEBUG - Response for deleting network () 2025-11-25 12:41:19,826 - INFO - Deleting VN ctest-vn-69311628 2025-11-25 12:41:19,929 - DEBUG - Response for deleting network () 2025-11-25 12:41:20,201 - DEBUG - No XMPP flaps were noticed during the test 2025-11-25 12:41:20,201 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-11-25 12:41:20,201 - INFO - -------------------------------------------------------------------------------- 2025-11-25 12:41:21,047 - INFO - Deleted project: ctest-TestRoutersBasic-64233000, ID : d0f54991-80a8-4587-a379-6d2cef04e6de