2025-06-05 02:08:57,670 - INFO - Domain Default found not creating 2025-06-05 02:08:57,812 - INFO - Project ctest-TestRoutersBasic-67192442 not found, creating it 2025-06-05 02:08:58,290 - INFO - Created Project:ctest-TestRoutersBasic-67192442, ID : 1af85c5f-e448-4b6d-9259-8b9649adc7b4 2025-06-05 02:08:59,666 - INFO - ================================================================================ 2025-06-05 02:08:59,666 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-05 02:08:59,666 - 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-06-05 02:08:59,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.129': '0'}} with 2025-06-05 02:08:59,937 - INFO - Initial checks done. Running the testcase now 2025-06-05 02:08:59,937 - INFO - 2025-06-05 02:09:00,650 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67192442 2025-06-05 02:09:00,752 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67192442 2025-06-05 02:09:01,080 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67192442', 'default']} 2025-06-05 02:09:01,386 - DEBUG - Response for create_network : {'network': {'id': '73c40728-49c1-45e9-973b-86a61db2d445', 'name': 'ctest-vn-00206683', 'tenant_id': '1af85c5fe4484b6d92598b9649adc7b4', 'project_id': '1af85c5fe4484b6d92598b9649adc7b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67192442', 'ctest-vn-00206683'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:09:01,609 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6fb3799-1c44-4070-97be-f4ba2bb11a6d', 'name': '', 'tenant_id': '1af85c5fe4484b6d92598b9649adc7b4', 'network_id': '73c40728-49c1-45e9-973b-86a61db2d445', 'ip_version': 4, 'cidr': '73.100.186.0/26', 'allocation_pools': [{'start': '73.100.186.2', 'end': '73.100.186.62'}], 'gateway_ip': '73.100.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.100.186.2', 'tags': [], 'project_id': '1af85c5fe4484b6d92598b9649adc7b4'}} 2025-06-05 02:09:01,636 - INFO - Created VN ctest-vn-00206683 2025-06-05 02:09:01,697 - DEBUG - VN ctest-vn-00206683 UUID is 73c40728-49c1-45e9-973b-86a61db2d445 2025-06-05 02:09:02,024 - DEBUG - Response for create_network : {'network': {'id': '8af82ab4-26ab-494b-8866-728ba05e5cdf', 'name': 'ctest-ext_vn-93296602', 'tenant_id': '1af85c5fe4484b6d92598b9649adc7b4', 'project_id': '1af85c5fe4484b6d92598b9649adc7b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67192442', 'ctest-ext_vn-93296602'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 02:09:02,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b766005-adc7-469e-846c-36e7d1e25a58', 'name': '', 'tenant_id': '1af85c5fe4484b6d92598b9649adc7b4', 'network_id': '8af82ab4-26ab-494b-8866-728ba05e5cdf', 'ip_version': 4, 'cidr': '43.173.93.0/26', 'allocation_pools': [{'start': '43.173.93.2', 'end': '43.173.93.62'}], 'gateway_ip': '43.173.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.173.93.2', 'tags': [], 'project_id': '1af85c5fe4484b6d92598b9649adc7b4'}} 2025-06-05 02:09:02,208 - INFO - Created VN ctest-ext_vn-93296602 2025-06-05 02:09:02,260 - DEBUG - VN ctest-ext_vn-93296602 UUID is 8af82ab4-26ab-494b-8866-728ba05e5cdf 2025-06-05 02:09:02,462 - DEBUG - Services list from nova: [, , ] 2025-06-05 02:09:03,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3402-1) 2025-06-05 02:09:04,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3402-1) 2025-06-05 02:09:04,869 - INFO - Setting gateway for router 272a6a70-e442-4769-8abd-8f4f595296e3 to network 8af82ab4-26ab-494b-8866-728ba05e5cdf 2025-06-05 02:09:04,945 - INFO - Adding interface with subnet_id c6fb3799-1c44-4070-97be-f4ba2bb11a6d, port_id None to router 272a6a70-e442-4769-8abd-8f4f595296e3 2025-06-05 02:09:05,429 - INFO - Waiting for VM ctest-TestRoutersBasic-67192442-38833632 to be up.. 2025-06-05 02:09:05,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-05 02:09:10,731 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:09:10,731 - INFO - VM name : ctest-TestRoutersBasic-67192442-38833632 2025-06-05 02:09:10,805 - DEBUG - VM ctest-TestRoutersBasic-67192442-38833632 ID is 63dd0eb5-8323-4b4c-a603-88c0bfbd2cf2 2025-06-05 02:09:10,823 - DEBUG - VM ctest-TestRoutersBasic-67192442-38833632 launched on Node cn-jenkins-deploy-platform-ansible-os-3402-1 2025-06-05 02:09:10,896 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/63dd0eb5-8323-4b4c-a603-88c0bfbd2cf2 2025-06-05 02:09:11,191 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/63dd0eb5-8323-4b4c-a603-88c0bfbd2cf2 2025-06-05 02:09:11,221 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/84393ad0-f735-4026-b358-1951722d8a1e 2025-06-05 02:09:14,469 - 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 1010ms') 2025-06-05 02:09:14,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67192442-38833632 failed! 2025-06-05 02:09:14,524 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67192442:ctest-vn-00206683 is 73.100.186.1 and allocation pool is NOT set 2025-06-05 02:09:16,588 - 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.517 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.517/1.623/2.730/1.106 ms') 2025-06-05 02:09:16,588 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67192442-38833632 passed 2025-06-05 02:09:16,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:09:16,740 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67192442-38833632, IP 73.100.186.3, Port 22 2025-06-05 02:09:16,896 - DEBUG - VM ctest-TestRoutersBasic-67192442-38833632 is ready for SSH connections 2025-06-05 02:09:16,896 - INFO - Waiting for VM ctest-TestRoutersBasic-67192442-27249227 to be up.. 2025-06-05 02:09:16,980 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:09:16,980 - INFO - VM name : ctest-TestRoutersBasic-67192442-27249227 2025-06-05 02:09:17,056 - DEBUG - VM ctest-TestRoutersBasic-67192442-27249227 ID is 3a52f357-30ae-4ed2-99b6-1c7ee23a8e57 2025-06-05 02:09:17,056 - DEBUG - VM ctest-TestRoutersBasic-67192442-27249227 launched on Node cn-jenkins-deploy-platform-ansible-os-3402-1 2025-06-05 02:09:17,142 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3a52f357-30ae-4ed2-99b6-1c7ee23a8e57 2025-06-05 02:09:17,151 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d7edb1f3-e470-4f2d-8c71-a23bb099c175 2025-06-05 02:09:18,397 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.474/1.699/2.924/1.225 ms') 2025-06-05 02:09:18,397 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67192442-27249227 passed 2025-06-05 02:09:18,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:09:18,556 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67192442-27249227, IP 43.173.93.3, Port 22 2025-06-05 02:09:18,720 - DEBUG - VM ctest-TestRoutersBasic-67192442-27249227 is ready for SSH connections 2025-06-05 02:09:18,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:09:18,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.173.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-05 02:09:18,721 - DEBUG - ping -s 56 -c 3 -W 1 43.173.93.3 2025-06-05 02:09:22,766 - DEBUG - PING 43.173.93.3 (43.173.93.3): 56 data bytes 64 bytes from 43.173.93.3: seq=0 ttl=62 time=4.195 ms 64 bytes from 43.173.93.3: seq=1 ttl=62 time=0.999 ms 64 bytes from 43.173.93.3: seq=2 ttl=62 time=0.850 ms --- 43.173.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/2.014/4.195 ms 2025-06-05 02:09:22,767 - INFO - Ping to IP 43.173.93.3 from VM ctest-TestRoutersBasic-67192442-38833632 passed 2025-06-05 02:09:22,767 - INFO - Deleting interface with subnet_id c6fb3799-1c44-4070-97be-f4ba2bb11a6d, port_id None from router 272a6a70-e442-4769-8abd-8f4f595296e3 2025-06-05 02:09:22,975 - INFO - Deleting VM ctest-TestRoutersBasic-67192442-27249227 2025-06-05 02:09:23,044 - INFO - Deleting VM ctest-TestRoutersBasic-67192442-38833632 2025-06-05 02:09:23,138 - INFO - Deleting VN ctest-ext_vn-93296602 2025-06-05 02:09:23,221 - DEBUG - VN 8af82ab4-26ab-494b-8866-728ba05e5cdf still in use: Unable to complete operation on network 8af82ab4-26ab-494b-8866-728ba05e5cdf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60b14191-a338-4639-813e-9975c7131259'] 2025-06-05 02:09:23,222 - WARNING - Deleting VN ctest-ext_vn-93296602 failed..Will retry 2025-06-05 02:09:25,336 - DEBUG - Response for deleting network () 2025-06-05 02:09:25,336 - INFO - Deleting VN ctest-vn-00206683 2025-06-05 02:09:25,449 - DEBUG - Response for deleting network () 2025-06-05 02:09:25,715 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 02:09:25,715 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-05 02:09:25,715 - INFO - -------------------------------------------------------------------------------- 2025-06-05 02:09:26,416 - INFO - Deleted project: ctest-TestRoutersBasic-67192442, ID : 1af85c5f-e448-4b6d-9259-8b9649adc7b4