2026-05-18 02:48:02,506 - INFO - Domain Default found not creating 2026-05-18 02:48:02,683 - INFO - Project ctest-TestBasicPolicy-18981699 not found, creating it 2026-05-18 02:48:03,252 - INFO - Created Project:ctest-TestBasicPolicy-18981699, ID : 48bc77e5-07d1-4995-8209-b7adf6ce66dc 2026-05-18 02:48:04,826 - INFO - ================================================================================ 2026-05-18 02:48:04,826 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-18 02:48:04,826 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-05-18 02:48:06,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '2'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '3'}} with 2026-05-18 02:48:06,141 - INFO - Initial checks done. Running the testcase now 2026-05-18 02:48:06,141 - INFO - 2026-05-18 02:48:06,841 - DEBUG - Response for create_network : {'network': {'id': '975f88b7-0b34-450e-b9bf-73a9f30c15ba', 'name': 'ctest-vn-89335042', 'tenant_id': '48bc77e507d149958209b7adf6ce66dc', 'project_id': '48bc77e507d149958209b7adf6ce66dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18981699', 'ctest-vn-89335042'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:48:07,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '54c35497-87a4-4505-bbcb-b886936239bc', 'name': '', 'tenant_id': '48bc77e507d149958209b7adf6ce66dc', 'network_id': '975f88b7-0b34-450e-b9bf-73a9f30c15ba', 'ip_version': 4, 'cidr': '23.95.172.128/26', 'allocation_pools': [{'start': '23.95.172.130', 'end': '23.95.172.190'}], 'gateway_ip': '23.95.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.95.172.130', 'tags': [], 'project_id': '48bc77e507d149958209b7adf6ce66dc'}} 2026-05-18 02:48:07,095 - INFO - Created VN ctest-vn-89335042 2026-05-18 02:48:07,112 - DEBUG - VN ctest-vn-89335042 UUID is 975f88b7-0b34-450e-b9bf-73a9f30c15ba 2026-05-18 02:48:07,485 - DEBUG - Response for create_network : {'network': {'id': '3e0288d2-bc1e-4623-b00c-71d767faa64b', 'name': 'ctest-vn-60877353', 'tenant_id': '48bc77e507d149958209b7adf6ce66dc', 'project_id': '48bc77e507d149958209b7adf6ce66dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18981699', 'ctest-vn-60877353'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:48:07,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '84faa5ca-154c-4bf3-97d7-78ed59aedf39', 'name': '', 'tenant_id': '48bc77e507d149958209b7adf6ce66dc', 'network_id': '3e0288d2-bc1e-4623-b00c-71d767faa64b', 'ip_version': 4, 'cidr': '84.120.97.64/26', 'allocation_pools': [{'start': '84.120.97.66', 'end': '84.120.97.126'}], 'gateway_ip': '84.120.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.120.97.66', 'tags': [], 'project_id': '48bc77e507d149958209b7adf6ce66dc'}} 2026-05-18 02:48:07,747 - INFO - Created VN ctest-vn-60877353 2026-05-18 02:48:07,759 - DEBUG - VN ctest-vn-60877353 UUID is 3e0288d2-bc1e-4623-b00c-71d767faa64b 2026-05-18 02:48:07,843 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042, 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-18981699:ctest-vn-60877353, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-05-18 02:48:08,208 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '975f88b7-0b34-450e-b9bf-73a9f30c15ba', 'name': 'ctest-vn-89335042', 'tenant_id': '48bc77e507d149958209b7adf6ce66dc', 'project_id': '48bc77e507d149958209b7adf6ce66dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54c35497-87a4-4505-bbcb-b886936239bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18981699', 'ctest-vn-89335042'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18981699', 'ctest-policy-allow-all-46939890']], 'subnet_ipam': [{'subnet_cidr': '23.95.172.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:48:08,453 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3e0288d2-bc1e-4623-b00c-71d767faa64b', 'name': 'ctest-vn-60877353', 'tenant_id': '48bc77e507d149958209b7adf6ce66dc', 'project_id': '48bc77e507d149958209b7adf6ce66dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84faa5ca-154c-4bf3-97d7-78ed59aedf39'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18981699', 'ctest-vn-60877353'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18981699', 'ctest-policy-allow-all-46939890']], 'subnet_ipam': [{'subnet_cidr': '84.120.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:48:08,591 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-18 02:48:08,922 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-18 02:48:09,285 - DEBUG - Requesting: http://10.0.0.23:8082/domain/4bbec0ba-f2cb-4fcb-b8f1-efc2a7bf0989 2026-05-18 02:48:09,299 - DEBUG - Requesting: http://10.0.0.23:8082/project/48bc77e5-07d1-4995-8209-b7adf6ce66dc 2026-05-18 02:48:09,405 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/975f88b7-0b34-450e-b9bf-73a9f30c15ba 2026-05-18 02:48:09,419 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/975f88b7-0b34-450e-b9bf-73a9f30c15ba 2026-05-18 02:48:09,429 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/17a79b7c-17ca-4016-bfa4-753be974b158 2026-05-18 02:48:09,439 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/17a79b7c-17ca-4016-bfa4-753be974b158 2026-05-18 02:48:09,448 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7c774e28-3e62-4593-a704-fd7e24d6e1ab 2026-05-18 02:48:09,455 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 02:48:09,455 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/975f88b7-0b34-450e-b9bf-73a9f30c15ba 2026-05-18 02:48:09,464 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/17a79b7c-17ca-4016-bfa4-753be974b158 2026-05-18 02:48:09,480 - INFO - Verified VN network id 11 for VN 975f88b7-0b34-450e-b9bf-73a9f30c15ba 2026-05-18 02:48:09,481 - INFO - Verifications in API Server for VN ctest-vn-89335042 passed 2026-05-18 02:48:09,481 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/975f88b7-0b34-450e-b9bf-73a9f30c15ba 2026-05-18 02:48:09,493 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/17a79b7c-17ca-4016-bfa4-753be974b158 2026-05-18 02:48:09,500 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/17a79b7c-17ca-4016-bfa4-753be974b158 2026-05-18 02:48:09,507 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7c774e28-3e62-4593-a704-fd7e24d6e1ab 2026-05-18 02:48:09,519 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18981699', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10907587142262998286', 'uuid-lslong': '13384543791332726202'}, 'enable': 'true', 'created': '2026-05-18T02:48:06', 'last-modified': '2026-05-18T02:48:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.374525'} 2026-05-18 02:48:09,524 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 02:48:09,530 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18981699', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10907587142262998286', 'uuid-lslong': '13384543791332726202'}, 'enable': 'true', 'created': '2026-05-18T02:48:06', 'last-modified': '2026-05-18T02:48:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.388587'} 2026-05-18 02:48:09,537 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 02:48:09,542 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18981699', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10907587142262998286', 'uuid-lslong': '13384543791332726202'}, 'enable': 'true', 'created': '2026-05-18T02:48:06', 'last-modified': '2026-05-18T02:48:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400430'} 2026-05-18 02:48:09,548 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 02:48:09,548 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89335042 passed 2026-05-18 02:48:09,548 - DEBUG - ====Verifying policy data for ctest-vn-89335042 in API_Server ====== 2026-05-18 02:48:09,548 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-18 02:48:09,554 - DEBUG - Requesting: http://10.0.0.23:8082/domain/4bbec0ba-f2cb-4fcb-b8f1-efc2a7bf0989 2026-05-18 02:48:09,567 - DEBUG - Requesting: http://10.0.0.23:8082/project/48bc77e5-07d1-4995-8209-b7adf6ce66dc 2026-05-18 02:48:09,666 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/975f88b7-0b34-450e-b9bf-73a9f30c15ba 2026-05-18 02:48:09,679 - DEBUG - ==>Verifying data for policy with id: 3b730eba-92c8-4be3-8a7f-f2170f65b9a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-18981699', 'ctest-policy-allow-all-46939890'] 2026-05-18 02:48:09,679 - INFO - VN ctest-vn-89335042 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-18 02:48:09,679 - DEBUG - Verifying the vn in opserver 2026-05-18 02:48:09,679 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 virtual network link through opserver 10.0.0.23 2026-05-18 02:48:09,679 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-18 02:48:10,181 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-18 02:48:10,297 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042?flat'} 2026-05-18 02:48:10,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 virtual network link through opserver 10.0.0.22 2026-05-18 02:48:10,297 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-18 02:48:10,618 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-18 02:48:10,705 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042?flat'} 2026-05-18 02:48:10,705 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 virtual network link through opserver 10.0.0.240 2026-05-18 02:48:10,705 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-05-18 02:48:11,045 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-05-18 02:48:11,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042?flat'} 2026-05-18 02:48:11,130 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 is found in opserver 2026-05-18 02:48:11,150 - DEBUG - Do not have enough data to verify VN in agent 2026-05-18 02:48:11,159 - DEBUG - VRF ids for VN ctest-vn-89335042: {} 2026-05-18 02:48:11,160 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-18 02:48:11,168 - DEBUG - Requesting: http://10.0.0.23:8082/domain/4bbec0ba-f2cb-4fcb-b8f1-efc2a7bf0989 2026-05-18 02:48:11,181 - DEBUG - Requesting: http://10.0.0.23:8082/project/48bc77e5-07d1-4995-8209-b7adf6ce66dc 2026-05-18 02:48:11,299 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3e0288d2-bc1e-4623-b00c-71d767faa64b 2026-05-18 02:48:11,319 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3e0288d2-bc1e-4623-b00c-71d767faa64b 2026-05-18 02:48:11,331 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d2deead5-602c-41cc-990a-43d4dd29dc5c 2026-05-18 02:48:11,340 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d2deead5-602c-41cc-990a-43d4dd29dc5c 2026-05-18 02:48:11,350 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/8d0c62ef-48d0-408b-8584-55ff3a5c7ffd 2026-05-18 02:48:11,357 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-18 02:48:11,357 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3e0288d2-bc1e-4623-b00c-71d767faa64b 2026-05-18 02:48:11,370 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d2deead5-602c-41cc-990a-43d4dd29dc5c 2026-05-18 02:48:11,389 - INFO - Verified VN network id 12 for VN 3e0288d2-bc1e-4623-b00c-71d767faa64b 2026-05-18 02:48:11,390 - INFO - Verifications in API Server for VN ctest-vn-60877353 passed 2026-05-18 02:48:11,390 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3e0288d2-bc1e-4623-b00c-71d767faa64b 2026-05-18 02:48:11,402 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d2deead5-602c-41cc-990a-43d4dd29dc5c 2026-05-18 02:48:11,413 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d2deead5-602c-41cc-990a-43d4dd29dc5c 2026-05-18 02:48:11,423 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/8d0c62ef-48d0-408b-8584-55ff3a5c7ffd 2026-05-18 02:48:11,438 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18981699', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4468284218985563683', 'uuid-lslong': '12685639420372231755'}, 'enable': 'true', 'created': '2026-05-18T02:48:07', 'last-modified': '2026-05-18T02:48:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.027806'} 2026-05-18 02:48:11,449 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-18 02:48:11,454 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18981699', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4468284218985563683', 'uuid-lslong': '12685639420372231755'}, 'enable': 'true', 'created': '2026-05-18T02:48:07', 'last-modified': '2026-05-18T02:48:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.048329'} 2026-05-18 02:48:11,460 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-18 02:48:11,466 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18981699', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4468284218985563683', 'uuid-lslong': '12685639420372231755'}, 'enable': 'true', 'created': '2026-05-18T02:48:07', 'last-modified': '2026-05-18T02:48:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.046143'} 2026-05-18 02:48:11,472 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-18 02:48:11,472 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60877353 passed 2026-05-18 02:48:11,473 - DEBUG - ====Verifying policy data for ctest-vn-60877353 in API_Server ====== 2026-05-18 02:48:11,473 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-18 02:48:11,479 - DEBUG - Requesting: http://10.0.0.23:8082/domain/4bbec0ba-f2cb-4fcb-b8f1-efc2a7bf0989 2026-05-18 02:48:11,491 - DEBUG - Requesting: http://10.0.0.23:8082/project/48bc77e5-07d1-4995-8209-b7adf6ce66dc 2026-05-18 02:48:11,625 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3e0288d2-bc1e-4623-b00c-71d767faa64b 2026-05-18 02:48:11,636 - DEBUG - ==>Verifying data for policy with id: 3b730eba-92c8-4be3-8a7f-f2170f65b9a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-18981699', 'ctest-policy-allow-all-46939890'] 2026-05-18 02:48:11,636 - INFO - VN ctest-vn-60877353 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-18 02:48:11,636 - DEBUG - Verifying the vn in opserver 2026-05-18 02:48:11,636 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353 virtual network link through opserver 10.0.0.23 2026-05-18 02:48:11,636 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-18 02:48:11,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353?flat'} 2026-05-18 02:48:11,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353 virtual network link through opserver 10.0.0.22 2026-05-18 02:48:11,718 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-18 02:48:11,781 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353?flat'} 2026-05-18 02:48:11,781 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353 virtual network link through opserver 10.0.0.240 2026-05-18 02:48:11,781 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-05-18 02:48:11,849 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353?flat'} 2026-05-18 02:48:11,849 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-60877353 is found in opserver 2026-05-18 02:48:11,874 - DEBUG - Do not have enough data to verify VN in agent 2026-05-18 02:48:11,886 - DEBUG - VRF ids for VN ctest-vn-60877353: {} 2026-05-18 02:48:11,964 - DEBUG - Services list from nova: [, , , ] 2026-05-18 02:48:13,212 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5792-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5792-2) 2026-05-18 02:48:14,688 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5792-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5792-1) 2026-05-18 02:48:14,688 - INFO - Waiting for VM ctest-TestBasicPolicy-18981699-68218782 to be up.. 2026-05-18 02:48:14,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 02:48:19,915 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:48:19,916 - INFO - VM name : ctest-TestBasicPolicy-18981699-68218782 2026-05-18 02:48:20,019 - DEBUG - VM ctest-TestBasicPolicy-18981699-68218782 ID is d5ff5249-80d4-499c-8e70-a177a11feccf 2026-05-18 02:48:20,052 - DEBUG - VM ctest-TestBasicPolicy-18981699-68218782 launched on Node an-jenkins-deploy-platform-ansible-os-5792-2 2026-05-18 02:48:20,143 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/d5ff5249-80d4-499c-8e70-a177a11feccf 2026-05-18 02:48:20,457 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/d5ff5249-80d4-499c-8e70-a177a11feccf 2026-05-18 02:48:20,497 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/57fb1502-b367-49d1-b33b-1ffa33f3e81d 2026-05-18 02:48:23,679 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-05-18 02:48:23,679 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-68218782 failed! 2026-05-18 02:48:23,695 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 is 23.95.172.129 and allocation pool is NOT set 2026-05-18 02:48:27,780 - 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-05-18 02:48:27,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-68218782 failed! 2026-05-18 02:48:27,797 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 is 23.95.172.129 and allocation pool is NOT set 2026-05-18 02:48:31,871 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-05-18 02:48:31,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-68218782 failed! 2026-05-18 02:48:31,887 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 is 23.95.172.129 and allocation pool is NOT set 2026-05-18 02:48:35,964 - 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-05-18 02:48:35,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-68218782 failed! 2026-05-18 02:48:35,978 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 is 23.95.172.129 and allocation pool is NOT set 2026-05-18 02:48:40,059 - 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-05-18 02:48:40,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-68218782 failed! 2026-05-18 02:48:40,076 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 is 23.95.172.129 and allocation pool is NOT set 2026-05-18 02:48:44,158 - 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-05-18 02:48:44,158 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-68218782 failed! 2026-05-18 02:48:44,174 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 is 23.95.172.129 and allocation pool is NOT set 2026-05-18 02:48:48,256 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2026-05-18 02:48:48,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-68218782 failed! 2026-05-18 02:48:48,272 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18981699:ctest-vn-89335042 is 23.95.172.129 and allocation pool is NOT set 2026-05-18 02:48:52,347 - 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=2 ttl=63 time=5.99 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 5.986/5.986/5.986/0.000 ms') 2026-05-18 02:48:52,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-68218782 passed 2026-05-18 02:48:52,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:48:52,417 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18981699-68218782, IP 23.95.172.131, Port 22 2026-05-18 02:48:52,473 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-18 02:48:52,572 - DEBUG - VM ctest-TestBasicPolicy-18981699-68218782 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:48:57,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:48:57,573 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18981699-68218782, IP 23.95.172.131, Port 22 2026-05-18 02:48:57,640 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-18 02:48:57,722 - DEBUG - VM ctest-TestBasicPolicy-18981699-68218782 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:49:02,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:49:02,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18981699-68218782, IP 23.95.172.131, Port 22 2026-05-18 02:49:02,789 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-18 02:49:02,876 - DEBUG - VM ctest-TestBasicPolicy-18981699-68218782 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:49:07,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:49:07,876 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18981699-68218782, IP 23.95.172.131, Port 22 2026-05-18 02:49:07,944 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-18 02:49:08,032 - DEBUG - VM ctest-TestBasicPolicy-18981699-68218782 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:49:13,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:49:13,034 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18981699-68218782, IP 23.95.172.131, Port 22 2026-05-18 02:49:13,204 - DEBUG - VM ctest-TestBasicPolicy-18981699-68218782 is ready for SSH connections 2026-05-18 02:49:13,204 - INFO - Waiting for VM ctest-TestBasicPolicy-18981699-10332653 to be up.. 2026-05-18 02:49:13,289 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:49:13,289 - INFO - VM name : ctest-TestBasicPolicy-18981699-10332653 2026-05-18 02:49:13,389 - DEBUG - VM ctest-TestBasicPolicy-18981699-10332653 ID is 5bbdf16b-73e9-4db4-8a75-d8722fd9c1e8 2026-05-18 02:49:13,389 - DEBUG - VM ctest-TestBasicPolicy-18981699-10332653 launched on Node an-jenkins-deploy-platform-ansible-os-5792-1 2026-05-18 02:49:13,477 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/5bbdf16b-73e9-4db4-8a75-d8722fd9c1e8 2026-05-18 02:49:13,487 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/57fe59ed-d0d8-491c-aaf8-b3a9560b4260 2026-05-18 02:49:14,660 - 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=7.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.34 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 = 3.341/5.302/7.263/1.961 ms') 2026-05-18 02:49:14,660 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18981699-10332653 passed 2026-05-18 02:49:14,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:49:14,730 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18981699-10332653, IP 84.120.97.67, Port 22 2026-05-18 02:49:14,800 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-18 02:49:14,887 - DEBUG - VM ctest-TestBasicPolicy-18981699-10332653 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:49:19,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:49:19,887 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18981699-10332653, IP 84.120.97.67, Port 22 2026-05-18 02:49:19,954 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-18 02:49:20,055 - DEBUG - VM ctest-TestBasicPolicy-18981699-10332653 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:49:25,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:49:25,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18981699-10332653, IP 84.120.97.67, Port 22 2026-05-18 02:49:25,227 - DEBUG - VM ctest-TestBasicPolicy-18981699-10332653 is ready for SSH connections 2026-05-18 02:49:25,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:49:25,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.120.97.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-18 02:49:25,228 - DEBUG - ping -s 56 -c 3 -W 1 84.120.97.67 2026-05-18 02:50:09,053 - DEBUG - PING 84.120.97.67 (84.120.97.67) 56(84) bytes of data. 64 bytes from 84.120.97.67: icmp_req=1 ttl=63 time=7.81 ms 64 bytes from 84.120.97.67: icmp_req=2 ttl=63 time=1.26 ms 64 bytes from 84.120.97.67: icmp_req=3 ttl=63 time=2.18 ms --- 84.120.97.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.269/3.755/7.811/2.892 ms 2026-05-18 02:50:09,053 - INFO - Ping to IP 84.120.97.67 from VM ctest-TestBasicPolicy-18981699-68218782 passed 2026-05-18 02:50:09,288 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3b730eba-92c8-4be3-8a7f-f2170f65b9a7", "href": "http://10.0.0.240:8082/network-policy/3b730eba-92c8-4be3-8a7f-f2170f65b9a7"}} 2026-05-18 02:50:09,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:50:09,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.120.97.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-18 02:50:09,288 - DEBUG - ping -s 56 -c 3 -W 1 84.120.97.67 2026-05-18 02:50:12,747 - DEBUG - PING 84.120.97.67 (84.120.97.67) 56(84) bytes of data. 64 bytes from 84.120.97.67: icmp_req=1 ttl=63 time=3.13 ms --- 84.120.97.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 3.131/3.131/3.131/0.000 ms 2026-05-18 02:50:12,748 - WARNING - Ping to IP 84.120.97.67 from VM ctest-TestBasicPolicy-18981699-68218782 failed 2026-05-18 02:50:12,748 - INFO - Deleting VM ctest-TestBasicPolicy-18981699-10332653 2026-05-18 02:50:12,830 - INFO - Deleting VM ctest-TestBasicPolicy-18981699-68218782 2026-05-18 02:50:13,287 - INFO - Deleted policy ctest-policy-allow-all-46939890 2026-05-18 02:50:13,288 - INFO - Deleting VN ctest-vn-60877353 2026-05-18 02:50:13,333 - DEBUG - VN 3e0288d2-bc1e-4623-b00c-71d767faa64b still in use: Unable to complete operation on network 3e0288d2-bc1e-4623-b00c-71d767faa64b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7b05667-3a8d-4b4b-8207-23e9ea3b58bb'] 2026-05-18 02:50:13,333 - WARNING - Deleting VN ctest-vn-60877353 failed..Will retry 2026-05-18 02:50:15,502 - DEBUG - Response for deleting network () 2026-05-18 02:50:15,502 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d2deead5-602c-41cc-990a-43d4dd29dc5c 2026-05-18 02:50:15,510 - DEBUG - Response Code: 404 2026-05-18 02:50:15,510 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-18 02:50:15,525 - DEBUG - Requesting: http://10.0.0.23:8082/domain/4bbec0ba-f2cb-4fcb-b8f1-efc2a7bf0989 2026-05-18 02:50:15,574 - DEBUG - Requesting: http://10.0.0.23:8082/project/48bc77e5-07d1-4995-8209-b7adf6ce66dc 2026-05-18 02:50:15,672 - INFO - Validated that VN ctest-vn-60877353 is not found in API Server 2026-05-18 02:50:15,683 - DEBUG - VN ctest-vn-60877353 is not present in Agent 10.0.0.65 2026-05-18 02:50:15,693 - DEBUG - VN ctest-vn-60877353 is not present in Agent 10.0.0.130 2026-05-18 02:50:15,693 - INFO - Validated that VN ctest-vn-60877353 is not in any agent 2026-05-18 02:50:15,730 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60877353 info 2026-05-18 02:50:15,730 - INFO - Deleting VN ctest-vn-89335042 2026-05-18 02:50:15,940 - DEBUG - Response for deleting network () 2026-05-18 02:50:15,940 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/17a79b7c-17ca-4016-bfa4-753be974b158 2026-05-18 02:50:15,946 - DEBUG - Response Code: 404 2026-05-18 02:50:15,946 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-18 02:50:15,952 - DEBUG - Requesting: http://10.0.0.23:8082/domain/4bbec0ba-f2cb-4fcb-b8f1-efc2a7bf0989 2026-05-18 02:50:15,964 - DEBUG - Requesting: http://10.0.0.23:8082/project/48bc77e5-07d1-4995-8209-b7adf6ce66dc 2026-05-18 02:50:16,060 - INFO - Validated that VN ctest-vn-89335042 is not found in API Server 2026-05-18 02:50:16,075 - DEBUG - VN ctest-vn-89335042 is not present in Agent 10.0.0.65 2026-05-18 02:50:16,087 - DEBUG - VN ctest-vn-89335042 is not present in Agent 10.0.0.130 2026-05-18 02:50:16,087 - INFO - Validated that VN ctest-vn-89335042 is not in any agent 2026-05-18 02:50:16,125 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89335042 info 2026-05-18 02:50:17,390 - DEBUG - No XMPP flaps were noticed during the test 2026-05-18 02:50:17,390 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:13] 2026-05-18 02:50:17,390 - INFO - -------------------------------------------------------------------------------- 2026-05-18 02:50:18,181 - INFO - Deleted project: ctest-TestBasicPolicy-18981699, ID : 48bc77e5-07d1-4995-8209-b7adf6ce66dc