2025-12-09 13:27:05,943 - INFO - Domain Default found not creating 2025-12-09 13:27:06,124 - INFO - Project ctest-TestRoutersBasic-16763849 not found, creating it 2025-12-09 13:27:06,651 - INFO - Created Project:ctest-TestRoutersBasic-16763849, ID : 375b9ded-531e-471c-ab40-db6a15e1be59 2025-12-09 13:27:08,242 - INFO - ================================================================================ 2025-12-09 13:27:08,242 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-09 13:27:08,242 - 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-12-09 13:27:08,510 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 13:27:08,510 - INFO - Initial checks done. Running the testcase now 2025-12-09 13:27:08,510 - INFO - 2025-12-09 13:27:09,269 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16763849 2025-12-09 13:27:09,365 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16763849 2025-12-09 13:27:09,696 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16763849', 'default']} 2025-12-09 13:27:09,999 - DEBUG - Response for create_network : {'network': {'id': '88bfb682-05fc-4fe9-857f-e1ee2f4ed10f', 'name': 'ctest-vn-29230904', 'tenant_id': '375b9ded531e471cab40db6a15e1be59', 'project_id': '375b9ded531e471cab40db6a15e1be59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16763849', 'ctest-vn-29230904'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 13:27:10,205 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad61b12f-93c5-469b-aae1-5cbb7295e175', 'name': '', 'tenant_id': '375b9ded531e471cab40db6a15e1be59', 'network_id': '88bfb682-05fc-4fe9-857f-e1ee2f4ed10f', 'ip_version': 4, 'cidr': '115.122.107.128/26', 'allocation_pools': [{'start': '115.122.107.130', 'end': '115.122.107.190'}], 'gateway_ip': '115.122.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.122.107.130', 'tags': [], 'project_id': '375b9ded531e471cab40db6a15e1be59'}} 2025-12-09 13:27:10,227 - INFO - Created VN ctest-vn-29230904 2025-12-09 13:27:10,285 - DEBUG - VN ctest-vn-29230904 UUID is 88bfb682-05fc-4fe9-857f-e1ee2f4ed10f 2025-12-09 13:27:10,599 - DEBUG - Response for create_network : {'network': {'id': '0405919b-c32e-454b-beec-5cc5bfad9ff5', 'name': 'ctest-ext_vn-56857847', 'tenant_id': '375b9ded531e471cab40db6a15e1be59', 'project_id': '375b9ded531e471cab40db6a15e1be59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16763849', 'ctest-ext_vn-56857847'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 13:27:10,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '67ae552a-f098-438d-a997-e5082eb25d42', 'name': '', 'tenant_id': '375b9ded531e471cab40db6a15e1be59', 'network_id': '0405919b-c32e-454b-beec-5cc5bfad9ff5', 'ip_version': 4, 'cidr': '72.255.246.64/26', 'allocation_pools': [{'start': '72.255.246.66', 'end': '72.255.246.126'}], 'gateway_ip': '72.255.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.255.246.66', 'tags': [], 'project_id': '375b9ded531e471cab40db6a15e1be59'}} 2025-12-09 13:27:10,782 - INFO - Created VN ctest-ext_vn-56857847 2025-12-09 13:27:10,837 - DEBUG - VN ctest-ext_vn-56857847 UUID is 0405919b-c32e-454b-beec-5cc5bfad9ff5 2025-12-09 13:27:11,013 - DEBUG - Services list from nova: [, , ] 2025-12-09 13:27:12,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4870-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4870-1) 2025-12-09 13:27:13,325 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4870-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4870-1) 2025-12-09 13:27:13,397 - INFO - Setting gateway for router 23228e11-0f77-4799-9d73-9e99ba61f294 to network 0405919b-c32e-454b-beec-5cc5bfad9ff5 2025-12-09 13:27:13,467 - INFO - Adding interface with subnet_id ad61b12f-93c5-469b-aae1-5cbb7295e175, port_id None to router 23228e11-0f77-4799-9d73-9e99ba61f294 2025-12-09 13:27:13,775 - INFO - Waiting for VM ctest-TestRoutersBasic-16763849-35430953 to be up.. 2025-12-09 13:27:13,911 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 13:27:19,001 - DEBUG - VM is in ACTIVE state now 2025-12-09 13:27:19,001 - INFO - VM name : ctest-TestRoutersBasic-16763849-35430953 2025-12-09 13:27:19,093 - DEBUG - VM ctest-TestRoutersBasic-16763849-35430953 ID is 823967df-e63b-4c4e-9931-1a444700781e 2025-12-09 13:27:19,117 - DEBUG - VM ctest-TestRoutersBasic-16763849-35430953 launched on Node cn-jenkins-deploy-platform-ansible-os-4870-1 2025-12-09 13:27:19,219 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/823967df-e63b-4c4e-9931-1a444700781e 2025-12-09 13:27:19,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/823967df-e63b-4c4e-9931-1a444700781e 2025-12-09 13:27:19,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2ce0475f-ab71-482c-9af8-1e57ef7a6a2d 2025-12-09 13:27:22,838 - 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 1022ms') 2025-12-09 13:27:22,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16763849-35430953 failed! 2025-12-09 13:27:22,893 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16763849:ctest-vn-29230904 is 115.122.107.129 and allocation pool is NOT set 2025-12-09 13:27:24,956 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/1.538/2.596/1.058 ms') 2025-12-09 13:27:24,956 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16763849-35430953 passed 2025-12-09 13:27:25,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:27:25,109 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16763849-35430953, IP 115.122.107.131, Port 22 2025-12-09 13:27:25,286 - DEBUG - VM ctest-TestRoutersBasic-16763849-35430953 is ready for SSH connections 2025-12-09 13:27:25,287 - INFO - Waiting for VM ctest-TestRoutersBasic-16763849-18524992 to be up.. 2025-12-09 13:27:25,371 - DEBUG - VM is in ACTIVE state now 2025-12-09 13:27:25,371 - INFO - VM name : ctest-TestRoutersBasic-16763849-18524992 2025-12-09 13:27:25,454 - DEBUG - VM ctest-TestRoutersBasic-16763849-18524992 ID is 124d461e-ca8d-4a26-8a56-d6ae71119c74 2025-12-09 13:27:25,454 - DEBUG - VM ctest-TestRoutersBasic-16763849-18524992 launched on Node cn-jenkins-deploy-platform-ansible-os-4870-1 2025-12-09 13:27:25,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/124d461e-ca8d-4a26-8a56-d6ae71119c74 2025-12-09 13:27:25,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e64b1858-1f2f-4bdf-b32c-b9ee4acc693e 2025-12-09 13:27:26,772 - 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=5.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.51 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.509/4.204/5.899/1.695 ms') 2025-12-09 13:27:26,772 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16763849-18524992 passed 2025-12-09 13:27:26,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:27:26,925 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16763849-18524992, IP 72.255.246.67, Port 22 2025-12-09 13:27:27,092 - DEBUG - VM ctest-TestRoutersBasic-16763849-18524992 is ready for SSH connections 2025-12-09 13:27:27,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:27:27,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.255.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 13:27:27,092 - DEBUG - ping -s 56 -c 3 -W 1 72.255.246.67 2025-12-09 13:27:30,816 - DEBUG - PING 72.255.246.67 (72.255.246.67): 56 data bytes 64 bytes from 72.255.246.67: seq=0 ttl=62 time=6.295 ms 64 bytes from 72.255.246.67: seq=1 ttl=62 time=1.156 ms 64 bytes from 72.255.246.67: seq=2 ttl=62 time=1.028 ms --- 72.255.246.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.028/2.826/6.295 ms 2025-12-09 13:27:30,816 - INFO - Ping to IP 72.255.246.67 from VM ctest-TestRoutersBasic-16763849-35430953 passed 2025-12-09 13:27:30,817 - INFO - Deleting interface with subnet_id ad61b12f-93c5-469b-aae1-5cbb7295e175, port_id None from router 23228e11-0f77-4799-9d73-9e99ba61f294 2025-12-09 13:27:31,002 - INFO - Deleting VM ctest-TestRoutersBasic-16763849-18524992 2025-12-09 13:27:31,079 - INFO - Deleting VM ctest-TestRoutersBasic-16763849-35430953 2025-12-09 13:27:31,168 - INFO - Deleting VN ctest-ext_vn-56857847 2025-12-09 13:27:31,240 - DEBUG - VN 0405919b-c32e-454b-beec-5cc5bfad9ff5 still in use: Unable to complete operation on network 0405919b-c32e-454b-beec-5cc5bfad9ff5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd71870a-93ee-4334-9c9f-e289d9ce4fea'] 2025-12-09 13:27:31,240 - WARNING - Deleting VN ctest-ext_vn-56857847 failed..Will retry 2025-12-09 13:27:33,371 - DEBUG - Response for deleting network () 2025-12-09 13:27:33,371 - INFO - Deleting VN ctest-vn-29230904 2025-12-09 13:27:33,495 - DEBUG - Response for deleting network () 2025-12-09 13:27:33,751 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 13:27:33,751 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-12-09 13:27:33,752 - INFO - -------------------------------------------------------------------------------- 2025-12-09 13:27:34,470 - INFO - Deleted project: ctest-TestRoutersBasic-16763849, ID : 375b9ded-531e-471c-ab40-db6a15e1be59