2025-09-19 21:31:44,654 - INFO - Domain Default found not creating 2025-09-19 21:31:44,780 - INFO - Project ctest-TestRoutersBasic-60094154 not found, creating it 2025-09-19 21:31:45,188 - INFO - Created Project:ctest-TestRoutersBasic-60094154, ID : c9b5313d-9033-4d98-ba42-0e94c69e5c29 2025-09-19 21:31:46,498 - INFO - ================================================================================ 2025-09-19 21:31:46,498 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-19 21:31:46,498 - 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-09-19 21:31:46,750 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 21:31:46,750 - INFO - Initial checks done. Running the testcase now 2025-09-19 21:31:46,750 - INFO - 2025-09-19 21:31:47,417 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60094154 2025-09-19 21:31:47,510 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60094154 2025-09-19 21:31:47,830 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60094154', 'default']} 2025-09-19 21:31:48,099 - DEBUG - Response for create_network : {'network': {'id': '2987ff88-3cab-4553-9e6f-807dff185578', 'name': 'ctest-vn-54721931', 'tenant_id': 'c9b5313d90334d98ba420e94c69e5c29', 'project_id': 'c9b5313d90334d98ba420e94c69e5c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60094154', 'ctest-vn-54721931'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:31:48,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '870fefed-f284-481d-84e5-e88043047a54', 'name': '', 'tenant_id': 'c9b5313d90334d98ba420e94c69e5c29', 'network_id': '2987ff88-3cab-4553-9e6f-807dff185578', 'ip_version': 4, 'cidr': '217.159.236.128/26', 'allocation_pools': [{'start': '217.159.236.130', 'end': '217.159.236.190'}], 'gateway_ip': '217.159.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.159.236.130', 'tags': [], 'project_id': 'c9b5313d90334d98ba420e94c69e5c29'}} 2025-09-19 21:31:48,299 - INFO - Created VN ctest-vn-54721931 2025-09-19 21:31:48,350 - DEBUG - VN ctest-vn-54721931 UUID is 2987ff88-3cab-4553-9e6f-807dff185578 2025-09-19 21:31:48,683 - DEBUG - Response for create_network : {'network': {'id': 'de8733fa-5361-4acc-9065-ad5fe7b156fd', 'name': 'ctest-ext_vn-24855184', 'tenant_id': 'c9b5313d90334d98ba420e94c69e5c29', 'project_id': 'c9b5313d90334d98ba420e94c69e5c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60094154', 'ctest-ext_vn-24855184'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:31:48,902 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4972f0f-6387-4b39-82c7-5cf44fd2443a', 'name': '', 'tenant_id': 'c9b5313d90334d98ba420e94c69e5c29', 'network_id': 'de8733fa-5361-4acc-9065-ad5fe7b156fd', 'ip_version': 4, 'cidr': '125.206.29.128/26', 'allocation_pools': [{'start': '125.206.29.130', 'end': '125.206.29.190'}], 'gateway_ip': '125.206.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.206.29.130', 'tags': [], 'project_id': 'c9b5313d90334d98ba420e94c69e5c29'}} 2025-09-19 21:31:48,919 - INFO - Created VN ctest-ext_vn-24855184 2025-09-19 21:31:48,970 - DEBUG - VN ctest-ext_vn-24855184 UUID is de8733fa-5361-4acc-9065-ad5fe7b156fd 2025-09-19 21:31:49,142 - DEBUG - Services list from nova: [, , ] 2025-09-19 21:31:50,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1) 2025-09-19 21:31:51,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1) 2025-09-19 21:31:51,258 - INFO - Setting gateway for router 18cac88f-1fc1-41ce-ac3c-576f1cc1e269 to network de8733fa-5361-4acc-9065-ad5fe7b156fd 2025-09-19 21:31:51,307 - INFO - Adding interface with subnet_id 870fefed-f284-481d-84e5-e88043047a54, port_id None to router 18cac88f-1fc1-41ce-ac3c-576f1cc1e269 2025-09-19 21:31:51,585 - INFO - Waiting for VM ctest-TestRoutersBasic-60094154-51519979 to be up.. 2025-09-19 21:31:51,737 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 21:31:56,804 - DEBUG - VM is in ACTIVE state now 2025-09-19 21:31:56,805 - INFO - VM name : ctest-TestRoutersBasic-60094154-51519979 2025-09-19 21:31:56,866 - DEBUG - VM ctest-TestRoutersBasic-60094154-51519979 ID is 38aa604b-f8e2-42e9-a8c8-0e8efc32e6eb 2025-09-19 21:31:56,883 - DEBUG - VM ctest-TestRoutersBasic-60094154-51519979 launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1 2025-09-19 21:31:56,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/38aa604b-f8e2-42e9-a8c8-0e8efc32e6eb 2025-09-19 21:31:57,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/38aa604b-f8e2-42e9-a8c8-0e8efc32e6eb 2025-09-19 21:31:57,281 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/41eb2717-22ce-4548-856d-a0f76b6ebdfe 2025-09-19 21:32:00,515 - 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 1006ms') 2025-09-19 21:32:00,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60094154-51519979 failed! 2025-09-19 21:32:00,574 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60094154:ctest-vn-54721931 is 217.159.236.129 and allocation pool is NOT set 2025-09-19 21:32:02,633 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/1.587/2.725/1.138 ms') 2025-09-19 21:32:02,633 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60094154-51519979 passed 2025-09-19 21:32:02,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:32:02,786 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60094154-51519979, IP 217.159.236.131, Port 22 2025-09-19 21:32:02,949 - DEBUG - VM ctest-TestRoutersBasic-60094154-51519979 is ready for SSH connections 2025-09-19 21:32:02,949 - INFO - Waiting for VM ctest-TestRoutersBasic-60094154-52990713 to be up.. 2025-09-19 21:32:03,017 - DEBUG - VM is in ACTIVE state now 2025-09-19 21:32:03,017 - INFO - VM name : ctest-TestRoutersBasic-60094154-52990713 2025-09-19 21:32:03,082 - DEBUG - VM ctest-TestRoutersBasic-60094154-52990713 ID is f8971e77-3cce-4b3d-8b7b-f2866ab488f7 2025-09-19 21:32:03,082 - DEBUG - VM ctest-TestRoutersBasic-60094154-52990713 launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1 2025-09-19 21:32:03,148 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f8971e77-3cce-4b3d-8b7b-f2866ab488f7 2025-09-19 21:32:03,155 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fec00f3a-8858-49ef-86d3-6c34d75ae43a 2025-09-19 21:32:04,394 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.339 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.339/1.747/3.156/1.408 ms') 2025-09-19 21:32:04,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60094154-52990713 passed 2025-09-19 21:32:04,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:32:04,550 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60094154-52990713, IP 125.206.29.131, Port 22 2025-09-19 21:32:04,709 - DEBUG - VM ctest-TestRoutersBasic-60094154-52990713 is ready for SSH connections 2025-09-19 21:32:04,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:32:04,709 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.206.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:32:04,709 - DEBUG - ping -s 56 -c 3 -W 1 125.206.29.131 2025-09-19 21:32:08,756 - DEBUG - PING 125.206.29.131 (125.206.29.131): 56 data bytes 64 bytes from 125.206.29.131: seq=0 ttl=62 time=3.911 ms 64 bytes from 125.206.29.131: seq=1 ttl=62 time=0.896 ms 64 bytes from 125.206.29.131: seq=2 ttl=62 time=0.749 ms --- 125.206.29.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.852/3.911 ms 2025-09-19 21:32:08,756 - INFO - Ping to IP 125.206.29.131 from VM ctest-TestRoutersBasic-60094154-51519979 passed 2025-09-19 21:32:08,756 - INFO - Deleting interface with subnet_id 870fefed-f284-481d-84e5-e88043047a54, port_id None from router 18cac88f-1fc1-41ce-ac3c-576f1cc1e269 2025-09-19 21:32:08,913 - INFO - Deleting VM ctest-TestRoutersBasic-60094154-52990713 2025-09-19 21:32:08,975 - INFO - Deleting VM ctest-TestRoutersBasic-60094154-51519979 2025-09-19 21:32:09,059 - INFO - Deleting VN ctest-ext_vn-24855184 2025-09-19 21:32:09,113 - DEBUG - VN de8733fa-5361-4acc-9065-ad5fe7b156fd still in use: Unable to complete operation on network de8733fa-5361-4acc-9065-ad5fe7b156fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-525901cc-6110-408d-b795-3fb806ad98f1'] 2025-09-19 21:32:09,113 - WARNING - Deleting VN ctest-ext_vn-24855184 failed..Will retry 2025-09-19 21:32:11,199 - DEBUG - Response for deleting network () 2025-09-19 21:32:11,199 - INFO - Deleting VN ctest-vn-54721931 2025-09-19 21:32:11,289 - DEBUG - Response for deleting network () 2025-09-19 21:32:11,541 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 21:32:11,542 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-19 21:32:11,542 - INFO - -------------------------------------------------------------------------------- 2025-09-19 21:32:12,195 - INFO - Deleted project: ctest-TestRoutersBasic-60094154, ID : c9b5313d-9033-4d98-ba42-0e94c69e5c29