2025-02-10 15:11:40,591 - INFO - Domain Default found not creating 2025-02-10 15:11:40,738 - INFO - Project ctest-TestRoutersBasic-81316623 not found, creating it 2025-02-10 15:11:41,229 - INFO - Created Project:ctest-TestRoutersBasic-81316623, ID : 78ceef3b-6980-4099-8094-be1d43dcb64b 2025-02-10 15:11:42,637 - INFO - ================================================================================ 2025-02-10 15:11:42,638 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-10 15:11:42,638 - 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-10 15:11:42,894 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.25': '0'}} with 2025-02-10 15:11:42,894 - INFO - Initial checks done. Running the testcase now 2025-02-10 15:11:42,895 - INFO - 2025-02-10 15:11:43,629 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81316623 2025-02-10 15:11:43,728 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81316623 2025-02-10 15:11:44,060 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81316623', 'default']} 2025-02-10 15:11:44,361 - DEBUG - Response for create_network : {'network': {'id': '7ff462d6-b622-4fc8-b7e8-1d7e98c261c0', 'name': 'ctest-vn-03626444', 'tenant_id': '78ceef3b698040998094be1d43dcb64b', 'project_id': '78ceef3b698040998094be1d43dcb64b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81316623', 'ctest-vn-03626444'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 15:11:44,548 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb18e5c7-6154-40a5-ab24-bd7e4cce9b50', 'name': '', 'tenant_id': '78ceef3b698040998094be1d43dcb64b', 'network_id': '7ff462d6-b622-4fc8-b7e8-1d7e98c261c0', 'ip_version': 4, 'cidr': '45.151.8.192/26', 'allocation_pools': [{'start': '45.151.8.194', 'end': '45.151.8.254'}], 'gateway_ip': '45.151.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.151.8.194', 'tags': [], 'project_id': '78ceef3b698040998094be1d43dcb64b'}} 2025-02-10 15:11:44,569 - INFO - Created VN ctest-vn-03626444 2025-02-10 15:11:44,624 - DEBUG - VN ctest-vn-03626444 UUID is 7ff462d6-b622-4fc8-b7e8-1d7e98c261c0 2025-02-10 15:11:44,975 - DEBUG - Response for create_network : {'network': {'id': 'c7712e40-beaf-4973-85f4-c4fc57ce05cb', 'name': 'ctest-ext_vn-38930793', 'tenant_id': '78ceef3b698040998094be1d43dcb64b', 'project_id': '78ceef3b698040998094be1d43dcb64b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81316623', 'ctest-ext_vn-38930793'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 15:11:45,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '44c98853-bb3a-42dc-a4ee-def04f65f6cb', 'name': '', 'tenant_id': '78ceef3b698040998094be1d43dcb64b', 'network_id': 'c7712e40-beaf-4973-85f4-c4fc57ce05cb', 'ip_version': 4, 'cidr': '202.186.113.0/26', 'allocation_pools': [{'start': '202.186.113.2', 'end': '202.186.113.62'}], 'gateway_ip': '202.186.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.186.113.2', 'tags': [], 'project_id': '78ceef3b698040998094be1d43dcb64b'}} 2025-02-10 15:11:45,243 - INFO - Created VN ctest-ext_vn-38930793 2025-02-10 15:11:45,296 - DEBUG - VN ctest-ext_vn-38930793 UUID is c7712e40-beaf-4973-85f4-c4fc57ce05cb 2025-02-10 15:11:45,487 - DEBUG - Services list from nova: [, , ] 2025-02-10 15:11:46,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2714-1) 2025-02-10 15:11:47,645 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2714-1) 2025-02-10 15:11:47,723 - INFO - Setting gateway for router 613e290e-6e32-47e0-a371-bcd16fcee780 to network c7712e40-beaf-4973-85f4-c4fc57ce05cb 2025-02-10 15:11:47,807 - INFO - Adding interface with subnet_id cb18e5c7-6154-40a5-ab24-bd7e4cce9b50, port_id None to router 613e290e-6e32-47e0-a371-bcd16fcee780 2025-02-10 15:11:48,312 - INFO - Waiting for VM ctest-TestRoutersBasic-81316623-29658344 to be up.. 2025-02-10 15:11:48,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 15:11:53,603 - DEBUG - VM is in ACTIVE state now 2025-02-10 15:11:53,603 - INFO - VM name : ctest-TestRoutersBasic-81316623-29658344 2025-02-10 15:11:53,689 - DEBUG - VM ctest-TestRoutersBasic-81316623-29658344 ID is d11cecf1-f092-4d2f-a43d-c865b4392fac 2025-02-10 15:11:53,708 - DEBUG - VM ctest-TestRoutersBasic-81316623-29658344 launched on Node cn-jenkins-deploy-platform-ansible-os-2714-1 2025-02-10 15:11:53,782 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d11cecf1-f092-4d2f-a43d-c865b4392fac 2025-02-10 15:11:54,072 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d11cecf1-f092-4d2f-a43d-c865b4392fac 2025-02-10 15:11:54,106 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/e9278194-5351-4c2a-8b56-d0df82cefe43 2025-02-10 15:11:57,374 - 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 1015ms') 2025-02-10 15:11:57,374 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81316623-29658344 failed! 2025-02-10 15:11:57,432 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81316623:ctest-vn-03626444 is 45.151.8.193 and allocation pool is NOT set 2025-02-10 15:11:59,494 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.572/2.740/1.167 ms') 2025-02-10 15:11:59,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81316623-29658344 passed 2025-02-10 15:11:59,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 15:11:59,644 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81316623-29658344, IP 45.151.8.195, Port 22 2025-02-10 15:11:59,800 - DEBUG - VM ctest-TestRoutersBasic-81316623-29658344 is ready for SSH connections 2025-02-10 15:11:59,800 - INFO - Waiting for VM ctest-TestRoutersBasic-81316623-57330606 to be up.. 2025-02-10 15:11:59,879 - DEBUG - VM is in ACTIVE state now 2025-02-10 15:11:59,880 - INFO - VM name : ctest-TestRoutersBasic-81316623-57330606 2025-02-10 15:11:59,954 - DEBUG - VM ctest-TestRoutersBasic-81316623-57330606 ID is cc43ac6a-13f2-4db8-bf0b-a2539a6f3b6b 2025-02-10 15:11:59,954 - DEBUG - VM ctest-TestRoutersBasic-81316623-57330606 launched on Node cn-jenkins-deploy-platform-ansible-os-2714-1 2025-02-10 15:12:00,036 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/cc43ac6a-13f2-4db8-bf0b-a2539a6f3b6b 2025-02-10 15:12:00,045 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/0671edb8-688c-47fd-8056-44fa7bb22be4 2025-02-10 15:12:01,282 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/1.599/2.804/1.205 ms') 2025-02-10 15:12:01,283 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81316623-57330606 passed 2025-02-10 15:12:01,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 15:12:01,436 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81316623-57330606, IP 202.186.113.3, Port 22 2025-02-10 15:12:01,591 - DEBUG - VM ctest-TestRoutersBasic-81316623-57330606 is ready for SSH connections 2025-02-10 15:12:01,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 15:12:01,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.186.113.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-10 15:12:01,592 - DEBUG - ping -s 56 -c 3 -W 1 202.186.113.3 2025-02-10 15:12:05,637 - DEBUG - PING 202.186.113.3 (202.186.113.3): 56 data bytes 64 bytes from 202.186.113.3: seq=0 ttl=62 time=8.219 ms 64 bytes from 202.186.113.3: seq=1 ttl=62 time=1.215 ms 64 bytes from 202.186.113.3: seq=2 ttl=62 time=0.994 ms --- 202.186.113.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.994/3.476/8.219 ms 2025-02-10 15:12:05,637 - INFO - Ping to IP 202.186.113.3 from VM ctest-TestRoutersBasic-81316623-29658344 passed 2025-02-10 15:12:05,637 - INFO - Deleting interface with subnet_id cb18e5c7-6154-40a5-ab24-bd7e4cce9b50, port_id None from router 613e290e-6e32-47e0-a371-bcd16fcee780 2025-02-10 15:12:05,872 - INFO - Deleting VM ctest-TestRoutersBasic-81316623-57330606 2025-02-10 15:12:05,953 - INFO - Deleting VM ctest-TestRoutersBasic-81316623-29658344 2025-02-10 15:12:06,043 - INFO - Deleting VN ctest-ext_vn-38930793 2025-02-10 15:12:06,133 - DEBUG - VN c7712e40-beaf-4973-85f4-c4fc57ce05cb still in use: Unable to complete operation on network c7712e40-beaf-4973-85f4-c4fc57ce05cb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-135c1b84-1c0a-4f54-8bb7-39041a5f13c0'] 2025-02-10 15:12:06,134 - WARNING - Deleting VN ctest-ext_vn-38930793 failed..Will retry 2025-02-10 15:12:08,254 - DEBUG - Response for deleting network () 2025-02-10 15:12:08,255 - INFO - Deleting VN ctest-vn-03626444 2025-02-10 15:12:08,381 - DEBUG - Response for deleting network () 2025-02-10 15:12:08,635 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 15:12:08,635 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-10 15:12:08,635 - INFO - -------------------------------------------------------------------------------- 2025-02-10 15:12:09,364 - INFO - Deleted project: ctest-TestRoutersBasic-81316623, ID : 78ceef3b-6980-4099-8094-be1d43dcb64b