2025-04-24 20:18:10,703 - INFO - Domain Default found not creating 2025-04-24 20:18:10,821 - INFO - Project ctest-TestRoutersBasic-35642799 not found, creating it 2025-04-24 20:18:11,249 - INFO - Created Project:ctest-TestRoutersBasic-35642799, ID : 8ebcf2ac-b2dc-4638-a3d8-d2c4758d3b22 2025-04-24 20:18:12,557 - INFO - ================================================================================ 2025-04-24 20:18:12,558 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-24 20:18:12,558 - 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-24 20:18:12,812 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-24 20:18:12,812 - INFO - Initial checks done. Running the testcase now 2025-04-24 20:18:12,812 - INFO - 2025-04-24 20:18:13,481 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35642799 2025-04-24 20:18:13,578 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35642799 2025-04-24 20:18:13,910 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35642799', 'default']} 2025-04-24 20:18:14,197 - DEBUG - Response for create_network : {'network': {'id': '8e20b450-0f95-4eff-a105-2612729f30bb', 'name': 'ctest-vn-52769991', 'tenant_id': '8ebcf2acb2dc4638a3d8d2c4758d3b22', 'project_id': '8ebcf2acb2dc4638a3d8d2c4758d3b22', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35642799', 'ctest-vn-52769991'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 20:18:14,373 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4863541-5dec-4b56-b842-a72632e6456b', 'name': '', 'tenant_id': '8ebcf2acb2dc4638a3d8d2c4758d3b22', 'network_id': '8e20b450-0f95-4eff-a105-2612729f30bb', 'ip_version': 4, 'cidr': '190.46.66.64/26', 'allocation_pools': [{'start': '190.46.66.66', 'end': '190.46.66.126'}], 'gateway_ip': '190.46.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.46.66.66', 'tags': [], 'project_id': '8ebcf2acb2dc4638a3d8d2c4758d3b22'}} 2025-04-24 20:18:14,394 - INFO - Created VN ctest-vn-52769991 2025-04-24 20:18:14,446 - DEBUG - VN ctest-vn-52769991 UUID is 8e20b450-0f95-4eff-a105-2612729f30bb 2025-04-24 20:18:14,805 - DEBUG - Response for create_network : {'network': {'id': 'fbe4f68c-b48f-4960-bd97-5f325f1f9a51', 'name': 'ctest-ext_vn-44795433', 'tenant_id': '8ebcf2acb2dc4638a3d8d2c4758d3b22', 'project_id': '8ebcf2acb2dc4638a3d8d2c4758d3b22', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35642799', 'ctest-ext_vn-44795433'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 20:18:14,976 - DEBUG - Response for create_subnet : {'subnet': {'id': '8aef0657-da47-4b12-85b2-5f9f0c1b4ac3', 'name': '', 'tenant_id': '8ebcf2acb2dc4638a3d8d2c4758d3b22', 'network_id': 'fbe4f68c-b48f-4960-bd97-5f325f1f9a51', 'ip_version': 4, 'cidr': '134.141.50.192/26', 'allocation_pools': [{'start': '134.141.50.194', 'end': '134.141.50.254'}], 'gateway_ip': '134.141.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.141.50.194', 'tags': [], 'project_id': '8ebcf2acb2dc4638a3d8d2c4758d3b22'}} 2025-04-24 20:18:14,993 - INFO - Created VN ctest-ext_vn-44795433 2025-04-24 20:18:15,046 - DEBUG - VN ctest-ext_vn-44795433 UUID is fbe4f68c-b48f-4960-bd97-5f325f1f9a51 2025-04-24 20:18:15,245 - DEBUG - Services list from nova: [, , ] 2025-04-24 20:18:16,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3209-1) 2025-04-24 20:18:17,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3209-1) 2025-04-24 20:18:17,357 - INFO - Setting gateway for router e046de65-a75c-463e-8992-9ee4a491851c to network fbe4f68c-b48f-4960-bd97-5f325f1f9a51 2025-04-24 20:18:17,410 - INFO - Adding interface with subnet_id e4863541-5dec-4b56-b842-a72632e6456b, port_id None to router e046de65-a75c-463e-8992-9ee4a491851c 2025-04-24 20:18:17,798 - INFO - Waiting for VM ctest-TestRoutersBasic-35642799-42086040 to be up.. 2025-04-24 20:18:17,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 20:18:23,072 - DEBUG - VM is in ACTIVE state now 2025-04-24 20:18:23,072 - INFO - VM name : ctest-TestRoutersBasic-35642799-42086040 2025-04-24 20:18:23,144 - DEBUG - VM ctest-TestRoutersBasic-35642799-42086040 ID is 6a0be2e7-71fd-4b3a-acf5-7195b4e0bf1f 2025-04-24 20:18:23,164 - DEBUG - VM ctest-TestRoutersBasic-35642799-42086040 launched on Node cn-jenkins-deploy-platform-ansible-os-3209-1 2025-04-24 20:18:23,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6a0be2e7-71fd-4b3a-acf5-7195b4e0bf1f 2025-04-24 20:18:23,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6a0be2e7-71fd-4b3a-acf5-7195b4e0bf1f 2025-04-24 20:18:23,556 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7dcf8a4d-b486-4553-9682-aca202c1c4c4 2025-04-24 20:18:26,791 - 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=12.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 12.676/12.676/12.676/0.000 ms') 2025-04-24 20:18:26,792 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35642799-42086040 passed 2025-04-24 20:18:26,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 20:18:26,942 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35642799-42086040, IP 190.46.66.67, Port 22 2025-04-24 20:18:27,101 - DEBUG - VM ctest-TestRoutersBasic-35642799-42086040 is ready for SSH connections 2025-04-24 20:18:27,101 - INFO - Waiting for VM ctest-TestRoutersBasic-35642799-63421334 to be up.. 2025-04-24 20:18:27,169 - DEBUG - VM is in ACTIVE state now 2025-04-24 20:18:27,169 - INFO - VM name : ctest-TestRoutersBasic-35642799-63421334 2025-04-24 20:18:27,233 - DEBUG - VM ctest-TestRoutersBasic-35642799-63421334 ID is afee4c7c-aa5f-4323-b937-aa081369b9f8 2025-04-24 20:18:27,234 - DEBUG - VM ctest-TestRoutersBasic-35642799-63421334 launched on Node cn-jenkins-deploy-platform-ansible-os-3209-1 2025-04-24 20:18:27,297 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/afee4c7c-aa5f-4323-b937-aa081369b9f8 2025-04-24 20:18:27,304 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0862ddf9-cfda-4256-8ab5-ca7a85debe84 2025-04-24 20:18:28,530 - 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=4.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.721 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.721/2.507/4.293/1.786 ms') 2025-04-24 20:18:28,530 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35642799-63421334 passed 2025-04-24 20:18:28,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 20:18:28,678 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35642799-63421334, IP 134.141.50.195, Port 22 2025-04-24 20:18:28,833 - DEBUG - VM ctest-TestRoutersBasic-35642799-63421334 is ready for SSH connections 2025-04-24 20:18:28,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 20:18:28,833 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.141.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 20:18:28,833 - DEBUG - ping -s 56 -c 3 -W 1 134.141.50.195 2025-04-24 20:18:32,509 - DEBUG - PING 134.141.50.195 (134.141.50.195): 56 data bytes 64 bytes from 134.141.50.195: seq=0 ttl=62 time=4.063 ms 64 bytes from 134.141.50.195: seq=1 ttl=62 time=0.739 ms 64 bytes from 134.141.50.195: seq=2 ttl=62 time=0.773 ms --- 134.141.50.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/1.858/4.063 ms 2025-04-24 20:18:32,509 - INFO - Ping to IP 134.141.50.195 from VM ctest-TestRoutersBasic-35642799-42086040 passed 2025-04-24 20:18:32,510 - INFO - Deleting interface with subnet_id e4863541-5dec-4b56-b842-a72632e6456b, port_id None from router e046de65-a75c-463e-8992-9ee4a491851c 2025-04-24 20:18:32,690 - INFO - Deleting VM ctest-TestRoutersBasic-35642799-63421334 2025-04-24 20:18:32,747 - INFO - Deleting VM ctest-TestRoutersBasic-35642799-42086040 2025-04-24 20:18:32,813 - INFO - Deleting VN ctest-ext_vn-44795433 2025-04-24 20:18:32,874 - DEBUG - VN fbe4f68c-b48f-4960-bd97-5f325f1f9a51 still in use: Unable to complete operation on network fbe4f68c-b48f-4960-bd97-5f325f1f9a51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb2c21c0-80d5-468b-b4ff-87b90647775d'] 2025-04-24 20:18:32,874 - WARNING - Deleting VN ctest-ext_vn-44795433 failed..Will retry 2025-04-24 20:18:34,960 - DEBUG - Response for deleting network () 2025-04-24 20:18:34,960 - INFO - Deleting VN ctest-vn-52769991 2025-04-24 20:18:35,048 - DEBUG - Response for deleting network () 2025-04-24 20:18:35,305 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 20:18:35,305 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2025-04-24 20:18:35,305 - INFO - -------------------------------------------------------------------------------- 2025-04-24 20:18:35,941 - INFO - Deleted project: ctest-TestRoutersBasic-35642799, ID : 8ebcf2ac-b2dc-4638-a3d8-d2c4758d3b22