2026-03-30 04:17:47,376 - INFO - Domain Default found not creating 2026-03-30 04:17:47,673 - INFO - Project ctest-TestBasicPolicy-39635840 not found, creating it 2026-03-30 04:17:48,297 - INFO - Created Project:ctest-TestBasicPolicy-39635840, ID : 9d864394-003f-426a-9ffb-63f240993bcf 2026-03-30 04:17:50,053 - INFO - ================================================================================ 2026-03-30 04:17:50,053 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-30 04:17:50,053 - 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-03-30 04:17:51,406 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2026-03-30 04:17:51,407 - INFO - Initial checks done. Running the testcase now 2026-03-30 04:17:51,407 - INFO - 2026-03-30 04:17:52,337 - DEBUG - Response for create_network : {'network': {'id': '00b59cac-6529-4c8d-b07e-ef37c0faf9f9', 'name': 'ctest-vn-79620262', 'tenant_id': '9d864394003f426a9ffb63f240993bcf', 'project_id': '9d864394003f426a9ffb63f240993bcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39635840', 'ctest-vn-79620262'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 04:17:52,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5776a69-9e34-40b5-b24c-f137ed9ac5fc', 'name': '', 'tenant_id': '9d864394003f426a9ffb63f240993bcf', 'network_id': '00b59cac-6529-4c8d-b07e-ef37c0faf9f9', 'ip_version': 4, 'cidr': '122.201.139.64/26', 'allocation_pools': [{'start': '122.201.139.66', 'end': '122.201.139.126'}], 'gateway_ip': '122.201.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.201.139.66', 'tags': [], 'project_id': '9d864394003f426a9ffb63f240993bcf'}} 2026-03-30 04:17:52,681 - INFO - Created VN ctest-vn-79620262 2026-03-30 04:17:52,699 - DEBUG - VN ctest-vn-79620262 UUID is 00b59cac-6529-4c8d-b07e-ef37c0faf9f9 2026-03-30 04:17:53,124 - DEBUG - Response for create_network : {'network': {'id': 'c1d784f4-a4ec-45c8-a52d-78c60e554b23', 'name': 'ctest-vn-24216251', 'tenant_id': '9d864394003f426a9ffb63f240993bcf', 'project_id': '9d864394003f426a9ffb63f240993bcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39635840', 'ctest-vn-24216251'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 04:17:53,373 - DEBUG - Response for create_subnet : {'subnet': {'id': '304ad910-34e0-4c4a-991b-8fe8bdc711ef', 'name': '', 'tenant_id': '9d864394003f426a9ffb63f240993bcf', 'network_id': 'c1d784f4-a4ec-45c8-a52d-78c60e554b23', 'ip_version': 4, 'cidr': '222.54.235.64/26', 'allocation_pools': [{'start': '222.54.235.66', 'end': '222.54.235.126'}], 'gateway_ip': '222.54.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.54.235.66', 'tags': [], 'project_id': '9d864394003f426a9ffb63f240993bcf'}} 2026-03-30 04:17:53,406 - INFO - Created VN ctest-vn-24216251 2026-03-30 04:17:53,421 - DEBUG - VN ctest-vn-24216251 UUID is c1d784f4-a4ec-45c8-a52d-78c60e554b23 2026-03-30 04:17:53,526 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262, 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-39635840:ctest-vn-24216251, 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-03-30 04:17:53,864 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00b59cac-6529-4c8d-b07e-ef37c0faf9f9', 'name': 'ctest-vn-79620262', 'tenant_id': '9d864394003f426a9ffb63f240993bcf', 'project_id': '9d864394003f426a9ffb63f240993bcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e5776a69-9e34-40b5-b24c-f137ed9ac5fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39635840', 'ctest-vn-79620262'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39635840', 'ctest-policy-allow-all-38613475']], 'subnet_ipam': [{'subnet_cidr': '122.201.139.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-30 04:17:54,096 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1d784f4-a4ec-45c8-a52d-78c60e554b23', 'name': 'ctest-vn-24216251', 'tenant_id': '9d864394003f426a9ffb63f240993bcf', 'project_id': '9d864394003f426a9ffb63f240993bcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['304ad910-34e0-4c4a-991b-8fe8bdc711ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39635840', 'ctest-vn-24216251'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39635840', 'ctest-policy-allow-all-38613475']], 'subnet_ipam': [{'subnet_cidr': '222.54.235.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-30 04:17:54,215 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-30 04:17:54,577 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-30 04:17:54,630 - DEBUG - Requesting: http://10.0.0.249:8082/domain/915c2541-ccc7-4e90-b8b1-1d89c2512d73 2026-03-30 04:17:54,653 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d864394-003f-426a-9ffb-63f240993bcf 2026-03-30 04:17:54,789 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/00b59cac-6529-4c8d-b07e-ef37c0faf9f9 2026-03-30 04:17:54,806 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/00b59cac-6529-4c8d-b07e-ef37c0faf9f9 2026-03-30 04:17:54,824 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/818d9053-4054-4921-ac24-986d0ac5fb93 2026-03-30 04:17:54,834 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/818d9053-4054-4921-ac24-986d0ac5fb93 2026-03-30 04:17:54,843 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f7d40765-55c4-46d8-a4bf-798ecebaf377 2026-03-30 04:17:54,852 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 04:17:54,852 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/00b59cac-6529-4c8d-b07e-ef37c0faf9f9 2026-03-30 04:17:54,864 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/818d9053-4054-4921-ac24-986d0ac5fb93 2026-03-30 04:17:54,882 - INFO - Verified VN network id 11 for VN 00b59cac-6529-4c8d-b07e-ef37c0faf9f9 2026-03-30 04:17:54,882 - INFO - Verifications in API Server for VN ctest-vn-79620262 passed 2026-03-30 04:17:54,883 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/00b59cac-6529-4c8d-b07e-ef37c0faf9f9 2026-03-30 04:17:54,897 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/818d9053-4054-4921-ac24-986d0ac5fb93 2026-03-30 04:17:54,907 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/818d9053-4054-4921-ac24-986d0ac5fb93 2026-03-30 04:17:54,916 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/f7d40765-55c4-46d8-a4bf-798ecebaf377 2026-03-30 04:17:54,931 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39635840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '51119235030142093', 'uuid-lslong': '12717865420480772601'}, 'enable': 'true', 'created': '2026-03-30T04:17:52', 'last-modified': '2026-03-30T04:17:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.108875'} 2026-03-30 04:17:54,938 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 04:17:54,943 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39635840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '51119235030142093', 'uuid-lslong': '12717865420480772601'}, 'enable': 'true', 'created': '2026-03-30T04:17:52', 'last-modified': '2026-03-30T04:17:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.116482'} 2026-03-30 04:17:54,950 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 04:17:54,956 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39635840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '51119235030142093', 'uuid-lslong': '12717865420480772601'}, 'enable': 'true', 'created': '2026-03-30T04:17:52', 'last-modified': '2026-03-30T04:17:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.110064'} 2026-03-30 04:17:54,962 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-30 04:17:54,962 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79620262 passed 2026-03-30 04:17:54,963 - DEBUG - ====Verifying policy data for ctest-vn-79620262 in API_Server ====== 2026-03-30 04:17:54,963 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-30 04:17:54,971 - DEBUG - Requesting: http://10.0.0.249:8082/domain/915c2541-ccc7-4e90-b8b1-1d89c2512d73 2026-03-30 04:17:54,988 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d864394-003f-426a-9ffb-63f240993bcf 2026-03-30 04:17:55,111 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/00b59cac-6529-4c8d-b07e-ef37c0faf9f9 2026-03-30 04:17:55,126 - DEBUG - ==>Verifying data for policy with id: e41c2bae-e59e-4fc9-b330-1a18c6beadb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-39635840', 'ctest-policy-allow-all-38613475'] 2026-03-30 04:17:55,126 - INFO - VN ctest-vn-79620262 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-30 04:17:55,126 - DEBUG - Verifying the vn in opserver 2026-03-30 04:17:55,126 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262 virtual network link through opserver 10.0.0.249 2026-03-30 04:17:55,127 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-30 04:17:55,439 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-30 04:17:55,529 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262?flat'} 2026-03-30 04:17:55,530 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262 virtual network link through opserver 10.0.0.241 2026-03-30 04:17:55,530 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-03-30 04:17:55,855 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-03-30 04:17:55,944 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262?flat'} 2026-03-30 04:17:55,944 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262 virtual network link through opserver 10.0.0.141 2026-03-30 04:17:55,944 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-30 04:17:56,244 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-30 04:17:56,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262?flat'} 2026-03-30 04:17:56,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262 is found in opserver 2026-03-30 04:17:56,342 - DEBUG - Do not have enough data to verify VN in agent 2026-03-30 04:17:56,353 - DEBUG - VRF ids for VN ctest-vn-79620262: {} 2026-03-30 04:17:56,353 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-30 04:17:56,361 - DEBUG - Requesting: http://10.0.0.249:8082/domain/915c2541-ccc7-4e90-b8b1-1d89c2512d73 2026-03-30 04:17:56,377 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d864394-003f-426a-9ffb-63f240993bcf 2026-03-30 04:17:56,514 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c1d784f4-a4ec-45c8-a52d-78c60e554b23 2026-03-30 04:17:56,539 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c1d784f4-a4ec-45c8-a52d-78c60e554b23 2026-03-30 04:17:56,554 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/67c4cabd-1d6b-4a4a-981b-5bd24fbeb317 2026-03-30 04:17:56,565 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/67c4cabd-1d6b-4a4a-981b-5bd24fbeb317 2026-03-30 04:17:56,575 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/63a811f9-1875-4a26-8a77-ac5f32e2eba1 2026-03-30 04:17:56,585 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-30 04:17:56,585 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c1d784f4-a4ec-45c8-a52d-78c60e554b23 2026-03-30 04:17:56,598 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/67c4cabd-1d6b-4a4a-981b-5bd24fbeb317 2026-03-30 04:17:56,620 - INFO - Verified VN network id 12 for VN c1d784f4-a4ec-45c8-a52d-78c60e554b23 2026-03-30 04:17:56,621 - INFO - Verifications in API Server for VN ctest-vn-24216251 passed 2026-03-30 04:17:56,621 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c1d784f4-a4ec-45c8-a52d-78c60e554b23 2026-03-30 04:17:56,634 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/67c4cabd-1d6b-4a4a-981b-5bd24fbeb317 2026-03-30 04:17:56,646 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/67c4cabd-1d6b-4a4a-981b-5bd24fbeb317 2026-03-30 04:17:56,655 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/63a811f9-1875-4a26-8a77-ac5f32e2eba1 2026-03-30 04:17:56,673 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39635840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13967778955586717128', 'uuid-lslong': '11902302182249417507'}, 'enable': 'true', 'created': '2026-03-30T04:17:53', 'last-modified': '2026-03-30T04:17:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.613940'} 2026-03-30 04:17:56,683 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-30 04:17:56,691 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39635840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13967778955586717128', 'uuid-lslong': '11902302182249417507'}, 'enable': 'true', 'created': '2026-03-30T04:17:53', 'last-modified': '2026-03-30T04:17:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.628179'} 2026-03-30 04:17:56,698 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-30 04:17:56,706 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39635840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13967778955586717128', 'uuid-lslong': '11902302182249417507'}, 'enable': 'true', 'created': '2026-03-30T04:17:53', 'last-modified': '2026-03-30T04:17:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.644511'} 2026-03-30 04:17:56,713 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-30 04:17:56,713 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24216251 passed 2026-03-30 04:17:56,713 - DEBUG - ====Verifying policy data for ctest-vn-24216251 in API_Server ====== 2026-03-30 04:17:56,713 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-30 04:17:56,728 - DEBUG - Requesting: http://10.0.0.249:8082/domain/915c2541-ccc7-4e90-b8b1-1d89c2512d73 2026-03-30 04:17:56,742 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d864394-003f-426a-9ffb-63f240993bcf 2026-03-30 04:17:56,858 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c1d784f4-a4ec-45c8-a52d-78c60e554b23 2026-03-30 04:17:56,870 - DEBUG - ==>Verifying data for policy with id: e41c2bae-e59e-4fc9-b330-1a18c6beadb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-39635840', 'ctest-policy-allow-all-38613475'] 2026-03-30 04:17:56,871 - INFO - VN ctest-vn-24216251 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-30 04:17:56,871 - DEBUG - Verifying the vn in opserver 2026-03-30 04:17:56,871 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251 virtual network link through opserver 10.0.0.249 2026-03-30 04:17:56,871 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-30 04:17:57,008 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251?flat'} 2026-03-30 04:17:57,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251 virtual network link through opserver 10.0.0.241 2026-03-30 04:17:57,008 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-03-30 04:17:57,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251?flat'} 2026-03-30 04:17:57,086 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251 virtual network link through opserver 10.0.0.141 2026-03-30 04:17:57,086 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-30 04:17:57,169 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251?flat'} 2026-03-30 04:17:57,169 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-24216251 is found in opserver 2026-03-30 04:17:57,193 - DEBUG - Do not have enough data to verify VN in agent 2026-03-30 04:17:57,205 - DEBUG - VRF ids for VN ctest-vn-24216251: {} 2026-03-30 04:17:57,273 - DEBUG - Services list from nova: [, , , ] 2026-03-30 04:17:58,612 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5563-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5563-1) 2026-03-30 04:18:00,290 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5563-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5563-2) 2026-03-30 04:18:00,290 - INFO - Waiting for VM ctest-TestBasicPolicy-39635840-60764511 to be up.. 2026-03-30 04:18:00,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 04:18:05,687 - DEBUG - VM is in ACTIVE state now 2026-03-30 04:18:05,687 - INFO - VM name : ctest-TestBasicPolicy-39635840-60764511 2026-03-30 04:18:05,798 - DEBUG - VM ctest-TestBasicPolicy-39635840-60764511 ID is 1e14cba5-65ce-4835-b210-bb8a2127e72e 2026-03-30 04:18:05,843 - DEBUG - VM ctest-TestBasicPolicy-39635840-60764511 launched on Node an-jenkins-deploy-platform-ansible-os-5563-1 2026-03-30 04:18:05,969 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1e14cba5-65ce-4835-b210-bb8a2127e72e 2026-03-30 04:18:06,291 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1e14cba5-65ce-4835-b210-bb8a2127e72e 2026-03-30 04:18:06,340 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/23fdcda3-1db5-49ea-a485-9b718bdfdd3f 2026-03-30 04:18:09,596 - 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 1027ms') 2026-03-30 04:18:09,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39635840-60764511 failed! 2026-03-30 04:18:09,612 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39635840:ctest-vn-79620262 is 122.201.139.65 and allocation pool is NOT set 2026-03-30 04:18:11,680 - 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=3.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.413/1.909/3.405/1.496 ms') 2026-03-30 04:18:11,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39635840-60764511 passed 2026-03-30 04:18:11,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 04:18:11,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39635840-60764511, IP 122.201.139.67, Port 22 2026-03-30 04:18:11,951 - DEBUG - VM ctest-TestBasicPolicy-39635840-60764511 is ready for SSH connections 2026-03-30 04:18:11,951 - INFO - Waiting for VM ctest-TestBasicPolicy-39635840-70860470 to be up.. 2026-03-30 04:18:12,089 - DEBUG - VM is in ACTIVE state now 2026-03-30 04:18:12,089 - INFO - VM name : ctest-TestBasicPolicy-39635840-70860470 2026-03-30 04:18:12,233 - DEBUG - VM ctest-TestBasicPolicy-39635840-70860470 ID is 1aed4827-ebcb-4ed3-b441-bb9824b45b1f 2026-03-30 04:18:12,233 - DEBUG - VM ctest-TestBasicPolicy-39635840-70860470 launched on Node an-jenkins-deploy-platform-ansible-os-5563-2 2026-03-30 04:18:12,357 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1aed4827-ebcb-4ed3-b441-bb9824b45b1f 2026-03-30 04:18:12,368 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/59c5fb49-d75c-4f3c-a806-48e2629eae49 2026-03-30 04:18:13,598 - 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=3.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.432/2.014/3.597/1.582 ms') 2026-03-30 04:18:13,599 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39635840-70860470 passed 2026-03-30 04:18:13,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 04:18:13,719 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39635840-70860470, IP 222.54.235.67, Port 22 2026-03-30 04:18:13,875 - DEBUG - VM ctest-TestBasicPolicy-39635840-70860470 is ready for SSH connections 2026-03-30 04:18:13,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 04:18:13,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.54.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-30 04:18:13,876 - DEBUG - ping -s 56 -c 3 -W 1 222.54.235.67 2026-03-30 04:18:17,830 - DEBUG - PING 222.54.235.67 (222.54.235.67): 56 data bytes 64 bytes from 222.54.235.67: seq=0 ttl=63 time=5.418 ms 64 bytes from 222.54.235.67: seq=1 ttl=63 time=1.609 ms 64 bytes from 222.54.235.67: seq=2 ttl=63 time=1.274 ms --- 222.54.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.274/2.767/5.418 ms 2026-03-30 04:18:17,830 - INFO - Ping to IP 222.54.235.67 from VM ctest-TestBasicPolicy-39635840-60764511 passed 2026-03-30 04:18:18,052 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e41c2bae-e59e-4fc9-b330-1a18c6beadb1", "href": "http://10.0.0.141:8082/network-policy/e41c2bae-e59e-4fc9-b330-1a18c6beadb1"}} 2026-03-30 04:18:18,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 04:18:18,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.54.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-30 04:18:18,053 - DEBUG - ping -s 56 -c 3 -W 1 222.54.235.67 2026-03-30 04:18:21,263 - DEBUG - PING 222.54.235.67 (222.54.235.67): 56 data bytes --- 222.54.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-30 04:18:21,264 - WARNING - Ping to IP 222.54.235.67 from VM ctest-TestBasicPolicy-39635840-60764511 failed 2026-03-30 04:18:21,264 - INFO - Deleting VM ctest-TestBasicPolicy-39635840-70860470 2026-03-30 04:18:21,393 - INFO - Deleting VM ctest-TestBasicPolicy-39635840-60764511 2026-03-30 04:18:22,054 - INFO - Deleted policy ctest-policy-allow-all-38613475 2026-03-30 04:18:22,054 - INFO - Deleting VN ctest-vn-24216251 2026-03-30 04:18:22,112 - DEBUG - VN c1d784f4-a4ec-45c8-a52d-78c60e554b23 still in use: Unable to complete operation on network c1d784f4-a4ec-45c8-a52d-78c60e554b23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f43990f9-f666-4655-bd9a-d8f12d0f2f41'] 2026-03-30 04:18:22,112 - WARNING - Deleting VN ctest-vn-24216251 failed..Will retry 2026-03-30 04:18:24,325 - DEBUG - Response for deleting network () 2026-03-30 04:18:24,325 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/67c4cabd-1d6b-4a4a-981b-5bd24fbeb317 2026-03-30 04:18:24,331 - DEBUG - Response Code: 404 2026-03-30 04:18:24,332 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-30 04:18:24,348 - DEBUG - Requesting: http://10.0.0.249:8082/domain/915c2541-ccc7-4e90-b8b1-1d89c2512d73 2026-03-30 04:18:24,376 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d864394-003f-426a-9ffb-63f240993bcf 2026-03-30 04:18:24,487 - INFO - Validated that VN ctest-vn-24216251 is not found in API Server 2026-03-30 04:18:24,499 - DEBUG - VN ctest-vn-24216251 is not present in Agent 10.0.0.129 2026-03-30 04:18:24,515 - DEBUG - VN ctest-vn-24216251 is not present in Agent 10.0.0.27 2026-03-30 04:18:24,515 - INFO - Validated that VN ctest-vn-24216251 is not in any agent 2026-03-30 04:18:24,550 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24216251 info 2026-03-30 04:18:24,551 - INFO - Deleting VN ctest-vn-79620262 2026-03-30 04:18:24,744 - DEBUG - Response for deleting network () 2026-03-30 04:18:24,744 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/818d9053-4054-4921-ac24-986d0ac5fb93 2026-03-30 04:18:24,752 - DEBUG - Response Code: 404 2026-03-30 04:18:24,752 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-30 04:18:24,770 - DEBUG - Requesting: http://10.0.0.249:8082/domain/915c2541-ccc7-4e90-b8b1-1d89c2512d73 2026-03-30 04:18:24,797 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d864394-003f-426a-9ffb-63f240993bcf 2026-03-30 04:18:24,911 - INFO - Validated that VN ctest-vn-79620262 is not found in API Server 2026-03-30 04:18:24,923 - DEBUG - VN ctest-vn-79620262 is not present in Agent 10.0.0.129 2026-03-30 04:18:24,934 - DEBUG - VN ctest-vn-79620262 is not present in Agent 10.0.0.27 2026-03-30 04:18:24,934 - INFO - Validated that VN ctest-vn-79620262 is not in any agent 2026-03-30 04:18:24,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79620262 info 2026-03-30 04:18:26,288 - DEBUG - No XMPP flaps were noticed during the test 2026-03-30 04:18:26,288 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-03-30 04:18:26,288 - INFO - -------------------------------------------------------------------------------- 2026-03-30 04:18:27,064 - INFO - Deleted project: ctest-TestBasicPolicy-39635840, ID : 9d864394-003f-426a-9ffb-63f240993bcf