2026-06-04 06:35:41,060 - INFO - Domain Default found not creating 2026-06-04 06:35:41,277 - INFO - Project ctest-TestBasicPolicy-51681992 not found, creating it 2026-06-04 06:35:41,919 - INFO - Created Project:ctest-TestBasicPolicy-51681992, ID : ef2fc43b-cffb-44aa-b72f-0895c6b3343e 2026-06-04 06:35:43,571 - INFO - ================================================================================ 2026-06-04 06:35:43,571 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 06:35:43,571 - 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 06:35:44,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.22': {'10.20.0.14': '0', '10.20.0.17': '0'}} with 2026-06-04 06:35:44,896 - INFO - Initial checks done. Running the testcase now 2026-06-04 06:35:44,896 - INFO - 2026-06-04 06:35:45,643 - DEBUG - Response for create_network : {'network': {'id': '53f22317-cdcc-4676-98e7-851174c0bd76', 'name': 'ctest-vn-93748515', 'tenant_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'project_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51681992', 'ctest-vn-93748515'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 06:35:45,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f40c751a-a0e4-4375-a360-27d9bfc248ac', 'name': '', 'tenant_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'network_id': '53f22317-cdcc-4676-98e7-851174c0bd76', 'ip_version': 4, 'cidr': '201.216.109.0/26', 'allocation_pools': [{'start': '201.216.109.2', 'end': '201.216.109.62'}], 'gateway_ip': '201.216.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.216.109.2', 'tags': [], 'project_id': 'ef2fc43bcffb44aab72f0895c6b3343e'}} 2026-06-04 06:35:45,970 - INFO - Created VN ctest-vn-93748515 2026-06-04 06:35:45,984 - DEBUG - VN ctest-vn-93748515 UUID is 53f22317-cdcc-4676-98e7-851174c0bd76 2026-06-04 06:35:46,460 - DEBUG - Response for create_network : {'network': {'id': '450b7781-5561-42e5-803a-539a62d974d2', 'name': 'ctest-vn-31304810', 'tenant_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'project_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51681992', 'ctest-vn-31304810'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 06:35:46,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4143899-3f62-4588-98af-98c2cfb14861', 'name': '', 'tenant_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'network_id': '450b7781-5561-42e5-803a-539a62d974d2', 'ip_version': 4, 'cidr': '112.135.143.128/26', 'allocation_pools': [{'start': '112.135.143.130', 'end': '112.135.143.190'}], 'gateway_ip': '112.135.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.135.143.130', 'tags': [], 'project_id': 'ef2fc43bcffb44aab72f0895c6b3343e'}} 2026-06-04 06:35:46,729 - INFO - Created VN ctest-vn-31304810 2026-06-04 06:35:46,743 - DEBUG - VN ctest-vn-31304810 UUID is 450b7781-5561-42e5-803a-539a62d974d2 2026-06-04 06:35:46,839 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515, 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-51681992:ctest-vn-31304810, 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 06:35:47,213 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53f22317-cdcc-4676-98e7-851174c0bd76', 'name': 'ctest-vn-93748515', 'tenant_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'project_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f40c751a-a0e4-4375-a360-27d9bfc248ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51681992', 'ctest-vn-93748515'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51681992', 'ctest-policy-allow-all-75758413']], 'subnet_ipam': [{'subnet_cidr': '201.216.109.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 06:35:47,459 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '450b7781-5561-42e5-803a-539a62d974d2', 'name': 'ctest-vn-31304810', 'tenant_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'project_id': 'ef2fc43bcffb44aab72f0895c6b3343e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a4143899-3f62-4588-98af-98c2cfb14861'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51681992', 'ctest-vn-31304810'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51681992', 'ctest-policy-allow-all-75758413']], 'subnet_ipam': [{'subnet_cidr': '112.135.143.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 06:35:47,564 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 06:35:47,930 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 06:35:47,967 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a52616e4-e5b3-46e4-96d5-76760f6fc853 2026-06-04 06:35:47,984 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef2fc43b-cffb-44aa-b72f-0895c6b3343e 2026-06-04 06:35:48,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53f22317-cdcc-4676-98e7-851174c0bd76 2026-06-04 06:35:48,110 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53f22317-cdcc-4676-98e7-851174c0bd76 2026-06-04 06:35:48,122 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3e0043d-3fc5-4294-99b9-11baf798581b 2026-06-04 06:35:48,133 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3e0043d-3fc5-4294-99b9-11baf798581b 2026-06-04 06:35:48,144 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/895d0283-f5a8-49d5-bcd8-2ff9705d6fcc 2026-06-04 06:35:48,162 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 06:35:48,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53f22317-cdcc-4676-98e7-851174c0bd76 2026-06-04 06:35:48,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3e0043d-3fc5-4294-99b9-11baf798581b 2026-06-04 06:35:48,194 - INFO - Verified VN network id 11 for VN 53f22317-cdcc-4676-98e7-851174c0bd76 2026-06-04 06:35:48,195 - INFO - Verifications in API Server for VN ctest-vn-93748515 passed 2026-06-04 06:35:48,195 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53f22317-cdcc-4676-98e7-851174c0bd76 2026-06-04 06:35:48,208 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3e0043d-3fc5-4294-99b9-11baf798581b 2026-06-04 06:35:48,217 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3e0043d-3fc5-4294-99b9-11baf798581b 2026-06-04 06:35:48,226 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/895d0283-f5a8-49d5-bcd8-2ff9705d6fcc 2026-06-04 06:35:48,243 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51681992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6048935834655934070', 'uuid-lslong': '11017921323404934518'}, 'enable': 'true', 'created': '2026-06-04T06:35:45', 'last-modified': '2026-06-04T06:35:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.080280'} 2026-06-04 06:35:48,251 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 06:35:48,257 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51681992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6048935834655934070', 'uuid-lslong': '11017921323404934518'}, 'enable': 'true', 'created': '2026-06-04T06:35:45', 'last-modified': '2026-06-04T06:35:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.099372'} 2026-06-04 06:35:48,263 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 06:35:48,271 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51681992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6048935834655934070', 'uuid-lslong': '11017921323404934518'}, 'enable': 'true', 'created': '2026-06-04T06:35:45', 'last-modified': '2026-06-04T06:35:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.110634'} 2026-06-04 06:35:48,278 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 06:35:48,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93748515 passed 2026-06-04 06:35:48,278 - DEBUG - ====Verifying policy data for ctest-vn-93748515 in API_Server ====== 2026-06-04 06:35:48,278 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 06:35:48,288 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a52616e4-e5b3-46e4-96d5-76760f6fc853 2026-06-04 06:35:48,301 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef2fc43b-cffb-44aa-b72f-0895c6b3343e 2026-06-04 06:35:48,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53f22317-cdcc-4676-98e7-851174c0bd76 2026-06-04 06:35:48,431 - DEBUG - ==>Verifying data for policy with id: 2b0c111f-ebd5-454a-a821-9d4965d9c127, fqn: ['default-domain', 'ctest-TestBasicPolicy-51681992', 'ctest-policy-allow-all-75758413'] 2026-06-04 06:35:48,431 - INFO - VN ctest-vn-93748515 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 06:35:48,431 - DEBUG - Verifying the vn in opserver 2026-06-04 06:35:48,431 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515 virtual network link through opserver 10.0.0.38 2026-06-04 06:35:48,432 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-04 06:35:48,728 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-04 06:35:48,804 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515?flat'} 2026-06-04 06:35:48,804 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515 virtual network link through opserver 10.0.0.50 2026-06-04 06:35:48,804 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 06:35:49,113 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 06:35:49,189 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515?flat'} 2026-06-04 06:35:49,189 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515 virtual network link through opserver 10.0.0.33 2026-06-04 06:35:49,189 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-04 06:35:49,487 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-04 06:35:49,556 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515?flat'} 2026-06-04 06:35:49,556 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515 is found in opserver 2026-06-04 06:35:49,582 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 06:35:49,595 - DEBUG - VRF ids for VN ctest-vn-93748515: {} 2026-06-04 06:35:49,596 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 06:35:49,602 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a52616e4-e5b3-46e4-96d5-76760f6fc853 2026-06-04 06:35:49,615 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef2fc43b-cffb-44aa-b72f-0895c6b3343e 2026-06-04 06:35:49,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/450b7781-5561-42e5-803a-539a62d974d2 2026-06-04 06:35:49,731 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/450b7781-5561-42e5-803a-539a62d974d2 2026-06-04 06:35:49,741 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ba3b77a-e91b-4734-957d-ed094a236f95 2026-06-04 06:35:49,753 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ba3b77a-e91b-4734-957d-ed094a236f95 2026-06-04 06:35:49,761 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/87d9c07e-357b-4a2c-af8f-3259439ec129 2026-06-04 06:35:49,769 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 06:35:49,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/450b7781-5561-42e5-803a-539a62d974d2 2026-06-04 06:35:49,780 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ba3b77a-e91b-4734-957d-ed094a236f95 2026-06-04 06:35:49,798 - INFO - Verified VN network id 12 for VN 450b7781-5561-42e5-803a-539a62d974d2 2026-06-04 06:35:49,798 - INFO - Verifications in API Server for VN ctest-vn-31304810 passed 2026-06-04 06:35:49,798 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/450b7781-5561-42e5-803a-539a62d974d2 2026-06-04 06:35:49,809 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ba3b77a-e91b-4734-957d-ed094a236f95 2026-06-04 06:35:49,818 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ba3b77a-e91b-4734-957d-ed094a236f95 2026-06-04 06:35:49,826 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/87d9c07e-357b-4a2c-af8f-3259439ec129 2026-06-04 06:35:49,840 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51681992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4975201610727768805', 'uuid-lslong': '9239789508052481234'}, 'enable': 'true', 'created': '2026-06-04T06:35:46', 'last-modified': '2026-06-04T06:35:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.422857'} 2026-06-04 06:35:49,846 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 06:35:49,853 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51681992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4975201610727768805', 'uuid-lslong': '9239789508052481234'}, 'enable': 'true', 'created': '2026-06-04T06:35:46', 'last-modified': '2026-06-04T06:35:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.448070'} 2026-06-04 06:35:49,862 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 06:35:49,869 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51681992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4975201610727768805', 'uuid-lslong': '9239789508052481234'}, 'enable': 'true', 'created': '2026-06-04T06:35:46', 'last-modified': '2026-06-04T06:35:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.464419'} 2026-06-04 06:35:49,876 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 06:35:49,876 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31304810 passed 2026-06-04 06:35:49,876 - DEBUG - ====Verifying policy data for ctest-vn-31304810 in API_Server ====== 2026-06-04 06:35:49,876 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 06:35:49,884 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a52616e4-e5b3-46e4-96d5-76760f6fc853 2026-06-04 06:35:49,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef2fc43b-cffb-44aa-b72f-0895c6b3343e 2026-06-04 06:35:50,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/450b7781-5561-42e5-803a-539a62d974d2 2026-06-04 06:35:50,034 - DEBUG - ==>Verifying data for policy with id: 2b0c111f-ebd5-454a-a821-9d4965d9c127, fqn: ['default-domain', 'ctest-TestBasicPolicy-51681992', 'ctest-policy-allow-all-75758413'] 2026-06-04 06:35:50,034 - INFO - VN ctest-vn-31304810 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 06:35:50,035 - DEBUG - Verifying the vn in opserver 2026-06-04 06:35:50,035 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810 virtual network link through opserver 10.0.0.38 2026-06-04 06:35:50,035 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-04 06:35:50,105 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810?flat'} 2026-06-04 06:35:50,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810 virtual network link through opserver 10.0.0.50 2026-06-04 06:35:50,105 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 06:35:50,214 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810?flat'} 2026-06-04 06:35:50,214 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810 virtual network link through opserver 10.0.0.33 2026-06-04 06:35:50,214 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-04 06:35:50,288 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810?flat'} 2026-06-04 06:35:50,288 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-31304810 is found in opserver 2026-06-04 06:35:50,314 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 06:35:50,329 - DEBUG - VRF ids for VN ctest-vn-31304810: {} 2026-06-04 06:35:50,395 - DEBUG - Services list from nova: [, , , ] 2026-06-04 06:35:51,547 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5888-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5888-2) 2026-06-04 06:35:53,057 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5888-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5888-1) 2026-06-04 06:35:53,057 - INFO - Waiting for VM ctest-TestBasicPolicy-51681992-75636807 to be up.. 2026-06-04 06:35:53,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 06:35:58,263 - DEBUG - VM is in ACTIVE state now 2026-06-04 06:35:58,263 - INFO - VM name : ctest-TestBasicPolicy-51681992-75636807 2026-06-04 06:35:58,362 - DEBUG - VM ctest-TestBasicPolicy-51681992-75636807 ID is 3f854434-1a1c-41f4-9875-c51661309ee7 2026-06-04 06:35:58,392 - DEBUG - VM ctest-TestBasicPolicy-51681992-75636807 launched on Node an-jenkins-deploy-platform-ansible-os-5888-2 2026-06-04 06:35:58,492 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3f854434-1a1c-41f4-9875-c51661309ee7 2026-06-04 06:35:58,793 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3f854434-1a1c-41f4-9875-c51661309ee7 2026-06-04 06:35:58,838 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9cc50121-c736-4f64-84b2-bc5e3c6c668d 2026-06-04 06:36:02,019 - 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 06:36:02,019 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51681992-75636807 failed! 2026-06-04 06:36:02,042 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51681992:ctest-vn-93748515 is 201.216.109.1 and allocation pool is NOT set 2026-06-04 06:36:04,104 - 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=9.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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 = 1.057/5.404/9.752/4.347 ms') 2026-06-04 06:36:04,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51681992-75636807 passed 2026-06-04 06:36:04,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 06:36:04,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51681992-75636807, IP 201.216.109.3, Port 22 2026-06-04 06:36:04,352 - DEBUG - VM ctest-TestBasicPolicy-51681992-75636807 is ready for SSH connections 2026-06-04 06:36:04,352 - INFO - Waiting for VM ctest-TestBasicPolicy-51681992-38352329 to be up.. 2026-06-04 06:36:04,459 - DEBUG - VM is in ACTIVE state now 2026-06-04 06:36:04,459 - INFO - VM name : ctest-TestBasicPolicy-51681992-38352329 2026-06-04 06:36:04,564 - DEBUG - VM ctest-TestBasicPolicy-51681992-38352329 ID is 79ad4537-d593-4dd3-92c6-41062951d2cf 2026-06-04 06:36:04,564 - DEBUG - VM ctest-TestBasicPolicy-51681992-38352329 launched on Node an-jenkins-deploy-platform-ansible-os-5888-1 2026-06-04 06:36:04,673 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/79ad4537-d593-4dd3-92c6-41062951d2cf 2026-06-04 06:36:04,686 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/97257310-fdf2-4385-8137-92d6a6a96323 2026-06-04 06:36:05,862 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.887 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.887/2.444/4.001/1.557 ms') 2026-06-04 06:36:05,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51681992-38352329 passed 2026-06-04 06:36:05,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 06:36:05,938 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51681992-38352329, IP 112.135.143.131, Port 22 2026-06-04 06:36:06,105 - DEBUG - VM ctest-TestBasicPolicy-51681992-38352329 is ready for SSH connections 2026-06-04 06:36:06,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 06:36:06,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.135.143.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-04 06:36:06,106 - DEBUG - ping -s 56 -c 3 -W 1 112.135.143.131 2026-06-04 06:36:10,322 - DEBUG - PING 112.135.143.131 (112.135.143.131): 56 data bytes 64 bytes from 112.135.143.131: seq=0 ttl=63 time=10.065 ms 64 bytes from 112.135.143.131: seq=1 ttl=63 time=1.699 ms 64 bytes from 112.135.143.131: seq=2 ttl=63 time=1.849 ms --- 112.135.143.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.699/4.537/10.065 ms 2026-06-04 06:36:10,322 - INFO - Ping to IP 112.135.143.131 from VM ctest-TestBasicPolicy-51681992-75636807 passed 2026-06-04 06:36:10,552 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2b0c111f-ebd5-454a-a821-9d4965d9c127", "href": "http://10.0.0.33:8082/network-policy/2b0c111f-ebd5-454a-a821-9d4965d9c127"}} 2026-06-04 06:36:10,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 06:36:10,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.135.143.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-04 06:36:10,552 - DEBUG - ping -s 56 -c 3 -W 1 112.135.143.131 2026-06-04 06:36:13,798 - DEBUG - PING 112.135.143.131 (112.135.143.131): 56 data bytes --- 112.135.143.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-04 06:36:13,798 - WARNING - Ping to IP 112.135.143.131 from VM ctest-TestBasicPolicy-51681992-75636807 failed 2026-06-04 06:36:13,798 - INFO - Deleting VM ctest-TestBasicPolicy-51681992-38352329 2026-06-04 06:36:13,882 - INFO - Deleting VM ctest-TestBasicPolicy-51681992-75636807 2026-06-04 06:36:14,414 - INFO - Deleted policy ctest-policy-allow-all-75758413 2026-06-04 06:36:14,414 - INFO - Deleting VN ctest-vn-31304810 2026-06-04 06:36:14,478 - DEBUG - VN 450b7781-5561-42e5-803a-539a62d974d2 still in use: Unable to complete operation on network 450b7781-5561-42e5-803a-539a62d974d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-32377e6f-9ce7-4f03-b586-b9434da6eb87'] 2026-06-04 06:36:14,478 - WARNING - Deleting VN ctest-vn-31304810 failed..Will retry 2026-06-04 06:36:16,712 - DEBUG - Response for deleting network () 2026-06-04 06:36:16,712 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ba3b77a-e91b-4734-957d-ed094a236f95 2026-06-04 06:36:16,721 - DEBUG - Response Code: 404 2026-06-04 06:36:16,721 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 06:36:16,742 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a52616e4-e5b3-46e4-96d5-76760f6fc853 2026-06-04 06:36:16,766 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef2fc43b-cffb-44aa-b72f-0895c6b3343e 2026-06-04 06:36:16,887 - INFO - Validated that VN ctest-vn-31304810 is not found in API Server 2026-06-04 06:36:16,902 - DEBUG - VN ctest-vn-31304810 is not present in Agent 10.0.0.249 2026-06-04 06:36:16,915 - DEBUG - VN ctest-vn-31304810 is not present in Agent 10.0.0.22 2026-06-04 06:36:16,915 - INFO - Validated that VN ctest-vn-31304810 is not in any agent 2026-06-04 06:36:16,957 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31304810 info 2026-06-04 06:36:16,957 - INFO - Deleting VN ctest-vn-93748515 2026-06-04 06:36:17,161 - DEBUG - Response for deleting network () 2026-06-04 06:36:17,161 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3e0043d-3fc5-4294-99b9-11baf798581b 2026-06-04 06:36:17,175 - DEBUG - Response Code: 404 2026-06-04 06:36:17,176 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-04 06:36:17,186 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a52616e4-e5b3-46e4-96d5-76760f6fc853 2026-06-04 06:36:17,243 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef2fc43b-cffb-44aa-b72f-0895c6b3343e 2026-06-04 06:36:17,349 - INFO - Validated that VN ctest-vn-93748515 is not found in API Server 2026-06-04 06:36:17,367 - DEBUG - VN ctest-vn-93748515 is not present in Agent 10.0.0.249 2026-06-04 06:36:17,379 - DEBUG - VN ctest-vn-93748515 is not present in Agent 10.0.0.22 2026-06-04 06:36:17,379 - INFO - Validated that VN ctest-vn-93748515 is not in any agent 2026-06-04 06:36:17,416 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93748515 info 2026-06-04 06:36:18,732 - DEBUG - No XMPP flaps were noticed during the test 2026-06-04 06:36:18,732 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-06-04 06:36:18,732 - INFO - -------------------------------------------------------------------------------- 2026-06-04 06:36:19,544 - INFO - Deleted project: ctest-TestBasicPolicy-51681992, ID : ef2fc43b-cffb-44aa-b72f-0895c6b3343e