2025-02-17 19:57:22,740 - INFO - Domain Default found not creating 2025-02-17 19:57:22,906 - INFO - Project ctest-TestRoutersBasic-97407022 not found, creating it 2025-02-17 19:57:23,411 - INFO - Created Project:ctest-TestRoutersBasic-97407022, ID : 612d0eef-e664-43c7-938a-1ed17f86fe8e 2025-02-17 19:57:25,037 - INFO - ================================================================================ 2025-02-17 19:57:25,037 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-17 19:57:25,037 - 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-17 19:57:25,316 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.17': '0'}} with 2025-02-17 19:57:25,317 - INFO - Initial checks done. Running the testcase now 2025-02-17 19:57:25,317 - INFO - 2025-02-17 19:57:26,041 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97407022 2025-02-17 19:57:26,148 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97407022 2025-02-17 19:57:26,472 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97407022', 'default']} 2025-02-17 19:57:26,820 - DEBUG - Response for create_network : {'network': {'id': 'e28eda1e-eed9-478b-985f-ac64a9f95518', 'name': 'ctest-vn-13989264', 'tenant_id': '612d0eefe66443c7938a1ed17f86fe8e', 'project_id': '612d0eefe66443c7938a1ed17f86fe8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97407022', 'ctest-vn-13989264'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 19:57:27,020 - DEBUG - Response for create_subnet : {'subnet': {'id': '04235bef-b719-4ab0-945d-402b4f106a5c', 'name': '', 'tenant_id': '612d0eefe66443c7938a1ed17f86fe8e', 'network_id': 'e28eda1e-eed9-478b-985f-ac64a9f95518', 'ip_version': 4, 'cidr': '178.8.201.64/26', 'allocation_pools': [{'start': '178.8.201.66', 'end': '178.8.201.126'}], 'gateway_ip': '178.8.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.8.201.66', 'tags': [], 'project_id': '612d0eefe66443c7938a1ed17f86fe8e'}} 2025-02-17 19:57:27,040 - INFO - Created VN ctest-vn-13989264 2025-02-17 19:57:27,096 - DEBUG - VN ctest-vn-13989264 UUID is e28eda1e-eed9-478b-985f-ac64a9f95518 2025-02-17 19:57:27,465 - DEBUG - Response for create_network : {'network': {'id': '659969d3-2e5f-4c76-92eb-d4c71e5c3fb0', 'name': 'ctest-ext_vn-96017355', 'tenant_id': '612d0eefe66443c7938a1ed17f86fe8e', 'project_id': '612d0eefe66443c7938a1ed17f86fe8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97407022', 'ctest-ext_vn-96017355'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 19:57:27,663 - DEBUG - Response for create_subnet : {'subnet': {'id': '69a0b783-91fc-4e9d-9d7b-eb8030689de0', 'name': '', 'tenant_id': '612d0eefe66443c7938a1ed17f86fe8e', 'network_id': '659969d3-2e5f-4c76-92eb-d4c71e5c3fb0', 'ip_version': 4, 'cidr': '83.226.114.128/26', 'allocation_pools': [{'start': '83.226.114.130', 'end': '83.226.114.190'}], 'gateway_ip': '83.226.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.226.114.130', 'tags': [], 'project_id': '612d0eefe66443c7938a1ed17f86fe8e'}} 2025-02-17 19:57:27,683 - INFO - Created VN ctest-ext_vn-96017355 2025-02-17 19:57:27,736 - DEBUG - VN ctest-ext_vn-96017355 UUID is 659969d3-2e5f-4c76-92eb-d4c71e5c3fb0 2025-02-17 19:57:27,913 - DEBUG - Services list from nova: [, , ] 2025-02-17 19:57:28,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2744-1) 2025-02-17 19:57:30,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2744-1) 2025-02-17 19:57:30,236 - INFO - Setting gateway for router d0660654-d7bb-486c-9590-165c766561d9 to network 659969d3-2e5f-4c76-92eb-d4c71e5c3fb0 2025-02-17 19:57:30,320 - INFO - Adding interface with subnet_id 04235bef-b719-4ab0-945d-402b4f106a5c, port_id None to router d0660654-d7bb-486c-9590-165c766561d9 2025-02-17 19:57:30,693 - INFO - Waiting for VM ctest-TestRoutersBasic-97407022-55450733 to be up.. 2025-02-17 19:57:30,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 19:57:35,952 - DEBUG - VM is in ACTIVE state now 2025-02-17 19:57:35,952 - INFO - VM name : ctest-TestRoutersBasic-97407022-55450733 2025-02-17 19:57:36,042 - DEBUG - VM ctest-TestRoutersBasic-97407022-55450733 ID is bdb2a08d-6fa1-422e-b834-646dc0e58a6d 2025-02-17 19:57:36,065 - DEBUG - VM ctest-TestRoutersBasic-97407022-55450733 launched on Node cn-jenkins-deploy-platform-ansible-os-2744-1 2025-02-17 19:57:36,152 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/bdb2a08d-6fa1-422e-b834-646dc0e58a6d 2025-02-17 19:57:36,449 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/bdb2a08d-6fa1-422e-b834-646dc0e58a6d 2025-02-17 19:57:36,487 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/fa82ccfd-e846-4ce6-9408-1e1028532148 2025-02-17 19:57:39,745 - 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 1011ms') 2025-02-17 19:57:39,745 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97407022-55450733 failed! 2025-02-17 19:57:39,800 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97407022:ctest-vn-13989264 is 178.8.201.65 and allocation pool is NOT set 2025-02-17 19:57:41,860 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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.455/1.939/3.423/1.484 ms') 2025-02-17 19:57:41,860 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97407022-55450733 passed 2025-02-17 19:57:42,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 19:57:42,016 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97407022-55450733, IP 178.8.201.67, Port 22 2025-02-17 19:57:42,171 - DEBUG - VM ctest-TestRoutersBasic-97407022-55450733 is ready for SSH connections 2025-02-17 19:57:42,172 - INFO - Waiting for VM ctest-TestRoutersBasic-97407022-25677823 to be up.. 2025-02-17 19:57:42,264 - DEBUG - VM is in ACTIVE state now 2025-02-17 19:57:42,264 - INFO - VM name : ctest-TestRoutersBasic-97407022-25677823 2025-02-17 19:57:42,349 - DEBUG - VM ctest-TestRoutersBasic-97407022-25677823 ID is 609a7de9-4354-4376-9e95-6bead5ce3dec 2025-02-17 19:57:42,349 - DEBUG - VM ctest-TestRoutersBasic-97407022-25677823 launched on Node cn-jenkins-deploy-platform-ansible-os-2744-1 2025-02-17 19:57:42,436 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/609a7de9-4354-4376-9e95-6bead5ce3dec 2025-02-17 19:57:42,447 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/fe185f73-77f7-4a75-aaba-b974917b83b9 2025-02-17 19:57:43,695 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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 = 0.501/1.874/3.248/1.373 ms') 2025-02-17 19:57:43,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97407022-25677823 passed 2025-02-17 19:57:43,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 19:57:43,852 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97407022-25677823, IP 83.226.114.131, Port 22 2025-02-17 19:57:44,008 - DEBUG - VM ctest-TestRoutersBasic-97407022-25677823 is ready for SSH connections 2025-02-17 19:57:44,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 19:57:44,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.226.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-17 19:57:44,009 - DEBUG - ping -s 56 -c 3 -W 1 83.226.114.131 2025-02-17 19:57:48,254 - DEBUG - PING 83.226.114.131 (83.226.114.131): 56 data bytes 64 bytes from 83.226.114.131: seq=0 ttl=62 time=8.373 ms 64 bytes from 83.226.114.131: seq=1 ttl=62 time=0.944 ms 64 bytes from 83.226.114.131: seq=2 ttl=62 time=1.140 ms --- 83.226.114.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/3.485/8.373 ms 2025-02-17 19:57:48,254 - INFO - Ping to IP 83.226.114.131 from VM ctest-TestRoutersBasic-97407022-55450733 passed 2025-02-17 19:57:48,255 - INFO - Deleting interface with subnet_id 04235bef-b719-4ab0-945d-402b4f106a5c, port_id None from router d0660654-d7bb-486c-9590-165c766561d9 2025-02-17 19:57:48,477 - INFO - Deleting VM ctest-TestRoutersBasic-97407022-25677823 2025-02-17 19:57:48,545 - INFO - Deleting VM ctest-TestRoutersBasic-97407022-55450733 2025-02-17 19:57:48,636 - INFO - Deleting VN ctest-ext_vn-96017355 2025-02-17 19:57:48,717 - DEBUG - VN 659969d3-2e5f-4c76-92eb-d4c71e5c3fb0 still in use: Unable to complete operation on network 659969d3-2e5f-4c76-92eb-d4c71e5c3fb0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa08c6ad-c79b-4ee5-9696-7498e687341a'] 2025-02-17 19:57:48,717 - WARNING - Deleting VN ctest-ext_vn-96017355 failed..Will retry 2025-02-17 19:57:50,831 - DEBUG - Response for deleting network () 2025-02-17 19:57:50,831 - INFO - Deleting VN ctest-vn-13989264 2025-02-17 19:57:50,942 - DEBUG - Response for deleting network () 2025-02-17 19:57:51,198 - DEBUG - No XMPP flaps were noticed during the test 2025-02-17 19:57:51,198 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-17 19:57:51,198 - INFO - -------------------------------------------------------------------------------- 2025-02-17 19:57:52,080 - INFO - Deleted project: ctest-TestRoutersBasic-97407022, ID : 612d0eef-e664-43c7-938a-1ed17f86fe8e