2026-10-26 03:07:43,975 - INFO - Domain Default found not creating 2026-10-26 03:07:44,180 - INFO - Project ctest-TestBasicPolicy-49297130 not found, creating it 2026-10-26 03:07:44,777 - INFO - Created Project:ctest-TestBasicPolicy-49297130, ID : 9ea17461-ed2d-468f-b282-d97783f6cd98 2026-10-26 03:07:46,666 - INFO - ================================================================================ 2026-10-26 03:07:46,666 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-26 03:07:46,666 - 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-10-26 03:07:47,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.30': '0', '10.20.0.254': '0'}, '10.0.0.38': {'10.20.0.254': '0', '10.20.0.30': '0'}} with 2026-10-26 03:07:47,993 - INFO - Initial checks done. Running the testcase now 2026-10-26 03:07:47,993 - INFO - 2026-10-26 03:07:48,821 - DEBUG - Response for create_network : {'network': {'id': '7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb', 'name': 'ctest-vn-37448271', 'tenant_id': '9ea17461ed2d468fb282d97783f6cd98', 'project_id': '9ea17461ed2d468fb282d97783f6cd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49297130', 'ctest-vn-37448271'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 03:07:49,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fca516a-ce73-4f91-afc2-d3c81f14c85b', 'name': '', 'tenant_id': '9ea17461ed2d468fb282d97783f6cd98', 'network_id': '7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb', 'ip_version': 4, 'cidr': '134.0.249.0/26', 'allocation_pools': [{'start': '134.0.249.2', 'end': '134.0.249.62'}], 'gateway_ip': '134.0.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.0.249.2', 'tags': [], 'project_id': '9ea17461ed2d468fb282d97783f6cd98'}} 2026-10-26 03:07:49,134 - INFO - Created VN ctest-vn-37448271 2026-10-26 03:07:49,144 - DEBUG - VN ctest-vn-37448271 UUID is 7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb 2026-10-26 03:07:49,555 - DEBUG - Response for create_network : {'network': {'id': '8d77f92a-411c-4e39-978f-be99de703031', 'name': 'ctest-vn-12186961', 'tenant_id': '9ea17461ed2d468fb282d97783f6cd98', 'project_id': '9ea17461ed2d468fb282d97783f6cd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49297130', 'ctest-vn-12186961'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 03:07:49,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '6df307de-dc80-40bf-a19c-a32cf8381274', 'name': '', 'tenant_id': '9ea17461ed2d468fb282d97783f6cd98', 'network_id': '8d77f92a-411c-4e39-978f-be99de703031', 'ip_version': 4, 'cidr': '9.149.52.64/26', 'allocation_pools': [{'start': '9.149.52.66', 'end': '9.149.52.126'}], 'gateway_ip': '9.149.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.149.52.66', 'tags': [], 'project_id': '9ea17461ed2d468fb282d97783f6cd98'}} 2026-10-26 03:07:49,851 - INFO - Created VN ctest-vn-12186961 2026-10-26 03:07:49,867 - DEBUG - VN ctest-vn-12186961 UUID is 8d77f92a-411c-4e39-978f-be99de703031 2026-10-26 03:07:49,982 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271, 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-49297130:ctest-vn-12186961, 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-10-26 03:07:50,318 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb', 'name': 'ctest-vn-37448271', 'tenant_id': '9ea17461ed2d468fb282d97783f6cd98', 'project_id': '9ea17461ed2d468fb282d97783f6cd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2fca516a-ce73-4f91-afc2-d3c81f14c85b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49297130', 'ctest-vn-37448271'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49297130', 'ctest-policy-allow-all-29643978']], 'subnet_ipam': [{'subnet_cidr': '134.0.249.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 03:07:50,531 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d77f92a-411c-4e39-978f-be99de703031', 'name': 'ctest-vn-12186961', 'tenant_id': '9ea17461ed2d468fb282d97783f6cd98', 'project_id': '9ea17461ed2d468fb282d97783f6cd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6df307de-dc80-40bf-a19c-a32cf8381274'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49297130', 'ctest-vn-12186961'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49297130', 'ctest-policy-allow-all-29643978']], 'subnet_ipam': [{'subnet_cidr': '9.149.52.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 03:07:50,616 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-10-26 03:07:51,079 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-10-26 03:07:51,118 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb 2026-10-26 03:07:51,134 - DEBUG - Requesting: http://10.0.0.251:8082/project/9ea17461-ed2d-468f-b282-d97783f6cd98 2026-10-26 03:07:51,237 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb 2026-10-26 03:07:51,257 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb 2026-10-26 03:07:51,271 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/794fff46-1a53-4c19-a573-069e187ef80a 2026-10-26 03:07:51,282 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/794fff46-1a53-4c19-a573-069e187ef80a 2026-10-26 03:07:51,295 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/ed46b192-7d9e-44aa-b742-b66ba124ce32 2026-10-26 03:07:51,307 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 03:07:51,308 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb 2026-10-26 03:07:51,332 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/794fff46-1a53-4c19-a573-069e187ef80a 2026-10-26 03:07:51,350 - INFO - Verified VN network id 15 for VN 7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb 2026-10-26 03:07:51,350 - INFO - Verifications in API Server for VN ctest-vn-37448271 passed 2026-10-26 03:07:51,350 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb 2026-10-26 03:07:51,360 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/794fff46-1a53-4c19-a573-069e187ef80a 2026-10-26 03:07:51,368 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/794fff46-1a53-4c19-a573-069e187ef80a 2026-10-26 03:07:51,378 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/ed46b192-7d9e-44aa-b742-b66ba124ce32 2026-10-26 03:07:51,411 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49297130', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8948298030177600711', 'uuid-lslong': '10179016895044645611'}, 'enable': 'true', 'created': '2026-10-26T03:07:48', 'last-modified': '2026-10-26T03:07:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.128211'} 2026-10-26 03:07:51,420 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 03:07:51,426 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49297130', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8948298030177600711', 'uuid-lslong': '10179016895044645611'}, 'enable': 'true', 'created': '2026-10-26T03:07:48', 'last-modified': '2026-10-26T03:07:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.148444'} 2026-10-26 03:07:51,435 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 03:07:51,442 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49297130', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8948298030177600711', 'uuid-lslong': '10179016895044645611'}, 'enable': 'true', 'created': '2026-10-26T03:07:48', 'last-modified': '2026-10-26T03:07:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.165869'} 2026-10-26 03:07:51,452 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 03:07:51,453 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37448271 passed 2026-10-26 03:07:51,453 - DEBUG - ====Verifying policy data for ctest-vn-37448271 in API_Server ====== 2026-10-26 03:07:51,453 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-10-26 03:07:51,460 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb 2026-10-26 03:07:51,475 - DEBUG - Requesting: http://10.0.0.251:8082/project/9ea17461-ed2d-468f-b282-d97783f6cd98 2026-10-26 03:07:51,574 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7c2ebda5-f910-44c7-8d43-21ef6fd5f2eb 2026-10-26 03:07:51,587 - DEBUG - ==>Verifying data for policy with id: 8ebcf01e-7717-46c1-b8f4-a33271f9aba3, fqn: ['default-domain', 'ctest-TestBasicPolicy-49297130', 'ctest-policy-allow-all-29643978'] 2026-10-26 03:07:51,587 - INFO - VN ctest-vn-37448271 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 03:07:51,589 - DEBUG - Verifying the vn in opserver 2026-10-26 03:07:51,589 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 virtual network link through opserver 10.0.0.251 2026-10-26 03:07:51,589 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-10-26 03:07:51,989 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-10-26 03:07:52,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271?flat'} 2026-10-26 03:07:52,048 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 virtual network link through opserver 10.0.0.33 2026-10-26 03:07:52,048 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-10-26 03:07:52,503 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-10-26 03:07:52,581 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271?flat'} 2026-10-26 03:07:52,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 virtual network link through opserver 10.0.0.248 2026-10-26 03:07:52,581 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-26 03:07:52,986 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-26 03:07:53,075 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271?flat'} 2026-10-26 03:07:53,075 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 is found in opserver 2026-10-26 03:07:53,118 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 03:07:53,128 - DEBUG - VRF ids for VN ctest-vn-37448271: {} 2026-10-26 03:07:53,128 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-10-26 03:07:53,140 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb 2026-10-26 03:07:53,160 - DEBUG - Requesting: http://10.0.0.251:8082/project/9ea17461-ed2d-468f-b282-d97783f6cd98 2026-10-26 03:07:53,273 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8d77f92a-411c-4e39-978f-be99de703031 2026-10-26 03:07:53,329 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8d77f92a-411c-4e39-978f-be99de703031 2026-10-26 03:07:53,352 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/752eab29-cba0-4931-9333-c70fc35c17b0 2026-10-26 03:07:53,365 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/752eab29-cba0-4931-9333-c70fc35c17b0 2026-10-26 03:07:53,378 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/b9063017-dfcd-4d31-a500-4fb97130cdc7 2026-10-26 03:07:53,410 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-26 03:07:53,411 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8d77f92a-411c-4e39-978f-be99de703031 2026-10-26 03:07:53,462 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/752eab29-cba0-4931-9333-c70fc35c17b0 2026-10-26 03:07:53,493 - INFO - Verified VN network id 16 for VN 8d77f92a-411c-4e39-978f-be99de703031 2026-10-26 03:07:53,494 - INFO - Verifications in API Server for VN ctest-vn-12186961 passed 2026-10-26 03:07:53,495 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8d77f92a-411c-4e39-978f-be99de703031 2026-10-26 03:07:53,516 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/752eab29-cba0-4931-9333-c70fc35c17b0 2026-10-26 03:07:53,526 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/752eab29-cba0-4931-9333-c70fc35c17b0 2026-10-26 03:07:53,536 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/b9063017-dfcd-4d31-a500-4fb97130cdc7 2026-10-26 03:07:53,557 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49297130', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10193890241452723769', 'uuid-lslong': '10921157189467910193'}, 'enable': 'true', 'created': '2026-10-26T03:07:49', 'last-modified': '2026-10-26T03:07:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.061799'} 2026-10-26 03:07:53,564 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-26 03:07:53,571 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49297130', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10193890241452723769', 'uuid-lslong': '10921157189467910193'}, 'enable': 'true', 'created': '2026-10-26T03:07:49', 'last-modified': '2026-10-26T03:07:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.085466'} 2026-10-26 03:07:53,578 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-26 03:07:53,584 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49297130', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10193890241452723769', 'uuid-lslong': '10921157189467910193'}, 'enable': 'true', 'created': '2026-10-26T03:07:49', 'last-modified': '2026-10-26T03:07:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.090771'} 2026-10-26 03:07:53,591 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-26 03:07:53,591 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12186961 passed 2026-10-26 03:07:53,592 - DEBUG - ====Verifying policy data for ctest-vn-12186961 in API_Server ====== 2026-10-26 03:07:53,592 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-10-26 03:07:53,599 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb 2026-10-26 03:07:53,616 - DEBUG - Requesting: http://10.0.0.251:8082/project/9ea17461-ed2d-468f-b282-d97783f6cd98 2026-10-26 03:07:53,729 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8d77f92a-411c-4e39-978f-be99de703031 2026-10-26 03:07:53,742 - DEBUG - ==>Verifying data for policy with id: 8ebcf01e-7717-46c1-b8f4-a33271f9aba3, fqn: ['default-domain', 'ctest-TestBasicPolicy-49297130', 'ctest-policy-allow-all-29643978'] 2026-10-26 03:07:53,742 - INFO - VN ctest-vn-12186961 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 03:07:53,742 - DEBUG - Verifying the vn in opserver 2026-10-26 03:07:53,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961 virtual network link through opserver 10.0.0.251 2026-10-26 03:07:53,742 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-10-26 03:07:53,806 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961?flat'} 2026-10-26 03:07:53,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961 virtual network link through opserver 10.0.0.33 2026-10-26 03:07:53,806 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-10-26 03:07:53,877 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961?flat'} 2026-10-26 03:07:53,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961 virtual network link through opserver 10.0.0.248 2026-10-26 03:07:53,877 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-26 03:07:53,935 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961?flat'} 2026-10-26 03:07:53,935 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-12186961 is found in opserver 2026-10-26 03:07:53,957 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 03:07:53,968 - DEBUG - VRF ids for VN ctest-vn-12186961: {} 2026-10-26 03:07:54,040 - DEBUG - Services list from nova: [, , , ] 2026-10-26 03:07:54,476 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6403-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6403-1) 2026-10-26 03:07:55,163 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6403-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6403-2) 2026-10-26 03:07:55,164 - INFO - Waiting for VM ctest-TestBasicPolicy-49297130-26473350 to be up.. 2026-10-26 03:07:55,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 03:08:00,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 03:08:05,422 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 03:08:10,510 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 03:08:15,604 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 03:08:20,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 03:08:25,782 - DEBUG - VM is in ACTIVE state now 2026-10-26 03:08:25,782 - INFO - VM name : ctest-TestBasicPolicy-49297130-26473350 2026-10-26 03:08:25,875 - DEBUG - VM ctest-TestBasicPolicy-49297130-26473350 ID is 32ebd790-4b6d-4dae-a836-bb01ec587480 2026-10-26 03:08:25,905 - DEBUG - VM ctest-TestBasicPolicy-49297130-26473350 launched on Node an-jenkins-deploy-platform-ansible-os-6403-1 2026-10-26 03:08:25,986 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/32ebd790-4b6d-4dae-a836-bb01ec587480 2026-10-26 03:08:26,383 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/32ebd790-4b6d-4dae-a836-bb01ec587480 2026-10-26 03:08:26,439 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/053c8cfd-238a-4fe1-b049-c3c0036ecc74 2026-10-26 03:08:29,643 - 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 1034ms') 2026-10-26 03:08:29,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49297130-26473350 failed! 2026-10-26 03:08:29,657 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 is 134.0.249.1 and allocation pool is NOT set 2026-10-26 03:08:33,746 - 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 1025ms') 2026-10-26 03:08:33,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49297130-26473350 failed! 2026-10-26 03:08:33,761 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 is 134.0.249.1 and allocation pool is NOT set 2026-10-26 03:08:37,847 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-10-26 03:08:37,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49297130-26473350 failed! 2026-10-26 03:08:37,864 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 is 134.0.249.1 and allocation pool is NOT set 2026-10-26 03:08:41,932 - 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 1010ms') 2026-10-26 03:08:41,932 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49297130-26473350 failed! 2026-10-26 03:08:41,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 is 134.0.249.1 and allocation pool is NOT set 2026-10-26 03:08:46,040 - 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-10-26 03:08:46,040 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49297130-26473350 failed! 2026-10-26 03:08:46,054 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 is 134.0.249.1 and allocation pool is NOT set 2026-10-26 03:08:50,133 - 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-10-26 03:08:50,133 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49297130-26473350 failed! 2026-10-26 03:08:50,147 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49297130:ctest-vn-37448271 is 134.0.249.1 and allocation pool is NOT set 2026-10-26 03:08:54,221 - 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=15.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 15.811/15.811/15.811/0.000 ms') 2026-10-26 03:08:54,221 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49297130-26473350 passed 2026-10-26 03:08:54,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 03:08:54,292 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49297130-26473350, IP 134.0.249.3, Port 22 2026-10-26 03:08:54,359 - 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-10-26 03:08:54,453 - DEBUG - VM ctest-TestBasicPolicy-49297130-26473350 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 03:08:59,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 03:08:59,455 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49297130-26473350, IP 134.0.249.3, Port 22 2026-10-26 03:08:59,525 - 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-10-26 03:08:59,655 - DEBUG - VM ctest-TestBasicPolicy-49297130-26473350 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 03:09:04,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 03:09:04,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49297130-26473350, IP 134.0.249.3, Port 22 2026-10-26 03:09:04,723 - 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-10-26 03:09:04,815 - DEBUG - VM ctest-TestBasicPolicy-49297130-26473350 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 03:09:09,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 03:09:09,816 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49297130-26473350, IP 134.0.249.3, Port 22 2026-10-26 03:09:09,988 - DEBUG - VM ctest-TestBasicPolicy-49297130-26473350 is ready for SSH connections 2026-10-26 03:09:09,989 - INFO - Waiting for VM ctest-TestBasicPolicy-49297130-12192270 to be up.. 2026-10-26 03:09:10,078 - DEBUG - VM is in ACTIVE state now 2026-10-26 03:09:10,078 - INFO - VM name : ctest-TestBasicPolicy-49297130-12192270 2026-10-26 03:09:10,161 - DEBUG - VM ctest-TestBasicPolicy-49297130-12192270 ID is 975d1cd5-a3be-440b-a96c-1a4cbdeba327 2026-10-26 03:09:10,161 - DEBUG - VM ctest-TestBasicPolicy-49297130-12192270 launched on Node an-jenkins-deploy-platform-ansible-os-6403-2 2026-10-26 03:09:10,246 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/975d1cd5-a3be-440b-a96c-1a4cbdeba327 2026-10-26 03:09:10,256 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/db525190-dc4d-44f9-8870-daf130cf1a5d 2026-10-26 03:09:11,484 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 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 = 2.688/3.571/4.454/0.883 ms') 2026-10-26 03:09:11,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49297130-12192270 passed 2026-10-26 03:09:11,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 03:09:11,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49297130-12192270, IP 9.149.52.67, Port 22 2026-10-26 03:09:11,724 - DEBUG - VM ctest-TestBasicPolicy-49297130-12192270 is ready for SSH connections 2026-10-26 03:09:11,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 03:09:11,724 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.149.52.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-26 03:09:11,724 - DEBUG - ping -s 56 -c 3 -W 1 9.149.52.67 2026-10-26 03:09:20,166 - DEBUG - PING 9.149.52.67 (9.149.52.67) 56(84) bytes of data. 64 bytes from 9.149.52.67: icmp_req=1 ttl=63 time=8.26 ms 64 bytes from 9.149.52.67: icmp_req=2 ttl=63 time=4.72 ms 64 bytes from 9.149.52.67: icmp_req=3 ttl=63 time=3.17 ms --- 9.149.52.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 3.173/5.387/8.266/2.131 ms 2026-10-26 03:09:20,166 - INFO - Ping to IP 9.149.52.67 from VM ctest-TestBasicPolicy-49297130-26473350 passed 2026-10-26 03:09:20,385 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8ebcf01e-7717-46c1-b8f4-a33271f9aba3", "href": "http://10.0.0.248:8082/network-policy/8ebcf01e-7717-46c1-b8f4-a33271f9aba3"}} 2026-10-26 03:09:20,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 03:09:20,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.149.52.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-26 03:09:20,386 - DEBUG - ping -s 56 -c 3 -W 1 9.149.52.67 2026-10-26 03:09:23,821 - DEBUG - PING 9.149.52.67 (9.149.52.67) 56(84) bytes of data. 64 bytes from 9.149.52.67: icmp_req=1 ttl=63 time=4.99 ms --- 9.149.52.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 4.994/4.994/4.994/0.000 ms 2026-10-26 03:09:23,821 - WARNING - Ping to IP 9.149.52.67 from VM ctest-TestBasicPolicy-49297130-26473350 failed 2026-10-26 03:09:23,822 - INFO - Deleting VM ctest-TestBasicPolicy-49297130-12192270 2026-10-26 03:09:23,909 - INFO - Deleting VM ctest-TestBasicPolicy-49297130-26473350 2026-10-26 03:09:24,355 - INFO - Deleted policy ctest-policy-allow-all-29643978 2026-10-26 03:09:24,355 - INFO - Deleting VN ctest-vn-12186961 2026-10-26 03:09:24,407 - DEBUG - VN 8d77f92a-411c-4e39-978f-be99de703031 still in use: Unable to complete operation on network 8d77f92a-411c-4e39-978f-be99de703031. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a257ae4-ccb6-4dd8-b18b-0de45c3c334f'] 2026-10-26 03:09:24,409 - WARNING - Deleting VN ctest-vn-12186961 failed..Will retry 2026-10-26 03:09:26,452 - DEBUG - VN 8d77f92a-411c-4e39-978f-be99de703031 still in use: Unable to complete operation on network 8d77f92a-411c-4e39-978f-be99de703031. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e282557e-2e12-4de9-ac6c-86956690492a'] 2026-10-26 03:09:26,452 - WARNING - Deleting VN ctest-vn-12186961 failed..Will retry 2026-10-26 03:09:28,625 - DEBUG - Response for deleting network () 2026-10-26 03:09:28,625 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/752eab29-cba0-4931-9333-c70fc35c17b0 2026-10-26 03:09:28,632 - DEBUG - Response Code: 404 2026-10-26 03:09:28,632 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-10-26 03:09:28,639 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb 2026-10-26 03:09:28,695 - DEBUG - Requesting: http://10.0.0.251:8082/project/9ea17461-ed2d-468f-b282-d97783f6cd98 2026-10-26 03:09:28,819 - INFO - Validated that VN ctest-vn-12186961 is not found in API Server 2026-10-26 03:09:28,832 - DEBUG - VN ctest-vn-12186961 is not present in Agent 10.0.0.50 2026-10-26 03:09:28,843 - DEBUG - VN ctest-vn-12186961 is not present in Agent 10.0.0.38 2026-10-26 03:09:28,843 - INFO - Validated that VN ctest-vn-12186961 is not in any agent 2026-10-26 03:09:28,878 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12186961 info 2026-10-26 03:09:28,878 - INFO - Deleting VN ctest-vn-37448271 2026-10-26 03:09:29,144 - DEBUG - Response for deleting network () 2026-10-26 03:09:29,144 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/794fff46-1a53-4c19-a573-069e187ef80a 2026-10-26 03:09:29,151 - DEBUG - Response Code: 404 2026-10-26 03:09:29,152 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-10-26 03:09:29,162 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb 2026-10-26 03:09:29,183 - DEBUG - Requesting: http://10.0.0.251:8082/project/9ea17461-ed2d-468f-b282-d97783f6cd98 2026-10-26 03:09:29,339 - INFO - Validated that VN ctest-vn-37448271 is not found in API Server 2026-10-26 03:09:29,352 - DEBUG - VN ctest-vn-37448271 is not present in Agent 10.0.0.50 2026-10-26 03:09:29,363 - DEBUG - VN ctest-vn-37448271 is not present in Agent 10.0.0.38 2026-10-26 03:09:29,363 - INFO - Validated that VN ctest-vn-37448271 is not in any agent 2026-10-26 03:09:29,426 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37448271 info 2026-10-26 03:09:30,737 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 03:09:30,737 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:44]
2026-10-26 03:09:30,737 - INFO - -------------------------------------------------------------------------------- 2026-10-26 03:09:31,770 - INFO - Deleted project: ctest-TestBasicPolicy-49297130, ID : 9ea17461-ed2d-468f-b282-d97783f6cd98