2026-11-02 21:32:09,702 - INFO - Domain Default found not creating 2026-11-02 21:32:09,898 - INFO - Project ctest-TestRoutersBasic-91272294 not found, creating it 2026-11-02 21:32:10,420 - INFO - Created Project:ctest-TestRoutersBasic-91272294, ID : ea8361ad-ecee-4465-ac29-817d5506bd98 2026-11-02 21:32:12,075 - INFO - ================================================================================ 2026-11-02 21:32:12,075 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-02 21:32:12,075 - 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-11-02 21:32:12,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-11-02 21:32:12,331 - INFO - Initial checks done. Running the testcase now 2026-11-02 21:32:12,331 - INFO - 2026-11-02 21:32:13,102 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91272294 2026-11-02 21:32:13,203 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91272294 2026-11-02 21:32:13,526 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91272294', 'default']} 2026-11-02 21:32:13,818 - DEBUG - Response for create_network : {'network': {'id': '575690a6-a60e-4d70-8e5c-28c7a311ce10', 'name': 'ctest-vn-22985151', 'tenant_id': 'ea8361adecee4465ac29817d5506bd98', 'project_id': 'ea8361adecee4465ac29817d5506bd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91272294', 'ctest-vn-22985151'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 21:32:14,031 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df636387-fddc-4ab5-b5ca-b687418fb4ab', 'name': '', 'tenant_id': 'ea8361adecee4465ac29817d5506bd98', 'network_id': '575690a6-a60e-4d70-8e5c-28c7a311ce10', 'ip_version': 4, 'cidr': '142.218.111.192/26', 'allocation_pools': [{'start': '142.218.111.194', 'end': '142.218.111.254'}], 'gateway_ip': '142.218.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.218.111.194', 'tags': [], 'project_id': 'ea8361adecee4465ac29817d5506bd98'}} 2026-11-02 21:32:14,046 - INFO - Created VN ctest-vn-22985151 2026-11-02 21:32:14,098 - DEBUG - VN ctest-vn-22985151 UUID is 575690a6-a60e-4d70-8e5c-28c7a311ce10 2026-11-02 21:32:14,440 - DEBUG - Response for create_network : {'network': {'id': '002d7d6e-86e1-44dc-b393-0c50009a8863', 'name': 'ctest-ext_vn-69061288', 'tenant_id': 'ea8361adecee4465ac29817d5506bd98', 'project_id': 'ea8361adecee4465ac29817d5506bd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91272294', 'ctest-ext_vn-69061288'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 21:32:14,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c33a606-576c-4128-8c7b-ce273cd6eca7', 'name': '', 'tenant_id': 'ea8361adecee4465ac29817d5506bd98', 'network_id': '002d7d6e-86e1-44dc-b393-0c50009a8863', 'ip_version': 4, 'cidr': '189.79.213.192/26', 'allocation_pools': [{'start': '189.79.213.194', 'end': '189.79.213.254'}], 'gateway_ip': '189.79.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.79.213.194', 'tags': [], 'project_id': 'ea8361adecee4465ac29817d5506bd98'}} 2026-11-02 21:32:14,690 - INFO - Created VN ctest-ext_vn-69061288 2026-11-02 21:32:14,742 - DEBUG - VN ctest-ext_vn-69061288 UUID is 002d7d6e-86e1-44dc-b393-0c50009a8863 2026-11-02 21:32:14,947 - DEBUG - Services list from nova: [, , ] 2026-11-02 21:32:15,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6471-1) 2026-11-02 21:32:15,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6471-1) 2026-11-02 21:32:15,696 - INFO - Setting gateway for router df70eda0-2d98-429c-a975-9a4aad460e9a to network 002d7d6e-86e1-44dc-b393-0c50009a8863 2026-11-02 21:32:15,754 - INFO - Adding interface with subnet_id df636387-fddc-4ab5-b5ca-b687418fb4ab, port_id None to router df70eda0-2d98-429c-a975-9a4aad460e9a 2026-11-02 21:32:15,951 - INFO - Waiting for VM ctest-TestRoutersBasic-91272294-68396188 to be up.. 2026-11-02 21:32:16,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:32:21,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:32:26,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:32:31,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:32:36,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:32:41,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:32:46,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:32:51,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 21:32:56,795 - DEBUG - VM is in ACTIVE state now 2026-11-02 21:32:56,795 - INFO - VM name : ctest-TestRoutersBasic-91272294-68396188 2026-11-02 21:32:56,867 - DEBUG - VM ctest-TestRoutersBasic-91272294-68396188 ID is d9fb1ec8-69d8-457a-b058-6434c29ec32d 2026-11-02 21:32:56,885 - DEBUG - VM ctest-TestRoutersBasic-91272294-68396188 launched on Node cn-jenkins-deploy-platform-ansible-os-6471-1 2026-11-02 21:32:56,952 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/d9fb1ec8-69d8-457a-b058-6434c29ec32d 2026-11-02 21:32:57,284 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/d9fb1ec8-69d8-457a-b058-6434c29ec32d 2026-11-02 21:32:57,316 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/65729523-0ff2-4c54-8266-ec0651db0363 2026-11-02 21:33:00,588 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2026-11-02 21:33:00,588 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-91272294-68396188 failed! 2026-11-02 21:33:00,642 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91272294:ctest-vn-22985151 is 142.218.111.193 and allocation pool is NOT set 2026-11-02 21:33:02,704 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.26 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.488 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.488/2.371/4.255/1.883 ms') 2026-11-02 21:33:02,705 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-91272294-68396188 passed 2026-11-02 21:33:02,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:33:02,854 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91272294-68396188, IP 142.218.111.195, Port 22 2026-11-02 21:33:03,010 - DEBUG - VM ctest-TestRoutersBasic-91272294-68396188 is ready for SSH connections 2026-11-02 21:33:03,010 - INFO - Waiting for VM ctest-TestRoutersBasic-91272294-68769083 to be up.. 2026-11-02 21:33:03,096 - DEBUG - VM is in ACTIVE state now 2026-11-02 21:33:03,096 - INFO - VM name : ctest-TestRoutersBasic-91272294-68769083 2026-11-02 21:33:03,173 - DEBUG - VM ctest-TestRoutersBasic-91272294-68769083 ID is fb71e678-132d-4cba-bbed-1be47684e593 2026-11-02 21:33:03,173 - DEBUG - VM ctest-TestRoutersBasic-91272294-68769083 launched on Node cn-jenkins-deploy-platform-ansible-os-6471-1 2026-11-02 21:33:03,243 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/fb71e678-132d-4cba-bbed-1be47684e593 2026-11-02 21:33:03,251 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/9f256c46-bef0-4a21-89f8-c3c02c113a8d 2026-11-02 21:33:04,489 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.74 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.550 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.550/2.146/3.742/1.596 ms') 2026-11-02 21:33:04,489 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-91272294-68769083 passed 2026-11-02 21:33:04,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:33:04,642 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91272294-68769083, IP 189.79.213.196, Port 22 2026-11-02 21:33:04,802 - DEBUG - VM ctest-TestRoutersBasic-91272294-68769083 is ready for SSH connections 2026-11-02 21:33:04,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 21:33:04,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.79.213.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-11-02 21:33:04,802 - DEBUG - ping -s 56 -c 3 -W 1 189.79.213.196 2026-11-02 21:33:07,671 - DEBUG - PING 189.79.213.196 (189.79.213.196): 56 data bytes 64 bytes from 189.79.213.196: seq=0 ttl=62 time=7.715 ms 64 bytes from 189.79.213.196: seq=1 ttl=62 time=1.029 ms 64 bytes from 189.79.213.196: seq=2 ttl=62 time=1.342 ms --- 189.79.213.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.029/3.362/7.715 ms 2026-11-02 21:33:07,671 - INFO - Ping to IP 189.79.213.196 from VM ctest-TestRoutersBasic-91272294-68396188 passed 2026-11-02 21:33:07,671 - INFO - Deleting interface with subnet_id df636387-fddc-4ab5-b5ca-b687418fb4ab, port_id None from router df70eda0-2d98-429c-a975-9a4aad460e9a 2026-11-02 21:33:07,880 - INFO - Deleting VM ctest-TestRoutersBasic-91272294-68769083 2026-11-02 21:33:07,948 - INFO - Deleting VM ctest-TestRoutersBasic-91272294-68396188 2026-11-02 21:33:08,018 - INFO - Deleting VN ctest-ext_vn-69061288 2026-11-02 21:33:08,099 - DEBUG - VN 002d7d6e-86e1-44dc-b393-0c50009a8863 still in use: Unable to complete operation on network 002d7d6e-86e1-44dc-b393-0c50009a8863. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd43f67b-594e-4d85-88aa-13b5c86e14f4'] 2026-11-02 21:33:08,100 - WARNING - Deleting VN ctest-ext_vn-69061288 failed..Will retry 2026-11-02 21:33:10,139 - DEBUG - VN 002d7d6e-86e1-44dc-b393-0c50009a8863 still in use: Unable to complete operation on network 002d7d6e-86e1-44dc-b393-0c50009a8863. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bfb7447d-78f9-47ee-93c7-7dcd0ce5cf2e'] 2026-11-02 21:33:10,139 - WARNING - Deleting VN ctest-ext_vn-69061288 failed..Will retry 2026-11-02 21:33:12,257 - DEBUG - Response for deleting network () 2026-11-02 21:33:12,258 - INFO - Deleting VN ctest-vn-22985151 2026-11-02 21:33:12,373 - DEBUG - Response for deleting network () 2026-11-02 21:33:12,633 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 21:33:12,633 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-11-02 21:33:12,633 - INFO - -------------------------------------------------------------------------------- 2026-11-02 21:33:13,396 - INFO - Deleted project: ctest-TestRoutersBasic-91272294, ID : ea8361ad-ecee-4465-ac29-817d5506bd98