2025-10-22 14:05:09,511 - INFO - Domain Default found not creating 2025-10-22 14:05:09,674 - INFO - Project ctest-TestRoutersBasic-12967904 not found, creating it 2025-10-22 14:05:10,144 - INFO - Created Project:ctest-TestRoutersBasic-12967904, ID : 58ba4d0b-6835-4967-aedf-2cc8952c22bc 2025-10-22 14:05:11,640 - INFO - ================================================================================ 2025-10-22 14:05:11,640 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 14:05:11,640 - 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-10-22 14:05:11,898 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-22 14:05:11,898 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:05:11,898 - INFO - 2025-10-22 14:05:12,623 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12967904 2025-10-22 14:05:12,720 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12967904 2025-10-22 14:05:13,044 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12967904', 'default']} 2025-10-22 14:05:13,352 - DEBUG - Response for create_network : {'network': {'id': '0483614a-ab84-48f2-8938-414403a84136', 'name': 'ctest-vn-30346536', 'tenant_id': '58ba4d0b68354967aedf2cc8952c22bc', 'project_id': '58ba4d0b68354967aedf2cc8952c22bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12967904', 'ctest-vn-30346536'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:05:13,576 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9c4d24b-82b7-4229-9997-abfdded51be7', 'name': '', 'tenant_id': '58ba4d0b68354967aedf2cc8952c22bc', 'network_id': '0483614a-ab84-48f2-8938-414403a84136', 'ip_version': 4, 'cidr': '222.206.177.128/26', 'allocation_pools': [{'start': '222.206.177.130', 'end': '222.206.177.190'}], 'gateway_ip': '222.206.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.206.177.130', 'tags': [], 'project_id': '58ba4d0b68354967aedf2cc8952c22bc'}} 2025-10-22 14:05:13,599 - INFO - Created VN ctest-vn-30346536 2025-10-22 14:05:13,652 - DEBUG - VN ctest-vn-30346536 UUID is 0483614a-ab84-48f2-8938-414403a84136 2025-10-22 14:05:13,966 - DEBUG - Response for create_network : {'network': {'id': 'eb8755ea-50c3-4349-b8c9-955ae3a3534f', 'name': 'ctest-ext_vn-84076355', 'tenant_id': '58ba4d0b68354967aedf2cc8952c22bc', 'project_id': '58ba4d0b68354967aedf2cc8952c22bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12967904', 'ctest-ext_vn-84076355'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:05:14,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '458af5cf-7fd6-422d-8200-1bda1d349d41', 'name': '', 'tenant_id': '58ba4d0b68354967aedf2cc8952c22bc', 'network_id': 'eb8755ea-50c3-4349-b8c9-955ae3a3534f', 'ip_version': 4, 'cidr': '12.1.163.128/26', 'allocation_pools': [{'start': '12.1.163.130', 'end': '12.1.163.190'}], 'gateway_ip': '12.1.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.1.163.130', 'tags': [], 'project_id': '58ba4d0b68354967aedf2cc8952c22bc'}} 2025-10-22 14:05:14,182 - INFO - Created VN ctest-ext_vn-84076355 2025-10-22 14:05:14,237 - DEBUG - VN ctest-ext_vn-84076355 UUID is eb8755ea-50c3-4349-b8c9-955ae3a3534f 2025-10-22 14:05:14,410 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:05:15,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4430-1) 2025-10-22 14:05:16,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4430-1) 2025-10-22 14:05:16,723 - INFO - Setting gateway for router 3bdd875f-57af-4f55-a9ed-fd03e2161373 to network eb8755ea-50c3-4349-b8c9-955ae3a3534f 2025-10-22 14:05:16,805 - INFO - Adding interface with subnet_id d9c4d24b-82b7-4229-9997-abfdded51be7, port_id None to router 3bdd875f-57af-4f55-a9ed-fd03e2161373 2025-10-22 14:05:17,264 - INFO - Waiting for VM ctest-TestRoutersBasic-12967904-65434948 to be up.. 2025-10-22 14:05:17,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:05:22,495 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:05:22,495 - INFO - VM name : ctest-TestRoutersBasic-12967904-65434948 2025-10-22 14:05:22,575 - DEBUG - VM ctest-TestRoutersBasic-12967904-65434948 ID is 44ab489d-cf78-4de1-a01e-75cfa2d12a8c 2025-10-22 14:05:22,599 - DEBUG - VM ctest-TestRoutersBasic-12967904-65434948 launched on Node cn-jenkins-deploy-platform-ansible-os-4430-1 2025-10-22 14:05:22,684 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/44ab489d-cf78-4de1-a01e-75cfa2d12a8c 2025-10-22 14:05:22,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/44ab489d-cf78-4de1-a01e-75cfa2d12a8c 2025-10-22 14:05:23,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/912318f9-c481-4895-ad9d-99945803bac6 2025-10-22 14:05:26,264 - 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-10-22 14:05:26,264 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12967904-65434948 failed! 2025-10-22 14:05:26,320 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12967904:ctest-vn-30346536 is 222.206.177.129 and allocation pool is NOT set 2025-10-22 14:05:28,385 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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.510/1.609/2.708/1.099 ms') 2025-10-22 14:05:28,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12967904-65434948 passed 2025-10-22 14:05:28,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:05:28,532 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12967904-65434948, IP 222.206.177.131, Port 22 2025-10-22 14:05:28,698 - DEBUG - VM ctest-TestRoutersBasic-12967904-65434948 is ready for SSH connections 2025-10-22 14:05:28,699 - INFO - Waiting for VM ctest-TestRoutersBasic-12967904-24915845 to be up.. 2025-10-22 14:05:28,798 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:05:28,798 - INFO - VM name : ctest-TestRoutersBasic-12967904-24915845 2025-10-22 14:05:28,887 - DEBUG - VM ctest-TestRoutersBasic-12967904-24915845 ID is 079e42b5-ac8a-43e4-aba7-b61a24733d47 2025-10-22 14:05:28,887 - DEBUG - VM ctest-TestRoutersBasic-12967904-24915845 launched on Node cn-jenkins-deploy-platform-ansible-os-4430-1 2025-10-22 14:05:28,965 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/079e42b5-ac8a-43e4-aba7-b61a24733d47 2025-10-22 14:05:28,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e01311a1-39e8-4962-8c5e-c33d86fb06aa 2025-10-22 14:05:30,211 - 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=2.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/1.648/2.841/1.193 ms') 2025-10-22 14:05:30,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12967904-24915845 passed 2025-10-22 14:05:30,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:05:30,365 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12967904-24915845, IP 12.1.163.131, Port 22 2025-10-22 14:05:30,530 - DEBUG - VM ctest-TestRoutersBasic-12967904-24915845 is ready for SSH connections 2025-10-22 14:05:30,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:05:30,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.1.163.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 14:05:30,531 - DEBUG - ping -s 56 -c 3 -W 1 12.1.163.131 2025-10-22 14:05:34,218 - DEBUG - PING 12.1.163.131 (12.1.163.131): 56 data bytes 64 bytes from 12.1.163.131: seq=0 ttl=62 time=8.073 ms 64 bytes from 12.1.163.131: seq=1 ttl=62 time=1.186 ms 64 bytes from 12.1.163.131: seq=2 ttl=62 time=1.235 ms --- 12.1.163.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.186/3.498/8.073 ms 2025-10-22 14:05:34,218 - INFO - Ping to IP 12.1.163.131 from VM ctest-TestRoutersBasic-12967904-65434948 passed 2025-10-22 14:05:34,219 - INFO - Deleting interface with subnet_id d9c4d24b-82b7-4229-9997-abfdded51be7, port_id None from router 3bdd875f-57af-4f55-a9ed-fd03e2161373 2025-10-22 14:05:34,415 - INFO - Deleting VM ctest-TestRoutersBasic-12967904-24915845 2025-10-22 14:05:34,486 - INFO - Deleting VM ctest-TestRoutersBasic-12967904-65434948 2025-10-22 14:05:34,580 - INFO - Deleting VN ctest-ext_vn-84076355 2025-10-22 14:05:34,665 - DEBUG - VN eb8755ea-50c3-4349-b8c9-955ae3a3534f still in use: Unable to complete operation on network eb8755ea-50c3-4349-b8c9-955ae3a3534f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f9d5f11-85b5-4dbc-a8c1-733679d30a58'] 2025-10-22 14:05:34,665 - WARNING - Deleting VN ctest-ext_vn-84076355 failed..Will retry 2025-10-22 14:05:36,763 - DEBUG - Response for deleting network () 2025-10-22 14:05:36,763 - INFO - Deleting VN ctest-vn-30346536 2025-10-22 14:05:36,867 - DEBUG - Response for deleting network () 2025-10-22 14:05:37,125 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:05:37,125 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-22 14:05:37,125 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:05:37,804 - INFO - Deleted project: ctest-TestRoutersBasic-12967904, ID : 58ba4d0b-6835-4967-aedf-2cc8952c22bc