2025-05-29 18:12:29,403 - INFO - Domain Default found not creating 2025-05-29 18:12:29,556 - INFO - Project ctest-TestRoutersBasic-57188745 not found, creating it 2025-05-29 18:12:30,083 - INFO - Created Project:ctest-TestRoutersBasic-57188745, ID : 7c780e3c-6237-418d-84d8-bcac7c9476d6 2025-05-29 18:12:31,650 - INFO - ================================================================================ 2025-05-29 18:12:31,650 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-29 18:12:31,650 - 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-05-29 18:12:31,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-29 18:12:31,907 - INFO - Initial checks done. Running the testcase now 2025-05-29 18:12:31,907 - INFO - 2025-05-29 18:12:32,700 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57188745 2025-05-29 18:12:32,796 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57188745 2025-05-29 18:12:33,120 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57188745', 'default']} 2025-05-29 18:12:33,427 - DEBUG - Response for create_network : {'network': {'id': 'a7b5464b-4f6b-4dcf-ada0-a78fd1a5fff0', 'name': 'ctest-vn-01336770', 'tenant_id': '7c780e3c6237418d84d8bcac7c9476d6', 'project_id': '7c780e3c6237418d84d8bcac7c9476d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57188745', 'ctest-vn-01336770'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 18:12:33,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bd14baf-3c21-4e0c-bb1b-163af1f83d21', 'name': '', 'tenant_id': '7c780e3c6237418d84d8bcac7c9476d6', 'network_id': 'a7b5464b-4f6b-4dcf-ada0-a78fd1a5fff0', 'ip_version': 4, 'cidr': '7.229.239.64/26', 'allocation_pools': [{'start': '7.229.239.66', 'end': '7.229.239.126'}], 'gateway_ip': '7.229.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.229.239.66', 'tags': [], 'project_id': '7c780e3c6237418d84d8bcac7c9476d6'}} 2025-05-29 18:12:33,654 - INFO - Created VN ctest-vn-01336770 2025-05-29 18:12:33,712 - DEBUG - VN ctest-vn-01336770 UUID is a7b5464b-4f6b-4dcf-ada0-a78fd1a5fff0 2025-05-29 18:12:34,044 - DEBUG - Response for create_network : {'network': {'id': '2244fae5-155c-48c6-905e-24351ce328d9', 'name': 'ctest-ext_vn-79204119', 'tenant_id': '7c780e3c6237418d84d8bcac7c9476d6', 'project_id': '7c780e3c6237418d84d8bcac7c9476d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57188745', 'ctest-ext_vn-79204119'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 18:12:34,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a45fdea-ae9e-43f8-95f1-53fd3ecf8e27', 'name': '', 'tenant_id': '7c780e3c6237418d84d8bcac7c9476d6', 'network_id': '2244fae5-155c-48c6-905e-24351ce328d9', 'ip_version': 4, 'cidr': '66.183.232.128/26', 'allocation_pools': [{'start': '66.183.232.130', 'end': '66.183.232.190'}], 'gateway_ip': '66.183.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.183.232.130', 'tags': [], 'project_id': '7c780e3c6237418d84d8bcac7c9476d6'}} 2025-05-29 18:12:34,231 - INFO - Created VN ctest-ext_vn-79204119 2025-05-29 18:12:34,284 - DEBUG - VN ctest-ext_vn-79204119 UUID is 2244fae5-155c-48c6-905e-24351ce328d9 2025-05-29 18:12:34,455 - DEBUG - Services list from nova: [, , ] 2025-05-29 18:12:35,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3370-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3370-1) 2025-05-29 18:12:36,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3370-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3370-1) 2025-05-29 18:12:36,930 - INFO - Setting gateway for router 4765c043-6138-4380-8297-9fc9568d4f31 to network 2244fae5-155c-48c6-905e-24351ce328d9 2025-05-29 18:12:36,992 - INFO - Adding interface with subnet_id 9bd14baf-3c21-4e0c-bb1b-163af1f83d21, port_id None to router 4765c043-6138-4380-8297-9fc9568d4f31 2025-05-29 18:12:37,312 - INFO - Waiting for VM ctest-TestRoutersBasic-57188745-41857514 to be up.. 2025-05-29 18:12:37,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 18:12:42,586 - DEBUG - VM is in ACTIVE state now 2025-05-29 18:12:42,587 - INFO - VM name : ctest-TestRoutersBasic-57188745-41857514 2025-05-29 18:12:42,669 - DEBUG - VM ctest-TestRoutersBasic-57188745-41857514 ID is 765ae864-3471-45ad-b73d-8b052e1f8eed 2025-05-29 18:12:42,690 - DEBUG - VM ctest-TestRoutersBasic-57188745-41857514 launched on Node cn-jenkins-deploy-platform-ansible-os-3370-1 2025-05-29 18:12:42,777 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/765ae864-3471-45ad-b73d-8b052e1f8eed 2025-05-29 18:12:43,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/765ae864-3471-45ad-b73d-8b052e1f8eed 2025-05-29 18:12:43,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e6fe348-c4b0-4e03-93b9-d4c89481c772 2025-05-29 18:12:46,414 - 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 1005ms') 2025-05-29 18:12:46,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57188745-41857514 failed! 2025-05-29 18:12:46,472 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57188745:ctest-vn-01336770 is 7.229.239.65 and allocation pool is NOT set 2025-05-29 18:12:48,532 - 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=3.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.622 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.622/1.981/3.341/1.359 ms') 2025-05-29 18:12:48,532 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57188745-41857514 passed 2025-05-29 18:12:48,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 18:12:48,692 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57188745-41857514, IP 7.229.239.67, Port 22 2025-05-29 18:12:48,862 - DEBUG - VM ctest-TestRoutersBasic-57188745-41857514 is ready for SSH connections 2025-05-29 18:12:48,862 - INFO - Waiting for VM ctest-TestRoutersBasic-57188745-16664571 to be up.. 2025-05-29 18:12:48,973 - DEBUG - VM is in ACTIVE state now 2025-05-29 18:12:48,973 - INFO - VM name : ctest-TestRoutersBasic-57188745-16664571 2025-05-29 18:12:49,076 - DEBUG - VM ctest-TestRoutersBasic-57188745-16664571 ID is 74837872-b660-404b-904e-aa32615eb120 2025-05-29 18:12:49,076 - DEBUG - VM ctest-TestRoutersBasic-57188745-16664571 launched on Node cn-jenkins-deploy-platform-ansible-os-3370-1 2025-05-29 18:12:49,176 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74837872-b660-404b-904e-aa32615eb120 2025-05-29 18:12:49,187 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/52f7e75f-c855-4ad2-8eda-eb50935510de 2025-05-29 18:12:50,446 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.95 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 = 2.947/3.125/3.304/0.178 ms') 2025-05-29 18:12:50,446 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57188745-16664571 passed 2025-05-29 18:12:50,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 18:12:50,600 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57188745-16664571, IP 66.183.232.131, Port 22 2025-05-29 18:12:50,763 - DEBUG - VM ctest-TestRoutersBasic-57188745-16664571 is ready for SSH connections 2025-05-29 18:12:50,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 18:12:50,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.183.232.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-29 18:12:50,764 - DEBUG - ping -s 56 -c 3 -W 1 66.183.232.131 2025-05-29 18:12:54,842 - DEBUG - PING 66.183.232.131 (66.183.232.131): 56 data bytes 64 bytes from 66.183.232.131: seq=0 ttl=62 time=7.068 ms 64 bytes from 66.183.232.131: seq=1 ttl=62 time=1.135 ms 64 bytes from 66.183.232.131: seq=2 ttl=62 time=0.986 ms --- 66.183.232.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.986/3.063/7.068 ms 2025-05-29 18:12:54,842 - INFO - Ping to IP 66.183.232.131 from VM ctest-TestRoutersBasic-57188745-41857514 passed 2025-05-29 18:12:54,842 - INFO - Deleting interface with subnet_id 9bd14baf-3c21-4e0c-bb1b-163af1f83d21, port_id None from router 4765c043-6138-4380-8297-9fc9568d4f31 2025-05-29 18:12:55,054 - INFO - Deleting VM ctest-TestRoutersBasic-57188745-16664571 2025-05-29 18:12:55,124 - INFO - Deleting VM ctest-TestRoutersBasic-57188745-41857514 2025-05-29 18:12:55,198 - INFO - Deleting VN ctest-ext_vn-79204119 2025-05-29 18:12:55,266 - DEBUG - VN 2244fae5-155c-48c6-905e-24351ce328d9 still in use: Unable to complete operation on network 2244fae5-155c-48c6-905e-24351ce328d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1bd62665-ee54-42a9-a869-750be55879b3'] 2025-05-29 18:12:55,266 - WARNING - Deleting VN ctest-ext_vn-79204119 failed..Will retry 2025-05-29 18:12:57,378 - DEBUG - Response for deleting network () 2025-05-29 18:12:57,378 - INFO - Deleting VN ctest-vn-01336770 2025-05-29 18:12:57,488 - DEBUG - Response for deleting network () 2025-05-29 18:12:57,745 - DEBUG - No XMPP flaps were noticed during the test
2025-05-29 18:12:57,745 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-29 18:12:57,745 - INFO - -------------------------------------------------------------------------------- 2025-05-29 18:12:58,462 - INFO - Deleted project: ctest-TestRoutersBasic-57188745, ID : 7c780e3c-6237-418d-84d8-bcac7c9476d6