2026-04-30 03:07:02,249 - INFO - Domain Default found not creating 2026-04-30 03:07:02,444 - INFO - Project ctest-TestBasicPolicy-11854509 not found, creating it 2026-04-30 03:07:03,027 - INFO - Created Project:ctest-TestBasicPolicy-11854509, ID : 7624a38d-4003-4828-a33c-4ece6dbd8984 2026-04-30 03:07:04,492 - INFO - ================================================================================ 2026-04-30 03:07:04,493 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-30 03:07:04,493 - 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-04-30 03:07:05,762 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.241': {'10.20.0.193': '0', '10.20.0.18': '0'}} with 2026-04-30 03:07:05,762 - INFO - Initial checks done. Running the testcase now 2026-04-30 03:07:05,762 - INFO - 2026-04-30 03:07:06,533 - DEBUG - Response for create_network : {'network': {'id': 'd23e414f-0b89-464a-b2dd-0f20bef0cdd8', 'name': 'ctest-vn-38922051', 'tenant_id': '7624a38d40034828a33c4ece6dbd8984', 'project_id': '7624a38d40034828a33c4ece6dbd8984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11854509', 'ctest-vn-38922051'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 03:07:06,907 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0d1e288-8579-445d-a07b-3792453d5d2a', 'name': '', 'tenant_id': '7624a38d40034828a33c4ece6dbd8984', 'network_id': 'd23e414f-0b89-464a-b2dd-0f20bef0cdd8', 'ip_version': 4, 'cidr': '70.22.206.128/26', 'allocation_pools': [{'start': '70.22.206.130', 'end': '70.22.206.190'}], 'gateway_ip': '70.22.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.22.206.130', 'tags': [], 'project_id': '7624a38d40034828a33c4ece6dbd8984'}} 2026-04-30 03:07:06,953 - INFO - Created VN ctest-vn-38922051 2026-04-30 03:07:06,982 - DEBUG - VN ctest-vn-38922051 UUID is d23e414f-0b89-464a-b2dd-0f20bef0cdd8 2026-04-30 03:07:07,375 - DEBUG - Response for create_network : {'network': {'id': '41f56792-a699-4229-b144-228a1e112d5b', 'name': 'ctest-vn-63783016', 'tenant_id': '7624a38d40034828a33c4ece6dbd8984', 'project_id': '7624a38d40034828a33c4ece6dbd8984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11854509', 'ctest-vn-63783016'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 03:07:07,611 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2d09392-530a-4d01-b304-dbdbfffd9229', 'name': '', 'tenant_id': '7624a38d40034828a33c4ece6dbd8984', 'network_id': '41f56792-a699-4229-b144-228a1e112d5b', 'ip_version': 4, 'cidr': '58.243.21.128/26', 'allocation_pools': [{'start': '58.243.21.130', 'end': '58.243.21.190'}], 'gateway_ip': '58.243.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.243.21.130', 'tags': [], 'project_id': '7624a38d40034828a33c4ece6dbd8984'}} 2026-04-30 03:07:07,649 - INFO - Created VN ctest-vn-63783016 2026-04-30 03:07:07,667 - DEBUG - VN ctest-vn-63783016 UUID is 41f56792-a699-4229-b144-228a1e112d5b 2026-04-30 03:07:07,785 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051, 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-11854509:ctest-vn-63783016, 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-04-30 03:07:08,128 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd23e414f-0b89-464a-b2dd-0f20bef0cdd8', 'name': 'ctest-vn-38922051', 'tenant_id': '7624a38d40034828a33c4ece6dbd8984', 'project_id': '7624a38d40034828a33c4ece6dbd8984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0d1e288-8579-445d-a07b-3792453d5d2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11854509', 'ctest-vn-38922051'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11854509', 'ctest-policy-allow-all-84760618']], 'subnet_ipam': [{'subnet_cidr': '70.22.206.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 03:07:08,329 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41f56792-a699-4229-b144-228a1e112d5b', 'name': 'ctest-vn-63783016', 'tenant_id': '7624a38d40034828a33c4ece6dbd8984', 'project_id': '7624a38d40034828a33c4ece6dbd8984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2d09392-530a-4d01-b304-dbdbfffd9229'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11854509', 'ctest-vn-63783016'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11854509', 'ctest-policy-allow-all-84760618']], 'subnet_ipam': [{'subnet_cidr': '58.243.21.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 03:07:08,445 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-30 03:07:08,747 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-30 03:07:08,790 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb 2026-04-30 03:07:08,804 - DEBUG - Requesting: http://10.0.0.73:8082/project/7624a38d-4003-4828-a33c-4ece6dbd8984 2026-04-30 03:07:08,896 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/d23e414f-0b89-464a-b2dd-0f20bef0cdd8 2026-04-30 03:07:08,910 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/d23e414f-0b89-464a-b2dd-0f20bef0cdd8 2026-04-30 03:07:08,918 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b24e608f-5942-46a1-8595-79ecba542726 2026-04-30 03:07:08,925 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b24e608f-5942-46a1-8595-79ecba542726 2026-04-30 03:07:08,933 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/b00aa87a-9a01-4223-9e53-cb61bbfebfde 2026-04-30 03:07:08,940 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 03:07:08,940 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/d23e414f-0b89-464a-b2dd-0f20bef0cdd8 2026-04-30 03:07:08,949 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b24e608f-5942-46a1-8595-79ecba542726 2026-04-30 03:07:08,969 - INFO - Verified VN network id 15 for VN d23e414f-0b89-464a-b2dd-0f20bef0cdd8 2026-04-30 03:07:08,969 - INFO - Verifications in API Server for VN ctest-vn-38922051 passed 2026-04-30 03:07:08,969 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/d23e414f-0b89-464a-b2dd-0f20bef0cdd8 2026-04-30 03:07:08,978 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b24e608f-5942-46a1-8595-79ecba542726 2026-04-30 03:07:08,986 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b24e608f-5942-46a1-8595-79ecba542726 2026-04-30 03:07:08,993 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/b00aa87a-9a01-4223-9e53-cb61bbfebfde 2026-04-30 03:07:09,007 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11854509', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15149618004272694858', 'uuid-lslong': '12888474341921050072'}, 'enable': 'true', 'created': '2026-04-30T03:07:06', 'last-modified': '2026-04-30T03:07:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903950'} 2026-04-30 03:07:09,012 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 03:07:09,018 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11854509', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15149618004272694858', 'uuid-lslong': '12888474341921050072'}, 'enable': 'true', 'created': '2026-04-30T03:07:06', 'last-modified': '2026-04-30T03:07:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914937'} 2026-04-30 03:07:09,025 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 03:07:09,031 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11854509', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15149618004272694858', 'uuid-lslong': '12888474341921050072'}, 'enable': 'true', 'created': '2026-04-30T03:07:06', 'last-modified': '2026-04-30T03:07:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925048'} 2026-04-30 03:07:09,042 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 03:07:09,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38922051 passed 2026-04-30 03:07:09,044 - DEBUG - ====Verifying policy data for ctest-vn-38922051 in API_Server ====== 2026-04-30 03:07:09,044 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-30 03:07:09,053 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb 2026-04-30 03:07:09,065 - DEBUG - Requesting: http://10.0.0.73:8082/project/7624a38d-4003-4828-a33c-4ece6dbd8984 2026-04-30 03:07:09,166 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/d23e414f-0b89-464a-b2dd-0f20bef0cdd8 2026-04-30 03:07:09,178 - DEBUG - ==>Verifying data for policy with id: 751e8fd5-9027-4cf6-a727-da3a5f031f64, fqn: ['default-domain', 'ctest-TestBasicPolicy-11854509', 'ctest-policy-allow-all-84760618'] 2026-04-30 03:07:09,178 - INFO - VN ctest-vn-38922051 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 03:07:09,178 - DEBUG - Verifying the vn in opserver 2026-04-30 03:07:09,178 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 virtual network link through opserver 10.0.0.73 2026-04-30 03:07:09,178 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-04-30 03:07:09,490 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-04-30 03:07:09,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051?flat'} 2026-04-30 03:07:09,559 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 virtual network link through opserver 10.0.0.141 2026-04-30 03:07:09,559 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-30 03:07:09,856 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-30 03:07:09,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051?flat'} 2026-04-30 03:07:09,922 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 virtual network link through opserver 10.0.0.33 2026-04-30 03:07:09,922 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-30 03:07:10,237 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-30 03:07:10,306 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051?flat'} 2026-04-30 03:07:10,306 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is found in opserver 2026-04-30 03:07:10,325 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 03:07:10,336 - DEBUG - VRF ids for VN ctest-vn-38922051: {} 2026-04-30 03:07:10,336 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-30 03:07:10,344 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb 2026-04-30 03:07:10,360 - DEBUG - Requesting: http://10.0.0.73:8082/project/7624a38d-4003-4828-a33c-4ece6dbd8984 2026-04-30 03:07:10,454 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/41f56792-a699-4229-b144-228a1e112d5b 2026-04-30 03:07:10,469 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/41f56792-a699-4229-b144-228a1e112d5b 2026-04-30 03:07:10,479 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/6ec93c6c-7081-4d33-9459-fc2f3b2ff316 2026-04-30 03:07:10,488 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/6ec93c6c-7081-4d33-9459-fc2f3b2ff316 2026-04-30 03:07:10,498 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/623e99b9-4e9a-4fd2-8006-f3eb83bff528 2026-04-30 03:07:10,506 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-30 03:07:10,506 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/41f56792-a699-4229-b144-228a1e112d5b 2026-04-30 03:07:10,516 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/6ec93c6c-7081-4d33-9459-fc2f3b2ff316 2026-04-30 03:07:10,537 - INFO - Verified VN network id 16 for VN 41f56792-a699-4229-b144-228a1e112d5b 2026-04-30 03:07:10,537 - INFO - Verifications in API Server for VN ctest-vn-63783016 passed 2026-04-30 03:07:10,537 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/41f56792-a699-4229-b144-228a1e112d5b 2026-04-30 03:07:10,549 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/6ec93c6c-7081-4d33-9459-fc2f3b2ff316 2026-04-30 03:07:10,560 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/6ec93c6c-7081-4d33-9459-fc2f3b2ff316 2026-04-30 03:07:10,572 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/623e99b9-4e9a-4fd2-8006-f3eb83bff528 2026-04-30 03:07:10,589 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11854509', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4752818861317374505', 'uuid-lslong': '12773372419734842715'}, 'enable': 'true', 'created': '2026-04-30T03:07:07', 'last-modified': '2026-04-30T03:07:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.294507'} 2026-04-30 03:07:10,595 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-30 03:07:10,602 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11854509', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4752818861317374505', 'uuid-lslong': '12773372419734842715'}, 'enable': 'true', 'created': '2026-04-30T03:07:07', 'last-modified': '2026-04-30T03:07:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.309145'} 2026-04-30 03:07:10,610 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-30 03:07:10,618 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11854509', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4752818861317374505', 'uuid-lslong': '12773372419734842715'}, 'enable': 'true', 'created': '2026-04-30T03:07:07', 'last-modified': '2026-04-30T03:07:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.325553'} 2026-04-30 03:07:10,626 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-30 03:07:10,626 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63783016 passed 2026-04-30 03:07:10,626 - DEBUG - ====Verifying policy data for ctest-vn-63783016 in API_Server ====== 2026-04-30 03:07:10,626 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-30 03:07:10,634 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb 2026-04-30 03:07:10,648 - DEBUG - Requesting: http://10.0.0.73:8082/project/7624a38d-4003-4828-a33c-4ece6dbd8984 2026-04-30 03:07:10,753 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/41f56792-a699-4229-b144-228a1e112d5b 2026-04-30 03:07:10,774 - DEBUG - ==>Verifying data for policy with id: 751e8fd5-9027-4cf6-a727-da3a5f031f64, fqn: ['default-domain', 'ctest-TestBasicPolicy-11854509', 'ctest-policy-allow-all-84760618'] 2026-04-30 03:07:10,774 - INFO - VN ctest-vn-63783016 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 03:07:10,774 - DEBUG - Verifying the vn in opserver 2026-04-30 03:07:10,774 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016 virtual network link through opserver 10.0.0.73 2026-04-30 03:07:10,774 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-04-30 03:07:10,855 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016?flat'} 2026-04-30 03:07:10,855 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016 virtual network link through opserver 10.0.0.141 2026-04-30 03:07:10,855 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-30 03:07:10,931 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016?flat'} 2026-04-30 03:07:10,931 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016 virtual network link through opserver 10.0.0.33 2026-04-30 03:07:10,931 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-30 03:07:11,006 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016?flat'} 2026-04-30 03:07:11,006 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-63783016 is found in opserver 2026-04-30 03:07:11,029 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 03:07:11,041 - DEBUG - VRF ids for VN ctest-vn-63783016: {} 2026-04-30 03:07:11,110 - DEBUG - Services list from nova: [, , , ] 2026-04-30 03:07:12,210 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5725-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5725-2) 2026-04-30 03:07:13,469 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5725-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5725-1) 2026-04-30 03:07:13,470 - INFO - Waiting for VM ctest-TestBasicPolicy-11854509-50268400 to be up.. 2026-04-30 03:07:13,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 03:07:18,651 - DEBUG - VM is in ACTIVE state now 2026-04-30 03:07:18,651 - INFO - VM name : ctest-TestBasicPolicy-11854509-50268400 2026-04-30 03:07:18,738 - DEBUG - VM ctest-TestBasicPolicy-11854509-50268400 ID is 4501396f-d3b9-47c8-87ad-c390ac9a8920 2026-04-30 03:07:18,763 - DEBUG - VM ctest-TestBasicPolicy-11854509-50268400 launched on Node an-jenkins-deploy-platform-ansible-os-5725-2 2026-04-30 03:07:18,844 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4501396f-d3b9-47c8-87ad-c390ac9a8920 2026-04-30 03:07:19,156 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4501396f-d3b9-47c8-87ad-c390ac9a8920 2026-04-30 03:07:19,194 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d3035cc5-af39-448c-b173-cf0695ad5389 2026-04-30 03:07:22,373 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms') 2026-04-30 03:07:22,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 failed! 2026-04-30 03:07:22,389 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is 70.22.206.129 and allocation pool is NOT set 2026-04-30 03:07:26,467 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-04-30 03:07:26,468 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 failed! 2026-04-30 03:07:26,484 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is 70.22.206.129 and allocation pool is NOT set 2026-04-30 03:07:30,569 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-04-30 03:07:30,569 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 failed! 2026-04-30 03:07:30,585 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is 70.22.206.129 and allocation pool is NOT set 2026-04-30 03:07:34,659 - 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-04-30 03:07:34,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 failed! 2026-04-30 03:07:34,675 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is 70.22.206.129 and allocation pool is NOT set 2026-04-30 03:07:38,759 - 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-04-30 03:07:38,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 failed! 2026-04-30 03:07:38,777 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is 70.22.206.129 and allocation pool is NOT set 2026-04-30 03:07:42,856 - 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-04-30 03:07:42,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 failed! 2026-04-30 03:07:42,870 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is 70.22.206.129 and allocation pool is NOT set 2026-04-30 03:07:46,953 - 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-04-30 03:07:46,953 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 failed! 2026-04-30 03:07:46,969 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is 70.22.206.129 and allocation pool is NOT set 2026-04-30 03:07:51,048 - 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-04-30 03:07:51,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 failed! 2026-04-30 03:07:51,066 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11854509:ctest-vn-38922051 is 70.22.206.129 and allocation pool is NOT set 2026-04-30 03:07:55,145 - 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=9.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 9.044/9.044/9.044/0.000 ms') 2026-04-30 03:07:55,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-50268400 passed 2026-04-30 03:07:55,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 03:07:55,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11854509-50268400, IP 70.22.206.131, Port 22 2026-04-30 03:07:55,288 - 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-04-30 03:07:55,372 - DEBUG - VM ctest-TestBasicPolicy-11854509-50268400 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 03:08:00,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 03:08:00,372 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11854509-50268400, IP 70.22.206.131, Port 22 2026-04-30 03:08:00,439 - 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-04-30 03:08:00,534 - DEBUG - VM ctest-TestBasicPolicy-11854509-50268400 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 03:08:05,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 03:08:05,535 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11854509-50268400, IP 70.22.206.131, Port 22 2026-04-30 03:08:05,604 - 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-04-30 03:08:05,701 - DEBUG - VM ctest-TestBasicPolicy-11854509-50268400 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 03:08:10,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 03:08:10,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11854509-50268400, IP 70.22.206.131, Port 22 2026-04-30 03:08:10,768 - 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-04-30 03:08:10,855 - DEBUG - VM ctest-TestBasicPolicy-11854509-50268400 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 03:08:15,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 03:08:15,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11854509-50268400, IP 70.22.206.131, Port 22 2026-04-30 03:08:16,023 - DEBUG - VM ctest-TestBasicPolicy-11854509-50268400 is ready for SSH connections 2026-04-30 03:08:16,023 - INFO - Waiting for VM ctest-TestBasicPolicy-11854509-60238544 to be up.. 2026-04-30 03:08:16,240 - DEBUG - VM is in ACTIVE state now 2026-04-30 03:08:16,240 - INFO - VM name : ctest-TestBasicPolicy-11854509-60238544 2026-04-30 03:08:16,330 - DEBUG - VM ctest-TestBasicPolicy-11854509-60238544 ID is 7f155da0-3c35-4b56-bb0c-09e3aac3a535 2026-04-30 03:08:16,330 - DEBUG - VM ctest-TestBasicPolicy-11854509-60238544 launched on Node an-jenkins-deploy-platform-ansible-os-5725-1 2026-04-30 03:08:16,413 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7f155da0-3c35-4b56-bb0c-09e3aac3a535 2026-04-30 03:08:16,423 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b4c9743b-50f5-40f3-8362-51e8ef4e6d50 2026-04-30 03:08:17,586 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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 = 2.249/4.751/7.253/2.502 ms') 2026-04-30 03:08:17,586 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11854509-60238544 passed 2026-04-30 03:08:17,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 03:08:17,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11854509-60238544, IP 58.243.21.131, Port 22 2026-04-30 03:08:17,824 - DEBUG - VM ctest-TestBasicPolicy-11854509-60238544 is ready for SSH connections 2026-04-30 03:08:17,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 03:08:17,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.243.21.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-30 03:08:17,824 - DEBUG - ping -s 56 -c 3 -W 1 58.243.21.131 2026-04-30 03:08:43,337 - DEBUG - PING 58.243.21.131 (58.243.21.131) 56(84) bytes of data. 64 bytes from 58.243.21.131: icmp_req=1 ttl=63 time=7.72 ms 64 bytes from 58.243.21.131: icmp_req=2 ttl=63 time=1.59 ms 64 bytes from 58.243.21.131: icmp_req=3 ttl=63 time=1.23 ms --- 58.243.21.131 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.231/3.518/7.727/2.980 ms 2026-04-30 03:08:43,337 - INFO - Ping to IP 58.243.21.131 from VM ctest-TestBasicPolicy-11854509-50268400 passed 2026-04-30 03:08:43,538 - DEBUG - Policy Update Response {"network-policy": {"uuid": "751e8fd5-9027-4cf6-a727-da3a5f031f64", "href": "http://10.0.0.33:8082/network-policy/751e8fd5-9027-4cf6-a727-da3a5f031f64"}} 2026-04-30 03:08:43,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 03:08:43,538 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.243.21.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-30 03:08:43,538 - DEBUG - ping -s 56 -c 3 -W 1 58.243.21.131 2026-04-30 03:08:47,521 - DEBUG - PING 58.243.21.131 (58.243.21.131) 56(84) bytes of data. --- 58.243.21.131 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2002ms 2026-04-30 03:08:47,521 - WARNING - Ping to IP 58.243.21.131 from VM ctest-TestBasicPolicy-11854509-50268400 failed 2026-04-30 03:08:47,521 - INFO - Deleting VM ctest-TestBasicPolicy-11854509-60238544 2026-04-30 03:08:47,586 - INFO - Deleting VM ctest-TestBasicPolicy-11854509-50268400 2026-04-30 03:08:48,032 - INFO - Deleted policy ctest-policy-allow-all-84760618 2026-04-30 03:08:48,032 - INFO - Deleting VN ctest-vn-63783016 2026-04-30 03:08:48,077 - DEBUG - VN 41f56792-a699-4229-b144-228a1e112d5b still in use: Unable to complete operation on network 41f56792-a699-4229-b144-228a1e112d5b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-63882f3c-548c-49b9-a59d-ed6324e14129'] 2026-04-30 03:08:48,077 - WARNING - Deleting VN ctest-vn-63783016 failed..Will retry 2026-04-30 03:08:50,269 - DEBUG - Response for deleting network () 2026-04-30 03:08:50,269 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/6ec93c6c-7081-4d33-9459-fc2f3b2ff316 2026-04-30 03:08:50,281 - DEBUG - Response Code: 404 2026-04-30 03:08:50,281 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-30 03:08:50,287 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb 2026-04-30 03:08:50,297 - DEBUG - Requesting: http://10.0.0.73:8082/project/7624a38d-4003-4828-a33c-4ece6dbd8984 2026-04-30 03:08:50,388 - INFO - Validated that VN ctest-vn-63783016 is not found in API Server 2026-04-30 03:08:50,398 - DEBUG - VN ctest-vn-63783016 is not present in Agent 10.0.0.19 2026-04-30 03:08:50,409 - DEBUG - VN ctest-vn-63783016 is not present in Agent 10.0.0.241 2026-04-30 03:08:50,409 - INFO - Validated that VN ctest-vn-63783016 is not in any agent 2026-04-30 03:08:50,440 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63783016 info 2026-04-30 03:08:50,440 - INFO - Deleting VN ctest-vn-38922051 2026-04-30 03:08:50,659 - DEBUG - Response for deleting network () 2026-04-30 03:08:50,659 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b24e608f-5942-46a1-8595-79ecba542726 2026-04-30 03:08:50,664 - DEBUG - Response Code: 404 2026-04-30 03:08:50,664 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-30 03:08:50,670 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb 2026-04-30 03:08:50,681 - DEBUG - Requesting: http://10.0.0.73:8082/project/7624a38d-4003-4828-a33c-4ece6dbd8984 2026-04-30 03:08:50,779 - INFO - Validated that VN ctest-vn-38922051 is not found in API Server 2026-04-30 03:08:50,789 - DEBUG - VN ctest-vn-38922051 is not present in Agent 10.0.0.19 2026-04-30 03:08:50,799 - DEBUG - VN ctest-vn-38922051 is not present in Agent 10.0.0.241 2026-04-30 03:08:50,799 - INFO - Validated that VN ctest-vn-38922051 is not in any agent 2026-04-30 03:08:50,837 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38922051 info 2026-04-30 03:08:52,129 - DEBUG - No XMPP flaps were noticed during the test 2026-04-30 03:08:52,129 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:48] 2026-04-30 03:08:52,129 - INFO - -------------------------------------------------------------------------------- 2026-04-30 03:08:52,883 - INFO - Deleted project: ctest-TestBasicPolicy-11854509, ID : 7624a38d-4003-4828-a33c-4ece6dbd8984