2025-12-26 21:45:47,922 - INFO - Domain Default found not creating 2025-12-26 21:45:48,070 - INFO - Project ctest-TestRoutersBasic-65203802 not found, creating it 2025-12-26 21:45:48,533 - INFO - Created Project:ctest-TestRoutersBasic-65203802, ID : 03aac123-c8c3-4a35-a109-01bc18ae711c 2025-12-26 21:45:50,029 - INFO - ================================================================================ 2025-12-26 21:45:50,029 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-26 21:45:50,029 - 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 2025-12-26 21:45:50,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-26 21:45:50,283 - INFO - Initial checks done. Running the testcase now 2025-12-26 21:45:50,283 - INFO - 2025-12-26 21:45:50,970 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65203802 2025-12-26 21:45:51,066 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65203802 2025-12-26 21:45:51,381 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65203802', 'default']} 2025-12-26 21:45:51,660 - DEBUG - Response for create_network : {'network': {'id': '62480f6d-0a91-4448-9807-95b1dbc1140a', 'name': 'ctest-vn-54112413', 'tenant_id': '03aac123c8c34a35a10901bc18ae711c', 'project_id': '03aac123c8c34a35a10901bc18ae711c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65203802', 'ctest-vn-54112413'], 'port_security_enabled': True, 'description': ''}} 2025-12-26 21:45:51,812 - DEBUG - Response for create_subnet : {'subnet': {'id': '21178791-95c6-4f93-9bab-9e683ea73e9f', 'name': '', 'tenant_id': '03aac123c8c34a35a10901bc18ae711c', 'network_id': '62480f6d-0a91-4448-9807-95b1dbc1140a', 'ip_version': 4, 'cidr': '129.22.167.192/26', 'allocation_pools': [{'start': '129.22.167.194', 'end': '129.22.167.254'}], 'gateway_ip': '129.22.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.22.167.194', 'tags': [], 'project_id': '03aac123c8c34a35a10901bc18ae711c'}} 2025-12-26 21:45:51,829 - INFO - Created VN ctest-vn-54112413 2025-12-26 21:45:51,882 - DEBUG - VN ctest-vn-54112413 UUID is 62480f6d-0a91-4448-9807-95b1dbc1140a 2025-12-26 21:45:52,224 - DEBUG - Response for create_network : {'network': {'id': '02554474-b848-4d0a-bb05-65122948be0b', 'name': 'ctest-ext_vn-92055760', 'tenant_id': '03aac123c8c34a35a10901bc18ae711c', 'project_id': '03aac123c8c34a35a10901bc18ae711c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65203802', 'ctest-ext_vn-92055760'], 'port_security_enabled': True, 'description': ''}} 2025-12-26 21:45:52,427 - DEBUG - Response for create_subnet : {'subnet': {'id': '835c949c-1339-4ed3-a353-c26916a146af', 'name': '', 'tenant_id': '03aac123c8c34a35a10901bc18ae711c', 'network_id': '02554474-b848-4d0a-bb05-65122948be0b', 'ip_version': 4, 'cidr': '132.185.37.64/26', 'allocation_pools': [{'start': '132.185.37.66', 'end': '132.185.37.126'}], 'gateway_ip': '132.185.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.185.37.66', 'tags': [], 'project_id': '03aac123c8c34a35a10901bc18ae711c'}} 2025-12-26 21:45:52,445 - INFO - Created VN ctest-ext_vn-92055760 2025-12-26 21:45:52,498 - DEBUG - VN ctest-ext_vn-92055760 UUID is 02554474-b848-4d0a-bb05-65122948be0b 2025-12-26 21:45:52,700 - DEBUG - Services list from nova: [, , ] 2025-12-26 21:45:53,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4929-1) 2025-12-26 21:45:54,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4929-1) 2025-12-26 21:45:55,018 - INFO - Setting gateway for router 99396125-dc27-410d-b26a-d5ff5d72343f to network 02554474-b848-4d0a-bb05-65122948be0b 2025-12-26 21:45:55,094 - INFO - Adding interface with subnet_id 21178791-95c6-4f93-9bab-9e683ea73e9f, port_id None to router 99396125-dc27-410d-b26a-d5ff5d72343f 2025-12-26 21:45:55,530 - INFO - Waiting for VM ctest-TestRoutersBasic-65203802-90359453 to be up.. 2025-12-26 21:45:55,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-26 21:46:00,794 - DEBUG - VM is in ACTIVE state now 2025-12-26 21:46:00,795 - INFO - VM name : ctest-TestRoutersBasic-65203802-90359453 2025-12-26 21:46:00,868 - DEBUG - VM ctest-TestRoutersBasic-65203802-90359453 ID is 48c0987c-8cca-4046-b790-f8b6c3b5abba 2025-12-26 21:46:00,886 - DEBUG - VM ctest-TestRoutersBasic-65203802-90359453 launched on Node cn-jenkins-deploy-platform-ansible-os-4929-1 2025-12-26 21:46:00,960 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/48c0987c-8cca-4046-b790-f8b6c3b5abba 2025-12-26 21:46:01,252 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/48c0987c-8cca-4046-b790-f8b6c3b5abba 2025-12-26 21:46:01,287 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/15e4113c-8166-493b-8b2f-0f171b1cfa50 2025-12-26 21:46:04,541 - 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 1011ms') 2025-12-26 21:46:04,541 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65203802-90359453 failed! 2025-12-26 21:46:04,598 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65203802:ctest-vn-54112413 is 129.22.167.193 and allocation pool is NOT set 2025-12-26 21:46:06,657 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 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 = 1.438/2.744/4.050/1.306 ms') 2025-12-26 21:46:06,657 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65203802-90359453 passed 2025-12-26 21:46:06,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:46:06,806 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65203802-90359453, IP 129.22.167.195, Port 22 2025-12-26 21:46:06,961 - DEBUG - VM ctest-TestRoutersBasic-65203802-90359453 is ready for SSH connections 2025-12-26 21:46:06,961 - INFO - Waiting for VM ctest-TestRoutersBasic-65203802-52001956 to be up.. 2025-12-26 21:46:07,044 - DEBUG - VM is in ACTIVE state now 2025-12-26 21:46:07,044 - INFO - VM name : ctest-TestRoutersBasic-65203802-52001956 2025-12-26 21:46:07,123 - DEBUG - VM ctest-TestRoutersBasic-65203802-52001956 ID is 4042fca0-2591-4fe9-90ed-2f27a2ffd0aa 2025-12-26 21:46:07,124 - DEBUG - VM ctest-TestRoutersBasic-65203802-52001956 launched on Node cn-jenkins-deploy-platform-ansible-os-4929-1 2025-12-26 21:46:07,199 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4042fca0-2591-4fe9-90ed-2f27a2ffd0aa 2025-12-26 21:46:07,207 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3da51b27-7701-44ae-8aae-820b59af207d 2025-12-26 21:46:08,436 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.835/3.256/1.420 ms') 2025-12-26 21:46:08,436 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65203802-52001956 passed 2025-12-26 21:46:08,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:46:08,586 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65203802-52001956, IP 132.185.37.67, Port 22 2025-12-26 21:46:08,741 - DEBUG - VM ctest-TestRoutersBasic-65203802-52001956 is ready for SSH connections 2025-12-26 21:46:08,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:46:08,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.185.37.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-26 21:46:08,741 - DEBUG - ping -s 56 -c 3 -W 1 132.185.37.67 2025-12-26 21:46:12,456 - DEBUG - PING 132.185.37.67 (132.185.37.67): 56 data bytes 64 bytes from 132.185.37.67: seq=0 ttl=62 time=5.521 ms 64 bytes from 132.185.37.67: seq=1 ttl=62 time=0.870 ms 64 bytes from 132.185.37.67: seq=2 ttl=62 time=0.858 ms --- 132.185.37.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/2.416/5.521 ms 2025-12-26 21:46:12,456 - INFO - Ping to IP 132.185.37.67 from VM ctest-TestRoutersBasic-65203802-90359453 passed 2025-12-26 21:46:12,456 - INFO - Deleting interface with subnet_id 21178791-95c6-4f93-9bab-9e683ea73e9f, port_id None from router 99396125-dc27-410d-b26a-d5ff5d72343f 2025-12-26 21:46:12,633 - INFO - Deleting VM ctest-TestRoutersBasic-65203802-52001956 2025-12-26 21:46:12,708 - INFO - Deleting VM ctest-TestRoutersBasic-65203802-90359453 2025-12-26 21:46:12,791 - INFO - Deleting VN ctest-ext_vn-92055760 2025-12-26 21:46:12,860 - DEBUG - VN 02554474-b848-4d0a-bb05-65122948be0b still in use: Unable to complete operation on network 02554474-b848-4d0a-bb05-65122948be0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5fa6d981-232d-4e87-a92a-fd53819aef58'] 2025-12-26 21:46:12,860 - WARNING - Deleting VN ctest-ext_vn-92055760 failed..Will retry 2025-12-26 21:46:14,948 - DEBUG - Response for deleting network () 2025-12-26 21:46:14,948 - INFO - Deleting VN ctest-vn-54112413 2025-12-26 21:46:15,060 - DEBUG - Response for deleting network () 2025-12-26 21:46:15,318 - DEBUG - No XMPP flaps were noticed during the test 2025-12-26 21:46:15,318 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-12-26 21:46:15,318 - INFO - -------------------------------------------------------------------------------- 2025-12-26 21:46:16,010 - INFO - Deleted project: ctest-TestRoutersBasic-65203802, ID : 03aac123-c8c3-4a35-a109-01bc18ae711c