2026-06-19 23:04:07,955 - INFO - Domain Default found not creating 2026-06-19 23:04:08,084 - INFO - Project ctest-TestRoutersBasic-31535575 not found, creating it 2026-06-19 23:04:08,638 - INFO - Created Project:ctest-TestRoutersBasic-31535575, ID : 8a84ffec-126e-47e2-a3e5-9c84a9b2762a 2026-06-19 23:04:10,251 - INFO - ================================================================================ 2026-06-19 23:04:10,251 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-19 23:04:10,251 - 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-19 23:04:10,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-19 23:04:10,514 - INFO - Initial checks done. Running the testcase now 2026-06-19 23:04:10,514 - INFO - 2026-06-19 23:04:11,362 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31535575 2026-06-19 23:04:11,456 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31535575 2026-06-19 23:04:11,784 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31535575', 'default']} 2026-06-19 23:04:12,080 - DEBUG - Response for create_network : {'network': {'id': 'ca556396-2015-4377-a18c-2ad4f47c2a1d', 'name': 'ctest-vn-66084175', 'tenant_id': '8a84ffec126e47e2a3e59c84a9b2762a', 'project_id': '8a84ffec126e47e2a3e59c84a9b2762a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31535575', 'ctest-vn-66084175'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:04:12,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '2782ea39-cb22-4cde-b7ce-ad81bcd3ca26', 'name': '', 'tenant_id': '8a84ffec126e47e2a3e59c84a9b2762a', 'network_id': 'ca556396-2015-4377-a18c-2ad4f47c2a1d', 'ip_version': 4, 'cidr': '152.246.88.64/26', 'allocation_pools': [{'start': '152.246.88.66', 'end': '152.246.88.126'}], 'gateway_ip': '152.246.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.246.88.66', 'tags': [], 'project_id': '8a84ffec126e47e2a3e59c84a9b2762a'}} 2026-06-19 23:04:12,291 - INFO - Created VN ctest-vn-66084175 2026-06-19 23:04:12,344 - DEBUG - VN ctest-vn-66084175 UUID is ca556396-2015-4377-a18c-2ad4f47c2a1d 2026-06-19 23:04:12,696 - DEBUG - Response for create_network : {'network': {'id': 'af1ed386-7503-493c-9143-9986055d0367', 'name': 'ctest-ext_vn-59148505', 'tenant_id': '8a84ffec126e47e2a3e59c84a9b2762a', 'project_id': '8a84ffec126e47e2a3e59c84a9b2762a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31535575', 'ctest-ext_vn-59148505'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:04:12,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '2381eb90-3180-4e7e-9994-9e2d109b6b95', 'name': '', 'tenant_id': '8a84ffec126e47e2a3e59c84a9b2762a', 'network_id': 'af1ed386-7503-493c-9143-9986055d0367', 'ip_version': 4, 'cidr': '210.170.129.128/26', 'allocation_pools': [{'start': '210.170.129.130', 'end': '210.170.129.190'}], 'gateway_ip': '210.170.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.170.129.130', 'tags': [], 'project_id': '8a84ffec126e47e2a3e59c84a9b2762a'}} 2026-06-19 23:04:12,876 - INFO - Created VN ctest-ext_vn-59148505 2026-06-19 23:04:12,928 - DEBUG - VN ctest-ext_vn-59148505 UUID is af1ed386-7503-493c-9143-9986055d0367 2026-06-19 23:04:13,128 - DEBUG - Services list from nova: [, , ] 2026-06-19 23:04:14,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6008-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6008-1) 2026-06-19 23:04:15,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6008-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6008-1) 2026-06-19 23:04:15,440 - INFO - Setting gateway for router 8a7f4eeb-fe7e-4df6-ae63-e08806ebb9f0 to network af1ed386-7503-493c-9143-9986055d0367 2026-06-19 23:04:15,486 - INFO - Adding interface with subnet_id 2782ea39-cb22-4cde-b7ce-ad81bcd3ca26, port_id None to router 8a7f4eeb-fe7e-4df6-ae63-e08806ebb9f0 2026-06-19 23:04:15,665 - INFO - Waiting for VM ctest-TestRoutersBasic-31535575-73032451 to be up.. 2026-06-19 23:04:15,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 23:04:20,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 23:04:25,860 - DEBUG - VM is in ACTIVE state now 2026-06-19 23:04:25,860 - INFO - VM name : ctest-TestRoutersBasic-31535575-73032451 2026-06-19 23:04:25,922 - DEBUG - VM ctest-TestRoutersBasic-31535575-73032451 ID is 91c66128-bbc1-489b-8b6a-b91e411f582b 2026-06-19 23:04:25,940 - DEBUG - VM ctest-TestRoutersBasic-31535575-73032451 launched on Node cn-jenkins-deploy-platform-ansible-os-6008-1 2026-06-19 23:04:26,002 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/91c66128-bbc1-489b-8b6a-b91e411f582b 2026-06-19 23:04:26,373 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/91c66128-bbc1-489b-8b6a-b91e411f582b 2026-06-19 23:04:26,403 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/008939c0-5b5a-41e3-91e0-416316312c4d 2026-06-19 23:04:29,654 - 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 1006ms') 2026-06-19 23:04:29,654 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31535575-73032451 failed! 2026-06-19 23:04:29,712 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31535575:ctest-vn-66084175 is 152.246.88.65 and allocation pool is NOT set 2026-06-19 23:04:31,782 - 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=9.10 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.810 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.810/4.954/9.098/4.144 ms') 2026-06-19 23:04:31,782 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31535575-73032451 passed 2026-06-19 23:04:31,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:04:31,932 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31535575-73032451, IP 152.246.88.67, Port 22 2026-06-19 23:04:32,095 - DEBUG - VM ctest-TestRoutersBasic-31535575-73032451 is ready for SSH connections 2026-06-19 23:04:32,095 - INFO - Waiting for VM ctest-TestRoutersBasic-31535575-71267637 to be up.. 2026-06-19 23:04:32,163 - DEBUG - VM is in ACTIVE state now 2026-06-19 23:04:32,163 - INFO - VM name : ctest-TestRoutersBasic-31535575-71267637 2026-06-19 23:04:32,232 - DEBUG - VM ctest-TestRoutersBasic-31535575-71267637 ID is aad20b09-6f97-4237-8e75-d2c368fa1a9d 2026-06-19 23:04:32,233 - DEBUG - VM ctest-TestRoutersBasic-31535575-71267637 launched on Node cn-jenkins-deploy-platform-ansible-os-6008-1 2026-06-19 23:04:32,306 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/aad20b09-6f97-4237-8e75-d2c368fa1a9d 2026-06-19 23:04:32,313 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/91432207-6d30-4b1e-bd48-56de09888641 2026-06-19 23:04:33,545 - 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=5.60 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.467 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.467/3.032/5.597/2.565 ms') 2026-06-19 23:04:33,545 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-31535575-71267637 passed 2026-06-19 23:04:33,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:04:33,700 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31535575-71267637, IP 210.170.129.132, Port 22 2026-06-19 23:04:33,856 - DEBUG - VM ctest-TestRoutersBasic-31535575-71267637 is ready for SSH connections 2026-06-19 23:04:33,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:04:33,856 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.170.129.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-19 23:04:33,856 - DEBUG - ping -s 56 -c 3 -W 1 210.170.129.132 2026-06-19 23:04:36,434 - DEBUG - PING 210.170.129.132 (210.170.129.132): 56 data bytes 64 bytes from 210.170.129.132: seq=0 ttl=62 time=5.026 ms 64 bytes from 210.170.129.132: seq=1 ttl=62 time=0.899 ms 64 bytes from 210.170.129.132: seq=2 ttl=62 time=0.851 ms --- 210.170.129.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/2.258/5.026 ms 2026-06-19 23:04:36,434 - INFO - Ping to IP 210.170.129.132 from VM ctest-TestRoutersBasic-31535575-73032451 passed 2026-06-19 23:04:36,434 - INFO - Deleting interface with subnet_id 2782ea39-cb22-4cde-b7ce-ad81bcd3ca26, port_id None from router 8a7f4eeb-fe7e-4df6-ae63-e08806ebb9f0 2026-06-19 23:04:36,627 - INFO - Deleting VM ctest-TestRoutersBasic-31535575-71267637 2026-06-19 23:04:36,709 - INFO - Deleting VM ctest-TestRoutersBasic-31535575-73032451 2026-06-19 23:04:36,773 - INFO - Deleting VN ctest-ext_vn-59148505 2026-06-19 23:04:36,822 - DEBUG - VN af1ed386-7503-493c-9143-9986055d0367 still in use: Unable to complete operation on network af1ed386-7503-493c-9143-9986055d0367. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74e2e0b6-7743-4645-86f2-4ed01da32ee6'] 2026-06-19 23:04:36,822 - WARNING - Deleting VN ctest-ext_vn-59148505 failed..Will retry 2026-06-19 23:04:38,949 - DEBUG - Response for deleting network () 2026-06-19 23:04:38,950 - INFO - Deleting VN ctest-vn-66084175 2026-06-19 23:04:39,054 - DEBUG - Response for deleting network () 2026-06-19 23:04:39,313 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 23:04:39,313 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2026-06-19 23:04:39,313 - INFO - -------------------------------------------------------------------------------- 2026-06-19 23:04:40,032 - INFO - Deleted project: ctest-TestRoutersBasic-31535575, ID : 8a84ffec-126e-47e2-a3e5-9c84a9b2762a