2025-05-21 13:51:28,302 - INFO - Domain Default found not creating 2025-05-21 13:51:28,506 - INFO - Project ctest-TestBasicPolicy-45441608 not found, creating it 2025-05-21 13:51:29,030 - INFO - Created Project:ctest-TestBasicPolicy-45441608, ID : 6aa946c1-e707-440c-9a28-434b565574cc 2025-05-21 13:51:30,741 - INFO - ================================================================================ 2025-05-21 13:51:30,742 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-21 13:51:30,742 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-05-21 13:51:31,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-21 13:51:31,016 - INFO - Initial checks done. Running the testcase now 2025-05-21 13:51:31,016 - INFO - 2025-05-21 13:51:31,609 - DEBUG - Response for create_network : {'network': {'id': '9cb45953-ee8f-423f-be47-981a528baf7f', 'name': 'ctest-vn-82807079', 'tenant_id': '6aa946c1e707440c9a28434b565574cc', 'project_id': '6aa946c1e707440c9a28434b565574cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45441608', 'ctest-vn-82807079'], 'port_security_enabled': True, 'description': ''}} 2025-05-21 13:51:31,850 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2dd9754-f774-469b-9460-b9aa37cc04ef', 'name': '', 'tenant_id': '6aa946c1e707440c9a28434b565574cc', 'network_id': '9cb45953-ee8f-423f-be47-981a528baf7f', 'ip_version': 4, 'cidr': '173.110.245.192/26', 'allocation_pools': [{'start': '173.110.245.194', 'end': '173.110.245.254'}], 'gateway_ip': '173.110.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.110.245.194', 'tags': [], 'project_id': '6aa946c1e707440c9a28434b565574cc'}} 2025-05-21 13:51:31,873 - INFO - Created VN ctest-vn-82807079 2025-05-21 13:51:31,928 - DEBUG - VN ctest-vn-82807079 UUID is 9cb45953-ee8f-423f-be47-981a528baf7f 2025-05-21 13:51:32,261 - DEBUG - Response for create_network : {'network': {'id': '4c44cedf-92cd-431b-a43e-b23b0287b9a4', 'name': 'ctest-vn-46444703', 'tenant_id': '6aa946c1e707440c9a28434b565574cc', 'project_id': '6aa946c1e707440c9a28434b565574cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45441608', 'ctest-vn-46444703'], 'port_security_enabled': True, 'description': ''}} 2025-05-21 13:51:32,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f293e2a9-abdb-409d-9779-ef4ca09364ca', 'name': '', 'tenant_id': '6aa946c1e707440c9a28434b565574cc', 'network_id': '4c44cedf-92cd-431b-a43e-b23b0287b9a4', 'ip_version': 4, 'cidr': '50.31.14.0/26', 'allocation_pools': [{'start': '50.31.14.2', 'end': '50.31.14.62'}], 'gateway_ip': '50.31.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.31.14.2', 'tags': [], 'project_id': '6aa946c1e707440c9a28434b565574cc'}} 2025-05-21 13:51:32,448 - INFO - Created VN ctest-vn-46444703 2025-05-21 13:51:32,503 - DEBUG - VN ctest-vn-46444703 UUID is 4c44cedf-92cd-431b-a43e-b23b0287b9a4 2025-05-21 13:51:32,633 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-82807079, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-46444703, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-05-21 13:51:33,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9cb45953-ee8f-423f-be47-981a528baf7f', 'name': 'ctest-vn-82807079', 'tenant_id': '6aa946c1e707440c9a28434b565574cc', 'project_id': '6aa946c1e707440c9a28434b565574cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2dd9754-f774-469b-9460-b9aa37cc04ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45441608', 'ctest-vn-82807079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45441608', 'ctest-policy-allow-all-88763189']], 'subnet_ipam': [{'subnet_cidr': '173.110.245.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-21 13:51:33,596 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c44cedf-92cd-431b-a43e-b23b0287b9a4', 'name': 'ctest-vn-46444703', 'tenant_id': '6aa946c1e707440c9a28434b565574cc', 'project_id': '6aa946c1e707440c9a28434b565574cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f293e2a9-abdb-409d-9779-ef4ca09364ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45441608', 'ctest-vn-46444703'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45441608', 'ctest-policy-allow-all-88763189']], 'subnet_ipam': [{'subnet_cidr': '50.31.14.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-21 13:51:33,771 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-21 13:51:34,134 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-21 13:51:34,171 - DEBUG - Requesting: http://10.0.0.254:8082/domain/896f3670-2d87-4ab0-958f-1abdf8f8d010 2025-05-21 13:51:34,213 - DEBUG - Requesting: http://10.0.0.254:8082/project/6aa946c1-e707-440c-9a28-434b565574cc 2025-05-21 13:51:34,261 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb45953-ee8f-423f-be47-981a528baf7f 2025-05-21 13:51:34,279 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb45953-ee8f-423f-be47-981a528baf7f 2025-05-21 13:51:34,296 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2530cece-1733-4ca9-ac8c-5f637a55177e 2025-05-21 13:51:34,309 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2530cece-1733-4ca9-ac8c-5f637a55177e 2025-05-21 13:51:34,319 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/41bd8423-03eb-4ceb-8922-4585f056ee67 2025-05-21 13:51:34,328 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-21 13:51:34,329 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb45953-ee8f-423f-be47-981a528baf7f 2025-05-21 13:51:34,343 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2530cece-1733-4ca9-ac8c-5f637a55177e 2025-05-21 13:51:34,363 - INFO - Verified VN network id 9 for VN 9cb45953-ee8f-423f-be47-981a528baf7f 2025-05-21 13:51:34,363 - INFO - Verifications in API Server for VN ctest-vn-82807079 passed 2025-05-21 13:51:34,364 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb45953-ee8f-423f-be47-981a528baf7f 2025-05-21 13:51:34,380 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2530cece-1733-4ca9-ac8c-5f637a55177e 2025-05-21 13:51:34,392 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2530cece-1733-4ca9-ac8c-5f637a55177e 2025-05-21 13:51:34,404 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/41bd8423-03eb-4ceb-8922-4585f056ee67 2025-05-21 13:51:34,421 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-82807079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45441608', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11291748382744199743', 'uuid-lslong': '13711094829374222207'}, 'enable': 'true', 'created': '2025-05-21T13:51:31', 'last-modified': '2025-05-21T13:51:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.271740'} 2025-05-21 13:51:34,429 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-21 13:51:34,429 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82807079 passed 2025-05-21 13:51:34,429 - DEBUG - ====Verifying policy data for ctest-vn-82807079 in API_Server ====== 2025-05-21 13:51:34,429 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-21 13:51:34,438 - DEBUG - Requesting: http://10.0.0.254:8082/domain/896f3670-2d87-4ab0-958f-1abdf8f8d010 2025-05-21 13:51:34,453 - DEBUG - Requesting: http://10.0.0.254:8082/project/6aa946c1-e707-440c-9a28-434b565574cc 2025-05-21 13:51:34,538 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb45953-ee8f-423f-be47-981a528baf7f 2025-05-21 13:51:34,554 - DEBUG - ==>Verifying data for policy with id: d1170b07-ab2d-4803-bc67-e4e06b311b18, fqn: ['default-domain', 'ctest-TestBasicPolicy-45441608', 'ctest-policy-allow-all-88763189'] 2025-05-21 13:51:34,555 - INFO - VN ctest-vn-82807079 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-21 13:51:34,555 - DEBUG - Verifying the vn in opserver 2025-05-21 13:51:34,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-82807079 virtual network link through opserver 10.0.0.254 2025-05-21 13:51:34,555 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-21 13:51:34,862 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-21 13:51:34,934 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-82807079', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-82807079?flat'} 2025-05-21 13:51:34,934 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-82807079 is found in opserver 2025-05-21 13:51:34,951 - DEBUG - Do not have enough data to verify VN in agent 2025-05-21 13:51:34,958 - DEBUG - VRF ids for VN ctest-vn-82807079: {} 2025-05-21 13:51:34,958 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-21 13:51:34,965 - DEBUG - Requesting: http://10.0.0.254:8082/domain/896f3670-2d87-4ab0-958f-1abdf8f8d010 2025-05-21 13:51:34,983 - DEBUG - Requesting: http://10.0.0.254:8082/project/6aa946c1-e707-440c-9a28-434b565574cc 2025-05-21 13:51:35,062 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c44cedf-92cd-431b-a43e-b23b0287b9a4 2025-05-21 13:51:35,079 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c44cedf-92cd-431b-a43e-b23b0287b9a4 2025-05-21 13:51:35,091 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/306ed66d-d681-451f-83c4-d9404935d96c 2025-05-21 13:51:35,099 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/306ed66d-d681-451f-83c4-d9404935d96c 2025-05-21 13:51:35,107 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e0499192-07f6-4396-821d-bbfb127c7a8a 2025-05-21 13:51:35,116 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-21 13:51:35,116 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c44cedf-92cd-431b-a43e-b23b0287b9a4 2025-05-21 13:51:35,130 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/306ed66d-d681-451f-83c4-d9404935d96c 2025-05-21 13:51:35,152 - INFO - Verified VN network id 10 for VN 4c44cedf-92cd-431b-a43e-b23b0287b9a4 2025-05-21 13:51:35,152 - INFO - Verifications in API Server for VN ctest-vn-46444703 passed 2025-05-21 13:51:35,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c44cedf-92cd-431b-a43e-b23b0287b9a4 2025-05-21 13:51:35,167 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/306ed66d-d681-451f-83c4-d9404935d96c 2025-05-21 13:51:35,176 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/306ed66d-d681-451f-83c4-d9404935d96c 2025-05-21 13:51:35,186 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e0499192-07f6-4396-821d-bbfb127c7a8a 2025-05-21 13:51:35,201 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-46444703', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45441608', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5495744904934802203', 'uuid-lslong': '11835092837291506084'}, 'enable': 'true', 'created': '2025-05-21T13:51:32', 'last-modified': '2025-05-21T13:51:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.673912'} 2025-05-21 13:51:35,209 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-21 13:51:35,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46444703 passed 2025-05-21 13:51:35,210 - DEBUG - ====Verifying policy data for ctest-vn-46444703 in API_Server ====== 2025-05-21 13:51:35,210 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-21 13:51:35,216 - DEBUG - Requesting: http://10.0.0.254:8082/domain/896f3670-2d87-4ab0-958f-1abdf8f8d010 2025-05-21 13:51:35,229 - DEBUG - Requesting: http://10.0.0.254:8082/project/6aa946c1-e707-440c-9a28-434b565574cc 2025-05-21 13:51:35,306 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c44cedf-92cd-431b-a43e-b23b0287b9a4 2025-05-21 13:51:35,321 - DEBUG - ==>Verifying data for policy with id: d1170b07-ab2d-4803-bc67-e4e06b311b18, fqn: ['default-domain', 'ctest-TestBasicPolicy-45441608', 'ctest-policy-allow-all-88763189'] 2025-05-21 13:51:35,321 - INFO - VN ctest-vn-46444703 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-21 13:51:35,321 - DEBUG - Verifying the vn in opserver 2025-05-21 13:51:35,321 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-46444703 virtual network link through opserver 10.0.0.254 2025-05-21 13:51:35,321 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-21 13:51:35,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-46444703', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-46444703?flat'} 2025-05-21 13:51:35,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-46444703 is found in opserver 2025-05-21 13:51:35,348 - DEBUG - Do not have enough data to verify VN in agent 2025-05-21 13:51:35,357 - DEBUG - VRF ids for VN ctest-vn-46444703: {} 2025-05-21 13:51:35,416 - DEBUG - Services list from nova: [, , ] 2025-05-21 13:51:36,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3327-1) 2025-05-21 13:51:37,879 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3327-1) 2025-05-21 13:51:37,879 - INFO - Waiting for VM ctest-TestBasicPolicy-45441608-07714940 to be up.. 2025-05-21 13:51:37,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-21 13:51:43,099 - DEBUG - VM is in ACTIVE state now 2025-05-21 13:51:43,099 - INFO - VM name : ctest-TestBasicPolicy-45441608-07714940 2025-05-21 13:51:43,195 - DEBUG - VM ctest-TestBasicPolicy-45441608-07714940 ID is 4e85986b-d1d9-46a3-a449-088c5170a7af 2025-05-21 13:51:43,218 - DEBUG - VM ctest-TestBasicPolicy-45441608-07714940 launched on Node cn-jenkins-deploy-platform-ansible-os-3327-1 2025-05-21 13:51:43,306 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4e85986b-d1d9-46a3-a449-088c5170a7af 2025-05-21 13:51:43,318 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2370734b-22dd-40f9-852f-18d4e958c114 2025-05-21 13:51:46,577 - 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 1010ms') 2025-05-21 13:51:46,577 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45441608-07714940 failed! 2025-05-21 13:51:46,631 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45441608:ctest-vn-82807079 is 173.110.245.193 and allocation pool is NOT set 2025-05-21 13:51:48,712 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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 = 2.506/6.435/10.365/3.929 ms') 2025-05-21 13:51:48,712 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45441608-07714940 passed 2025-05-21 13:51:48,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:51:48,876 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45441608-07714940, IP 173.110.245.195, Port 22 2025-05-21 13:51:48,931 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-05-21 13:51:49,020 - DEBUG - VM ctest-TestBasicPolicy-45441608-07714940 is NOT ready for SSH connections, VM status: ACTIVE 2025-05-21 13:51:54,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:51:54,021 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45441608-07714940, IP 173.110.245.195, Port 22 2025-05-21 13:51:54,198 - DEBUG - VM ctest-TestBasicPolicy-45441608-07714940 is ready for SSH connections 2025-05-21 13:51:54,198 - INFO - Waiting for VM ctest-TestBasicPolicy-45441608-68893216 to be up.. 2025-05-21 13:51:54,290 - DEBUG - VM is in ACTIVE state now 2025-05-21 13:51:54,290 - INFO - VM name : ctest-TestBasicPolicy-45441608-68893216 2025-05-21 13:51:54,387 - DEBUG - VM ctest-TestBasicPolicy-45441608-68893216 ID is aa921f17-008d-4326-b549-056b0b854cf7 2025-05-21 13:51:54,387 - DEBUG - VM ctest-TestBasicPolicy-45441608-68893216 launched on Node cn-jenkins-deploy-platform-ansible-os-3327-1 2025-05-21 13:51:54,475 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aa921f17-008d-4326-b549-056b0b854cf7 2025-05-21 13:51:54,487 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a154f43f-d6fc-477c-9858-57b4159ef9c8 2025-05-21 13:51:55,764 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.822/3.152/1.329 ms') 2025-05-21 13:51:55,764 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45441608-68893216 passed 2025-05-21 13:51:55,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:51:55,924 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45441608-68893216, IP 50.31.14.3, Port 22 2025-05-21 13:51:56,083 - DEBUG - VM ctest-TestBasicPolicy-45441608-68893216 is ready for SSH connections 2025-05-21 13:51:56,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:51:56,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.31.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-21 13:51:56,083 - DEBUG - ping -s 56 -c 3 -W 1 50.31.14.3 2025-05-21 13:51:59,824 - DEBUG - PING 50.31.14.3 (50.31.14.3): 56 data bytes 64 bytes from 50.31.14.3: seq=0 ttl=63 time=4.039 ms 64 bytes from 50.31.14.3: seq=1 ttl=63 time=0.949 ms 64 bytes from 50.31.14.3: seq=2 ttl=63 time=1.049 ms --- 50.31.14.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/2.012/4.039 ms 2025-05-21 13:51:59,824 - INFO - Ping to IP 50.31.14.3 from VM ctest-TestBasicPolicy-45441608-07714940 passed 2025-05-21 13:52:00,011 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d1170b07-ab2d-4803-bc67-e4e06b311b18", "href": "http://10.0.0.254:8082/network-policy/d1170b07-ab2d-4803-bc67-e4e06b311b18"}} 2025-05-21 13:52:00,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:52:00,012 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.31.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-21 13:52:00,012 - DEBUG - ping -s 56 -c 3 -W 1 50.31.14.3 2025-05-21 13:52:03,243 - DEBUG - PING 50.31.14.3 (50.31.14.3): 56 data bytes 64 bytes from 50.31.14.3: seq=0 ttl=63 time=1.700 ms --- 50.31.14.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.700/1.700/1.700 ms 2025-05-21 13:52:03,243 - WARNING - Ping to IP 50.31.14.3 from VM ctest-TestBasicPolicy-45441608-07714940 failed 2025-05-21 13:52:03,243 - INFO - Deleting VM ctest-TestBasicPolicy-45441608-68893216 2025-05-21 13:52:03,346 - INFO - Deleting VM ctest-TestBasicPolicy-45441608-07714940 2025-05-21 13:52:03,804 - INFO - Deleted policy ctest-policy-allow-all-88763189 2025-05-21 13:52:03,804 - INFO - Deleting VN ctest-vn-46444703 2025-05-21 13:52:03,843 - DEBUG - VN 4c44cedf-92cd-431b-a43e-b23b0287b9a4 still in use: Unable to complete operation on network 4c44cedf-92cd-431b-a43e-b23b0287b9a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-036fa851-f974-4924-abbe-2e6574ae1daa'] 2025-05-21 13:52:03,843 - WARNING - Deleting VN ctest-vn-46444703 failed..Will retry 2025-05-21 13:52:05,983 - DEBUG - Response for deleting network () 2025-05-21 13:52:05,983 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/306ed66d-d681-451f-83c4-d9404935d96c 2025-05-21 13:52:05,996 - DEBUG - Response Code: 404 2025-05-21 13:52:05,998 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-21 13:52:06,005 - DEBUG - Requesting: http://10.0.0.254:8082/domain/896f3670-2d87-4ab0-958f-1abdf8f8d010 2025-05-21 13:52:06,061 - DEBUG - Requesting: http://10.0.0.254:8082/project/6aa946c1-e707-440c-9a28-434b565574cc 2025-05-21 13:52:06,146 - INFO - Validated that VN ctest-vn-46444703 is not found in API Server 2025-05-21 13:52:06,160 - DEBUG - VN ctest-vn-46444703 is not present in Agent 10.0.0.254 2025-05-21 13:52:06,160 - INFO - Validated that VN ctest-vn-46444703 is not in any agent 2025-05-21 13:52:06,180 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46444703 info 2025-05-21 13:52:06,181 - INFO - Deleting VN ctest-vn-82807079 2025-05-21 13:52:06,321 - DEBUG - Response for deleting network () 2025-05-21 13:52:06,322 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2530cece-1733-4ca9-ac8c-5f637a55177e 2025-05-21 13:52:06,329 - DEBUG - Response Code: 404 2025-05-21 13:52:06,329 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-21 13:52:06,342 - DEBUG - Requesting: http://10.0.0.254:8082/domain/896f3670-2d87-4ab0-958f-1abdf8f8d010 2025-05-21 13:52:06,397 - DEBUG - Requesting: http://10.0.0.254:8082/project/6aa946c1-e707-440c-9a28-434b565574cc 2025-05-21 13:52:06,480 - INFO - Validated that VN ctest-vn-82807079 is not found in API Server 2025-05-21 13:52:06,495 - DEBUG - VN ctest-vn-82807079 is not present in Agent 10.0.0.254 2025-05-21 13:52:06,495 - INFO - Validated that VN ctest-vn-82807079 is not in any agent 2025-05-21 13:52:06,517 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82807079 info 2025-05-21 13:52:06,783 - DEBUG - No XMPP flaps were noticed during the test 2025-05-21 13:52:06,783 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-05-21 13:52:06,783 - INFO - -------------------------------------------------------------------------------- 2025-05-21 13:52:07,540 - INFO - Deleted project: ctest-TestBasicPolicy-45441608, ID : 6aa946c1-e707-440c-9a28-434b565574cc