2025-03-27 13:15:46,522 - INFO - Domain Default found not creating 2025-03-27 13:15:46,672 - INFO - Project ctest-TestRoutersBasic-29749790 not found, creating it 2025-03-27 13:15:47,159 - INFO - Created Project:ctest-TestRoutersBasic-29749790, ID : 489af04b-95a7-461a-b436-fda2e9b43f95 2025-03-27 13:15:48,602 - INFO - ================================================================================ 2025-03-27 13:15:48,602 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-27 13:15:48,602 - 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-03-27 13:15:48,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.8': '0'}} with 2025-03-27 13:15:48,859 - INFO - Initial checks done. Running the testcase now 2025-03-27 13:15:48,860 - INFO - 2025-03-27 13:15:49,553 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29749790 2025-03-27 13:15:49,653 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29749790 2025-03-27 13:15:49,985 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29749790', 'default']} 2025-03-27 13:15:50,281 - DEBUG - Response for create_network : {'network': {'id': '33fbdd90-17d1-4f37-a955-f8f6dc7970ee', 'name': 'ctest-vn-37850122', 'tenant_id': '489af04b95a7461ab436fda2e9b43f95', 'project_id': '489af04b95a7461ab436fda2e9b43f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29749790', 'ctest-vn-37850122'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:15:50,496 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7ea3996-a790-4bc1-adb3-4826a3e392d8', 'name': '', 'tenant_id': '489af04b95a7461ab436fda2e9b43f95', 'network_id': '33fbdd90-17d1-4f37-a955-f8f6dc7970ee', 'ip_version': 4, 'cidr': '153.178.3.192/26', 'allocation_pools': [{'start': '153.178.3.194', 'end': '153.178.3.254'}], 'gateway_ip': '153.178.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.178.3.194', 'tags': [], 'project_id': '489af04b95a7461ab436fda2e9b43f95'}} 2025-03-27 13:15:50,516 - INFO - Created VN ctest-vn-37850122 2025-03-27 13:15:50,570 - DEBUG - VN ctest-vn-37850122 UUID is 33fbdd90-17d1-4f37-a955-f8f6dc7970ee 2025-03-27 13:15:50,934 - DEBUG - Response for create_network : {'network': {'id': '637280c6-64c9-49f2-81cf-d7eb879b9179', 'name': 'ctest-ext_vn-95025961', 'tenant_id': '489af04b95a7461ab436fda2e9b43f95', 'project_id': '489af04b95a7461ab436fda2e9b43f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29749790', 'ctest-ext_vn-95025961'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:15:51,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '82b04dd7-fb55-4010-acd3-1c98d8bbbd85', 'name': '', 'tenant_id': '489af04b95a7461ab436fda2e9b43f95', 'network_id': '637280c6-64c9-49f2-81cf-d7eb879b9179', 'ip_version': 4, 'cidr': '205.202.209.0/26', 'allocation_pools': [{'start': '205.202.209.2', 'end': '205.202.209.62'}], 'gateway_ip': '205.202.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.202.209.2', 'tags': [], 'project_id': '489af04b95a7461ab436fda2e9b43f95'}} 2025-03-27 13:15:51,181 - INFO - Created VN ctest-ext_vn-95025961 2025-03-27 13:15:51,233 - DEBUG - VN ctest-ext_vn-95025961 UUID is 637280c6-64c9-49f2-81cf-d7eb879b9179 2025-03-27 13:15:51,433 - DEBUG - Services list from nova: [, , ] 2025-03-27 13:15:52,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2970-1) 2025-03-27 13:15:53,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2970-1) 2025-03-27 13:15:53,764 - INFO - Setting gateway for router 74ce919d-b020-4b9b-8f38-11750d72df7f to network 637280c6-64c9-49f2-81cf-d7eb879b9179 2025-03-27 13:15:53,833 - INFO - Adding interface with subnet_id b7ea3996-a790-4bc1-adb3-4826a3e392d8, port_id None to router 74ce919d-b020-4b9b-8f38-11750d72df7f 2025-03-27 13:15:54,207 - INFO - Waiting for VM ctest-TestRoutersBasic-29749790-89403083 to be up.. 2025-03-27 13:15:54,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 13:15:59,459 - DEBUG - VM is in ACTIVE state now 2025-03-27 13:15:59,459 - INFO - VM name : ctest-TestRoutersBasic-29749790-89403083 2025-03-27 13:15:59,544 - DEBUG - VM ctest-TestRoutersBasic-29749790-89403083 ID is 96dedc56-7e74-4a45-b06f-86b8b1826cd2 2025-03-27 13:15:59,565 - DEBUG - VM ctest-TestRoutersBasic-29749790-89403083 launched on Node cn-jenkins-deploy-platform-ansible-os-2970-1 2025-03-27 13:15:59,647 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/96dedc56-7e74-4a45-b06f-86b8b1826cd2 2025-03-27 13:15:59,954 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/96dedc56-7e74-4a45-b06f-86b8b1826cd2 2025-03-27 13:15:59,993 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/c7a86368-85fa-441c-bdcf-9c486ad70985 2025-03-27 13:16:03,248 - 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-03-27 13:16:03,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29749790-89403083 failed! 2025-03-27 13:16:03,305 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29749790:ctest-vn-37850122 is 153.178.3.193 and allocation pool is NOT set 2025-03-27 13:16:05,374 - 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=5.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.333 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.333/2.975/5.618/2.642 ms') 2025-03-27 13:16:05,375 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29749790-89403083 passed 2025-03-27 13:16:05,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:16:05,530 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29749790-89403083, IP 153.178.3.195, Port 22 2025-03-27 13:16:05,689 - DEBUG - VM ctest-TestRoutersBasic-29749790-89403083 is ready for SSH connections 2025-03-27 13:16:05,689 - INFO - Waiting for VM ctest-TestRoutersBasic-29749790-13864627 to be up.. 2025-03-27 13:16:05,775 - DEBUG - VM is in ACTIVE state now 2025-03-27 13:16:05,775 - INFO - VM name : ctest-TestRoutersBasic-29749790-13864627 2025-03-27 13:16:05,855 - DEBUG - VM ctest-TestRoutersBasic-29749790-13864627 ID is 2787f629-bcaa-489c-8b66-7a777b0e3a94 2025-03-27 13:16:05,855 - DEBUG - VM ctest-TestRoutersBasic-29749790-13864627 launched on Node cn-jenkins-deploy-platform-ansible-os-2970-1 2025-03-27 13:16:05,934 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/2787f629-bcaa-489c-8b66-7a777b0e3a94 2025-03-27 13:16:05,944 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/74ce6b97-e428-4876-9914-be9e26adbde4 2025-03-27 13:16:07,184 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.674/2.889/1.215 ms') 2025-03-27 13:16:07,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29749790-13864627 passed 2025-03-27 13:16:07,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:16:07,338 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29749790-13864627, IP 205.202.209.3, Port 22 2025-03-27 13:16:07,498 - DEBUG - VM ctest-TestRoutersBasic-29749790-13864627 is ready for SSH connections 2025-03-27 13:16:07,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:16:07,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.202.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-03-27 13:16:07,498 - DEBUG - ping -s 56 -c 3 -W 1 205.202.209.3 2025-03-27 13:16:11,496 - DEBUG - PING 205.202.209.3 (205.202.209.3): 56 data bytes 64 bytes from 205.202.209.3: seq=0 ttl=62 time=6.606 ms 64 bytes from 205.202.209.3: seq=1 ttl=62 time=1.021 ms 64 bytes from 205.202.209.3: seq=2 ttl=62 time=0.939 ms --- 205.202.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/2.855/6.606 ms 2025-03-27 13:16:11,496 - INFO - Ping to IP 205.202.209.3 from VM ctest-TestRoutersBasic-29749790-89403083 passed 2025-03-27 13:16:11,496 - INFO - Deleting interface with subnet_id b7ea3996-a790-4bc1-adb3-4826a3e392d8, port_id None from router 74ce919d-b020-4b9b-8f38-11750d72df7f 2025-03-27 13:16:11,712 - INFO - Deleting VM ctest-TestRoutersBasic-29749790-13864627 2025-03-27 13:16:11,784 - INFO - Deleting VM ctest-TestRoutersBasic-29749790-89403083 2025-03-27 13:16:11,882 - INFO - Deleting VN ctest-ext_vn-95025961 2025-03-27 13:16:11,977 - DEBUG - VN 637280c6-64c9-49f2-81cf-d7eb879b9179 still in use: Unable to complete operation on network 637280c6-64c9-49f2-81cf-d7eb879b9179. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-203c71ef-b791-40f8-8a6b-10995b5e4ba2'] 2025-03-27 13:16:11,977 - WARNING - Deleting VN ctest-ext_vn-95025961 failed..Will retry 2025-03-27 13:16:14,093 - DEBUG - Response for deleting network () 2025-03-27 13:16:14,093 - INFO - Deleting VN ctest-vn-37850122 2025-03-27 13:16:14,211 - DEBUG - Response for deleting network () 2025-03-27 13:16:14,467 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 13:16:14,467 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-03-27 13:16:14,467 - INFO - -------------------------------------------------------------------------------- 2025-03-27 13:16:15,126 - INFO - Deleted project: ctest-TestRoutersBasic-29749790, ID : 489af04b-95a7-461a-b436-fda2e9b43f95