2026-01-02 19:10:49,047 - INFO - Domain Default found not creating 2026-01-02 19:10:49,206 - INFO - Project ctest-TestRoutersBasic-84122502 not found, creating it 2026-01-02 19:10:49,653 - INFO - Created Project:ctest-TestRoutersBasic-84122502, ID : 8df762b9-d915-4465-a1ee-0964b3e8c54b 2026-01-02 19:10:51,092 - INFO - ================================================================================ 2026-01-02 19:10:51,092 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-02 19:10:51,092 - 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-01-02 19:10:51,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-02 19:10:51,349 - INFO - Initial checks done. Running the testcase now 2026-01-02 19:10:51,349 - INFO - 2026-01-02 19:10:52,089 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84122502 2026-01-02 19:10:52,183 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84122502 2026-01-02 19:10:52,503 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84122502', 'default']} 2026-01-02 19:10:52,781 - DEBUG - Response for create_network : {'network': {'id': '66bb647e-fa6c-4908-bc59-e8c9d49f4735', 'name': 'ctest-vn-59635339', 'tenant_id': '8df762b9d9154465a1ee0964b3e8c54b', 'project_id': '8df762b9d9154465a1ee0964b3e8c54b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84122502', 'ctest-vn-59635339'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 19:10:52,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '3dd07524-3ebd-40b5-9c01-b547209a3714', 'name': '', 'tenant_id': '8df762b9d9154465a1ee0964b3e8c54b', 'network_id': '66bb647e-fa6c-4908-bc59-e8c9d49f4735', 'ip_version': 4, 'cidr': '126.157.38.0/26', 'allocation_pools': [{'start': '126.157.38.2', 'end': '126.157.38.62'}], 'gateway_ip': '126.157.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.157.38.2', 'tags': [], 'project_id': '8df762b9d9154465a1ee0964b3e8c54b'}} 2026-01-02 19:10:52,963 - INFO - Created VN ctest-vn-59635339 2026-01-02 19:10:53,015 - DEBUG - VN ctest-vn-59635339 UUID is 66bb647e-fa6c-4908-bc59-e8c9d49f4735 2026-01-02 19:10:53,338 - DEBUG - Response for create_network : {'network': {'id': 'd146fce2-30d1-4be2-b757-095b52183161', 'name': 'ctest-ext_vn-62007351', 'tenant_id': '8df762b9d9154465a1ee0964b3e8c54b', 'project_id': '8df762b9d9154465a1ee0964b3e8c54b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84122502', 'ctest-ext_vn-62007351'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 19:10:53,547 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d5d9a4c-5c3f-4a72-9f06-f317c61ed69b', 'name': '', 'tenant_id': '8df762b9d9154465a1ee0964b3e8c54b', 'network_id': 'd146fce2-30d1-4be2-b757-095b52183161', 'ip_version': 4, 'cidr': '222.4.104.64/26', 'allocation_pools': [{'start': '222.4.104.66', 'end': '222.4.104.126'}], 'gateway_ip': '222.4.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.4.104.66', 'tags': [], 'project_id': '8df762b9d9154465a1ee0964b3e8c54b'}} 2026-01-02 19:10:53,563 - INFO - Created VN ctest-ext_vn-62007351 2026-01-02 19:10:53,615 - DEBUG - VN ctest-ext_vn-62007351 UUID is d146fce2-30d1-4be2-b757-095b52183161 2026-01-02 19:10:53,808 - DEBUG - Services list from nova: [, , ] 2026-01-02 19:10:54,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4953-1) 2026-01-02 19:10:55,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4953-1) 2026-01-02 19:10:56,011 - INFO - Setting gateway for router 8f9d987f-3114-497c-bb7e-3fb76eb505c1 to network d146fce2-30d1-4be2-b757-095b52183161 2026-01-02 19:10:56,061 - INFO - Adding interface with subnet_id 3dd07524-3ebd-40b5-9c01-b547209a3714, port_id None to router 8f9d987f-3114-497c-bb7e-3fb76eb505c1 2026-01-02 19:10:56,409 - INFO - Waiting for VM ctest-TestRoutersBasic-84122502-76145973 to be up.. 2026-01-02 19:10:56,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-02 19:11:01,641 - DEBUG - VM is in ACTIVE state now 2026-01-02 19:11:01,642 - INFO - VM name : ctest-TestRoutersBasic-84122502-76145973 2026-01-02 19:11:01,711 - DEBUG - VM ctest-TestRoutersBasic-84122502-76145973 ID is 12c25efa-784c-44a1-82ce-018fb5493473 2026-01-02 19:11:01,730 - DEBUG - VM ctest-TestRoutersBasic-84122502-76145973 launched on Node cn-jenkins-deploy-platform-ansible-os-4953-1 2026-01-02 19:11:01,800 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/12c25efa-784c-44a1-82ce-018fb5493473 2026-01-02 19:11:02,099 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/12c25efa-784c-44a1-82ce-018fb5493473 2026-01-02 19:11:02,131 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/63696fe1-2be8-4289-aa1a-fb0d27200553 2026-01-02 19:11:05,381 - 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') 2026-01-02 19:11:05,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84122502-76145973 failed! 2026-01-02 19:11:05,439 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84122502:ctest-vn-59635339 is 126.157.38.1 and allocation pool is NOT set 2026-01-02 19:11:07,500 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.518 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.518/1.650/2.782/1.132 ms') 2026-01-02 19:11:07,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84122502-76145973 passed 2026-01-02 19:11:07,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:11:07,647 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84122502-76145973, IP 126.157.38.3, Port 22 2026-01-02 19:11:07,803 - DEBUG - VM ctest-TestRoutersBasic-84122502-76145973 is ready for SSH connections 2026-01-02 19:11:07,803 - INFO - Waiting for VM ctest-TestRoutersBasic-84122502-14232037 to be up.. 2026-01-02 19:11:07,874 - DEBUG - VM is in ACTIVE state now 2026-01-02 19:11:07,874 - INFO - VM name : ctest-TestRoutersBasic-84122502-14232037 2026-01-02 19:11:07,945 - DEBUG - VM ctest-TestRoutersBasic-84122502-14232037 ID is 799e7b2d-c54b-4d61-886a-bbdcea1a3da7 2026-01-02 19:11:07,945 - DEBUG - VM ctest-TestRoutersBasic-84122502-14232037 launched on Node cn-jenkins-deploy-platform-ansible-os-4953-1 2026-01-02 19:11:08,013 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/799e7b2d-c54b-4d61-886a-bbdcea1a3da7 2026-01-02 19:11:08,020 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/83611917-cc9b-42c2-800c-59418f559407 2026-01-02 19:11:09,243 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 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.045/2.253/3.462/1.208 ms') 2026-01-02 19:11:09,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84122502-14232037 passed 2026-01-02 19:11:09,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:11:09,391 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84122502-14232037, IP 222.4.104.67, Port 22 2026-01-02 19:11:09,542 - DEBUG - VM ctest-TestRoutersBasic-84122502-14232037 is ready for SSH connections 2026-01-02 19:11:09,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:11:09,543 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.4.104.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-02 19:11:09,543 - DEBUG - ping -s 56 -c 3 -W 1 222.4.104.67 2026-01-02 19:11:13,239 - DEBUG - PING 222.4.104.67 (222.4.104.67): 56 data bytes 64 bytes from 222.4.104.67: seq=0 ttl=62 time=7.780 ms 64 bytes from 222.4.104.67: seq=1 ttl=62 time=0.831 ms 64 bytes from 222.4.104.67: seq=2 ttl=62 time=0.905 ms --- 222.4.104.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/3.172/7.780 ms 2026-01-02 19:11:13,239 - INFO - Ping to IP 222.4.104.67 from VM ctest-TestRoutersBasic-84122502-76145973 passed 2026-01-02 19:11:13,239 - INFO - Deleting interface with subnet_id 3dd07524-3ebd-40b5-9c01-b547209a3714, port_id None from router 8f9d987f-3114-497c-bb7e-3fb76eb505c1 2026-01-02 19:11:13,415 - INFO - Deleting VM ctest-TestRoutersBasic-84122502-14232037 2026-01-02 19:11:13,496 - INFO - Deleting VM ctest-TestRoutersBasic-84122502-76145973 2026-01-02 19:11:13,576 - INFO - Deleting VN ctest-ext_vn-62007351 2026-01-02 19:11:13,643 - DEBUG - VN d146fce2-30d1-4be2-b757-095b52183161 still in use: Unable to complete operation on network d146fce2-30d1-4be2-b757-095b52183161. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07991a6b-e84e-4412-abc7-5ebbd93cf533'] 2026-01-02 19:11:13,644 - WARNING - Deleting VN ctest-ext_vn-62007351 failed..Will retry 2026-01-02 19:11:15,747 - DEBUG - Response for deleting network () 2026-01-02 19:11:15,747 - INFO - Deleting VN ctest-vn-59635339 2026-01-02 19:11:15,838 - DEBUG - Response for deleting network () 2026-01-02 19:11:16,104 - DEBUG - No XMPP flaps were noticed during the test 2026-01-02 19:11:16,104 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-02 19:11:16,104 - INFO - -------------------------------------------------------------------------------- 2026-01-02 19:11:16,800 - INFO - Deleted project: ctest-TestRoutersBasic-84122502, ID : 8df762b9-d915-4465-a1ee-0964b3e8c54b