2026-02-03 15:38:05,633 - INFO - Domain Default found not creating 2026-02-03 15:38:05,814 - INFO - Project ctest-TestRoutersBasic-75677612 not found, creating it 2026-02-03 15:38:06,305 - INFO - Created Project:ctest-TestRoutersBasic-75677612, ID : aa7bf45e-9974-4e7e-9b26-ea43bde5671e 2026-02-03 15:38:07,972 - INFO - ================================================================================ 2026-02-03 15:38:07,972 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-03 15:38:07,972 - 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 2026-02-03 15:38:08,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-02-03 15:38:08,229 - INFO - Initial checks done. Running the testcase now 2026-02-03 15:38:08,229 - INFO - 2026-02-03 15:38:08,969 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75677612 2026-02-03 15:38:09,063 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75677612 2026-02-03 15:38:09,383 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75677612', 'default']} 2026-02-03 15:38:09,703 - DEBUG - Response for create_network : {'network': {'id': '20bf75c6-f631-4f5f-bf4a-87bdc52bb95f', 'name': 'ctest-vn-06803744', 'tenant_id': 'aa7bf45e99744e7e9b26ea43bde5671e', 'project_id': 'aa7bf45e99744e7e9b26ea43bde5671e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75677612', 'ctest-vn-06803744'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 15:38:09,907 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6312356-4506-40cd-8c9b-a5810b0ea9d3', 'name': '', 'tenant_id': 'aa7bf45e99744e7e9b26ea43bde5671e', 'network_id': '20bf75c6-f631-4f5f-bf4a-87bdc52bb95f', 'ip_version': 4, 'cidr': '45.132.250.0/26', 'allocation_pools': [{'start': '45.132.250.2', 'end': '45.132.250.62'}], 'gateway_ip': '45.132.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.132.250.2', 'tags': [], 'project_id': 'aa7bf45e99744e7e9b26ea43bde5671e'}} 2026-02-03 15:38:09,925 - INFO - Created VN ctest-vn-06803744 2026-02-03 15:38:09,979 - DEBUG - VN ctest-vn-06803744 UUID is 20bf75c6-f631-4f5f-bf4a-87bdc52bb95f 2026-02-03 15:38:10,299 - DEBUG - Response for create_network : {'network': {'id': 'd8f4cbb0-038e-4c38-bc1d-75a7c9ff49bd', 'name': 'ctest-ext_vn-43244515', 'tenant_id': 'aa7bf45e99744e7e9b26ea43bde5671e', 'project_id': 'aa7bf45e99744e7e9b26ea43bde5671e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75677612', 'ctest-ext_vn-43244515'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 15:38:10,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '054dd1ed-3ba3-4565-84a7-e34bed50cfd7', 'name': '', 'tenant_id': 'aa7bf45e99744e7e9b26ea43bde5671e', 'network_id': 'd8f4cbb0-038e-4c38-bc1d-75a7c9ff49bd', 'ip_version': 4, 'cidr': '124.250.64.0/26', 'allocation_pools': [{'start': '124.250.64.2', 'end': '124.250.64.62'}], 'gateway_ip': '124.250.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.250.64.2', 'tags': [], 'project_id': 'aa7bf45e99744e7e9b26ea43bde5671e'}} 2026-02-03 15:38:10,503 - INFO - Created VN ctest-ext_vn-43244515 2026-02-03 15:38:10,555 - DEBUG - VN ctest-ext_vn-43244515 UUID is d8f4cbb0-038e-4c38-bc1d-75a7c9ff49bd 2026-02-03 15:38:10,720 - DEBUG - Services list from nova: [, , ] 2026-02-03 15:38:11,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5191-1) 2026-02-03 15:38:12,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5191-1) 2026-02-03 15:38:13,013 - INFO - Setting gateway for router 5735693e-2ac9-44a2-9960-3f6a3f216617 to network d8f4cbb0-038e-4c38-bc1d-75a7c9ff49bd 2026-02-03 15:38:13,075 - INFO - Adding interface with subnet_id d6312356-4506-40cd-8c9b-a5810b0ea9d3, port_id None to router 5735693e-2ac9-44a2-9960-3f6a3f216617 2026-02-03 15:38:13,440 - INFO - Waiting for VM ctest-TestRoutersBasic-75677612-30473725 to be up.. 2026-02-03 15:38:13,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 15:38:18,662 - DEBUG - VM is in ACTIVE state now 2026-02-03 15:38:18,662 - INFO - VM name : ctest-TestRoutersBasic-75677612-30473725 2026-02-03 15:38:18,744 - DEBUG - VM ctest-TestRoutersBasic-75677612-30473725 ID is de985279-fdcb-4d31-855f-228a4cd29c09 2026-02-03 15:38:18,765 - DEBUG - VM ctest-TestRoutersBasic-75677612-30473725 launched on Node cn-jenkins-deploy-platform-ansible-os-5191-1 2026-02-03 15:38:18,853 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/de985279-fdcb-4d31-855f-228a4cd29c09 2026-02-03 15:38:19,153 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/de985279-fdcb-4d31-855f-228a4cd29c09 2026-02-03 15:38:19,191 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cea12ec9-faed-476b-bf47-3bd4136360b7 2026-02-03 15:38:22,451 - 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 1027ms') 2026-02-03 15:38:22,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75677612-30473725 failed! 2026-02-03 15:38:22,507 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75677612:ctest-vn-06803744 is 45.132.250.1 and allocation pool is NOT set 2026-02-03 15:38:24,572 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.949 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.949/2.942/4.936/1.993 ms') 2026-02-03 15:38:24,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75677612-30473725 passed 2026-02-03 15:38:24,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 15:38:24,727 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75677612-30473725, IP 45.132.250.3, Port 22 2026-02-03 15:38:24,883 - DEBUG - VM ctest-TestRoutersBasic-75677612-30473725 is ready for SSH connections 2026-02-03 15:38:24,883 - INFO - Waiting for VM ctest-TestRoutersBasic-75677612-10843154 to be up.. 2026-02-03 15:38:24,966 - DEBUG - VM is in ACTIVE state now 2026-02-03 15:38:24,966 - INFO - VM name : ctest-TestRoutersBasic-75677612-10843154 2026-02-03 15:38:25,047 - DEBUG - VM ctest-TestRoutersBasic-75677612-10843154 ID is 4ed045c5-35ea-4e2f-8119-c8079549abd7 2026-02-03 15:38:25,048 - DEBUG - VM ctest-TestRoutersBasic-75677612-10843154 launched on Node cn-jenkins-deploy-platform-ansible-os-5191-1 2026-02-03 15:38:25,124 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4ed045c5-35ea-4e2f-8119-c8079549abd7 2026-02-03 15:38:25,133 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c862d1c3-6046-4a4e-8f02-bc1c4269fa46 2026-02-03 15:38:26,374 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/1.335/2.164/0.828 ms') 2026-02-03 15:38:26,374 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75677612-10843154 passed 2026-02-03 15:38:26,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 15:38:26,527 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75677612-10843154, IP 124.250.64.3, Port 22 2026-02-03 15:38:26,683 - DEBUG - VM ctest-TestRoutersBasic-75677612-10843154 is ready for SSH connections 2026-02-03 15:38:26,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 15:38:26,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.250.64.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-03 15:38:26,683 - DEBUG - ping -s 56 -c 3 -W 1 124.250.64.3 2026-02-03 15:38:30,393 - DEBUG - PING 124.250.64.3 (124.250.64.3): 56 data bytes 64 bytes from 124.250.64.3: seq=0 ttl=62 time=6.173 ms 64 bytes from 124.250.64.3: seq=1 ttl=62 time=1.002 ms 64 bytes from 124.250.64.3: seq=2 ttl=62 time=1.116 ms --- 124.250.64.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.002/2.763/6.173 ms 2026-02-03 15:38:30,393 - INFO - Ping to IP 124.250.64.3 from VM ctest-TestRoutersBasic-75677612-30473725 passed 2026-02-03 15:38:30,393 - INFO - Deleting interface with subnet_id d6312356-4506-40cd-8c9b-a5810b0ea9d3, port_id None from router 5735693e-2ac9-44a2-9960-3f6a3f216617 2026-02-03 15:38:30,603 - INFO - Deleting VM ctest-TestRoutersBasic-75677612-10843154 2026-02-03 15:38:30,703 - INFO - Deleting VM ctest-TestRoutersBasic-75677612-30473725 2026-02-03 15:38:30,808 - INFO - Deleting VN ctest-ext_vn-43244515 2026-02-03 15:38:30,910 - DEBUG - VN d8f4cbb0-038e-4c38-bc1d-75a7c9ff49bd still in use: Unable to complete operation on network d8f4cbb0-038e-4c38-bc1d-75a7c9ff49bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f77fbeba-59d5-40bd-86fc-02ecdcbb7984'] 2026-02-03 15:38:30,910 - WARNING - Deleting VN ctest-ext_vn-43244515 failed..Will retry 2026-02-03 15:38:33,049 - DEBUG - Response for deleting network () 2026-02-03 15:38:33,050 - INFO - Deleting VN ctest-vn-06803744 2026-02-03 15:38:33,157 - DEBUG - Response for deleting network () 2026-02-03 15:38:33,416 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 15:38:33,416 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-02-03 15:38:33,416 - INFO - -------------------------------------------------------------------------------- 2026-02-03 15:38:34,210 - INFO - Deleted project: ctest-TestRoutersBasic-75677612, ID : aa7bf45e-9974-4e7e-9b26-ea43bde5671e