2026-02-06 19:23:24,590 - INFO - Domain Default found not creating 2026-02-06 19:23:24,785 - INFO - Project ctest-TestRoutersBasic-58086380 not found, creating it 2026-02-06 19:23:25,286 - INFO - Created Project:ctest-TestRoutersBasic-58086380, ID : 1fa11ba3-b431-46ab-8e57-a68a4b61c4ba 2026-02-06 19:23:26,844 - INFO - ================================================================================ 2026-02-06 19:23:26,844 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-06 19:23:26,844 - 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-06 19:23:27,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-06 19:23:27,103 - INFO - Initial checks done. Running the testcase now 2026-02-06 19:23:27,103 - INFO - 2026-02-06 19:23:27,829 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58086380 2026-02-06 19:23:27,930 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58086380 2026-02-06 19:23:28,253 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58086380', 'default']} 2026-02-06 19:23:28,561 - DEBUG - Response for create_network : {'network': {'id': '5de21fed-7c49-4148-b6d7-aa0c49f1a1ec', 'name': 'ctest-vn-49769365', 'tenant_id': '1fa11ba3b43146ab8e57a68a4b61c4ba', 'project_id': '1fa11ba3b43146ab8e57a68a4b61c4ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58086380', 'ctest-vn-49769365'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 19:23:28,770 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daefe5e4-d6fe-48da-bc38-8a19c954449f', 'name': '', 'tenant_id': '1fa11ba3b43146ab8e57a68a4b61c4ba', 'network_id': '5de21fed-7c49-4148-b6d7-aa0c49f1a1ec', 'ip_version': 4, 'cidr': '109.43.253.128/26', 'allocation_pools': [{'start': '109.43.253.130', 'end': '109.43.253.190'}], 'gateway_ip': '109.43.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.43.253.130', 'tags': [], 'project_id': '1fa11ba3b43146ab8e57a68a4b61c4ba'}} 2026-02-06 19:23:28,790 - INFO - Created VN ctest-vn-49769365 2026-02-06 19:23:28,846 - DEBUG - VN ctest-vn-49769365 UUID is 5de21fed-7c49-4148-b6d7-aa0c49f1a1ec 2026-02-06 19:23:29,169 - DEBUG - Response for create_network : {'network': {'id': 'a60af48a-c828-42ad-8b46-f5bb914d2628', 'name': 'ctest-ext_vn-99490190', 'tenant_id': '1fa11ba3b43146ab8e57a68a4b61c4ba', 'project_id': '1fa11ba3b43146ab8e57a68a4b61c4ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58086380', 'ctest-ext_vn-99490190'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 19:23:29,324 - DEBUG - Response for create_subnet : {'subnet': {'id': '0744cbaf-7d6e-4721-8c27-d7c6a227752c', 'name': '', 'tenant_id': '1fa11ba3b43146ab8e57a68a4b61c4ba', 'network_id': 'a60af48a-c828-42ad-8b46-f5bb914d2628', 'ip_version': 4, 'cidr': '61.81.75.0/26', 'allocation_pools': [{'start': '61.81.75.2', 'end': '61.81.75.62'}], 'gateway_ip': '61.81.75.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.81.75.2', 'tags': [], 'project_id': '1fa11ba3b43146ab8e57a68a4b61c4ba'}} 2026-02-06 19:23:29,341 - INFO - Created VN ctest-ext_vn-99490190 2026-02-06 19:23:29,402 - DEBUG - VN ctest-ext_vn-99490190 UUID is a60af48a-c828-42ad-8b46-f5bb914d2628 2026-02-06 19:23:29,616 - DEBUG - Services list from nova: [, , ] 2026-02-06 19:23:30,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5229-1) 2026-02-06 19:23:31,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5229-1) 2026-02-06 19:23:31,968 - INFO - Setting gateway for router a8158860-1e67-405d-a392-209b7102ec3a to network a60af48a-c828-42ad-8b46-f5bb914d2628 2026-02-06 19:23:32,044 - INFO - Adding interface with subnet_id daefe5e4-d6fe-48da-bc38-8a19c954449f, port_id None to router a8158860-1e67-405d-a392-209b7102ec3a 2026-02-06 19:23:32,422 - INFO - Waiting for VM ctest-TestRoutersBasic-58086380-02686444 to be up.. 2026-02-06 19:23:32,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 19:23:37,683 - DEBUG - VM is in ACTIVE state now 2026-02-06 19:23:37,683 - INFO - VM name : ctest-TestRoutersBasic-58086380-02686444 2026-02-06 19:23:37,775 - DEBUG - VM ctest-TestRoutersBasic-58086380-02686444 ID is 67649a57-d328-4337-b60a-bac6de40de35 2026-02-06 19:23:37,796 - DEBUG - VM ctest-TestRoutersBasic-58086380-02686444 launched on Node cn-jenkins-deploy-platform-ansible-os-5229-1 2026-02-06 19:23:37,872 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/67649a57-d328-4337-b60a-bac6de40de35 2026-02-06 19:23:38,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/67649a57-d328-4337-b60a-bac6de40de35 2026-02-06 19:23:38,204 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/af83ba9d-4a2f-4b94-9984-0ff267972d4f 2026-02-06 19:23:41,452 - 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 1009ms') 2026-02-06 19:23:41,452 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58086380-02686444 failed! 2026-02-06 19:23:41,510 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58086380:ctest-vn-49769365 is 109.43.253.129 and allocation pool is NOT set 2026-02-06 19:23:43,569 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.627 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.627/1.800/2.973/1.173 ms') 2026-02-06 19:23:43,569 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58086380-02686444 passed 2026-02-06 19:23:43,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 19:23:43,722 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58086380-02686444, IP 109.43.253.131, Port 22 2026-02-06 19:23:43,892 - DEBUG - VM ctest-TestRoutersBasic-58086380-02686444 is ready for SSH connections 2026-02-06 19:23:43,892 - INFO - Waiting for VM ctest-TestRoutersBasic-58086380-91783786 to be up.. 2026-02-06 19:23:43,970 - DEBUG - VM is in ACTIVE state now 2026-02-06 19:23:43,970 - INFO - VM name : ctest-TestRoutersBasic-58086380-91783786 2026-02-06 19:23:44,048 - DEBUG - VM ctest-TestRoutersBasic-58086380-91783786 ID is d885fb30-cc9d-49e9-8c06-8b3ae486317f 2026-02-06 19:23:44,048 - DEBUG - VM ctest-TestRoutersBasic-58086380-91783786 launched on Node cn-jenkins-deploy-platform-ansible-os-5229-1 2026-02-06 19:23:44,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d885fb30-cc9d-49e9-8c06-8b3ae486317f 2026-02-06 19:23:44,130 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f67c9a6e-ef53-44ed-a778-8aa52f25fa19 2026-02-06 19:23:45,376 - 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=4.04 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.313/2.674/4.035/1.361 ms') 2026-02-06 19:23:45,376 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58086380-91783786 passed 2026-02-06 19:23:45,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 19:23:45,530 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58086380-91783786, IP 61.81.75.3, Port 22 2026-02-06 19:23:45,686 - DEBUG - VM ctest-TestRoutersBasic-58086380-91783786 is ready for SSH connections 2026-02-06 19:23:45,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 19:23:45,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.81.75.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-06 19:23:45,686 - DEBUG - ping -s 56 -c 3 -W 1 61.81.75.3 2026-02-06 19:23:49,387 - DEBUG - PING 61.81.75.3 (61.81.75.3): 56 data bytes 64 bytes from 61.81.75.3: seq=0 ttl=62 time=7.681 ms 64 bytes from 61.81.75.3: seq=1 ttl=62 time=0.981 ms 64 bytes from 61.81.75.3: seq=2 ttl=62 time=1.186 ms --- 61.81.75.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/3.282/7.681 ms 2026-02-06 19:23:49,387 - INFO - Ping to IP 61.81.75.3 from VM ctest-TestRoutersBasic-58086380-02686444 passed 2026-02-06 19:23:49,388 - INFO - Deleting interface with subnet_id daefe5e4-d6fe-48da-bc38-8a19c954449f, port_id None from router a8158860-1e67-405d-a392-209b7102ec3a 2026-02-06 19:23:49,562 - INFO - Deleting VM ctest-TestRoutersBasic-58086380-91783786 2026-02-06 19:23:49,629 - INFO - Deleting VM ctest-TestRoutersBasic-58086380-02686444 2026-02-06 19:23:49,714 - INFO - Deleting VN ctest-ext_vn-99490190 2026-02-06 19:23:49,795 - DEBUG - VN a60af48a-c828-42ad-8b46-f5bb914d2628 still in use: Unable to complete operation on network a60af48a-c828-42ad-8b46-f5bb914d2628. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75778600-44b1-48ee-b3d0-23863f51a236'] 2026-02-06 19:23:49,795 - WARNING - Deleting VN ctest-ext_vn-99490190 failed..Will retry 2026-02-06 19:23:51,909 - DEBUG - Response for deleting network () 2026-02-06 19:23:51,909 - INFO - Deleting VN ctest-vn-49769365 2026-02-06 19:23:52,031 - DEBUG - Response for deleting network () 2026-02-06 19:23:52,303 - DEBUG - No XMPP flaps were noticed during the test
2026-02-06 19:23:52,303 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-02-06 19:23:52,304 - INFO - -------------------------------------------------------------------------------- 2026-02-06 19:23:52,984 - INFO - Deleted project: ctest-TestRoutersBasic-58086380, ID : 1fa11ba3-b431-46ab-8e57-a68a4b61c4ba