2025-04-22 21:52:59,004 - INFO - Domain Default found not creating 2025-04-22 21:52:59,120 - INFO - Project ctest-TestRoutersBasic-96494082 not found, creating it 2025-04-22 21:52:59,599 - INFO - Created Project:ctest-TestRoutersBasic-96494082, ID : 31bc125b-158d-4ca2-9872-209340c1c779 2025-04-22 21:53:00,923 - INFO - ================================================================================ 2025-04-22 21:53:00,924 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-22 21:53:00,924 - 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-04-22 21:53:01,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-04-22 21:53:01,194 - INFO - Initial checks done. Running the testcase now 2025-04-22 21:53:01,194 - INFO - 2025-04-22 21:53:01,861 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96494082 2025-04-22 21:53:01,956 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96494082 2025-04-22 21:53:02,284 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96494082', 'default']} 2025-04-22 21:53:02,556 - DEBUG - Response for create_network : {'network': {'id': '18d03823-2a93-4d46-9607-9a33d5336fc0', 'name': 'ctest-vn-17060709', 'tenant_id': '31bc125b158d4ca29872209340c1c779', 'project_id': '31bc125b158d4ca29872209340c1c779', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96494082', 'ctest-vn-17060709'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 21:53:02,710 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f56a4fa-c8bf-477b-babc-1e2291f8ec28', 'name': '', 'tenant_id': '31bc125b158d4ca29872209340c1c779', 'network_id': '18d03823-2a93-4d46-9607-9a33d5336fc0', 'ip_version': 4, 'cidr': '213.104.193.192/26', 'allocation_pools': [{'start': '213.104.193.194', 'end': '213.104.193.254'}], 'gateway_ip': '213.104.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.104.193.194', 'tags': [], 'project_id': '31bc125b158d4ca29872209340c1c779'}} 2025-04-22 21:53:02,725 - INFO - Created VN ctest-vn-17060709 2025-04-22 21:53:02,780 - DEBUG - VN ctest-vn-17060709 UUID is 18d03823-2a93-4d46-9607-9a33d5336fc0 2025-04-22 21:53:03,101 - DEBUG - Response for create_network : {'network': {'id': 'ce6272d7-af98-449a-84ef-10391dd636a7', 'name': 'ctest-ext_vn-11227189', 'tenant_id': '31bc125b158d4ca29872209340c1c779', 'project_id': '31bc125b158d4ca29872209340c1c779', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96494082', 'ctest-ext_vn-11227189'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 21:53:03,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb7919ce-dd7c-4243-a5e7-5da8b77c1823', 'name': '', 'tenant_id': '31bc125b158d4ca29872209340c1c779', 'network_id': 'ce6272d7-af98-449a-84ef-10391dd636a7', 'ip_version': 4, 'cidr': '21.22.91.128/26', 'allocation_pools': [{'start': '21.22.91.130', 'end': '21.22.91.190'}], 'gateway_ip': '21.22.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.22.91.130', 'tags': [], 'project_id': '31bc125b158d4ca29872209340c1c779'}} 2025-04-22 21:53:03,285 - INFO - Created VN ctest-ext_vn-11227189 2025-04-22 21:53:03,340 - DEBUG - VN ctest-ext_vn-11227189 UUID is ce6272d7-af98-449a-84ef-10391dd636a7 2025-04-22 21:53:03,524 - DEBUG - Services list from nova: [, , ] 2025-04-22 21:53:04,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3174-1) 2025-04-22 21:53:05,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3174-1) 2025-04-22 21:53:05,553 - INFO - Setting gateway for router 5faf53bf-e43d-4339-ac21-e9d49adfd1a6 to network ce6272d7-af98-449a-84ef-10391dd636a7 2025-04-22 21:53:05,602 - INFO - Adding interface with subnet_id 0f56a4fa-c8bf-477b-babc-1e2291f8ec28, port_id None to router 5faf53bf-e43d-4339-ac21-e9d49adfd1a6 2025-04-22 21:53:05,895 - INFO - Waiting for VM ctest-TestRoutersBasic-96494082-59360594 to be up.. 2025-04-22 21:53:06,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 21:53:11,077 - DEBUG - VM is in ACTIVE state now 2025-04-22 21:53:11,077 - INFO - VM name : ctest-TestRoutersBasic-96494082-59360594 2025-04-22 21:53:11,137 - DEBUG - VM ctest-TestRoutersBasic-96494082-59360594 ID is 1ba2a5ea-1c56-4f97-9be7-c62e849cb889 2025-04-22 21:53:11,152 - DEBUG - VM ctest-TestRoutersBasic-96494082-59360594 launched on Node cn-jenkins-deploy-platform-ansible-os-3174-1 2025-04-22 21:53:11,212 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1ba2a5ea-1c56-4f97-9be7-c62e849cb889 2025-04-22 21:53:11,498 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1ba2a5ea-1c56-4f97-9be7-c62e849cb889 2025-04-22 21:53:11,527 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/45bc6163-062f-4258-ab23-885c5982fe8c 2025-04-22 21:53:14,781 - 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=2 ttl=63 time=13.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 12.992/12.992/12.992/0.000 ms') 2025-04-22 21:53:14,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96494082-59360594 passed 2025-04-22 21:53:14,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 21:53:14,937 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96494082-59360594, IP 213.104.193.195, Port 22 2025-04-22 21:53:15,087 - DEBUG - VM ctest-TestRoutersBasic-96494082-59360594 is ready for SSH connections 2025-04-22 21:53:15,088 - INFO - Waiting for VM ctest-TestRoutersBasic-96494082-88892271 to be up.. 2025-04-22 21:53:15,151 - DEBUG - VM is in ACTIVE state now 2025-04-22 21:53:15,151 - INFO - VM name : ctest-TestRoutersBasic-96494082-88892271 2025-04-22 21:53:15,209 - DEBUG - VM ctest-TestRoutersBasic-96494082-88892271 ID is 5fc0ef40-acb8-49e5-9e54-813d2d6870d7 2025-04-22 21:53:15,210 - DEBUG - VM ctest-TestRoutersBasic-96494082-88892271 launched on Node cn-jenkins-deploy-platform-ansible-os-3174-1 2025-04-22 21:53:15,270 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5fc0ef40-acb8-49e5-9e54-813d2d6870d7 2025-04-22 21:53:15,277 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/73f9b11e-b782-4b12-a652-549c6d9154c3 2025-04-22 21:53:16,508 - 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=2.55 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 = 2.547/2.718/2.889/0.171 ms') 2025-04-22 21:53:16,508 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96494082-88892271 passed 2025-04-22 21:53:16,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 21:53:16,664 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96494082-88892271, IP 21.22.91.131, Port 22 2025-04-22 21:53:16,820 - DEBUG - VM ctest-TestRoutersBasic-96494082-88892271 is ready for SSH connections 2025-04-22 21:53:16,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 21:53:16,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.22.91.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-22 21:53:16,821 - DEBUG - ping -s 56 -c 3 -W 1 21.22.91.131 2025-04-22 21:53:20,463 - DEBUG - PING 21.22.91.131 (21.22.91.131): 56 data bytes 64 bytes from 21.22.91.131: seq=0 ttl=62 time=5.074 ms 64 bytes from 21.22.91.131: seq=1 ttl=62 time=0.677 ms 64 bytes from 21.22.91.131: seq=2 ttl=62 time=0.883 ms --- 21.22.91.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.677/2.211/5.074 ms 2025-04-22 21:53:20,463 - INFO - Ping to IP 21.22.91.131 from VM ctest-TestRoutersBasic-96494082-59360594 passed 2025-04-22 21:53:20,463 - INFO - Deleting interface with subnet_id 0f56a4fa-c8bf-477b-babc-1e2291f8ec28, port_id None from router 5faf53bf-e43d-4339-ac21-e9d49adfd1a6 2025-04-22 21:53:20,620 - INFO - Deleting VM ctest-TestRoutersBasic-96494082-88892271 2025-04-22 21:53:20,676 - INFO - Deleting VM ctest-TestRoutersBasic-96494082-59360594 2025-04-22 21:53:20,739 - INFO - Deleting VN ctest-ext_vn-11227189 2025-04-22 21:53:20,797 - DEBUG - VN ce6272d7-af98-449a-84ef-10391dd636a7 still in use: Unable to complete operation on network ce6272d7-af98-449a-84ef-10391dd636a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-843e2e3a-87a6-4d60-b138-952980ee4154'] 2025-04-22 21:53:20,797 - WARNING - Deleting VN ctest-ext_vn-11227189 failed..Will retry 2025-04-22 21:53:22,886 - DEBUG - Response for deleting network () 2025-04-22 21:53:22,886 - INFO - Deleting VN ctest-vn-17060709 2025-04-22 21:53:22,980 - DEBUG - Response for deleting network () 2025-04-22 21:53:23,234 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 21:53:23,234 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-22 21:53:23,234 - INFO - -------------------------------------------------------------------------------- 2025-04-22 21:53:23,870 - INFO - Deleted project: ctest-TestRoutersBasic-96494082, ID : 31bc125b-158d-4ca2-9872-209340c1c779