2025-10-21 07:39:46,058 - INFO - Domain Default found not creating 2025-10-21 07:39:46,182 - INFO - Project ctest-TestRoutersBasic-36036882 not found, creating it 2025-10-21 07:39:46,607 - INFO - Created Project:ctest-TestRoutersBasic-36036882, ID : 96b217af-6638-403b-ae7d-5eac08e8235f 2025-10-21 07:39:47,929 - INFO - ================================================================================ 2025-10-21 07:39:47,929 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 07:39:47,929 - 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-21 07:39:48,182 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 07:39:48,182 - INFO - Initial checks done. Running the testcase now 2025-10-21 07:39:48,182 - INFO - 2025-10-21 07:39:48,858 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36036882 2025-10-21 07:39:48,954 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36036882 2025-10-21 07:39:49,266 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36036882', 'default']} 2025-10-21 07:39:49,548 - DEBUG - Response for create_network : {'network': {'id': 'd06dd773-b4a0-4f3e-a34c-4496b5a3adb8', 'name': 'ctest-vn-64617976', 'tenant_id': '96b217af6638403bae7d5eac08e8235f', 'project_id': '96b217af6638403bae7d5eac08e8235f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36036882', 'ctest-vn-64617976'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 07:39:49,735 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2027234-6d5c-40ba-bee8-828c33dd6c6b', 'name': '', 'tenant_id': '96b217af6638403bae7d5eac08e8235f', 'network_id': 'd06dd773-b4a0-4f3e-a34c-4496b5a3adb8', 'ip_version': 4, 'cidr': '100.207.92.0/26', 'allocation_pools': [{'start': '100.207.92.2', 'end': '100.207.92.62'}], 'gateway_ip': '100.207.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.207.92.2', 'tags': [], 'project_id': '96b217af6638403bae7d5eac08e8235f'}} 2025-10-21 07:39:49,750 - INFO - Created VN ctest-vn-64617976 2025-10-21 07:39:49,802 - DEBUG - VN ctest-vn-64617976 UUID is d06dd773-b4a0-4f3e-a34c-4496b5a3adb8 2025-10-21 07:39:50,129 - DEBUG - Response for create_network : {'network': {'id': '3b9d26cb-15d2-4f3c-aa4b-6fdf8b15dd8e', 'name': 'ctest-ext_vn-87134465', 'tenant_id': '96b217af6638403bae7d5eac08e8235f', 'project_id': '96b217af6638403bae7d5eac08e8235f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36036882', 'ctest-ext_vn-87134465'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 07:39:50,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec38a715-e859-40e5-af3c-da003b88f3bf', 'name': '', 'tenant_id': '96b217af6638403bae7d5eac08e8235f', 'network_id': '3b9d26cb-15d2-4f3c-aa4b-6fdf8b15dd8e', 'ip_version': 4, 'cidr': '138.108.113.128/26', 'allocation_pools': [{'start': '138.108.113.130', 'end': '138.108.113.190'}], 'gateway_ip': '138.108.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.108.113.130', 'tags': [], 'project_id': '96b217af6638403bae7d5eac08e8235f'}} 2025-10-21 07:39:50,297 - INFO - Created VN ctest-ext_vn-87134465 2025-10-21 07:39:50,346 - DEBUG - VN ctest-ext_vn-87134465 UUID is 3b9d26cb-15d2-4f3c-aa4b-6fdf8b15dd8e 2025-10-21 07:39:50,501 - DEBUG - Services list from nova: [, , ] 2025-10-21 07:39:51,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4390-1) 2025-10-21 07:39:52,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4390-1) 2025-10-21 07:39:52,557 - INFO - Setting gateway for router 6f8214dd-dbb2-4fac-b9e7-94f83aacba37 to network 3b9d26cb-15d2-4f3c-aa4b-6fdf8b15dd8e 2025-10-21 07:39:52,610 - INFO - Adding interface with subnet_id c2027234-6d5c-40ba-bee8-828c33dd6c6b, port_id None to router 6f8214dd-dbb2-4fac-b9e7-94f83aacba37 2025-10-21 07:39:52,837 - INFO - Waiting for VM ctest-TestRoutersBasic-36036882-81521100 to be up.. 2025-10-21 07:39:52,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 07:39:58,056 - DEBUG - VM is in ACTIVE state now 2025-10-21 07:39:58,056 - INFO - VM name : ctest-TestRoutersBasic-36036882-81521100 2025-10-21 07:39:58,125 - DEBUG - VM ctest-TestRoutersBasic-36036882-81521100 ID is 3e228931-1282-4acf-b581-bd12b4344b69 2025-10-21 07:39:58,145 - DEBUG - VM ctest-TestRoutersBasic-36036882-81521100 launched on Node cn-jenkins-deploy-platform-ansible-os-4390-1 2025-10-21 07:39:58,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3e228931-1282-4acf-b581-bd12b4344b69 2025-10-21 07:39:58,514 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3e228931-1282-4acf-b581-bd12b4344b69 2025-10-21 07:39:58,556 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8b8ccf70-d654-4864-b2e7-e06781f5f4f8 2025-10-21 07:40:01,820 - 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 1015ms') 2025-10-21 07:40:01,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36036882-81521100 failed! 2025-10-21 07:40:01,874 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36036882:ctest-vn-64617976 is 100.207.92.1 and allocation pool is NOT set 2025-10-21 07:40:03,940 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.829 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.829/2.375/3.922/1.546 ms') 2025-10-21 07:40:03,940 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36036882-81521100 passed 2025-10-21 07:40:04,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:40:04,086 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36036882-81521100, IP 100.207.92.3, Port 22 2025-10-21 07:40:04,241 - DEBUG - VM ctest-TestRoutersBasic-36036882-81521100 is ready for SSH connections 2025-10-21 07:40:04,241 - INFO - Waiting for VM ctest-TestRoutersBasic-36036882-51051412 to be up.. 2025-10-21 07:40:04,309 - DEBUG - VM is in ACTIVE state now 2025-10-21 07:40:04,309 - INFO - VM name : ctest-TestRoutersBasic-36036882-51051412 2025-10-21 07:40:04,372 - DEBUG - VM ctest-TestRoutersBasic-36036882-51051412 ID is c76d8c13-0620-455e-947a-df482855b49a 2025-10-21 07:40:04,372 - DEBUG - VM ctest-TestRoutersBasic-36036882-51051412 launched on Node cn-jenkins-deploy-platform-ansible-os-4390-1 2025-10-21 07:40:04,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c76d8c13-0620-455e-947a-df482855b49a 2025-10-21 07:40:04,444 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/85aff0ba-1d3d-4af1-9cc3-df4de9c57be5 2025-10-21 07:40:05,691 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.395/1.804/3.213/1.409 ms') 2025-10-21 07:40:05,691 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36036882-51051412 passed 2025-10-21 07:40:05,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:40:05,842 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36036882-51051412, IP 138.108.113.131, Port 22 2025-10-21 07:40:05,997 - DEBUG - VM ctest-TestRoutersBasic-36036882-51051412 is ready for SSH connections 2025-10-21 07:40:05,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:40:05,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.108.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 07:40:05,998 - DEBUG - ping -s 56 -c 3 -W 1 138.108.113.131 2025-10-21 07:40:09,678 - DEBUG - PING 138.108.113.131 (138.108.113.131): 56 data bytes 64 bytes from 138.108.113.131: seq=0 ttl=62 time=4.424 ms 64 bytes from 138.108.113.131: seq=1 ttl=62 time=1.014 ms 64 bytes from 138.108.113.131: seq=2 ttl=62 time=0.729 ms --- 138.108.113.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.729/2.055/4.424 ms 2025-10-21 07:40:09,678 - INFO - Ping to IP 138.108.113.131 from VM ctest-TestRoutersBasic-36036882-81521100 passed 2025-10-21 07:40:09,678 - INFO - Deleting interface with subnet_id c2027234-6d5c-40ba-bee8-828c33dd6c6b, port_id None from router 6f8214dd-dbb2-4fac-b9e7-94f83aacba37 2025-10-21 07:40:09,828 - INFO - Deleting VM ctest-TestRoutersBasic-36036882-51051412 2025-10-21 07:40:09,892 - INFO - Deleting VM ctest-TestRoutersBasic-36036882-81521100 2025-10-21 07:40:09,968 - INFO - Deleting VN ctest-ext_vn-87134465 2025-10-21 07:40:10,030 - DEBUG - VN 3b9d26cb-15d2-4f3c-aa4b-6fdf8b15dd8e still in use: Unable to complete operation on network 3b9d26cb-15d2-4f3c-aa4b-6fdf8b15dd8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a944317d-5cbe-4558-8a23-9987b44116e2'] 2025-10-21 07:40:10,031 - WARNING - Deleting VN ctest-ext_vn-87134465 failed..Will retry 2025-10-21 07:40:12,118 - DEBUG - Response for deleting network () 2025-10-21 07:40:12,118 - INFO - Deleting VN ctest-vn-64617976 2025-10-21 07:40:12,199 - DEBUG - Response for deleting network () 2025-10-21 07:40:12,450 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 07:40:12,450 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-21 07:40:12,450 - INFO - -------------------------------------------------------------------------------- 2025-10-21 07:40:13,089 - INFO - Deleted project: ctest-TestRoutersBasic-36036882, ID : 96b217af-6638-403b-ae7d-5eac08e8235f