2026-06-18 16:00:13,680 - INFO - Domain Default found not creating 2026-06-18 16:00:13,821 - INFO - Project ctest-TestBasicPolicy-25109858 not found, creating it 2026-06-18 16:00:14,321 - INFO - Created Project:ctest-TestBasicPolicy-25109858, ID : 0ec90238-4426-4760-8a5c-006c8f3a3fa6 2026-06-18 16:00:16,000 - INFO - ================================================================================ 2026-06-18 16:00:16,000 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 16:00:16,000 - 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-18 16:00:17,329 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.129': {'10.20.0.14': '0', '10.20.0.25': '0'}} with 2026-06-18 16:00:17,330 - INFO - Initial checks done. Running the testcase now 2026-06-18 16:00:17,330 - INFO - 2026-06-18 16:00:17,969 - DEBUG - Response for create_network : {'network': {'id': '85ac9a40-e6cf-4da6-9e28-4aba43bc4946', 'name': 'ctest-vn-38814091', 'tenant_id': '0ec90238442647608a5c006c8f3a3fa6', 'project_id': '0ec90238442647608a5c006c8f3a3fa6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25109858', 'ctest-vn-38814091'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:00:18,183 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb19ef36-21db-4994-b4bb-6246da4d5947', 'name': '', 'tenant_id': '0ec90238442647608a5c006c8f3a3fa6', 'network_id': '85ac9a40-e6cf-4da6-9e28-4aba43bc4946', 'ip_version': 4, 'cidr': '20.232.134.0/26', 'allocation_pools': [{'start': '20.232.134.2', 'end': '20.232.134.62'}], 'gateway_ip': '20.232.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.232.134.2', 'tags': [], 'project_id': '0ec90238442647608a5c006c8f3a3fa6'}} 2026-06-18 16:00:18,204 - INFO - Created VN ctest-vn-38814091 2026-06-18 16:00:18,215 - DEBUG - VN ctest-vn-38814091 UUID is 85ac9a40-e6cf-4da6-9e28-4aba43bc4946 2026-06-18 16:00:18,529 - DEBUG - Response for create_network : {'network': {'id': '9ae23cdc-b0bb-4be3-8de2-09ed61bbd935', 'name': 'ctest-vn-38124756', 'tenant_id': '0ec90238442647608a5c006c8f3a3fa6', 'project_id': '0ec90238442647608a5c006c8f3a3fa6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25109858', 'ctest-vn-38124756'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:00:18,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '805c6539-c5b2-443a-8960-66e204032efb', 'name': '', 'tenant_id': '0ec90238442647608a5c006c8f3a3fa6', 'network_id': '9ae23cdc-b0bb-4be3-8de2-09ed61bbd935', 'ip_version': 4, 'cidr': '93.128.2.64/26', 'allocation_pools': [{'start': '93.128.2.66', 'end': '93.128.2.126'}], 'gateway_ip': '93.128.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.128.2.66', 'tags': [], 'project_id': '0ec90238442647608a5c006c8f3a3fa6'}} 2026-06-18 16:00:18,758 - INFO - Created VN ctest-vn-38124756 2026-06-18 16:00:18,771 - DEBUG - VN ctest-vn-38124756 UUID is 9ae23cdc-b0bb-4be3-8de2-09ed61bbd935 2026-06-18 16:00:18,890 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091, 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-25109858:ctest-vn-38124756, 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-18 16:00:19,222 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85ac9a40-e6cf-4da6-9e28-4aba43bc4946', 'name': 'ctest-vn-38814091', 'tenant_id': '0ec90238442647608a5c006c8f3a3fa6', 'project_id': '0ec90238442647608a5c006c8f3a3fa6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb19ef36-21db-4994-b4bb-6246da4d5947'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25109858', 'ctest-vn-38814091'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25109858', 'ctest-policy-allow-all-03132158']], 'subnet_ipam': [{'subnet_cidr': '20.232.134.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:00:19,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ae23cdc-b0bb-4be3-8de2-09ed61bbd935', 'name': 'ctest-vn-38124756', 'tenant_id': '0ec90238442647608a5c006c8f3a3fa6', 'project_id': '0ec90238442647608a5c006c8f3a3fa6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['805c6539-c5b2-443a-8960-66e204032efb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25109858', 'ctest-vn-38124756'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25109858', 'ctest-policy-allow-all-03132158']], 'subnet_ipam': [{'subnet_cidr': '93.128.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:00:19,584 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:00:19,909 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:00:19,934 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:00:19,952 - DEBUG - Requesting: http://10.0.0.249:8082/project/0ec90238-4426-4760-8a5c-006c8f3a3fa6 2026-06-18 16:00:20,042 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/85ac9a40-e6cf-4da6-9e28-4aba43bc4946 2026-06-18 16:00:20,055 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/85ac9a40-e6cf-4da6-9e28-4aba43bc4946 2026-06-18 16:00:20,065 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7563dfe9-819a-43aa-83ab-64fa2d8a8dc3 2026-06-18 16:00:20,072 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7563dfe9-819a-43aa-83ab-64fa2d8a8dc3 2026-06-18 16:00:20,079 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8398b453-c28a-425d-9eb5-4aa3dc453e7e 2026-06-18 16:00:20,085 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 16:00:20,086 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/85ac9a40-e6cf-4da6-9e28-4aba43bc4946 2026-06-18 16:00:20,095 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7563dfe9-819a-43aa-83ab-64fa2d8a8dc3 2026-06-18 16:00:20,110 - INFO - Verified VN network id 14 for VN 85ac9a40-e6cf-4da6-9e28-4aba43bc4946 2026-06-18 16:00:20,110 - INFO - Verifications in API Server for VN ctest-vn-38814091 passed 2026-06-18 16:00:20,110 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/85ac9a40-e6cf-4da6-9e28-4aba43bc4946 2026-06-18 16:00:20,119 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7563dfe9-819a-43aa-83ab-64fa2d8a8dc3 2026-06-18 16:00:20,126 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7563dfe9-819a-43aa-83ab-64fa2d8a8dc3 2026-06-18 16:00:20,136 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8398b453-c28a-425d-9eb5-4aa3dc453e7e 2026-06-18 16:00:20,149 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25109858', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9632243306579578278', 'uuid-lslong': '11396441020921825606'}, 'enable': 'true', 'created': '2026-06-18T16:00:17', 'last-modified': '2026-06-18T16:00:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970150'} 2026-06-18 16:00:20,155 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 16:00:20,160 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25109858', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9632243306579578278', 'uuid-lslong': '11396441020921825606'}, 'enable': 'true', 'created': '2026-06-18T16:00:17', 'last-modified': '2026-06-18T16:00:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977470'} 2026-06-18 16:00:20,165 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 16:00:20,170 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25109858', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9632243306579578278', 'uuid-lslong': '11396441020921825606'}, 'enable': 'true', 'created': '2026-06-18T16:00:17', 'last-modified': '2026-06-18T16:00:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990851'} 2026-06-18 16:00:20,175 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 16:00:20,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38814091 passed 2026-06-18 16:00:20,176 - DEBUG - ====Verifying policy data for ctest-vn-38814091 in API_Server ====== 2026-06-18 16:00:20,176 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:00:20,182 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:00:20,195 - DEBUG - Requesting: http://10.0.0.249:8082/project/0ec90238-4426-4760-8a5c-006c8f3a3fa6 2026-06-18 16:00:20,289 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/85ac9a40-e6cf-4da6-9e28-4aba43bc4946 2026-06-18 16:00:20,299 - DEBUG - ==>Verifying data for policy with id: 614bd193-b91b-4a52-9b90-4684a68ca7ed, fqn: ['default-domain', 'ctest-TestBasicPolicy-25109858', 'ctest-policy-allow-all-03132158'] 2026-06-18 16:00:20,299 - INFO - VN ctest-vn-38814091 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 16:00:20,299 - DEBUG - Verifying the vn in opserver 2026-06-18 16:00:20,299 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 virtual network link through opserver 10.0.0.249 2026-06-18 16:00:20,299 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-18 16:00:20,624 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-18 16:00:20,680 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091?flat'} 2026-06-18 16:00:20,680 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 virtual network link through opserver 10.0.0.38 2026-06-18 16:00:20,680 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 16:00:21,012 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 16:00:21,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091?flat'} 2026-06-18 16:00:21,065 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 virtual network link through opserver 10.0.0.22 2026-06-18 16:00:21,065 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-18 16:00:21,390 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-18 16:00:21,434 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091?flat'} 2026-06-18 16:00:21,434 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 is found in opserver 2026-06-18 16:00:21,454 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 16:00:21,463 - DEBUG - VRF ids for VN ctest-vn-38814091: {} 2026-06-18 16:00:21,463 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:00:21,468 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:00:21,478 - DEBUG - Requesting: http://10.0.0.249:8082/project/0ec90238-4426-4760-8a5c-006c8f3a3fa6 2026-06-18 16:00:21,572 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ae23cdc-b0bb-4be3-8de2-09ed61bbd935 2026-06-18 16:00:21,584 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ae23cdc-b0bb-4be3-8de2-09ed61bbd935 2026-06-18 16:00:21,593 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8a954aa8-07b6-44dc-bd89-ab22d54bb836 2026-06-18 16:00:21,601 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8a954aa8-07b6-44dc-bd89-ab22d54bb836 2026-06-18 16:00:21,608 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/543cb704-5219-4153-82ad-305d3f420375 2026-06-18 16:00:21,615 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 16:00:21,615 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ae23cdc-b0bb-4be3-8de2-09ed61bbd935 2026-06-18 16:00:21,624 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8a954aa8-07b6-44dc-bd89-ab22d54bb836 2026-06-18 16:00:21,638 - INFO - Verified VN network id 15 for VN 9ae23cdc-b0bb-4be3-8de2-09ed61bbd935 2026-06-18 16:00:21,638 - INFO - Verifications in API Server for VN ctest-vn-38124756 passed 2026-06-18 16:00:21,638 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ae23cdc-b0bb-4be3-8de2-09ed61bbd935 2026-06-18 16:00:21,647 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8a954aa8-07b6-44dc-bd89-ab22d54bb836 2026-06-18 16:00:21,654 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8a954aa8-07b6-44dc-bd89-ab22d54bb836 2026-06-18 16:00:21,662 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/543cb704-5219-4153-82ad-305d3f420375 2026-06-18 16:00:21,674 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25109858', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11160549745133046755', 'uuid-lslong': '10223745019236047157'}, 'enable': 'true', 'created': '2026-06-18T16:00:18', 'last-modified': '2026-06-18T16:00:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.253390'} 2026-06-18 16:00:21,679 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 16:00:21,685 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25109858', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11160549745133046755', 'uuid-lslong': '10223745019236047157'}, 'enable': 'true', 'created': '2026-06-18T16:00:18', 'last-modified': '2026-06-18T16:00:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.265066'} 2026-06-18 16:00:21,691 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 16:00:21,696 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25109858', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11160549745133046755', 'uuid-lslong': '10223745019236047157'}, 'enable': 'true', 'created': '2026-06-18T16:00:18', 'last-modified': '2026-06-18T16:00:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.272890'} 2026-06-18 16:00:21,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 16:00:21,702 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38124756 passed 2026-06-18 16:00:21,702 - DEBUG - ====Verifying policy data for ctest-vn-38124756 in API_Server ====== 2026-06-18 16:00:21,702 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:00:21,708 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:00:21,719 - DEBUG - Requesting: http://10.0.0.249:8082/project/0ec90238-4426-4760-8a5c-006c8f3a3fa6 2026-06-18 16:00:21,816 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ae23cdc-b0bb-4be3-8de2-09ed61bbd935 2026-06-18 16:00:21,825 - DEBUG - ==>Verifying data for policy with id: 614bd193-b91b-4a52-9b90-4684a68ca7ed, fqn: ['default-domain', 'ctest-TestBasicPolicy-25109858', 'ctest-policy-allow-all-03132158'] 2026-06-18 16:00:21,825 - INFO - VN ctest-vn-38124756 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 16:00:21,825 - DEBUG - Verifying the vn in opserver 2026-06-18 16:00:21,825 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756 virtual network link through opserver 10.0.0.249 2026-06-18 16:00:21,825 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-18 16:00:21,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756?flat'} 2026-06-18 16:00:21,873 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756 virtual network link through opserver 10.0.0.38 2026-06-18 16:00:21,873 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 16:00:21,914 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756?flat'} 2026-06-18 16:00:21,914 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756 virtual network link through opserver 10.0.0.22 2026-06-18 16:00:21,914 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-18 16:00:21,954 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756?flat'} 2026-06-18 16:00:21,954 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38124756 is found in opserver 2026-06-18 16:00:21,976 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 16:00:21,987 - DEBUG - VRF ids for VN ctest-vn-38124756: {} 2026-06-18 16:00:22,052 - DEBUG - Services list from nova: [, , , ] 2026-06-18 16:00:23,083 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5988-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5988-1) 2026-06-18 16:00:24,182 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5988-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5988-2) 2026-06-18 16:00:24,182 - INFO - Waiting for VM ctest-TestBasicPolicy-25109858-69507018 to be up.. 2026-06-18 16:00:24,235 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:00:29,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:00:34,390 - DEBUG - VM is in ACTIVE state now 2026-06-18 16:00:34,390 - INFO - VM name : ctest-TestBasicPolicy-25109858-69507018 2026-06-18 16:00:34,471 - DEBUG - VM ctest-TestBasicPolicy-25109858-69507018 ID is 39a6a25e-cdf9-4aad-b968-1da957508f41 2026-06-18 16:00:34,500 - DEBUG - VM ctest-TestBasicPolicy-25109858-69507018 launched on Node an-jenkins-deploy-platform-ansible-os-5988-1 2026-06-18 16:00:34,579 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/39a6a25e-cdf9-4aad-b968-1da957508f41 2026-06-18 16:00:34,914 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/39a6a25e-cdf9-4aad-b968-1da957508f41 2026-06-18 16:00:34,945 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a1abe19e-d3c0-45b6-9822-89ceefaeea1c 2026-06-18 16:00:38,126 - 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 1022ms') 2026-06-18 16:00:38,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25109858-69507018 failed! 2026-06-18 16:00:38,139 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 is 20.232.134.1 and allocation pool is NOT set 2026-06-18 16:00:42,215 - 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 1022ms') 2026-06-18 16:00:42,215 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25109858-69507018 failed! 2026-06-18 16:00:42,229 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 is 20.232.134.1 and allocation pool is NOT set 2026-06-18 16:00:46,318 - 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 1030ms') 2026-06-18 16:00:46,318 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25109858-69507018 failed! 2026-06-18 16:00:46,334 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 is 20.232.134.1 and allocation pool is NOT set 2026-06-18 16:00:50,413 - 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 1019ms') 2026-06-18 16:00:50,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25109858-69507018 failed! 2026-06-18 16:00:50,426 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 is 20.232.134.1 and allocation pool is NOT set 2026-06-18 16:00:54,508 - 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 1021ms') 2026-06-18 16:00:54,508 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25109858-69507018 failed! 2026-06-18 16:00:54,521 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 is 20.232.134.1 and allocation pool is NOT set 2026-06-18 16:00:58,605 - 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 1019ms') 2026-06-18 16:00:58,605 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25109858-69507018 failed! 2026-06-18 16:00:58,618 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25109858:ctest-vn-38814091 is 20.232.134.1 and allocation pool is NOT set 2026-06-18 16:01:00,682 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.71 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 = 3.708/5.183/6.658/1.475 ms') 2026-06-18 16:01:00,683 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25109858-69507018 passed 2026-06-18 16:01:00,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:01:00,756 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25109858-69507018, IP 20.232.134.3, Port 22 2026-06-18 16:01:00,824 - 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-18 16:01:00,901 - DEBUG - VM ctest-TestBasicPolicy-25109858-69507018 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 16:01:05,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:01:05,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25109858-69507018, IP 20.232.134.3, Port 22 2026-06-18 16:01:05,968 - 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-18 16:01:06,064 - DEBUG - VM ctest-TestBasicPolicy-25109858-69507018 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 16:01:11,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:01:11,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25109858-69507018, IP 20.232.134.3, Port 22 2026-06-18 16:01:11,222 - DEBUG - VM ctest-TestBasicPolicy-25109858-69507018 is ready for SSH connections 2026-06-18 16:01:11,222 - INFO - Waiting for VM ctest-TestBasicPolicy-25109858-75405241 to be up.. 2026-06-18 16:01:11,328 - DEBUG - VM is in ACTIVE state now 2026-06-18 16:01:11,329 - INFO - VM name : ctest-TestBasicPolicy-25109858-75405241 2026-06-18 16:01:11,407 - DEBUG - VM ctest-TestBasicPolicy-25109858-75405241 ID is d9060955-7052-431d-a1d7-acacdeb7c027 2026-06-18 16:01:11,407 - DEBUG - VM ctest-TestBasicPolicy-25109858-75405241 launched on Node an-jenkins-deploy-platform-ansible-os-5988-2 2026-06-18 16:01:11,496 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d9060955-7052-431d-a1d7-acacdeb7c027 2026-06-18 16:01:11,507 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3a8dcd57-0059-437a-9b1e-1c2807f102bf 2026-06-18 16:01:12,669 - 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=2.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 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 = 0.384/1.395/2.406/1.011 ms') 2026-06-18 16:01:12,669 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25109858-75405241 passed 2026-06-18 16:01:12,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:01:12,739 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25109858-75405241, IP 93.128.2.67, Port 22 2026-06-18 16:01:12,904 - DEBUG - VM ctest-TestBasicPolicy-25109858-75405241 is ready for SSH connections 2026-06-18 16:01:12,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:01:12,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.128.2.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-18 16:01:12,904 - DEBUG - ping -s 56 -c 3 -W 1 93.128.2.67 2026-06-18 16:01:20,598 - DEBUG - PING 93.128.2.67 (93.128.2.67) 56(84) bytes of data. 64 bytes from 93.128.2.67: icmp_req=1 ttl=63 time=4.62 ms 64 bytes from 93.128.2.67: icmp_req=2 ttl=63 time=2.31 ms 64 bytes from 93.128.2.67: icmp_req=3 ttl=63 time=1.83 ms --- 93.128.2.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.834/2.924/4.620/1.215 ms 2026-06-18 16:01:20,598 - INFO - Ping to IP 93.128.2.67 from VM ctest-TestBasicPolicy-25109858-69507018 passed 2026-06-18 16:01:20,822 - DEBUG - Policy Update Response {"network-policy": {"uuid": "614bd193-b91b-4a52-9b90-4684a68ca7ed", "href": "http://10.0.0.22:8082/network-policy/614bd193-b91b-4a52-9b90-4684a68ca7ed"}} 2026-06-18 16:01:20,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:01:20,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.128.2.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-18 16:01:20,822 - DEBUG - ping -s 56 -c 3 -W 1 93.128.2.67 2026-06-18 16:01:24,166 - DEBUG - PING 93.128.2.67 (93.128.2.67) 56(84) bytes of data. 64 bytes from 93.128.2.67: icmp_req=1 ttl=63 time=4.99 ms --- 93.128.2.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 4.996/4.996/4.996/0.000 ms 2026-06-18 16:01:24,166 - WARNING - Ping to IP 93.128.2.67 from VM ctest-TestBasicPolicy-25109858-69507018 failed 2026-06-18 16:01:24,166 - INFO - Deleting VM ctest-TestBasicPolicy-25109858-75405241 2026-06-18 16:01:24,245 - INFO - Deleting VM ctest-TestBasicPolicy-25109858-69507018 2026-06-18 16:01:24,653 - INFO - Deleted policy ctest-policy-allow-all-03132158 2026-06-18 16:01:24,654 - INFO - Deleting VN ctest-vn-38124756 2026-06-18 16:01:24,691 - DEBUG - VN 9ae23cdc-b0bb-4be3-8de2-09ed61bbd935 still in use: Unable to complete operation on network 9ae23cdc-b0bb-4be3-8de2-09ed61bbd935. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3b1c0e1-6b58-4e6d-ac6f-8b24880c330f'] 2026-06-18 16:01:24,691 - WARNING - Deleting VN ctest-vn-38124756 failed..Will retry 2026-06-18 16:01:26,838 - DEBUG - Response for deleting network () 2026-06-18 16:01:26,838 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8a954aa8-07b6-44dc-bd89-ab22d54bb836 2026-06-18 16:01:26,843 - DEBUG - Response Code: 404 2026-06-18 16:01:26,843 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:01:26,852 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:01:26,869 - DEBUG - Requesting: http://10.0.0.249:8082/project/0ec90238-4426-4760-8a5c-006c8f3a3fa6 2026-06-18 16:01:26,970 - INFO - Validated that VN ctest-vn-38124756 is not found in API Server 2026-06-18 16:01:26,983 - DEBUG - VN ctest-vn-38124756 is not present in Agent 10.0.0.19 2026-06-18 16:01:26,993 - DEBUG - VN ctest-vn-38124756 is not present in Agent 10.0.0.129 2026-06-18 16:01:26,993 - INFO - Validated that VN ctest-vn-38124756 is not in any agent 2026-06-18 16:01:27,020 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38124756 info 2026-06-18 16:01:27,020 - INFO - Deleting VN ctest-vn-38814091 2026-06-18 16:01:27,176 - DEBUG - Response for deleting network () 2026-06-18 16:01:27,176 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7563dfe9-819a-43aa-83ab-64fa2d8a8dc3 2026-06-18 16:01:27,182 - DEBUG - Response Code: 404 2026-06-18 16:01:27,182 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:01:27,188 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:01:27,206 - DEBUG - Requesting: http://10.0.0.249:8082/project/0ec90238-4426-4760-8a5c-006c8f3a3fa6 2026-06-18 16:01:27,296 - INFO - Validated that VN ctest-vn-38814091 is not found in API Server 2026-06-18 16:01:27,307 - DEBUG - VN ctest-vn-38814091 is not present in Agent 10.0.0.19 2026-06-18 16:01:27,316 - DEBUG - VN ctest-vn-38814091 is not present in Agent 10.0.0.129 2026-06-18 16:01:27,316 - INFO - Validated that VN ctest-vn-38814091 is not in any agent 2026-06-18 16:01:27,345 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38814091 info 2026-06-18 16:01:28,608 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 16:01:28,608 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-06-18 16:01:28,608 - INFO - -------------------------------------------------------------------------------- 2026-06-18 16:01:29,375 - INFO - Deleted project: ctest-TestBasicPolicy-25109858, ID : 0ec90238-4426-4760-8a5c-006c8f3a3fa6