2026-06-02 15:14:59,334 - INFO - Domain Default found not creating 2026-06-02 15:14:59,506 - INFO - Project ctest-TestRoutersBasic-02978554 not found, creating it 2026-06-02 15:14:59,981 - INFO - Created Project:ctest-TestRoutersBasic-02978554, ID : be0f88a6-9feb-495f-9ce3-b4c9c0e03e4d 2026-06-02 15:15:01,661 - INFO - ================================================================================ 2026-06-02 15:15:01,661 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-02 15:15:01,661 - 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-06-02 15:15:01,917 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with 2026-06-02 15:15:01,917 - INFO - Initial checks done. Running the testcase now 2026-06-02 15:15:01,917 - INFO - 2026-06-02 15:15:02,648 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02978554 2026-06-02 15:15:02,748 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02978554 2026-06-02 15:15:03,072 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02978554', 'default']} 2026-06-02 15:15:03,383 - DEBUG - Response for create_network : {'network': {'id': '8264dc4b-f29a-4f08-8c16-e0d09d187978', 'name': 'ctest-vn-92109704', 'tenant_id': 'be0f88a69feb495f9ce3b4c9c0e03e4d', 'project_id': 'be0f88a69feb495f9ce3b4c9c0e03e4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02978554', 'ctest-vn-92109704'], 'port_security_enabled': True, 'description': ''}} 2026-06-02 15:15:03,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '37830151-6e9a-4255-bb08-08dda6faae20', 'name': '', 'tenant_id': 'be0f88a69feb495f9ce3b4c9c0e03e4d', 'network_id': '8264dc4b-f29a-4f08-8c16-e0d09d187978', 'ip_version': 4, 'cidr': '223.106.107.64/26', 'allocation_pools': [{'start': '223.106.107.66', 'end': '223.106.107.126'}], 'gateway_ip': '223.106.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.106.107.66', 'tags': [], 'project_id': 'be0f88a69feb495f9ce3b4c9c0e03e4d'}} 2026-06-02 15:15:03,612 - INFO - Created VN ctest-vn-92109704 2026-06-02 15:15:03,664 - DEBUG - VN ctest-vn-92109704 UUID is 8264dc4b-f29a-4f08-8c16-e0d09d187978 2026-06-02 15:15:03,991 - DEBUG - Response for create_network : {'network': {'id': '4aa8764b-08f6-4911-9f5f-4d5c11115dc7', 'name': 'ctest-ext_vn-23546383', 'tenant_id': 'be0f88a69feb495f9ce3b4c9c0e03e4d', 'project_id': 'be0f88a69feb495f9ce3b4c9c0e03e4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02978554', 'ctest-ext_vn-23546383'], 'port_security_enabled': True, 'description': ''}} 2026-06-02 15:15:04,235 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd49d893b-c479-4a12-b5d5-7e881e926df4', 'name': '', 'tenant_id': 'be0f88a69feb495f9ce3b4c9c0e03e4d', 'network_id': '4aa8764b-08f6-4911-9f5f-4d5c11115dc7', 'ip_version': 4, 'cidr': '141.145.151.64/26', 'allocation_pools': [{'start': '141.145.151.66', 'end': '141.145.151.126'}], 'gateway_ip': '141.145.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.145.151.66', 'tags': [], 'project_id': 'be0f88a69feb495f9ce3b4c9c0e03e4d'}} 2026-06-02 15:15:04,256 - INFO - Created VN ctest-ext_vn-23546383 2026-06-02 15:15:04,308 - DEBUG - VN ctest-ext_vn-23546383 UUID is 4aa8764b-08f6-4911-9f5f-4d5c11115dc7 2026-06-02 15:15:04,481 - DEBUG - Services list from nova: [, , ] 2026-06-02 15:15:05,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5878-1) 2026-06-02 15:15:06,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5878-1) 2026-06-02 15:15:06,853 - INFO - Setting gateway for router cfbd96f1-86d1-41a0-a4e6-94c0dc82701d to network 4aa8764b-08f6-4911-9f5f-4d5c11115dc7 2026-06-02 15:15:06,924 - INFO - Adding interface with subnet_id 37830151-6e9a-4255-bb08-08dda6faae20, port_id None to router cfbd96f1-86d1-41a0-a4e6-94c0dc82701d 2026-06-02 15:15:07,242 - INFO - Waiting for VM ctest-TestRoutersBasic-02978554-69473519 to be up.. 2026-06-02 15:15:07,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-02 15:15:12,533 - DEBUG - VM is in ACTIVE state now 2026-06-02 15:15:12,533 - INFO - VM name : ctest-TestRoutersBasic-02978554-69473519 2026-06-02 15:15:12,618 - DEBUG - VM ctest-TestRoutersBasic-02978554-69473519 ID is ae2ed33d-e21b-47e9-9d1b-ae654878846d 2026-06-02 15:15:12,638 - DEBUG - VM ctest-TestRoutersBasic-02978554-69473519 launched on Node cn-jenkins-deploy-platform-ansible-os-5878-1 2026-06-02 15:15:12,725 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ae2ed33d-e21b-47e9-9d1b-ae654878846d 2026-06-02 15:15:13,021 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ae2ed33d-e21b-47e9-9d1b-ae654878846d 2026-06-02 15:15:13,059 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2b40aff8-6924-4c0f-971b-71b3cfe81fb7 2026-06-02 15:15:16,321 - 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 1026ms') 2026-06-02 15:15:16,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02978554-69473519 failed! 2026-06-02 15:15:16,376 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02978554:ctest-vn-92109704 is 223.106.107.65 and allocation pool is NOT set 2026-06-02 15:15:18,443 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.746 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.746/2.161/3.577/1.415 ms') 2026-06-02 15:15:18,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02978554-69473519 passed 2026-06-02 15:15:18,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:15:18,596 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02978554-69473519, IP 223.106.107.67, Port 22 2026-06-02 15:15:18,751 - DEBUG - VM ctest-TestRoutersBasic-02978554-69473519 is ready for SSH connections 2026-06-02 15:15:18,751 - INFO - Waiting for VM ctest-TestRoutersBasic-02978554-32690329 to be up.. 2026-06-02 15:15:18,838 - DEBUG - VM is in ACTIVE state now 2026-06-02 15:15:18,838 - INFO - VM name : ctest-TestRoutersBasic-02978554-32690329 2026-06-02 15:15:18,915 - DEBUG - VM ctest-TestRoutersBasic-02978554-32690329 ID is dd0d7535-2a5b-4f76-82eb-2a5c1d23e9b4 2026-06-02 15:15:18,916 - DEBUG - VM ctest-TestRoutersBasic-02978554-32690329 launched on Node cn-jenkins-deploy-platform-ansible-os-5878-1 2026-06-02 15:15:18,996 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dd0d7535-2a5b-4f76-82eb-2a5c1d23e9b4 2026-06-02 15:15:19,005 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d25c7150-462c-4077-b7e9-c1a3b26cbe26 2026-06-02 15:15:20,257 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/1.976/3.396/1.419 ms') 2026-06-02 15:15:20,258 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02978554-32690329 passed 2026-06-02 15:15:20,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:15:20,408 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02978554-32690329, IP 141.145.151.67, Port 22 2026-06-02 15:15:20,567 - DEBUG - VM ctest-TestRoutersBasic-02978554-32690329 is ready for SSH connections 2026-06-02 15:15:20,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:15:20,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.145.151.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-02 15:15:20,568 - DEBUG - ping -s 56 -c 3 -W 1 141.145.151.67 2026-06-02 15:15:24,284 - DEBUG - PING 141.145.151.67 (141.145.151.67): 56 data bytes 64 bytes from 141.145.151.67: seq=0 ttl=62 time=8.289 ms 64 bytes from 141.145.151.67: seq=1 ttl=62 time=0.968 ms 64 bytes from 141.145.151.67: seq=2 ttl=62 time=1.141 ms --- 141.145.151.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.968/3.466/8.289 ms 2026-06-02 15:15:24,284 - INFO - Ping to IP 141.145.151.67 from VM ctest-TestRoutersBasic-02978554-69473519 passed 2026-06-02 15:15:24,284 - INFO - Deleting interface with subnet_id 37830151-6e9a-4255-bb08-08dda6faae20, port_id None from router cfbd96f1-86d1-41a0-a4e6-94c0dc82701d 2026-06-02 15:15:24,486 - INFO - Deleting VM ctest-TestRoutersBasic-02978554-32690329 2026-06-02 15:15:24,561 - INFO - Deleting VM ctest-TestRoutersBasic-02978554-69473519 2026-06-02 15:15:24,656 - INFO - Deleting VN ctest-ext_vn-23546383 2026-06-02 15:15:24,709 - DEBUG - VN 4aa8764b-08f6-4911-9f5f-4d5c11115dc7 still in use: Unable to complete operation on network 4aa8764b-08f6-4911-9f5f-4d5c11115dc7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6feaab4-9791-467a-9b02-6fd311d0c503'] 2026-06-02 15:15:24,710 - WARNING - Deleting VN ctest-ext_vn-23546383 failed..Will retry 2026-06-02 15:15:26,818 - DEBUG - Response for deleting network () 2026-06-02 15:15:26,818 - INFO - Deleting VN ctest-vn-92109704 2026-06-02 15:15:26,923 - DEBUG - Response for deleting network () 2026-06-02 15:15:27,182 - DEBUG - No XMPP flaps were noticed during the test 2026-06-02 15:15:27,182 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-06-02 15:15:27,182 - INFO - -------------------------------------------------------------------------------- 2026-06-02 15:15:27,911 - INFO - Deleted project: ctest-TestRoutersBasic-02978554, ID : be0f88a6-9feb-495f-9ce3-b4c9c0e03e4d