2025-04-08 11:43:07,572 - INFO - Domain Default found not creating 2025-04-08 11:43:07,744 - INFO - Project ctest-TestRoutersBasic-37621012 not found, creating it 2025-04-08 11:43:08,251 - INFO - Created Project:ctest-TestRoutersBasic-37621012, ID : ecef690d-a9e5-4f30-8e91-89dfe249d8ec 2025-04-08 11:43:10,393 - INFO - ================================================================================ 2025-04-08 11:43:10,393 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-08 11:43:10,393 - 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-08 11:43:10,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.5': '0'}} with 2025-04-08 11:43:10,649 - INFO - Initial checks done. Running the testcase now 2025-04-08 11:43:10,649 - INFO - 2025-04-08 11:43:11,375 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37621012 2025-04-08 11:43:11,474 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37621012 2025-04-08 11:43:11,806 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37621012', 'default']} 2025-04-08 11:43:12,119 - DEBUG - Response for create_network : {'network': {'id': '09dac42c-bc9e-4d15-bc4e-0b961bd61557', 'name': 'ctest-vn-46038248', 'tenant_id': 'ecef690da9e54f308e9189dfe249d8ec', 'project_id': 'ecef690da9e54f308e9189dfe249d8ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37621012', 'ctest-vn-46038248'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 11:43:12,348 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebbce531-67b1-407d-8c70-a844b67df12f', 'name': '', 'tenant_id': 'ecef690da9e54f308e9189dfe249d8ec', 'network_id': '09dac42c-bc9e-4d15-bc4e-0b961bd61557', 'ip_version': 4, 'cidr': '136.173.213.0/26', 'allocation_pools': [{'start': '136.173.213.2', 'end': '136.173.213.62'}], 'gateway_ip': '136.173.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.173.213.2', 'tags': [], 'project_id': 'ecef690da9e54f308e9189dfe249d8ec'}} 2025-04-08 11:43:12,370 - INFO - Created VN ctest-vn-46038248 2025-04-08 11:43:12,426 - DEBUG - VN ctest-vn-46038248 UUID is 09dac42c-bc9e-4d15-bc4e-0b961bd61557 2025-04-08 11:43:12,819 - DEBUG - Response for create_network : {'network': {'id': '1d44c105-d369-4691-bee6-f96efbf0ae3d', 'name': 'ctest-ext_vn-07241202', 'tenant_id': 'ecef690da9e54f308e9189dfe249d8ec', 'project_id': 'ecef690da9e54f308e9189dfe249d8ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37621012', 'ctest-ext_vn-07241202'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 11:43:13,017 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb672968-8bdc-451f-87cc-35464435ef34', 'name': '', 'tenant_id': 'ecef690da9e54f308e9189dfe249d8ec', 'network_id': '1d44c105-d369-4691-bee6-f96efbf0ae3d', 'ip_version': 4, 'cidr': '95.81.88.64/26', 'allocation_pools': [{'start': '95.81.88.66', 'end': '95.81.88.126'}], 'gateway_ip': '95.81.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.81.88.66', 'tags': [], 'project_id': 'ecef690da9e54f308e9189dfe249d8ec'}} 2025-04-08 11:43:13,038 - INFO - Created VN ctest-ext_vn-07241202 2025-04-08 11:43:13,094 - DEBUG - VN ctest-ext_vn-07241202 UUID is 1d44c105-d369-4691-bee6-f96efbf0ae3d 2025-04-08 11:43:13,291 - DEBUG - Services list from nova: [, , ] 2025-04-08 11:43:14,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3049-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3049-1) 2025-04-08 11:43:15,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3049-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3049-1) 2025-04-08 11:43:15,815 - INFO - Setting gateway for router 29984c60-95bf-4c43-b0b0-83414358601b to network 1d44c105-d369-4691-bee6-f96efbf0ae3d 2025-04-08 11:43:15,914 - INFO - Adding interface with subnet_id ebbce531-67b1-407d-8c70-a844b67df12f, port_id None to router 29984c60-95bf-4c43-b0b0-83414358601b 2025-04-08 11:43:16,384 - INFO - Waiting for VM ctest-TestRoutersBasic-37621012-96818262 to be up.. 2025-04-08 11:43:16,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 11:43:21,667 - DEBUG - VM is in ACTIVE state now 2025-04-08 11:43:21,667 - INFO - VM name : ctest-TestRoutersBasic-37621012-96818262 2025-04-08 11:43:21,762 - DEBUG - VM ctest-TestRoutersBasic-37621012-96818262 ID is 6642d215-5821-4141-b95e-385c2ff648c0 2025-04-08 11:43:21,787 - DEBUG - VM ctest-TestRoutersBasic-37621012-96818262 launched on Node cn-jenkins-deploy-platform-ansible-os-3049-1 2025-04-08 11:43:21,881 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/6642d215-5821-4141-b95e-385c2ff648c0 2025-04-08 11:43:22,280 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/6642d215-5821-4141-b95e-385c2ff648c0 2025-04-08 11:43:22,317 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/84e110cd-81d1-40cf-af6f-859e59c16530 2025-04-08 11:43:25,588 - 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 1018ms') 2025-04-08 11:43:25,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37621012-96818262 failed! 2025-04-08 11:43:25,650 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37621012:ctest-vn-46038248 is 136.173.213.1 and allocation pool is NOT set 2025-04-08 11:43:27,715 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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 = 0.510/1.756/3.002/1.246 ms') 2025-04-08 11:43:27,715 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37621012-96818262 passed 2025-04-08 11:43:27,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 11:43:27,874 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37621012-96818262, IP 136.173.213.3, Port 22 2025-04-08 11:43:28,034 - DEBUG - VM ctest-TestRoutersBasic-37621012-96818262 is ready for SSH connections 2025-04-08 11:43:28,035 - INFO - Waiting for VM ctest-TestRoutersBasic-37621012-39890535 to be up.. 2025-04-08 11:43:28,128 - DEBUG - VM is in ACTIVE state now 2025-04-08 11:43:28,128 - INFO - VM name : ctest-TestRoutersBasic-37621012-39890535 2025-04-08 11:43:28,212 - DEBUG - VM ctest-TestRoutersBasic-37621012-39890535 ID is 767872e4-bee3-442f-a0ed-0075cc9d78c4 2025-04-08 11:43:28,212 - DEBUG - VM ctest-TestRoutersBasic-37621012-39890535 launched on Node cn-jenkins-deploy-platform-ansible-os-3049-1 2025-04-08 11:43:28,297 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/767872e4-bee3-442f-a0ed-0075cc9d78c4 2025-04-08 11:43:28,308 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/1a911b15-6d39-4f12-b131-a7ebf3c44773 2025-04-08 11:43:29,560 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.023/2.058/3.093/1.035 ms') 2025-04-08 11:43:29,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37621012-39890535 passed 2025-04-08 11:43:29,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 11:43:29,718 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37621012-39890535, IP 95.81.88.67, Port 22 2025-04-08 11:43:29,874 - DEBUG - VM ctest-TestRoutersBasic-37621012-39890535 is ready for SSH connections 2025-04-08 11:43:29,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 11:43:29,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.81.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-04-08 11:43:29,874 - DEBUG - ping -s 56 -c 3 -W 1 95.81.88.67 2025-04-08 11:43:33,574 - DEBUG - PING 95.81.88.67 (95.81.88.67): 56 data bytes 64 bytes from 95.81.88.67: seq=0 ttl=62 time=4.815 ms 64 bytes from 95.81.88.67: seq=1 ttl=62 time=1.156 ms 64 bytes from 95.81.88.67: seq=2 ttl=62 time=0.974 ms --- 95.81.88.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/2.315/4.815 ms 2025-04-08 11:43:33,574 - INFO - Ping to IP 95.81.88.67 from VM ctest-TestRoutersBasic-37621012-96818262 passed 2025-04-08 11:43:33,574 - INFO - Deleting interface with subnet_id ebbce531-67b1-407d-8c70-a844b67df12f, port_id None from router 29984c60-95bf-4c43-b0b0-83414358601b 2025-04-08 11:43:33,833 - INFO - Deleting VM ctest-TestRoutersBasic-37621012-39890535 2025-04-08 11:43:33,918 - INFO - Deleting VM ctest-TestRoutersBasic-37621012-96818262 2025-04-08 11:43:34,010 - INFO - Deleting VN ctest-ext_vn-07241202 2025-04-08 11:43:34,103 - DEBUG - VN 1d44c105-d369-4691-bee6-f96efbf0ae3d still in use: Unable to complete operation on network 1d44c105-d369-4691-bee6-f96efbf0ae3d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2bca097-6201-4163-bc38-9e3a971755f1'] 2025-04-08 11:43:34,103 - WARNING - Deleting VN ctest-ext_vn-07241202 failed..Will retry 2025-04-08 11:43:36,258 - DEBUG - Response for deleting network () 2025-04-08 11:43:36,259 - INFO - Deleting VN ctest-vn-46038248 2025-04-08 11:43:36,388 - DEBUG - Response for deleting network () 2025-04-08 11:43:36,645 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 11:43:36,645 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-04-08 11:43:36,645 - INFO - -------------------------------------------------------------------------------- 2025-04-08 11:43:37,363 - INFO - Deleted project: ctest-TestRoutersBasic-37621012, ID : ecef690d-a9e5-4f30-8e91-89dfe249d8ec