2025-08-18 02:09:30,950 - INFO - Domain Default found not creating 2025-08-18 02:09:31,071 - INFO - Project ctest-TestRoutersBasic-50079823 not found, creating it 2025-08-18 02:09:31,495 - INFO - Created Project:ctest-TestRoutersBasic-50079823, ID : 8c7badaf-eb36-4e90-afa5-e043f4eb83ec 2025-08-18 02:09:32,821 - INFO - ================================================================================ 2025-08-18 02:09:32,821 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-18 02:09:32,821 - 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-08-18 02:09:33,076 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-08-18 02:09:33,076 - INFO - Initial checks done. Running the testcase now 2025-08-18 02:09:33,076 - INFO - 2025-08-18 02:09:33,758 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50079823 2025-08-18 02:09:33,855 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50079823 2025-08-18 02:09:34,175 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50079823', 'default']} 2025-08-18 02:09:34,466 - DEBUG - Response for create_network : {'network': {'id': '42b70431-c774-460c-9554-e6e8917c7814', 'name': 'ctest-vn-74986176', 'tenant_id': '8c7badafeb364e90afa5e043f4eb83ec', 'project_id': '8c7badafeb364e90afa5e043f4eb83ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50079823', 'ctest-vn-74986176'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:09:34,640 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae6d879f-33b2-43a2-9fe5-a45d3b440b43', 'name': '', 'tenant_id': '8c7badafeb364e90afa5e043f4eb83ec', 'network_id': '42b70431-c774-460c-9554-e6e8917c7814', 'ip_version': 4, 'cidr': '66.61.83.192/26', 'allocation_pools': [{'start': '66.61.83.194', 'end': '66.61.83.254'}], 'gateway_ip': '66.61.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.61.83.194', 'tags': [], 'project_id': '8c7badafeb364e90afa5e043f4eb83ec'}} 2025-08-18 02:09:34,657 - INFO - Created VN ctest-vn-74986176 2025-08-18 02:09:34,707 - DEBUG - VN ctest-vn-74986176 UUID is 42b70431-c774-460c-9554-e6e8917c7814 2025-08-18 02:09:35,042 - DEBUG - Response for create_network : {'network': {'id': '7d89b860-8ca1-425e-b883-fab005ee86ed', 'name': 'ctest-ext_vn-75815103', 'tenant_id': '8c7badafeb364e90afa5e043f4eb83ec', 'project_id': '8c7badafeb364e90afa5e043f4eb83ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50079823', 'ctest-ext_vn-75815103'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:09:35,228 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c75e8833-4c02-4801-a389-cefb64878fba', 'name': '', 'tenant_id': '8c7badafeb364e90afa5e043f4eb83ec', 'network_id': '7d89b860-8ca1-425e-b883-fab005ee86ed', 'ip_version': 4, 'cidr': '151.141.191.64/26', 'allocation_pools': [{'start': '151.141.191.66', 'end': '151.141.191.126'}], 'gateway_ip': '151.141.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.141.191.66', 'tags': [], 'project_id': '8c7badafeb364e90afa5e043f4eb83ec'}} 2025-08-18 02:09:35,243 - INFO - Created VN ctest-ext_vn-75815103 2025-08-18 02:09:35,295 - DEBUG - VN ctest-ext_vn-75815103 UUID is 7d89b860-8ca1-425e-b883-fab005ee86ed 2025-08-18 02:09:35,491 - DEBUG - Services list from nova: [, , ] 2025-08-18 02:09:36,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3871-1) 2025-08-18 02:09:37,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3871-1) 2025-08-18 02:09:37,542 - INFO - Setting gateway for router c747ba2d-3112-4971-9e64-a0d844efdbea to network 7d89b860-8ca1-425e-b883-fab005ee86ed 2025-08-18 02:09:37,603 - INFO - Adding interface with subnet_id ae6d879f-33b2-43a2-9fe5-a45d3b440b43, port_id None to router c747ba2d-3112-4971-9e64-a0d844efdbea 2025-08-18 02:09:37,906 - INFO - Waiting for VM ctest-TestRoutersBasic-50079823-36449982 to be up.. 2025-08-18 02:09:38,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 02:09:43,131 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:09:43,131 - INFO - VM name : ctest-TestRoutersBasic-50079823-36449982 2025-08-18 02:09:43,195 - DEBUG - VM ctest-TestRoutersBasic-50079823-36449982 ID is 74846b0f-a013-4f2d-adc4-598f2b281481 2025-08-18 02:09:43,214 - DEBUG - VM ctest-TestRoutersBasic-50079823-36449982 launched on Node cn-jenkins-deploy-platform-ansible-os-3871-1 2025-08-18 02:09:43,280 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/74846b0f-a013-4f2d-adc4-598f2b281481 2025-08-18 02:09:43,579 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/74846b0f-a013-4f2d-adc4-598f2b281481 2025-08-18 02:09:43,608 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/5caf466a-e00a-4bab-b90c-7b6d81c22891 2025-08-18 02:09:46,869 - 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 1020ms') 2025-08-18 02:09:46,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50079823-36449982 failed! 2025-08-18 02:09:46,923 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50079823:ctest-vn-74986176 is 66.61.83.193 and allocation pool is NOT set 2025-08-18 02:09:48,979 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/1.498/2.588/1.089 ms') 2025-08-18 02:09:48,979 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50079823-36449982 passed 2025-08-18 02:09:49,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:49,127 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50079823-36449982, IP 66.61.83.195, Port 22 2025-08-18 02:09:49,278 - DEBUG - VM ctest-TestRoutersBasic-50079823-36449982 is ready for SSH connections 2025-08-18 02:09:49,278 - INFO - Waiting for VM ctest-TestRoutersBasic-50079823-95275074 to be up.. 2025-08-18 02:09:49,351 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:09:49,351 - INFO - VM name : ctest-TestRoutersBasic-50079823-95275074 2025-08-18 02:09:49,416 - DEBUG - VM ctest-TestRoutersBasic-50079823-95275074 ID is e1a4721a-271d-41c3-a53b-18b6a98525f8 2025-08-18 02:09:49,416 - DEBUG - VM ctest-TestRoutersBasic-50079823-95275074 launched on Node cn-jenkins-deploy-platform-ansible-os-3871-1 2025-08-18 02:09:49,478 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/e1a4721a-271d-41c3-a53b-18b6a98525f8 2025-08-18 02:09:49,486 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/57cd25fc-a6e0-4d0d-9ab1-cee05bcc50f5 2025-08-18 02:09:50,720 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.321 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.321/1.713/3.105/1.392 ms') 2025-08-18 02:09:50,720 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50079823-95275074 passed 2025-08-18 02:09:50,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:50,867 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50079823-95275074, IP 151.141.191.67, Port 22 2025-08-18 02:09:51,023 - DEBUG - VM ctest-TestRoutersBasic-50079823-95275074 is ready for SSH connections 2025-08-18 02:09:51,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:09:51,023 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.141.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-18 02:09:51,023 - DEBUG - ping -s 56 -c 3 -W 1 151.141.191.67 2025-08-18 02:09:54,699 - DEBUG - PING 151.141.191.67 (151.141.191.67): 56 data bytes 64 bytes from 151.141.191.67: seq=0 ttl=62 time=7.241 ms 64 bytes from 151.141.191.67: seq=1 ttl=62 time=0.741 ms 64 bytes from 151.141.191.67: seq=2 ttl=62 time=0.767 ms --- 151.141.191.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/2.916/7.241 ms 2025-08-18 02:09:54,699 - INFO - Ping to IP 151.141.191.67 from VM ctest-TestRoutersBasic-50079823-36449982 passed 2025-08-18 02:09:54,700 - INFO - Deleting interface with subnet_id ae6d879f-33b2-43a2-9fe5-a45d3b440b43, port_id None from router c747ba2d-3112-4971-9e64-a0d844efdbea 2025-08-18 02:09:54,904 - INFO - Deleting VM ctest-TestRoutersBasic-50079823-95275074 2025-08-18 02:09:54,968 - INFO - Deleting VM ctest-TestRoutersBasic-50079823-36449982 2025-08-18 02:09:55,046 - INFO - Deleting VN ctest-ext_vn-75815103 2025-08-18 02:09:55,110 - DEBUG - VN 7d89b860-8ca1-425e-b883-fab005ee86ed still in use: Unable to complete operation on network 7d89b860-8ca1-425e-b883-fab005ee86ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0a16c63-fe79-470d-a5a1-4cb725aaab7b'] 2025-08-18 02:09:55,110 - WARNING - Deleting VN ctest-ext_vn-75815103 failed..Will retry 2025-08-18 02:09:57,219 - DEBUG - Response for deleting network () 2025-08-18 02:09:57,219 - INFO - Deleting VN ctest-vn-74986176 2025-08-18 02:09:57,337 - DEBUG - Response for deleting network () 2025-08-18 02:09:57,592 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:09:57,592 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-18 02:09:57,592 - INFO - -------------------------------------------------------------------------------- 2025-08-18 02:09:58,258 - INFO - Deleted project: ctest-TestRoutersBasic-50079823, ID : 8c7badaf-eb36-4e90-afa5-e043f4eb83ec