2025-05-15 11:24:13,814 - INFO - Domain Default found not creating 2025-05-15 11:24:13,988 - INFO - Project ctest-TestRoutersBasic-95614303 not found, creating it 2025-05-15 11:24:14,516 - INFO - Created Project:ctest-TestRoutersBasic-95614303, ID : 19a9922a-9f46-46bc-aeb3-0b97564a69c0 2025-05-15 11:24:16,265 - INFO - ================================================================================ 2025-05-15 11:24:16,265 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-15 11:24:16,265 - 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-15 11:24:16,529 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-15 11:24:16,529 - INFO - Initial checks done. Running the testcase now 2025-05-15 11:24:16,529 - INFO - 2025-05-15 11:24:17,419 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95614303 2025-05-15 11:24:17,527 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95614303 2025-05-15 11:24:17,883 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95614303', 'default']} 2025-05-15 11:24:18,238 - DEBUG - Response for create_network : {'network': {'id': '1c85f46b-256a-4f4b-a297-30dd43babb1e', 'name': 'ctest-vn-84223975', 'tenant_id': '19a9922a9f4646bcaeb30b97564a69c0', 'project_id': '19a9922a9f4646bcaeb30b97564a69c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95614303', 'ctest-vn-84223975'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 11:24:18,490 - DEBUG - Response for create_subnet : {'subnet': {'id': '501c7ad8-b411-4539-95ca-a3551531076e', 'name': '', 'tenant_id': '19a9922a9f4646bcaeb30b97564a69c0', 'network_id': '1c85f46b-256a-4f4b-a297-30dd43babb1e', 'ip_version': 4, 'cidr': '72.110.114.192/26', 'allocation_pools': [{'start': '72.110.114.194', 'end': '72.110.114.254'}], 'gateway_ip': '72.110.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.110.114.194', 'tags': [], 'project_id': '19a9922a9f4646bcaeb30b97564a69c0'}} 2025-05-15 11:24:18,514 - INFO - Created VN ctest-vn-84223975 2025-05-15 11:24:18,571 - DEBUG - VN ctest-vn-84223975 UUID is 1c85f46b-256a-4f4b-a297-30dd43babb1e 2025-05-15 11:24:18,973 - DEBUG - Response for create_network : {'network': {'id': 'f7a3b764-8cdd-40de-b478-112c54656016', 'name': 'ctest-ext_vn-08470005', 'tenant_id': '19a9922a9f4646bcaeb30b97564a69c0', 'project_id': '19a9922a9f4646bcaeb30b97564a69c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95614303', 'ctest-ext_vn-08470005'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 11:24:19,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '88e1436c-104f-4cd9-99ee-69dd178a6cbe', 'name': '', 'tenant_id': '19a9922a9f4646bcaeb30b97564a69c0', 'network_id': 'f7a3b764-8cdd-40de-b478-112c54656016', 'ip_version': 4, 'cidr': '173.53.4.128/26', 'allocation_pools': [{'start': '173.53.4.130', 'end': '173.53.4.190'}], 'gateway_ip': '173.53.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.53.4.130', 'tags': [], 'project_id': '19a9922a9f4646bcaeb30b97564a69c0'}} 2025-05-15 11:24:19,226 - INFO - Created VN ctest-ext_vn-08470005 2025-05-15 11:24:19,283 - DEBUG - VN ctest-ext_vn-08470005 UUID is f7a3b764-8cdd-40de-b478-112c54656016 2025-05-15 11:24:19,483 - DEBUG - Services list from nova: [, , ] 2025-05-15 11:24:20,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3316-1) 2025-05-15 11:24:22,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3316-1) 2025-05-15 11:24:22,288 - INFO - Setting gateway for router abdfc5d7-2e80-4a1f-b7ec-3c6c4edc4ecd to network f7a3b764-8cdd-40de-b478-112c54656016 2025-05-15 11:24:22,392 - INFO - Adding interface with subnet_id 501c7ad8-b411-4539-95ca-a3551531076e, port_id None to router abdfc5d7-2e80-4a1f-b7ec-3c6c4edc4ecd 2025-05-15 11:24:22,947 - INFO - Waiting for VM ctest-TestRoutersBasic-95614303-94371277 to be up.. 2025-05-15 11:24:23,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-15 11:24:28,206 - DEBUG - VM is in ACTIVE state now 2025-05-15 11:24:28,206 - INFO - VM name : ctest-TestRoutersBasic-95614303-94371277 2025-05-15 11:24:28,307 - DEBUG - VM ctest-TestRoutersBasic-95614303-94371277 ID is e007ea70-d74e-4912-b17d-d3837a0c7183 2025-05-15 11:24:28,344 - DEBUG - VM ctest-TestRoutersBasic-95614303-94371277 launched on Node cn-jenkins-deploy-platform-ansible-os-3316-1 2025-05-15 11:24:28,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e007ea70-d74e-4912-b17d-d3837a0c7183 2025-05-15 11:24:28,807 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e007ea70-d74e-4912-b17d-d3837a0c7183 2025-05-15 11:24:28,852 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/57addb37-cdfc-4a1d-8e2c-16bfa837a26d 2025-05-15 11:24:32,125 - 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 1014ms') 2025-05-15 11:24:32,125 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95614303-94371277 failed! 2025-05-15 11:24:32,187 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95614303:ctest-vn-84223975 is 72.110.114.193 and allocation pool is NOT set 2025-05-15 11:24:34,257 - 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=6.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 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 = 2.713/4.362/6.011/1.649 ms') 2025-05-15 11:24:34,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95614303-94371277 passed 2025-05-15 11:24:34,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 11:24:34,415 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95614303-94371277, IP 72.110.114.195, Port 22 2025-05-15 11:24:34,585 - DEBUG - VM ctest-TestRoutersBasic-95614303-94371277 is ready for SSH connections 2025-05-15 11:24:34,586 - INFO - Waiting for VM ctest-TestRoutersBasic-95614303-79256689 to be up.. 2025-05-15 11:24:34,688 - DEBUG - VM is in ACTIVE state now 2025-05-15 11:24:34,689 - INFO - VM name : ctest-TestRoutersBasic-95614303-79256689 2025-05-15 11:24:34,785 - DEBUG - VM ctest-TestRoutersBasic-95614303-79256689 ID is 61ba2a3a-1608-4dca-9241-195d1e8b1e8d 2025-05-15 11:24:34,785 - DEBUG - VM ctest-TestRoutersBasic-95614303-79256689 launched on Node cn-jenkins-deploy-platform-ansible-os-3316-1 2025-05-15 11:24:34,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/61ba2a3a-1608-4dca-9241-195d1e8b1e8d 2025-05-15 11:24:34,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4b2ed2fc-52e1-4975-ad80-8226ca2060b8 2025-05-15 11:24:36,156 - 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=4.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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 = 1.201/2.948/4.695/1.747 ms') 2025-05-15 11:24:36,156 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95614303-79256689 passed 2025-05-15 11:24:36,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 11:24:36,324 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95614303-79256689, IP 173.53.4.131, Port 22 2025-05-15 11:24:36,483 - DEBUG - VM ctest-TestRoutersBasic-95614303-79256689 is ready for SSH connections 2025-05-15 11:24:36,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 11:24:36,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.53.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-15 11:24:36,483 - DEBUG - ping -s 56 -c 3 -W 1 173.53.4.131 2025-05-15 11:24:40,269 - DEBUG - PING 173.53.4.131 (173.53.4.131): 56 data bytes 64 bytes from 173.53.4.131: seq=0 ttl=62 time=8.480 ms 64 bytes from 173.53.4.131: seq=1 ttl=62 time=1.520 ms 64 bytes from 173.53.4.131: seq=2 ttl=62 time=1.477 ms --- 173.53.4.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.477/3.825/8.480 ms 2025-05-15 11:24:40,269 - INFO - Ping to IP 173.53.4.131 from VM ctest-TestRoutersBasic-95614303-94371277 passed 2025-05-15 11:24:40,269 - INFO - Deleting interface with subnet_id 501c7ad8-b411-4539-95ca-a3551531076e, port_id None from router abdfc5d7-2e80-4a1f-b7ec-3c6c4edc4ecd 2025-05-15 11:24:40,528 - INFO - Deleting VM ctest-TestRoutersBasic-95614303-79256689 2025-05-15 11:24:40,623 - INFO - Deleting VM ctest-TestRoutersBasic-95614303-94371277 2025-05-15 11:24:40,719 - INFO - Deleting VN ctest-ext_vn-08470005 2025-05-15 11:24:40,816 - DEBUG - VN f7a3b764-8cdd-40de-b478-112c54656016 still in use: Unable to complete operation on network f7a3b764-8cdd-40de-b478-112c54656016. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12ec6a8e-be10-47d5-b182-d567ae9387fc'] 2025-05-15 11:24:40,816 - WARNING - Deleting VN ctest-ext_vn-08470005 failed..Will retry 2025-05-15 11:24:42,952 - DEBUG - Response for deleting network () 2025-05-15 11:24:42,952 - INFO - Deleting VN ctest-vn-84223975 2025-05-15 11:24:43,087 - DEBUG - Response for deleting network () 2025-05-15 11:24:43,346 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 11:24:43,346 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-05-15 11:24:43,346 - INFO - -------------------------------------------------------------------------------- 2025-05-15 11:24:44,111 - INFO - Deleted project: ctest-TestRoutersBasic-95614303, ID : 19a9922a-9f46-46bc-aeb3-0b97564a69c0