2025-02-14 13:53:34,506 - INFO - Domain Default found not creating 2025-02-14 13:53:34,693 - INFO - Project ctest-TestRoutersBasic-57001418 not found, creating it 2025-02-14 13:53:35,215 - INFO - Created Project:ctest-TestRoutersBasic-57001418, ID : d33f0c32-a338-4169-9e39-9e81d6a1c323 2025-02-14 13:53:36,863 - INFO - ================================================================================ 2025-02-14 13:53:36,863 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-14 13:53:36,863 - 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-02-14 13:53:37,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.27': '0'}} with 2025-02-14 13:53:37,129 - INFO - Initial checks done. Running the testcase now 2025-02-14 13:53:37,129 - INFO - 2025-02-14 13:53:37,964 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57001418 2025-02-14 13:53:38,066 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57001418 2025-02-14 13:53:38,393 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57001418', 'default']} 2025-02-14 13:53:38,733 - DEBUG - Response for create_network : {'network': {'id': 'f1f9d472-dd38-406c-963d-6e60c2788013', 'name': 'ctest-vn-35870990', 'tenant_id': 'd33f0c32a33841699e399e81d6a1c323', 'project_id': 'd33f0c32a33841699e399e81d6a1c323', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57001418', 'ctest-vn-35870990'], 'port_security_enabled': True, 'description': ''}} 2025-02-14 13:53:38,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f79e403-3b63-40e1-9419-1ba5b380c29d', 'name': '', 'tenant_id': 'd33f0c32a33841699e399e81d6a1c323', 'network_id': 'f1f9d472-dd38-406c-963d-6e60c2788013', 'ip_version': 4, 'cidr': '52.0.213.128/26', 'allocation_pools': [{'start': '52.0.213.130', 'end': '52.0.213.190'}], 'gateway_ip': '52.0.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.0.213.130', 'tags': [], 'project_id': 'd33f0c32a33841699e399e81d6a1c323'}} 2025-02-14 13:53:38,941 - INFO - Created VN ctest-vn-35870990 2025-02-14 13:53:38,998 - DEBUG - VN ctest-vn-35870990 UUID is f1f9d472-dd38-406c-963d-6e60c2788013 2025-02-14 13:53:39,363 - DEBUG - Response for create_network : {'network': {'id': '046af08b-b09f-4504-aeaf-738e8acd5921', 'name': 'ctest-ext_vn-84013035', 'tenant_id': 'd33f0c32a33841699e399e81d6a1c323', 'project_id': 'd33f0c32a33841699e399e81d6a1c323', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57001418', 'ctest-ext_vn-84013035'], 'port_security_enabled': True, 'description': ''}} 2025-02-14 13:53:39,600 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0ca82d5-3e2a-401b-91fd-a1226d4c1408', 'name': '', 'tenant_id': 'd33f0c32a33841699e399e81d6a1c323', 'network_id': '046af08b-b09f-4504-aeaf-738e8acd5921', 'ip_version': 4, 'cidr': '32.142.48.192/26', 'allocation_pools': [{'start': '32.142.48.194', 'end': '32.142.48.254'}], 'gateway_ip': '32.142.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.142.48.194', 'tags': [], 'project_id': 'd33f0c32a33841699e399e81d6a1c323'}} 2025-02-14 13:53:39,625 - INFO - Created VN ctest-ext_vn-84013035 2025-02-14 13:53:39,678 - DEBUG - VN ctest-ext_vn-84013035 UUID is 046af08b-b09f-4504-aeaf-738e8acd5921 2025-02-14 13:53:39,900 - DEBUG - Services list from nova: [, , ] 2025-02-14 13:53:41,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2737-1) 2025-02-14 13:53:42,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2737-1) 2025-02-14 13:53:42,543 - INFO - Setting gateway for router 892e7272-6f11-4c67-94cb-cefc5e68465f to network 046af08b-b09f-4504-aeaf-738e8acd5921 2025-02-14 13:53:42,638 - INFO - Adding interface with subnet_id 1f79e403-3b63-40e1-9419-1ba5b380c29d, port_id None to router 892e7272-6f11-4c67-94cb-cefc5e68465f 2025-02-14 13:53:43,053 - INFO - Waiting for VM ctest-TestRoutersBasic-57001418-25883425 to be up.. 2025-02-14 13:53:43,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-14 13:53:48,323 - DEBUG - VM is in ACTIVE state now 2025-02-14 13:53:48,323 - INFO - VM name : ctest-TestRoutersBasic-57001418-25883425 2025-02-14 13:53:48,417 - DEBUG - VM ctest-TestRoutersBasic-57001418-25883425 ID is b4039c15-10a8-4cb0-8539-150452a9c73d 2025-02-14 13:53:48,441 - DEBUG - VM ctest-TestRoutersBasic-57001418-25883425 launched on Node cn-jenkins-deploy-platform-ansible-os-2737-1 2025-02-14 13:53:48,535 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/b4039c15-10a8-4cb0-8539-150452a9c73d 2025-02-14 13:53:48,876 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/b4039c15-10a8-4cb0-8539-150452a9c73d 2025-02-14 13:53:48,914 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/9a0516b4-d139-4b1d-9cdf-c3c535d2caa5 2025-02-14 13:53:52,190 - 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 1022ms') 2025-02-14 13:53:52,190 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57001418-25883425 failed! 2025-02-14 13:53:52,250 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57001418:ctest-vn-35870990 is 52.0.213.129 and allocation pool is NOT set 2025-02-14 13:53:54,314 - 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=4.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.049/2.921/4.794/1.872 ms') 2025-02-14 13:53:54,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57001418-25883425 passed 2025-02-14 13:53:54,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-14 13:53:54,470 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57001418-25883425, IP 52.0.213.131, Port 22 2025-02-14 13:53:54,629 - DEBUG - VM ctest-TestRoutersBasic-57001418-25883425 is ready for SSH connections 2025-02-14 13:53:54,629 - INFO - Waiting for VM ctest-TestRoutersBasic-57001418-05644507 to be up.. 2025-02-14 13:53:54,723 - DEBUG - VM is in ACTIVE state now 2025-02-14 13:53:54,723 - INFO - VM name : ctest-TestRoutersBasic-57001418-05644507 2025-02-14 13:53:54,812 - DEBUG - VM ctest-TestRoutersBasic-57001418-05644507 ID is 5babf6dc-06e5-4855-9924-c34033c30967 2025-02-14 13:53:54,812 - DEBUG - VM ctest-TestRoutersBasic-57001418-05644507 launched on Node cn-jenkins-deploy-platform-ansible-os-2737-1 2025-02-14 13:53:54,918 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/5babf6dc-06e5-4855-9924-c34033c30967 2025-02-14 13:53:54,930 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/0c6c4199-f600-4cf4-b475-baae9fd5e82d 2025-02-14 13:53:56,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=5.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.96 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.962/3.869/5.776/1.907 ms') 2025-02-14 13:53:56,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57001418-05644507 passed 2025-02-14 13:53:56,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-14 13:53:56,370 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57001418-05644507, IP 32.142.48.195, Port 22 2025-02-14 13:53:56,539 - DEBUG - VM ctest-TestRoutersBasic-57001418-05644507 is ready for SSH connections 2025-02-14 13:53:56,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-14 13:53:56,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.142.48.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-02-14 13:53:56,539 - DEBUG - ping -s 56 -c 3 -W 1 32.142.48.195 2025-02-14 13:54:00,298 - DEBUG - PING 32.142.48.195 (32.142.48.195): 56 data bytes 64 bytes from 32.142.48.195: seq=0 ttl=62 time=6.315 ms 64 bytes from 32.142.48.195: seq=1 ttl=62 time=0.956 ms 64 bytes from 32.142.48.195: seq=2 ttl=62 time=2.631 ms --- 32.142.48.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.956/3.300/6.315 ms 2025-02-14 13:54:00,298 - INFO - Ping to IP 32.142.48.195 from VM ctest-TestRoutersBasic-57001418-25883425 passed 2025-02-14 13:54:00,298 - INFO - Deleting interface with subnet_id 1f79e403-3b63-40e1-9419-1ba5b380c29d, port_id None from router 892e7272-6f11-4c67-94cb-cefc5e68465f 2025-02-14 13:54:00,562 - INFO - Deleting VM ctest-TestRoutersBasic-57001418-05644507 2025-02-14 13:54:00,667 - INFO - Deleting VM ctest-TestRoutersBasic-57001418-25883425 2025-02-14 13:54:00,772 - INFO - Deleting VN ctest-ext_vn-84013035 2025-02-14 13:54:00,891 - DEBUG - VN 046af08b-b09f-4504-aeaf-738e8acd5921 still in use: Unable to complete operation on network 046af08b-b09f-4504-aeaf-738e8acd5921. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb74462a-cb31-4e5f-afe4-79157cb5e3ad'] 2025-02-14 13:54:00,891 - WARNING - Deleting VN ctest-ext_vn-84013035 failed..Will retry 2025-02-14 13:54:03,024 - DEBUG - Response for deleting network () 2025-02-14 13:54:03,024 - INFO - Deleting VN ctest-vn-35870990 2025-02-14 13:54:03,157 - DEBUG - Response for deleting network () 2025-02-14 13:54:03,423 - DEBUG - No XMPP flaps were noticed during the test 2025-02-14 13:54:03,423 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-02-14 13:54:03,423 - INFO - -------------------------------------------------------------------------------- 2025-02-14 13:54:04,187 - INFO - Deleted project: ctest-TestRoutersBasic-57001418, ID : d33f0c32-a338-4169-9e39-9e81d6a1c323