2026-02-05 02:07:40,879 - INFO - Domain Default found not creating 2026-02-05 02:07:41,095 - INFO - Project ctest-TestRoutersBasic-22768474 not found, creating it 2026-02-05 02:07:41,634 - INFO - Created Project:ctest-TestRoutersBasic-22768474, ID : fc538c99-30ce-4285-a409-401814f4ed8d 2026-02-05 02:07:43,416 - INFO - ================================================================================ 2026-02-05 02:07:43,416 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-05 02:07:43,416 - 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-05 02:07:43,688 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-05 02:07:43,688 - INFO - Initial checks done. Running the testcase now 2026-02-05 02:07:43,688 - INFO - 2026-02-05 02:07:44,530 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22768474 2026-02-05 02:07:44,631 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22768474 2026-02-05 02:07:44,967 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22768474', 'default']} 2026-02-05 02:07:45,307 - DEBUG - Response for create_network : {'network': {'id': '79ad30c9-4f3d-4bc2-ba1e-c16cd5d95ed5', 'name': 'ctest-vn-20193687', 'tenant_id': 'fc538c9930ce4285a409401814f4ed8d', 'project_id': 'fc538c9930ce4285a409401814f4ed8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22768474', 'ctest-vn-20193687'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:07:45,488 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a0a1cb8-0768-4b3d-bd4f-2de6e08e92e0', 'name': '', 'tenant_id': 'fc538c9930ce4285a409401814f4ed8d', 'network_id': '79ad30c9-4f3d-4bc2-ba1e-c16cd5d95ed5', 'ip_version': 4, 'cidr': '170.71.93.192/26', 'allocation_pools': [{'start': '170.71.93.194', 'end': '170.71.93.254'}], 'gateway_ip': '170.71.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.71.93.194', 'tags': [], 'project_id': 'fc538c9930ce4285a409401814f4ed8d'}} 2026-02-05 02:07:45,510 - INFO - Created VN ctest-vn-20193687 2026-02-05 02:07:45,567 - DEBUG - VN ctest-vn-20193687 UUID is 79ad30c9-4f3d-4bc2-ba1e-c16cd5d95ed5 2026-02-05 02:07:45,940 - DEBUG - Response for create_network : {'network': {'id': '853a9a18-6f33-4f29-9355-63a4c17d206f', 'name': 'ctest-ext_vn-62021892', 'tenant_id': 'fc538c9930ce4285a409401814f4ed8d', 'project_id': 'fc538c9930ce4285a409401814f4ed8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22768474', 'ctest-ext_vn-62021892'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 02:07:46,150 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cebd71e5-9733-4b37-ad0a-3b918a9867dc', 'name': '', 'tenant_id': 'fc538c9930ce4285a409401814f4ed8d', 'network_id': '853a9a18-6f33-4f29-9355-63a4c17d206f', 'ip_version': 4, 'cidr': '29.10.117.64/26', 'allocation_pools': [{'start': '29.10.117.66', 'end': '29.10.117.126'}], 'gateway_ip': '29.10.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.10.117.66', 'tags': [], 'project_id': 'fc538c9930ce4285a409401814f4ed8d'}} 2026-02-05 02:07:46,172 - INFO - Created VN ctest-ext_vn-62021892 2026-02-05 02:07:46,231 - DEBUG - VN ctest-ext_vn-62021892 UUID is 853a9a18-6f33-4f29-9355-63a4c17d206f 2026-02-05 02:07:46,415 - DEBUG - Services list from nova: [, , ] 2026-02-05 02:07:47,600 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5211-1) 2026-02-05 02:07:48,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5211-1) 2026-02-05 02:07:49,041 - INFO - Setting gateway for router 116ba014-de67-4c3a-885f-af6efe81c9da to network 853a9a18-6f33-4f29-9355-63a4c17d206f 2026-02-05 02:07:49,110 - INFO - Adding interface with subnet_id 3a0a1cb8-0768-4b3d-bd4f-2de6e08e92e0, port_id None to router 116ba014-de67-4c3a-885f-af6efe81c9da 2026-02-05 02:07:49,548 - INFO - Waiting for VM ctest-TestRoutersBasic-22768474-74079048 to be up.. 2026-02-05 02:07:49,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 02:07:54,892 - DEBUG - VM is in ACTIVE state now 2026-02-05 02:07:54,892 - INFO - VM name : ctest-TestRoutersBasic-22768474-74079048 2026-02-05 02:07:54,979 - DEBUG - VM ctest-TestRoutersBasic-22768474-74079048 ID is 04758817-4298-4243-9ebf-1a555a2caffc 2026-02-05 02:07:55,003 - DEBUG - VM ctest-TestRoutersBasic-22768474-74079048 launched on Node cn-jenkins-deploy-platform-ansible-os-5211-1 2026-02-05 02:07:55,090 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/04758817-4298-4243-9ebf-1a555a2caffc 2026-02-05 02:07:55,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/04758817-4298-4243-9ebf-1a555a2caffc 2026-02-05 02:07:55,492 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b055e403-d118-47d0-a858-d377fd29430e 2026-02-05 02:07:58,761 - 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 1008ms') 2026-02-05 02:07:58,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22768474-74079048 failed! 2026-02-05 02:07:58,823 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22768474:ctest-vn-20193687 is 170.71.93.193 and allocation pool is NOT set 2026-02-05 02:08:00,895 - 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=4.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.708 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.708/2.632/4.556/1.924 ms') 2026-02-05 02:08:00,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22768474-74079048 passed 2026-02-05 02:08:01,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:08:01,056 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22768474-74079048, IP 170.71.93.195, Port 22 2026-02-05 02:08:01,233 - DEBUG - VM ctest-TestRoutersBasic-22768474-74079048 is ready for SSH connections 2026-02-05 02:08:01,233 - INFO - Waiting for VM ctest-TestRoutersBasic-22768474-15869110 to be up.. 2026-02-05 02:08:01,366 - DEBUG - VM is in ACTIVE state now 2026-02-05 02:08:01,366 - INFO - VM name : ctest-TestRoutersBasic-22768474-15869110 2026-02-05 02:08:01,475 - DEBUG - VM ctest-TestRoutersBasic-22768474-15869110 ID is 94dfd301-d1da-4e1d-8ed8-7cb56f20c255 2026-02-05 02:08:01,476 - DEBUG - VM ctest-TestRoutersBasic-22768474-15869110 launched on Node cn-jenkins-deploy-platform-ansible-os-5211-1 2026-02-05 02:08:01,589 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/94dfd301-d1da-4e1d-8ed8-7cb56f20c255 2026-02-05 02:08:01,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7f69cce1-e61b-451e-b316-dbe524656a32 2026-02-05 02:08:02,877 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.887 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.887/2.302/3.718/1.415 ms') 2026-02-05 02:08:02,877 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22768474-15869110 passed 2026-02-05 02:08:03,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:08:03,031 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22768474-15869110, IP 29.10.117.67, Port 22 2026-02-05 02:08:03,191 - DEBUG - VM ctest-TestRoutersBasic-22768474-15869110 is ready for SSH connections 2026-02-05 02:08:03,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 02:08:03,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.10.117.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-05 02:08:03,192 - DEBUG - ping -s 56 -c 3 -W 1 29.10.117.67 2026-02-05 02:08:07,020 - DEBUG - PING 29.10.117.67 (29.10.117.67): 56 data bytes 64 bytes from 29.10.117.67: seq=0 ttl=62 time=6.426 ms 64 bytes from 29.10.117.67: seq=1 ttl=62 time=1.777 ms 64 bytes from 29.10.117.67: seq=2 ttl=62 time=1.423 ms --- 29.10.117.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.423/3.208/6.426 ms 2026-02-05 02:08:07,021 - INFO - Ping to IP 29.10.117.67 from VM ctest-TestRoutersBasic-22768474-74079048 passed 2026-02-05 02:08:07,021 - INFO - Deleting interface with subnet_id 3a0a1cb8-0768-4b3d-bd4f-2de6e08e92e0, port_id None from router 116ba014-de67-4c3a-885f-af6efe81c9da 2026-02-05 02:08:07,251 - INFO - Deleting VM ctest-TestRoutersBasic-22768474-15869110 2026-02-05 02:08:07,339 - INFO - Deleting VM ctest-TestRoutersBasic-22768474-74079048 2026-02-05 02:08:07,443 - INFO - Deleting VN ctest-ext_vn-62021892 2026-02-05 02:08:07,521 - DEBUG - VN 853a9a18-6f33-4f29-9355-63a4c17d206f still in use: Unable to complete operation on network 853a9a18-6f33-4f29-9355-63a4c17d206f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b6448614-24c5-4e3c-b8cc-5b21f0cbd641'] 2026-02-05 02:08:07,522 - WARNING - Deleting VN ctest-ext_vn-62021892 failed..Will retry 2026-02-05 02:08:09,644 - DEBUG - Response for deleting network () 2026-02-05 02:08:09,645 - INFO - Deleting VN ctest-vn-20193687 2026-02-05 02:08:09,761 - DEBUG - Response for deleting network () 2026-02-05 02:08:10,029 - DEBUG - No XMPP flaps were noticed during the test 2026-02-05 02:08:10,029 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2026-02-05 02:08:10,029 - INFO - -------------------------------------------------------------------------------- 2026-02-05 02:08:10,829 - INFO - Deleted project: ctest-TestRoutersBasic-22768474, ID : fc538c99-30ce-4285-a409-401814f4ed8d