2026-05-07 03:03:10,951 - INFO - Domain Default found not creating 2026-05-07 03:03:11,175 - INFO - Project ctest-TestBasicPolicy-72751290 not found, creating it 2026-05-07 03:03:11,800 - INFO - Created Project:ctest-TestBasicPolicy-72751290, ID : c76386d4-a977-4b42-810c-c91329dca583 2026-05-07 03:03:13,818 - INFO - ================================================================================ 2026-05-07 03:03:13,820 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-07 03:03:13,821 - 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 2026-05-07 03:03:15,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.240': {'10.20.0.129': '0', '10.20.0.193': '0'}} with 2026-05-07 03:03:15,141 - INFO - Initial checks done. Running the testcase now 2026-05-07 03:03:15,141 - INFO - 2026-05-07 03:03:15,897 - DEBUG - Response for create_network : {'network': {'id': '2b95a153-f1f7-4a45-ab9b-3d91ff418c37', 'name': 'ctest-vn-78608766', 'tenant_id': 'c76386d4a9774b42810cc91329dca583', 'project_id': 'c76386d4a9774b42810cc91329dca583', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72751290', 'ctest-vn-78608766'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 03:03:16,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '75e0bc7d-53de-4fcc-a871-eec10a175df3', 'name': '', 'tenant_id': 'c76386d4a9774b42810cc91329dca583', 'network_id': '2b95a153-f1f7-4a45-ab9b-3d91ff418c37', 'ip_version': 4, 'cidr': '14.56.109.192/26', 'allocation_pools': [{'start': '14.56.109.194', 'end': '14.56.109.254'}], 'gateway_ip': '14.56.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.56.109.194', 'tags': [], 'project_id': 'c76386d4a9774b42810cc91329dca583'}} 2026-05-07 03:03:16,278 - INFO - Created VN ctest-vn-78608766 2026-05-07 03:03:16,294 - DEBUG - VN ctest-vn-78608766 UUID is 2b95a153-f1f7-4a45-ab9b-3d91ff418c37 2026-05-07 03:03:16,695 - DEBUG - Response for create_network : {'network': {'id': '6afd3d69-895a-43fb-a733-6ca5e1d3f4f8', 'name': 'ctest-vn-47421224', 'tenant_id': 'c76386d4a9774b42810cc91329dca583', 'project_id': 'c76386d4a9774b42810cc91329dca583', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72751290', 'ctest-vn-47421224'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 03:03:16,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '159a5e45-746f-4f33-ae3e-9e6272a02d73', 'name': '', 'tenant_id': 'c76386d4a9774b42810cc91329dca583', 'network_id': '6afd3d69-895a-43fb-a733-6ca5e1d3f4f8', 'ip_version': 4, 'cidr': '124.187.148.64/26', 'allocation_pools': [{'start': '124.187.148.66', 'end': '124.187.148.126'}], 'gateway_ip': '124.187.148.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.187.148.66', 'tags': [], 'project_id': 'c76386d4a9774b42810cc91329dca583'}} 2026-05-07 03:03:16,997 - INFO - Created VN ctest-vn-47421224 2026-05-07 03:03:17,015 - DEBUG - VN ctest-vn-47421224 UUID is 6afd3d69-895a-43fb-a733-6ca5e1d3f4f8 2026-05-07 03:03:17,118 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766, 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-72751290:ctest-vn-47421224, 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] 2026-05-07 03:03:17,498 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b95a153-f1f7-4a45-ab9b-3d91ff418c37', 'name': 'ctest-vn-78608766', 'tenant_id': 'c76386d4a9774b42810cc91329dca583', 'project_id': 'c76386d4a9774b42810cc91329dca583', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75e0bc7d-53de-4fcc-a871-eec10a175df3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72751290', 'ctest-vn-78608766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72751290', 'ctest-policy-allow-all-08695765']], 'subnet_ipam': [{'subnet_cidr': '14.56.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 03:03:17,733 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6afd3d69-895a-43fb-a733-6ca5e1d3f4f8', 'name': 'ctest-vn-47421224', 'tenant_id': 'c76386d4a9774b42810cc91329dca583', 'project_id': 'c76386d4a9774b42810cc91329dca583', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['159a5e45-746f-4f33-ae3e-9e6272a02d73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72751290', 'ctest-vn-47421224'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72751290', 'ctest-policy-allow-all-08695765']], 'subnet_ipam': [{'subnet_cidr': '124.187.148.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 03:03:17,862 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-07 03:03:18,179 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-07 03:03:18,219 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3edd4d00-4859-4da2-be13-ac2f6d120cbe 2026-05-07 03:03:18,242 - DEBUG - Requesting: http://10.0.0.141:8082/project/c76386d4-a977-4b42-810c-c91329dca583 2026-05-07 03:03:18,374 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2b95a153-f1f7-4a45-ab9b-3d91ff418c37 2026-05-07 03:03:18,401 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2b95a153-f1f7-4a45-ab9b-3d91ff418c37 2026-05-07 03:03:18,419 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b768959-0d7f-441b-a357-d09df1be2e82 2026-05-07 03:03:18,433 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b768959-0d7f-441b-a357-d09df1be2e82 2026-05-07 03:03:18,443 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fbaa3806-a391-4e29-b391-614b420f260a 2026-05-07 03:03:18,455 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 03:03:18,455 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2b95a153-f1f7-4a45-ab9b-3d91ff418c37 2026-05-07 03:03:18,468 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b768959-0d7f-441b-a357-d09df1be2e82 2026-05-07 03:03:18,488 - INFO - Verified VN network id 13 for VN 2b95a153-f1f7-4a45-ab9b-3d91ff418c37 2026-05-07 03:03:18,488 - INFO - Verifications in API Server for VN ctest-vn-78608766 passed 2026-05-07 03:03:18,488 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2b95a153-f1f7-4a45-ab9b-3d91ff418c37 2026-05-07 03:03:18,500 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b768959-0d7f-441b-a357-d09df1be2e82 2026-05-07 03:03:18,512 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b768959-0d7f-441b-a357-d09df1be2e82 2026-05-07 03:03:18,521 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fbaa3806-a391-4e29-b391-614b420f260a 2026-05-07 03:03:18,538 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72751290', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3140593697074661957', 'uuid-lslong': '12365544899137866807'}, 'enable': 'true', 'created': '2026-05-07T03:03:15', 'last-modified': '2026-05-07T03:03:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.091555'} 2026-05-07 03:03:18,544 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 03:03:18,551 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72751290', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3140593697074661957', 'uuid-lslong': '12365544899137866807'}, 'enable': 'true', 'created': '2026-05-07T03:03:15', 'last-modified': '2026-05-07T03:03:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.104723'} 2026-05-07 03:03:18,558 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 03:03:18,566 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72751290', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3140593697074661957', 'uuid-lslong': '12365544899137866807'}, 'enable': 'true', 'created': '2026-05-07T03:03:15', 'last-modified': '2026-05-07T03:03:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.128553'} 2026-05-07 03:03:18,574 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 03:03:18,574 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78608766 passed 2026-05-07 03:03:18,574 - DEBUG - ====Verifying policy data for ctest-vn-78608766 in API_Server ====== 2026-05-07 03:03:18,574 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-07 03:03:18,583 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3edd4d00-4859-4da2-be13-ac2f6d120cbe 2026-05-07 03:03:18,597 - DEBUG - Requesting: http://10.0.0.141:8082/project/c76386d4-a977-4b42-810c-c91329dca583 2026-05-07 03:03:18,709 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2b95a153-f1f7-4a45-ab9b-3d91ff418c37 2026-05-07 03:03:18,727 - DEBUG - ==>Verifying data for policy with id: 0af2b3ae-ed97-41e2-ab93-5bda1b0144de, fqn: ['default-domain', 'ctest-TestBasicPolicy-72751290', 'ctest-policy-allow-all-08695765'] 2026-05-07 03:03:18,727 - INFO - VN ctest-vn-78608766 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 03:03:18,727 - DEBUG - Verifying the vn in opserver 2026-05-07 03:03:18,727 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 virtual network link through opserver 10.0.0.141 2026-05-07 03:03:18,728 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-07 03:03:19,040 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-07 03:03:19,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766?flat'} 2026-05-07 03:03:19,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 virtual network link through opserver 10.0.0.249 2026-05-07 03:03:19,135 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-07 03:03:19,438 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-07 03:03:19,523 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766?flat'} 2026-05-07 03:03:19,523 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 virtual network link through opserver 10.0.0.27 2026-05-07 03:03:19,523 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-07 03:03:19,820 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-07 03:03:19,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766?flat'} 2026-05-07 03:03:19,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is found in opserver 2026-05-07 03:03:19,927 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 03:03:19,943 - DEBUG - VRF ids for VN ctest-vn-78608766: {} 2026-05-07 03:03:19,943 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-07 03:03:19,952 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3edd4d00-4859-4da2-be13-ac2f6d120cbe 2026-05-07 03:03:19,966 - DEBUG - Requesting: http://10.0.0.141:8082/project/c76386d4-a977-4b42-810c-c91329dca583 2026-05-07 03:03:20,065 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6afd3d69-895a-43fb-a733-6ca5e1d3f4f8 2026-05-07 03:03:20,083 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6afd3d69-895a-43fb-a733-6ca5e1d3f4f8 2026-05-07 03:03:20,099 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/f5bf8f46-6ac4-406d-979c-f257a9117d2b 2026-05-07 03:03:20,109 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/f5bf8f46-6ac4-406d-979c-f257a9117d2b 2026-05-07 03:03:20,119 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2e63bdc1-36e7-46bb-8c6d-f9b24f610e0c 2026-05-07 03:03:20,129 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-07 03:03:20,129 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6afd3d69-895a-43fb-a733-6ca5e1d3f4f8 2026-05-07 03:03:20,140 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/f5bf8f46-6ac4-406d-979c-f257a9117d2b 2026-05-07 03:03:20,162 - INFO - Verified VN network id 14 for VN 6afd3d69-895a-43fb-a733-6ca5e1d3f4f8 2026-05-07 03:03:20,162 - INFO - Verifications in API Server for VN ctest-vn-47421224 passed 2026-05-07 03:03:20,162 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6afd3d69-895a-43fb-a733-6ca5e1d3f4f8 2026-05-07 03:03:20,173 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/f5bf8f46-6ac4-406d-979c-f257a9117d2b 2026-05-07 03:03:20,182 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/f5bf8f46-6ac4-406d-979c-f257a9117d2b 2026-05-07 03:03:20,192 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2e63bdc1-36e7-46bb-8c6d-f9b24f610e0c 2026-05-07 03:03:20,220 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72751290', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7709385660613411835', 'uuid-lslong': '12048092887860376824'}, 'enable': 'true', 'created': '2026-05-07T03:03:16', 'last-modified': '2026-05-07T03:03:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.531700'} 2026-05-07 03:03:20,232 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-07 03:03:20,239 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72751290', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7709385660613411835', 'uuid-lslong': '12048092887860376824'}, 'enable': 'true', 'created': '2026-05-07T03:03:16', 'last-modified': '2026-05-07T03:03:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.542550'} 2026-05-07 03:03:20,252 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-07 03:03:20,260 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72751290', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7709385660613411835', 'uuid-lslong': '12048092887860376824'}, 'enable': 'true', 'created': '2026-05-07T03:03:16', 'last-modified': '2026-05-07T03:03:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.566455'} 2026-05-07 03:03:20,270 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-07 03:03:20,270 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47421224 passed 2026-05-07 03:03:20,270 - DEBUG - ====Verifying policy data for ctest-vn-47421224 in API_Server ====== 2026-05-07 03:03:20,270 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-07 03:03:20,280 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3edd4d00-4859-4da2-be13-ac2f6d120cbe 2026-05-07 03:03:20,297 - DEBUG - Requesting: http://10.0.0.141:8082/project/c76386d4-a977-4b42-810c-c91329dca583 2026-05-07 03:03:20,403 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6afd3d69-895a-43fb-a733-6ca5e1d3f4f8 2026-05-07 03:03:20,417 - DEBUG - ==>Verifying data for policy with id: 0af2b3ae-ed97-41e2-ab93-5bda1b0144de, fqn: ['default-domain', 'ctest-TestBasicPolicy-72751290', 'ctest-policy-allow-all-08695765'] 2026-05-07 03:03:20,417 - INFO - VN ctest-vn-47421224 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 03:03:20,417 - DEBUG - Verifying the vn in opserver 2026-05-07 03:03:20,417 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224 virtual network link through opserver 10.0.0.141 2026-05-07 03:03:20,417 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-07 03:03:20,496 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224?flat'} 2026-05-07 03:03:20,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224 virtual network link through opserver 10.0.0.249 2026-05-07 03:03:20,496 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-07 03:03:20,574 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224?flat'} 2026-05-07 03:03:20,574 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224 virtual network link through opserver 10.0.0.27 2026-05-07 03:03:20,574 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-07 03:03:20,667 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224?flat'} 2026-05-07 03:03:20,667 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-47421224 is found in opserver 2026-05-07 03:03:20,704 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 03:03:20,725 - DEBUG - VRF ids for VN ctest-vn-47421224: {} 2026-05-07 03:03:20,820 - DEBUG - Services list from nova: [, , , ] 2026-05-07 03:03:22,200 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5754-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5754-2) 2026-05-07 03:03:23,785 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5754-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5754-1) 2026-05-07 03:03:23,785 - INFO - Waiting for VM ctest-TestBasicPolicy-72751290-54575149 to be up.. 2026-05-07 03:03:23,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 03:03:29,036 - DEBUG - VM is in ACTIVE state now 2026-05-07 03:03:29,036 - INFO - VM name : ctest-TestBasicPolicy-72751290-54575149 2026-05-07 03:03:29,163 - DEBUG - VM ctest-TestBasicPolicy-72751290-54575149 ID is 3025a11b-61f1-410b-8b2f-9eac36323cb5 2026-05-07 03:03:29,218 - DEBUG - VM ctest-TestBasicPolicy-72751290-54575149 launched on Node an-jenkins-deploy-platform-ansible-os-5754-2 2026-05-07 03:03:29,383 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3025a11b-61f1-410b-8b2f-9eac36323cb5 2026-05-07 03:03:29,717 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3025a11b-61f1-410b-8b2f-9eac36323cb5 2026-05-07 03:03:29,766 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3ac65d0f-bdc2-4e13-b9cd-93aa0707c6c8 2026-05-07 03:03:32,973 - 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 1016ms') 2026-05-07 03:03:32,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:03:32,993 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:03:37,064 - 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 1006ms') 2026-05-07 03:03:37,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:03:37,086 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:03:41,160 - 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 1012ms') 2026-05-07 03:03:41,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:03:41,179 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:03:45,256 - 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 1006ms') 2026-05-07 03:03:45,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:03:45,274 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:03:49,351 - 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 1011ms') 2026-05-07 03:03:49,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:03:49,368 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:03:53,452 - 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') 2026-05-07 03:03:53,452 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:03:53,471 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:03:57,551 - 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') 2026-05-07 03:03:57,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:03:57,570 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:04:01,639 - 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 1006ms') 2026-05-07 03:04:01,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:04:01,661 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:04:05,736 - 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 1005ms') 2026-05-07 03:04:05,736 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 failed! 2026-05-07 03:04:05,756 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72751290:ctest-vn-78608766 is 14.56.109.193 and allocation pool is NOT set 2026-05-07 03:04:07,823 - 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=6.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.965 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.965/3.735/6.506/2.770 ms') 2026-05-07 03:04:07,824 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-54575149 passed 2026-05-07 03:04:07,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:07,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72751290-54575149, IP 14.56.109.195, Port 22 2026-05-07 03:04:07,975 - DEBUG - Error on ssh to ubuntu@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': ''} 2026-05-07 03:04:08,113 - DEBUG - VM ctest-TestBasicPolicy-72751290-54575149 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-07 03:04:13,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:13,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72751290-54575149, IP 14.56.109.195, Port 22 2026-05-07 03:04:13,172 - DEBUG - Error on ssh to ubuntu@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': ''} 2026-05-07 03:04:13,281 - DEBUG - VM ctest-TestBasicPolicy-72751290-54575149 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-07 03:04:18,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:18,282 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72751290-54575149, IP 14.56.109.195, Port 22 2026-05-07 03:04:18,339 - DEBUG - Error on ssh to ubuntu@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': ''} 2026-05-07 03:04:18,442 - DEBUG - VM ctest-TestBasicPolicy-72751290-54575149 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-07 03:04:23,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:23,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72751290-54575149, IP 14.56.109.195, Port 22 2026-05-07 03:04:23,516 - DEBUG - Error on ssh to ubuntu@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': ''} 2026-05-07 03:04:23,627 - DEBUG - VM ctest-TestBasicPolicy-72751290-54575149 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-07 03:04:28,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:28,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72751290-54575149, IP 14.56.109.195, Port 22 2026-05-07 03:04:28,802 - DEBUG - VM ctest-TestBasicPolicy-72751290-54575149 is ready for SSH connections 2026-05-07 03:04:28,802 - INFO - Waiting for VM ctest-TestBasicPolicy-72751290-45338823 to be up.. 2026-05-07 03:04:28,918 - DEBUG - VM is in ACTIVE state now 2026-05-07 03:04:28,918 - INFO - VM name : ctest-TestBasicPolicy-72751290-45338823 2026-05-07 03:04:29,023 - DEBUG - VM ctest-TestBasicPolicy-72751290-45338823 ID is 12d696d8-05b0-4374-848d-549c37a66ca0 2026-05-07 03:04:29,024 - DEBUG - VM ctest-TestBasicPolicy-72751290-45338823 launched on Node an-jenkins-deploy-platform-ansible-os-5754-1 2026-05-07 03:04:29,124 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/12d696d8-05b0-4374-848d-549c37a66ca0 2026-05-07 03:04:29,138 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d2200814-dc42-48f1-b4ad-7caeb3561e70 2026-05-07 03:04:30,323 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 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.068/3.070/4.072/1.002 ms') 2026-05-07 03:04:30,324 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72751290-45338823 passed 2026-05-07 03:04:30,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:30,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72751290-45338823, IP 124.187.148.67, Port 22 2026-05-07 03:04:30,476 - DEBUG - Error on ssh to ubuntu@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': ''} 2026-05-07 03:04:30,592 - DEBUG - VM ctest-TestBasicPolicy-72751290-45338823 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-07 03:04:35,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:35,594 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72751290-45338823, IP 124.187.148.67, Port 22 2026-05-07 03:04:35,772 - DEBUG - VM ctest-TestBasicPolicy-72751290-45338823 is ready for SSH connections 2026-05-07 03:04:35,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:35,773 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.187.148.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-07 03:04:35,773 - DEBUG - ping -s 56 -c 3 -W 1 124.187.148.67 2026-05-07 03:04:58,447 - DEBUG - PING 124.187.148.67 (124.187.148.67) 56(84) bytes of data. 64 bytes from 124.187.148.67: icmp_req=1 ttl=63 time=11.1 ms 64 bytes from 124.187.148.67: icmp_req=2 ttl=63 time=1.87 ms 64 bytes from 124.187.148.67: icmp_req=3 ttl=63 time=1.71 ms --- 124.187.148.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.716/4.918/11.165/4.417 ms 2026-05-07 03:04:58,450 - INFO - Ping to IP 124.187.148.67 from VM ctest-TestBasicPolicy-72751290-54575149 passed 2026-05-07 03:04:58,698 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0af2b3ae-ed97-41e2-ab93-5bda1b0144de", "href": "http://10.0.0.27:8082/network-policy/0af2b3ae-ed97-41e2-ab93-5bda1b0144de"}} 2026-05-07 03:04:58,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 03:04:58,699 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.187.148.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-07 03:04:58,699 - DEBUG - ping -s 56 -c 3 -W 1 124.187.148.67 2026-05-07 03:05:02,555 - DEBUG - PING 124.187.148.67 (124.187.148.67) 56(84) bytes of data. --- 124.187.148.67 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms 2026-05-07 03:05:02,555 - WARNING - Ping to IP 124.187.148.67 from VM ctest-TestBasicPolicy-72751290-54575149 failed 2026-05-07 03:05:02,556 - INFO - Deleting VM ctest-TestBasicPolicy-72751290-45338823 2026-05-07 03:05:02,654 - INFO - Deleting VM ctest-TestBasicPolicy-72751290-54575149 2026-05-07 03:05:03,307 - INFO - Deleted policy ctest-policy-allow-all-08695765 2026-05-07 03:05:03,308 - INFO - Deleting VN ctest-vn-47421224 2026-05-07 03:05:03,418 - DEBUG - VN 6afd3d69-895a-43fb-a733-6ca5e1d3f4f8 still in use: Unable to complete operation on network 6afd3d69-895a-43fb-a733-6ca5e1d3f4f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-556677cb-6e49-4b2a-85c7-e6072a826132'] 2026-05-07 03:05:03,419 - WARNING - Deleting VN ctest-vn-47421224 failed..Will retry 2026-05-07 03:05:05,650 - DEBUG - Response for deleting network () 2026-05-07 03:05:05,651 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/f5bf8f46-6ac4-406d-979c-f257a9117d2b 2026-05-07 03:05:05,658 - DEBUG - Response Code: 404 2026-05-07 03:05:05,658 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-07 03:05:05,666 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3edd4d00-4859-4da2-be13-ac2f6d120cbe 2026-05-07 03:05:05,715 - DEBUG - Requesting: http://10.0.0.141:8082/project/c76386d4-a977-4b42-810c-c91329dca583 2026-05-07 03:05:05,821 - INFO - Validated that VN ctest-vn-47421224 is not found in API Server 2026-05-07 03:05:05,835 - DEBUG - VN ctest-vn-47421224 is not present in Agent 10.0.0.23 2026-05-07 03:05:05,847 - DEBUG - VN ctest-vn-47421224 is not present in Agent 10.0.0.240 2026-05-07 03:05:05,847 - INFO - Validated that VN ctest-vn-47421224 is not in any agent 2026-05-07 03:05:05,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47421224 info 2026-05-07 03:05:05,889 - INFO - Deleting VN ctest-vn-78608766 2026-05-07 03:05:06,168 - DEBUG - Response for deleting network () 2026-05-07 03:05:06,168 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b768959-0d7f-441b-a357-d09df1be2e82 2026-05-07 03:05:06,175 - DEBUG - Response Code: 404 2026-05-07 03:05:06,175 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-07 03:05:06,182 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3edd4d00-4859-4da2-be13-ac2f6d120cbe 2026-05-07 03:05:06,196 - DEBUG - Requesting: http://10.0.0.141:8082/project/c76386d4-a977-4b42-810c-c91329dca583 2026-05-07 03:05:06,294 - INFO - Validated that VN ctest-vn-78608766 is not found in API Server 2026-05-07 03:05:06,307 - DEBUG - VN ctest-vn-78608766 is not present in Agent 10.0.0.23 2026-05-07 03:05:06,320 - DEBUG - VN ctest-vn-78608766 is not present in Agent 10.0.0.240 2026-05-07 03:05:06,320 - INFO - Validated that VN ctest-vn-78608766 is not in any agent 2026-05-07 03:05:06,373 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78608766 info 2026-05-07 03:05:07,703 - DEBUG - No XMPP flaps were noticed during the test 2026-05-07 03:05:07,704 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:54] 2026-05-07 03:05:07,704 - INFO - -------------------------------------------------------------------------------- 2026-05-07 03:05:08,531 - INFO - Deleted project: ctest-TestBasicPolicy-72751290, ID : c76386d4-a977-4b42-810c-c91329dca583