2026-02-12 09:54:19,249 - INFO - Domain Default found not creating 2026-02-12 09:54:19,412 - INFO - Project ctest-TestRoutersBasic-99770549 not found, creating it 2026-02-12 09:54:19,869 - INFO - Created Project:ctest-TestRoutersBasic-99770549, ID : 45cc4be9-89d6-4eca-bd70-d0c687e12bd8 2026-02-12 09:54:21,382 - INFO - ================================================================================ 2026-02-12 09:54:21,382 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-12 09:54:21,382 - 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-12 09:54:21,641 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-12 09:54:21,641 - INFO - Initial checks done. Running the testcase now 2026-02-12 09:54:21,641 - INFO - 2026-02-12 09:54:22,375 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99770549 2026-02-12 09:54:22,471 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99770549 2026-02-12 09:54:22,795 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99770549', 'default']} 2026-02-12 09:54:23,094 - DEBUG - Response for create_network : {'network': {'id': '8ca42334-c4a0-4909-84b4-463a751778c7', 'name': 'ctest-vn-58512257', 'tenant_id': '45cc4be989d64ecabd70d0c687e12bd8', 'project_id': '45cc4be989d64ecabd70d0c687e12bd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99770549', 'ctest-vn-58512257'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 09:54:23,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '9250ada1-c996-44e7-a15a-07481a5a106e', 'name': '', 'tenant_id': '45cc4be989d64ecabd70d0c687e12bd8', 'network_id': '8ca42334-c4a0-4909-84b4-463a751778c7', 'ip_version': 4, 'cidr': '207.244.112.64/26', 'allocation_pools': [{'start': '207.244.112.66', 'end': '207.244.112.126'}], 'gateway_ip': '207.244.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.244.112.66', 'tags': [], 'project_id': '45cc4be989d64ecabd70d0c687e12bd8'}} 2026-02-12 09:54:23,285 - INFO - Created VN ctest-vn-58512257 2026-02-12 09:54:23,339 - DEBUG - VN ctest-vn-58512257 UUID is 8ca42334-c4a0-4909-84b4-463a751778c7 2026-02-12 09:54:23,692 - DEBUG - Response for create_network : {'network': {'id': '41889e17-c47e-4b0c-b9d0-8b0cc89e18a2', 'name': 'ctest-ext_vn-65335586', 'tenant_id': '45cc4be989d64ecabd70d0c687e12bd8', 'project_id': '45cc4be989d64ecabd70d0c687e12bd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99770549', 'ctest-ext_vn-65335586'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 09:54:23,859 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b65f7a0b-f22f-4c50-9133-d0b6992b5fb6', 'name': '', 'tenant_id': '45cc4be989d64ecabd70d0c687e12bd8', 'network_id': '41889e17-c47e-4b0c-b9d0-8b0cc89e18a2', 'ip_version': 4, 'cidr': '149.217.191.64/26', 'allocation_pools': [{'start': '149.217.191.66', 'end': '149.217.191.126'}], 'gateway_ip': '149.217.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.217.191.66', 'tags': [], 'project_id': '45cc4be989d64ecabd70d0c687e12bd8'}} 2026-02-12 09:54:23,876 - INFO - Created VN ctest-ext_vn-65335586 2026-02-12 09:54:23,927 - DEBUG - VN ctest-ext_vn-65335586 UUID is 41889e17-c47e-4b0c-b9d0-8b0cc89e18a2 2026-02-12 09:54:24,137 - DEBUG - Services list from nova: [, , ] 2026-02-12 09:54:25,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5313-1) 2026-02-12 09:54:26,367 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5313-1) 2026-02-12 09:54:26,425 - INFO - Setting gateway for router da4a0215-8c53-4294-b287-6f71c3cdb956 to network 41889e17-c47e-4b0c-b9d0-8b0cc89e18a2 2026-02-12 09:54:26,485 - INFO - Adding interface with subnet_id 9250ada1-c996-44e7-a15a-07481a5a106e, port_id None to router da4a0215-8c53-4294-b287-6f71c3cdb956 2026-02-12 09:54:26,750 - INFO - Waiting for VM ctest-TestRoutersBasic-99770549-47645450 to be up.. 2026-02-12 09:54:26,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 09:54:32,001 - DEBUG - VM is in ACTIVE state now 2026-02-12 09:54:32,001 - INFO - VM name : ctest-TestRoutersBasic-99770549-47645450 2026-02-12 09:54:32,078 - DEBUG - VM ctest-TestRoutersBasic-99770549-47645450 ID is 5157a87b-7cbb-4bc2-a7d5-8dc9e9b7cee1 2026-02-12 09:54:32,100 - DEBUG - VM ctest-TestRoutersBasic-99770549-47645450 launched on Node cn-jenkins-deploy-platform-ansible-os-5313-1 2026-02-12 09:54:32,173 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5157a87b-7cbb-4bc2-a7d5-8dc9e9b7cee1 2026-02-12 09:54:32,467 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5157a87b-7cbb-4bc2-a7d5-8dc9e9b7cee1 2026-02-12 09:54:32,501 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9887928f-c076-484d-9883-019ec2c4d678 2026-02-12 09:54:35,743 - 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 1015ms') 2026-02-12 09:54:35,744 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99770549-47645450 failed! 2026-02-12 09:54:35,799 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99770549:ctest-vn-58512257 is 207.244.112.65 and allocation pool is NOT set 2026-02-12 09:54:37,864 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.586 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.586/1.745/2.904/1.159 ms') 2026-02-12 09:54:37,864 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99770549-47645450 passed 2026-02-12 09:54:38,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 09:54:38,011 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99770549-47645450, IP 207.244.112.67, Port 22 2026-02-12 09:54:38,192 - DEBUG - VM ctest-TestRoutersBasic-99770549-47645450 is ready for SSH connections 2026-02-12 09:54:38,193 - INFO - Waiting for VM ctest-TestRoutersBasic-99770549-51016056 to be up.. 2026-02-12 09:54:38,269 - DEBUG - VM is in ACTIVE state now 2026-02-12 09:54:38,269 - INFO - VM name : ctest-TestRoutersBasic-99770549-51016056 2026-02-12 09:54:38,341 - DEBUG - VM ctest-TestRoutersBasic-99770549-51016056 ID is dca72b22-529d-43b9-bfdd-5ec929346ccf 2026-02-12 09:54:38,341 - DEBUG - VM ctest-TestRoutersBasic-99770549-51016056 launched on Node cn-jenkins-deploy-platform-ansible-os-5313-1 2026-02-12 09:54:38,420 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dca72b22-529d-43b9-bfdd-5ec929346ccf 2026-02-12 09:54:38,429 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e97ad0c2-5958-4319-aaa2-8e298e5a2300 2026-02-12 09:54:39,666 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.089/3.243/5.397/2.154 ms') 2026-02-12 09:54:39,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99770549-51016056 passed 2026-02-12 09:54:39,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 09:54:39,815 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99770549-51016056, IP 149.217.191.67, Port 22 2026-02-12 09:54:39,981 - DEBUG - VM ctest-TestRoutersBasic-99770549-51016056 is ready for SSH connections 2026-02-12 09:54:39,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 09:54:39,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.217.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-12 09:54:39,981 - DEBUG - ping -s 56 -c 3 -W 1 149.217.191.67 2026-02-12 09:54:43,672 - DEBUG - PING 149.217.191.67 (149.217.191.67): 56 data bytes 64 bytes from 149.217.191.67: seq=0 ttl=62 time=7.176 ms 64 bytes from 149.217.191.67: seq=1 ttl=62 time=1.199 ms 64 bytes from 149.217.191.67: seq=2 ttl=62 time=1.315 ms --- 149.217.191.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.199/3.230/7.176 ms 2026-02-12 09:54:43,672 - INFO - Ping to IP 149.217.191.67 from VM ctest-TestRoutersBasic-99770549-47645450 passed 2026-02-12 09:54:43,672 - INFO - Deleting interface with subnet_id 9250ada1-c996-44e7-a15a-07481a5a106e, port_id None from router da4a0215-8c53-4294-b287-6f71c3cdb956 2026-02-12 09:54:43,859 - INFO - Deleting VM ctest-TestRoutersBasic-99770549-51016056 2026-02-12 09:54:43,927 - INFO - Deleting VM ctest-TestRoutersBasic-99770549-47645450 2026-02-12 09:54:44,013 - INFO - Deleting VN ctest-ext_vn-65335586 2026-02-12 09:54:44,091 - DEBUG - VN 41889e17-c47e-4b0c-b9d0-8b0cc89e18a2 still in use: Unable to complete operation on network 41889e17-c47e-4b0c-b9d0-8b0cc89e18a2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b77b6818-7fa5-4bb1-8990-516b6c64dbdc'] 2026-02-12 09:54:44,091 - WARNING - Deleting VN ctest-ext_vn-65335586 failed..Will retry 2026-02-12 09:54:46,209 - DEBUG - Response for deleting network () 2026-02-12 09:54:46,209 - INFO - Deleting VN ctest-vn-58512257 2026-02-12 09:54:46,303 - DEBUG - Response for deleting network () 2026-02-12 09:54:46,560 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 09:54:46,560 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-12 09:54:46,560 - INFO - -------------------------------------------------------------------------------- 2026-02-12 09:54:47,244 - INFO - Deleted project: ctest-TestRoutersBasic-99770549, ID : 45cc4be9-89d6-4eca-bd70-d0c687e12bd8