2026-06-04 18:56:04,384 - INFO - Domain Default found not creating 2026-06-04 18:56:04,551 - INFO - Project ctest-TestBasicPolicy-15827793 not found, creating it 2026-06-04 18:56:05,040 - INFO - Created Project:ctest-TestBasicPolicy-15827793, ID : 25049cf5-50d2-444f-b08f-bd33bccc1a61 2026-06-04 18:56:06,573 - INFO - ================================================================================ 2026-06-04 18:56:06,573 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 18:56:06,574 - 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-06-04 18:56:07,853 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0', '10.20.0.201': '0'}, '10.0.0.41': {'10.20.0.192': '0', '10.20.0.201': '0'}} with 2026-06-04 18:56:07,853 - INFO - Initial checks done. Running the testcase now 2026-06-04 18:56:07,853 - INFO - 2026-06-04 18:56:08,642 - DEBUG - Response for create_network : {'network': {'id': 'ecb01a71-8fca-460e-a880-b9c587e25d45', 'name': 'ctest-vn-30418765', 'tenant_id': '25049cf550d2444fb08fbd33bccc1a61', 'project_id': '25049cf550d2444fb08fbd33bccc1a61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15827793', 'ctest-vn-30418765'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 18:56:08,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '7261ec60-ac99-4e17-97f0-dc2e665b3936', 'name': '', 'tenant_id': '25049cf550d2444fb08fbd33bccc1a61', 'network_id': 'ecb01a71-8fca-460e-a880-b9c587e25d45', 'ip_version': 4, 'cidr': '206.227.89.128/26', 'allocation_pools': [{'start': '206.227.89.130', 'end': '206.227.89.190'}], 'gateway_ip': '206.227.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.227.89.130', 'tags': [], 'project_id': '25049cf550d2444fb08fbd33bccc1a61'}} 2026-06-04 18:56:09,023 - INFO - Created VN ctest-vn-30418765 2026-06-04 18:56:09,034 - DEBUG - VN ctest-vn-30418765 UUID is ecb01a71-8fca-460e-a880-b9c587e25d45 2026-06-04 18:56:09,418 - DEBUG - Response for create_network : {'network': {'id': '6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8', 'name': 'ctest-vn-84349609', 'tenant_id': '25049cf550d2444fb08fbd33bccc1a61', 'project_id': '25049cf550d2444fb08fbd33bccc1a61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15827793', 'ctest-vn-84349609'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 18:56:09,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '241c77d8-8986-4398-b430-57c27e6fc299', 'name': '', 'tenant_id': '25049cf550d2444fb08fbd33bccc1a61', 'network_id': '6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8', 'ip_version': 4, 'cidr': '116.205.154.192/26', 'allocation_pools': [{'start': '116.205.154.194', 'end': '116.205.154.254'}], 'gateway_ip': '116.205.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.205.154.194', 'tags': [], 'project_id': '25049cf550d2444fb08fbd33bccc1a61'}} 2026-06-04 18:56:09,655 - INFO - Created VN ctest-vn-84349609 2026-06-04 18:56:09,668 - DEBUG - VN ctest-vn-84349609 UUID is 6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8 2026-06-04 18:56:09,751 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765, 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-15827793:ctest-vn-84349609, 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-06-04 18:56:10,124 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecb01a71-8fca-460e-a880-b9c587e25d45', 'name': 'ctest-vn-30418765', 'tenant_id': '25049cf550d2444fb08fbd33bccc1a61', 'project_id': '25049cf550d2444fb08fbd33bccc1a61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7261ec60-ac99-4e17-97f0-dc2e665b3936'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15827793', 'ctest-vn-30418765'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15827793', 'ctest-policy-allow-all-86238276']], 'subnet_ipam': [{'subnet_cidr': '206.227.89.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 18:56:10,474 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8', 'name': 'ctest-vn-84349609', 'tenant_id': '25049cf550d2444fb08fbd33bccc1a61', 'project_id': '25049cf550d2444fb08fbd33bccc1a61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['241c77d8-8986-4398-b430-57c27e6fc299'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15827793', 'ctest-vn-84349609'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15827793', 'ctest-policy-allow-all-86238276']], 'subnet_ipam': [{'subnet_cidr': '116.205.154.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 18:56:10,611 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 18:56:10,997 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 18:56:11,033 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4e02db34-016b-4b63-8018-86160ff1d58c 2026-06-04 18:56:11,053 - DEBUG - Requesting: http://10.0.0.50:8082/project/25049cf5-50d2-444f-b08f-bd33bccc1a61 2026-06-04 18:56:11,153 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecb01a71-8fca-460e-a880-b9c587e25d45 2026-06-04 18:56:11,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecb01a71-8fca-460e-a880-b9c587e25d45 2026-06-04 18:56:11,178 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a0e7daf-368c-4635-b09d-390c87b611c6 2026-06-04 18:56:11,187 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a0e7daf-368c-4635-b09d-390c87b611c6 2026-06-04 18:56:11,197 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5cca45dd-dae2-49f0-a298-85cfa4becf1d 2026-06-04 18:56:11,211 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 18:56:11,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecb01a71-8fca-460e-a880-b9c587e25d45 2026-06-04 18:56:11,222 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a0e7daf-368c-4635-b09d-390c87b611c6 2026-06-04 18:56:11,239 - INFO - Verified VN network id 12 for VN ecb01a71-8fca-460e-a880-b9c587e25d45 2026-06-04 18:56:11,239 - INFO - Verifications in API Server for VN ctest-vn-30418765 passed 2026-06-04 18:56:11,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecb01a71-8fca-460e-a880-b9c587e25d45 2026-06-04 18:56:11,253 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a0e7daf-368c-4635-b09d-390c87b611c6 2026-06-04 18:56:11,263 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a0e7daf-368c-4635-b09d-390c87b611c6 2026-06-04 18:56:11,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5cca45dd-dae2-49f0-a298-85cfa4becf1d 2026-06-04 18:56:11,290 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15827793', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17055160863898093070', 'uuid-lslong': '12141908853430312261'}, 'enable': 'true', 'created': '2026-06-04T18:56:08', 'last-modified': '2026-06-04T18:56:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.210887'} 2026-06-04 18:56:11,296 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 18:56:11,305 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15827793', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17055160863898093070', 'uuid-lslong': '12141908853430312261'}, 'enable': 'true', 'created': '2026-06-04T18:56:08', 'last-modified': '2026-06-04T18:56:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.227383'} 2026-06-04 18:56:11,310 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 18:56:11,316 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15827793', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17055160863898093070', 'uuid-lslong': '12141908853430312261'}, 'enable': 'true', 'created': '2026-06-04T18:56:08', 'last-modified': '2026-06-04T18:56:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.238544'} 2026-06-04 18:56:11,322 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 18:56:11,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30418765 passed 2026-06-04 18:56:11,322 - DEBUG - ====Verifying policy data for ctest-vn-30418765 in API_Server ====== 2026-06-04 18:56:11,322 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 18:56:11,331 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4e02db34-016b-4b63-8018-86160ff1d58c 2026-06-04 18:56:11,348 - DEBUG - Requesting: http://10.0.0.50:8082/project/25049cf5-50d2-444f-b08f-bd33bccc1a61 2026-06-04 18:56:11,438 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ecb01a71-8fca-460e-a880-b9c587e25d45 2026-06-04 18:56:11,449 - DEBUG - ==>Verifying data for policy with id: e175a4e8-b84c-4b02-84d2-bb1ac2e027b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-15827793', 'ctest-policy-allow-all-86238276'] 2026-06-04 18:56:11,449 - INFO - VN ctest-vn-30418765 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 18:56:11,449 - DEBUG - Verifying the vn in opserver 2026-06-04 18:56:11,449 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 virtual network link through opserver 10.0.0.50 2026-06-04 18:56:11,449 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 18:56:11,759 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 18:56:11,820 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765?flat'} 2026-06-04 18:56:11,820 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 virtual network link through opserver 10.0.0.129 2026-06-04 18:56:11,820 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 18:56:12,144 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 18:56:12,208 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765?flat'} 2026-06-04 18:56:12,208 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 virtual network link through opserver 10.0.0.241 2026-06-04 18:56:12,208 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-04 18:56:12,527 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-04 18:56:12,594 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765?flat'} 2026-06-04 18:56:12,594 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is found in opserver 2026-06-04 18:56:12,618 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 18:56:12,630 - DEBUG - VRF ids for VN ctest-vn-30418765: {} 2026-06-04 18:56:12,631 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 18:56:12,637 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4e02db34-016b-4b63-8018-86160ff1d58c 2026-06-04 18:56:12,649 - DEBUG - Requesting: http://10.0.0.50:8082/project/25049cf5-50d2-444f-b08f-bd33bccc1a61 2026-06-04 18:56:12,750 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8 2026-06-04 18:56:12,768 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8 2026-06-04 18:56:12,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f75df60-7c09-4e84-8504-140b8f1893d1 2026-06-04 18:56:12,787 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f75df60-7c09-4e84-8504-140b8f1893d1 2026-06-04 18:56:12,796 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6ce984be-90d5-4ef7-a29f-45a5d2fa4dfc 2026-06-04 18:56:12,803 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 18:56:12,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8 2026-06-04 18:56:12,813 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f75df60-7c09-4e84-8504-140b8f1893d1 2026-06-04 18:56:12,832 - INFO - Verified VN network id 13 for VN 6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8 2026-06-04 18:56:12,832 - INFO - Verifications in API Server for VN ctest-vn-84349609 passed 2026-06-04 18:56:12,832 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8 2026-06-04 18:56:12,844 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f75df60-7c09-4e84-8504-140b8f1893d1 2026-06-04 18:56:12,852 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f75df60-7c09-4e84-8504-140b8f1893d1 2026-06-04 18:56:12,860 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6ce984be-90d5-4ef7-a29f-45a5d2fa4dfc 2026-06-04 18:56:12,872 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15827793', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7682040902860489905', 'uuid-lslong': '13016120064293915608'}, 'enable': 'true', 'created': '2026-06-04T18:56:09', 'last-modified': '2026-06-04T18:56:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.489791'} 2026-06-04 18:56:12,876 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 18:56:12,882 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15827793', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7682040902860489905', 'uuid-lslong': '13016120064293915608'}, 'enable': 'true', 'created': '2026-06-04T18:56:09', 'last-modified': '2026-06-04T18:56:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.501619'} 2026-06-04 18:56:12,887 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 18:56:12,893 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15827793', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7682040902860489905', 'uuid-lslong': '13016120064293915608'}, 'enable': 'true', 'created': '2026-06-04T18:56:09', 'last-modified': '2026-06-04T18:56:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.510545'} 2026-06-04 18:56:12,898 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 18:56:12,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84349609 passed 2026-06-04 18:56:12,898 - DEBUG - ====Verifying policy data for ctest-vn-84349609 in API_Server ====== 2026-06-04 18:56:12,899 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 18:56:12,905 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4e02db34-016b-4b63-8018-86160ff1d58c 2026-06-04 18:56:12,916 - DEBUG - Requesting: http://10.0.0.50:8082/project/25049cf5-50d2-444f-b08f-bd33bccc1a61 2026-06-04 18:56:13,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8 2026-06-04 18:56:13,018 - DEBUG - ==>Verifying data for policy with id: e175a4e8-b84c-4b02-84d2-bb1ac2e027b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-15827793', 'ctest-policy-allow-all-86238276'] 2026-06-04 18:56:13,018 - INFO - VN ctest-vn-84349609 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 18:56:13,018 - DEBUG - Verifying the vn in opserver 2026-06-04 18:56:13,018 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609 virtual network link through opserver 10.0.0.50 2026-06-04 18:56:13,018 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 18:56:13,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609?flat'} 2026-06-04 18:56:13,082 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609 virtual network link through opserver 10.0.0.129 2026-06-04 18:56:13,082 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 18:56:13,146 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609?flat'} 2026-06-04 18:56:13,146 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609 virtual network link through opserver 10.0.0.241 2026-06-04 18:56:13,146 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-04 18:56:13,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609?flat'} 2026-06-04 18:56:13,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-84349609 is found in opserver 2026-06-04 18:56:13,227 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 18:56:13,237 - DEBUG - VRF ids for VN ctest-vn-84349609: {} 2026-06-04 18:56:13,298 - DEBUG - Services list from nova: [, , , ] 2026-06-04 18:56:14,382 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5893-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5893-2) 2026-06-04 18:56:15,841 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5893-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5893-1) 2026-06-04 18:56:15,841 - INFO - Waiting for VM ctest-TestBasicPolicy-15827793-28730697 to be up.. 2026-06-04 18:56:15,935 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 18:56:21,040 - DEBUG - VM is in ACTIVE state now 2026-06-04 18:56:21,040 - INFO - VM name : ctest-TestBasicPolicy-15827793-28730697 2026-06-04 18:56:21,141 - DEBUG - VM ctest-TestBasicPolicy-15827793-28730697 ID is 59653ba9-41ff-4e11-8387-f892b46df431 2026-06-04 18:56:21,175 - DEBUG - VM ctest-TestBasicPolicy-15827793-28730697 launched on Node an-jenkins-deploy-platform-ansible-os-5893-2 2026-06-04 18:56:21,272 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/59653ba9-41ff-4e11-8387-f892b46df431 2026-06-04 18:56:21,577 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/59653ba9-41ff-4e11-8387-f892b46df431 2026-06-04 18:56:21,614 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/5c2b73cf-df10-4c49-96d7-8fc90814de4d 2026-06-04 18:56:24,799 - 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 1008ms') 2026-06-04 18:56:24,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 failed! 2026-06-04 18:56:24,814 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is 206.227.89.129 and allocation pool is NOT set 2026-06-04 18:56:28,895 - 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 1015ms') 2026-06-04 18:56:28,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 failed! 2026-06-04 18:56:28,908 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is 206.227.89.129 and allocation pool is NOT set 2026-06-04 18:56:32,982 - 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-06-04 18:56:32,982 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 failed! 2026-06-04 18:56:32,995 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is 206.227.89.129 and allocation pool is NOT set 2026-06-04 18:56:37,079 - 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 1026ms') 2026-06-04 18:56:37,080 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 failed! 2026-06-04 18:56:37,100 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is 206.227.89.129 and allocation pool is NOT set 2026-06-04 18:56:41,181 - 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-06-04 18:56:41,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 failed! 2026-06-04 18:56:41,195 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is 206.227.89.129 and allocation pool is NOT set 2026-06-04 18:56:45,278 - 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-06-04 18:56:45,278 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 failed! 2026-06-04 18:56:45,295 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is 206.227.89.129 and allocation pool is NOT set 2026-06-04 18:56:49,373 - 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-06-04 18:56:49,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 failed! 2026-06-04 18:56:49,388 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is 206.227.89.129 and allocation pool is NOT set 2026-06-04 18:56:53,465 - 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 1017ms') 2026-06-04 18:56:53,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 failed! 2026-06-04 18:56:53,482 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15827793:ctest-vn-30418765 is 206.227.89.129 and allocation pool is NOT set 2026-06-04 18:56:55,549 - 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=5.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.790 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.790/3.379/5.968/2.589 ms') 2026-06-04 18:56:55,549 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-28730697 passed 2026-06-04 18:56:55,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 18:56:55,619 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15827793-28730697, IP 206.227.89.131, Port 22 2026-06-04 18:56:55,677 - 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-06-04 18:56:55,756 - DEBUG - VM ctest-TestBasicPolicy-15827793-28730697 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 18:57:00,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 18:57:00,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15827793-28730697, IP 206.227.89.131, Port 22 2026-06-04 18:57:00,812 - 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-06-04 18:57:00,909 - DEBUG - VM ctest-TestBasicPolicy-15827793-28730697 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 18:57:05,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 18:57:05,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15827793-28730697, IP 206.227.89.131, Port 22 2026-06-04 18:57:05,979 - 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-06-04 18:57:06,084 - DEBUG - VM ctest-TestBasicPolicy-15827793-28730697 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 18:57:11,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 18:57:11,085 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15827793-28730697, IP 206.227.89.131, Port 22 2026-06-04 18:57:11,141 - 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-06-04 18:57:11,240 - DEBUG - VM ctest-TestBasicPolicy-15827793-28730697 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 18:57:16,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 18:57:16,242 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15827793-28730697, IP 206.227.89.131, Port 22 2026-06-04 18:57:16,419 - DEBUG - VM ctest-TestBasicPolicy-15827793-28730697 is ready for SSH connections 2026-06-04 18:57:16,419 - INFO - Waiting for VM ctest-TestBasicPolicy-15827793-03117603 to be up.. 2026-06-04 18:57:16,512 - DEBUG - VM is in ACTIVE state now 2026-06-04 18:57:16,512 - INFO - VM name : ctest-TestBasicPolicy-15827793-03117603 2026-06-04 18:57:16,598 - DEBUG - VM ctest-TestBasicPolicy-15827793-03117603 ID is e9a5f750-718a-4739-8a32-0cba97f8ac3a 2026-06-04 18:57:16,598 - DEBUG - VM ctest-TestBasicPolicy-15827793-03117603 launched on Node an-jenkins-deploy-platform-ansible-os-5893-1 2026-06-04 18:57:16,683 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e9a5f750-718a-4739-8a32-0cba97f8ac3a 2026-06-04 18:57:16,695 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/eb678df1-0e36-4cca-8604-ed6fc000874c 2026-06-04 18:57:17,858 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.372/6.036/6.700/0.664 ms') 2026-06-04 18:57:17,858 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15827793-03117603 passed 2026-06-04 18:57:17,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 18:57:17,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15827793-03117603, IP 116.205.154.195, Port 22 2026-06-04 18:57:18,106 - DEBUG - VM ctest-TestBasicPolicy-15827793-03117603 is ready for SSH connections 2026-06-04 18:57:18,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 18:57:18,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.205.154.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-04 18:57:18,107 - DEBUG - ping -s 56 -c 3 -W 1 116.205.154.195 2026-06-04 18:57:40,516 - DEBUG - PING 116.205.154.195 (116.205.154.195) 56(84) bytes of data. 64 bytes from 116.205.154.195: icmp_req=1 ttl=63 time=10.4 ms 64 bytes from 116.205.154.195: icmp_req=2 ttl=63 time=1.22 ms 64 bytes from 116.205.154.195: icmp_req=3 ttl=63 time=1.39 ms --- 116.205.154.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.227/4.360/10.458/4.312 ms 2026-06-04 18:57:40,516 - INFO - Ping to IP 116.205.154.195 from VM ctest-TestBasicPolicy-15827793-28730697 passed 2026-06-04 18:57:40,750 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e175a4e8-b84c-4b02-84d2-bb1ac2e027b6", "href": "http://10.0.0.241:8082/network-policy/e175a4e8-b84c-4b02-84d2-bb1ac2e027b6"}} 2026-06-04 18:57:40,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 18:57:40,750 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.205.154.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-04 18:57:40,751 - DEBUG - ping -s 56 -c 3 -W 1 116.205.154.195 2026-06-04 18:57:44,681 - DEBUG - PING 116.205.154.195 (116.205.154.195) 56(84) bytes of data. --- 116.205.154.195 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2017ms 2026-06-04 18:57:44,681 - WARNING - Ping to IP 116.205.154.195 from VM ctest-TestBasicPolicy-15827793-28730697 failed 2026-06-04 18:57:44,682 - INFO - Deleting VM ctest-TestBasicPolicy-15827793-03117603 2026-06-04 18:57:44,771 - INFO - Deleting VM ctest-TestBasicPolicy-15827793-28730697 2026-06-04 18:57:45,250 - INFO - Deleted policy ctest-policy-allow-all-86238276 2026-06-04 18:57:45,250 - INFO - Deleting VN ctest-vn-84349609 2026-06-04 18:57:45,310 - DEBUG - VN 6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8 still in use: Unable to complete operation on network 6a9c177f-fd05-44b1-b4a2-8c3c7212cbd8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ec1b201-9a63-4dcd-90c1-6dab0f9df584'] 2026-06-04 18:57:45,310 - WARNING - Deleting VN ctest-vn-84349609 failed..Will retry 2026-06-04 18:57:47,447 - DEBUG - Response for deleting network () 2026-06-04 18:57:47,447 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f75df60-7c09-4e84-8504-140b8f1893d1 2026-06-04 18:57:47,454 - DEBUG - Response Code: 404 2026-06-04 18:57:47,454 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 18:57:47,477 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4e02db34-016b-4b63-8018-86160ff1d58c 2026-06-04 18:57:47,491 - DEBUG - Requesting: http://10.0.0.50:8082/project/25049cf5-50d2-444f-b08f-bd33bccc1a61 2026-06-04 18:57:47,583 - INFO - Validated that VN ctest-vn-84349609 is not found in API Server 2026-06-04 18:57:47,597 - DEBUG - VN ctest-vn-84349609 is not present in Agent 10.0.0.242 2026-06-04 18:57:47,606 - DEBUG - VN ctest-vn-84349609 is not present in Agent 10.0.0.41 2026-06-04 18:57:47,607 - INFO - Validated that VN ctest-vn-84349609 is not in any agent 2026-06-04 18:57:47,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84349609 info 2026-06-04 18:57:47,636 - INFO - Deleting VN ctest-vn-30418765 2026-06-04 18:57:47,832 - DEBUG - Response for deleting network () 2026-06-04 18:57:47,832 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a0e7daf-368c-4635-b09d-390c87b611c6 2026-06-04 18:57:47,837 - DEBUG - Response Code: 404 2026-06-04 18:57:47,837 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-04 18:57:47,843 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4e02db34-016b-4b63-8018-86160ff1d58c 2026-06-04 18:57:47,853 - DEBUG - Requesting: http://10.0.0.50:8082/project/25049cf5-50d2-444f-b08f-bd33bccc1a61 2026-06-04 18:57:47,944 - INFO - Validated that VN ctest-vn-30418765 is not found in API Server 2026-06-04 18:57:47,957 - DEBUG - VN ctest-vn-30418765 is not present in Agent 10.0.0.242 2026-06-04 18:57:47,968 - DEBUG - VN ctest-vn-30418765 is not present in Agent 10.0.0.41 2026-06-04 18:57:47,968 - INFO - Validated that VN ctest-vn-30418765 is not in any agent 2026-06-04 18:57:47,997 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30418765 info 2026-06-04 18:57:49,297 - DEBUG - No XMPP flaps were noticed during the test 2026-06-04 18:57:49,297 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:43] 2026-06-04 18:57:49,297 - INFO - -------------------------------------------------------------------------------- 2026-06-04 18:57:50,049 - INFO - Deleted project: ctest-TestBasicPolicy-15827793, ID : 25049cf5-50d2-444f-b08f-bd33bccc1a61