2026-03-26 06:11:18,163 - INFO - Domain Default found not creating 2026-03-26 06:11:18,388 - INFO - Project ctest-TestBasicPolicy-71059067 not found, creating it 2026-03-26 06:11:19,034 - INFO - Created Project:ctest-TestBasicPolicy-71059067, ID : a991d69d-4275-4606-990c-322faae3d9a1 2026-03-26 06:11:21,154 - INFO - ================================================================================ 2026-03-26 06:11:21,154 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-26 06:11:21,154 - 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-26 06:11:22,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.249': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2026-03-26 06:11:22,508 - INFO - Initial checks done. Running the testcase now 2026-03-26 06:11:22,508 - INFO - 2026-03-26 06:11:23,357 - DEBUG - Response for create_network : {'network': {'id': '61073aea-0354-4f72-95f9-e75b29210537', 'name': 'ctest-vn-34504016', 'tenant_id': 'a991d69d42754606990c322faae3d9a1', 'project_id': 'a991d69d42754606990c322faae3d9a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71059067', 'ctest-vn-34504016'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 06:11:23,698 - DEBUG - Response for create_subnet : {'subnet': {'id': '7998f3df-c341-4bd9-b0d8-854dce480fc5', 'name': '', 'tenant_id': 'a991d69d42754606990c322faae3d9a1', 'network_id': '61073aea-0354-4f72-95f9-e75b29210537', 'ip_version': 4, 'cidr': '9.139.250.64/26', 'allocation_pools': [{'start': '9.139.250.66', 'end': '9.139.250.126'}], 'gateway_ip': '9.139.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.139.250.66', 'tags': [], 'project_id': 'a991d69d42754606990c322faae3d9a1'}} 2026-03-26 06:11:23,738 - INFO - Created VN ctest-vn-34504016 2026-03-26 06:11:23,753 - DEBUG - VN ctest-vn-34504016 UUID is 61073aea-0354-4f72-95f9-e75b29210537 2026-03-26 06:11:24,248 - DEBUG - Response for create_network : {'network': {'id': '476ec16c-ca72-45b9-ad10-dcbe91a254f9', 'name': 'ctest-vn-97770400', 'tenant_id': 'a991d69d42754606990c322faae3d9a1', 'project_id': 'a991d69d42754606990c322faae3d9a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71059067', 'ctest-vn-97770400'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 06:11:24,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '45efccb1-d988-42dc-b88d-b8704b1e0e0f', 'name': '', 'tenant_id': 'a991d69d42754606990c322faae3d9a1', 'network_id': '476ec16c-ca72-45b9-ad10-dcbe91a254f9', 'ip_version': 4, 'cidr': '124.98.238.128/26', 'allocation_pools': [{'start': '124.98.238.130', 'end': '124.98.238.190'}], 'gateway_ip': '124.98.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.98.238.130', 'tags': [], 'project_id': 'a991d69d42754606990c322faae3d9a1'}} 2026-03-26 06:11:24,536 - INFO - Created VN ctest-vn-97770400 2026-03-26 06:11:24,552 - DEBUG - VN ctest-vn-97770400 UUID is 476ec16c-ca72-45b9-ad10-dcbe91a254f9 2026-03-26 06:11:24,640 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016, 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-71059067:ctest-vn-97770400, 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-26 06:11:25,031 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61073aea-0354-4f72-95f9-e75b29210537', 'name': 'ctest-vn-34504016', 'tenant_id': 'a991d69d42754606990c322faae3d9a1', 'project_id': 'a991d69d42754606990c322faae3d9a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7998f3df-c341-4bd9-b0d8-854dce480fc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71059067', 'ctest-vn-34504016'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71059067', 'ctest-policy-allow-all-00120267']], 'subnet_ipam': [{'subnet_cidr': '9.139.250.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-26 06:11:25,285 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '476ec16c-ca72-45b9-ad10-dcbe91a254f9', 'name': 'ctest-vn-97770400', 'tenant_id': 'a991d69d42754606990c322faae3d9a1', 'project_id': 'a991d69d42754606990c322faae3d9a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45efccb1-d988-42dc-b88d-b8704b1e0e0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71059067', 'ctest-vn-97770400'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71059067', 'ctest-policy-allow-all-00120267']], 'subnet_ipam': [{'subnet_cidr': '124.98.238.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-26 06:11:25,427 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-26 06:11:25,789 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-26 06:11:25,825 - DEBUG - Requesting: http://10.0.0.38:8082/domain/da4d30e0-25e9-49cd-94d8-93ff5a173387 2026-03-26 06:11:25,843 - DEBUG - Requesting: http://10.0.0.38:8082/project/a991d69d-4275-4606-990c-322faae3d9a1 2026-03-26 06:11:25,942 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61073aea-0354-4f72-95f9-e75b29210537 2026-03-26 06:11:25,959 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61073aea-0354-4f72-95f9-e75b29210537 2026-03-26 06:11:25,970 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e2d985d0-0f9b-49d9-ad92-300a14a7f17d 2026-03-26 06:11:25,978 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e2d985d0-0f9b-49d9-ad92-300a14a7f17d 2026-03-26 06:11:25,986 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cbd06f02-aa12-439f-8f8c-55d25e0d3846 2026-03-26 06:11:25,993 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-26 06:11:25,994 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61073aea-0354-4f72-95f9-e75b29210537 2026-03-26 06:11:26,003 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e2d985d0-0f9b-49d9-ad92-300a14a7f17d 2026-03-26 06:11:26,019 - INFO - Verified VN network id 11 for VN 61073aea-0354-4f72-95f9-e75b29210537 2026-03-26 06:11:26,019 - INFO - Verifications in API Server for VN ctest-vn-34504016 passed 2026-03-26 06:11:26,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61073aea-0354-4f72-95f9-e75b29210537 2026-03-26 06:11:26,031 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e2d985d0-0f9b-49d9-ad92-300a14a7f17d 2026-03-26 06:11:26,041 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e2d985d0-0f9b-49d9-ad92-300a14a7f17d 2026-03-26 06:11:26,051 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cbd06f02-aa12-439f-8f8c-55d25e0d3846 2026-03-26 06:11:26,066 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71059067', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6991621723268599666', 'uuid-lslong': '10806923159570285879'}, 'enable': 'true', 'created': '2026-03-26T06:11:23', 'last-modified': '2026-03-26T06:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.079730'} 2026-03-26 06:11:26,073 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-26 06:11:26,081 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71059067', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6991621723268599666', 'uuid-lslong': '10806923159570285879'}, 'enable': 'true', 'created': '2026-03-26T06:11:23', 'last-modified': '2026-03-26T06:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092404'} 2026-03-26 06:11:26,089 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-26 06:11:26,095 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71059067', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6991621723268599666', 'uuid-lslong': '10806923159570285879'}, 'enable': 'true', 'created': '2026-03-26T06:11:23', 'last-modified': '2026-03-26T06:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.110015'} 2026-03-26 06:11:26,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-26 06:11:26,101 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34504016 passed 2026-03-26 06:11:26,101 - DEBUG - ====Verifying policy data for ctest-vn-34504016 in API_Server ====== 2026-03-26 06:11:26,101 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-26 06:11:26,108 - DEBUG - Requesting: http://10.0.0.38:8082/domain/da4d30e0-25e9-49cd-94d8-93ff5a173387 2026-03-26 06:11:26,121 - DEBUG - Requesting: http://10.0.0.38:8082/project/a991d69d-4275-4606-990c-322faae3d9a1 2026-03-26 06:11:26,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61073aea-0354-4f72-95f9-e75b29210537 2026-03-26 06:11:26,243 - DEBUG - ==>Verifying data for policy with id: b246296a-c330-4040-8c17-32581ec39051, fqn: ['default-domain', 'ctest-TestBasicPolicy-71059067', 'ctest-policy-allow-all-00120267'] 2026-03-26 06:11:26,243 - INFO - VN ctest-vn-34504016 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-26 06:11:26,243 - DEBUG - Verifying the vn in opserver 2026-03-26 06:11:26,243 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016 virtual network link through opserver 10.0.0.38 2026-03-26 06:11:26,243 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-26 06:11:26,636 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-26 06:11:26,720 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016?flat'} 2026-03-26 06:11:26,720 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016 virtual network link through opserver 10.0.0.242 2026-03-26 06:11:26,720 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-26 06:11:27,128 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-26 06:11:27,216 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016?flat'} 2026-03-26 06:11:27,216 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016 virtual network link through opserver 10.0.0.33 2026-03-26 06:11:27,216 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-26 06:11:27,611 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-26 06:11:27,697 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016?flat'} 2026-03-26 06:11:27,697 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016 is found in opserver 2026-03-26 06:11:27,722 - DEBUG - Do not have enough data to verify VN in agent 2026-03-26 06:11:27,736 - DEBUG - VRF ids for VN ctest-vn-34504016: {} 2026-03-26 06:11:27,736 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-26 06:11:27,744 - DEBUG - Requesting: http://10.0.0.38:8082/domain/da4d30e0-25e9-49cd-94d8-93ff5a173387 2026-03-26 06:11:27,757 - DEBUG - Requesting: http://10.0.0.38:8082/project/a991d69d-4275-4606-990c-322faae3d9a1 2026-03-26 06:11:27,871 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/476ec16c-ca72-45b9-ad10-dcbe91a254f9 2026-03-26 06:11:27,890 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/476ec16c-ca72-45b9-ad10-dcbe91a254f9 2026-03-26 06:11:27,902 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c575659-73d4-4649-9483-70298dc47ef4 2026-03-26 06:11:27,912 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c575659-73d4-4649-9483-70298dc47ef4 2026-03-26 06:11:27,925 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f5e68671-c15e-42b4-adf7-52e94a3652b1 2026-03-26 06:11:27,940 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-26 06:11:27,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/476ec16c-ca72-45b9-ad10-dcbe91a254f9 2026-03-26 06:11:27,954 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c575659-73d4-4649-9483-70298dc47ef4 2026-03-26 06:11:27,971 - INFO - Verified VN network id 12 for VN 476ec16c-ca72-45b9-ad10-dcbe91a254f9 2026-03-26 06:11:27,971 - INFO - Verifications in API Server for VN ctest-vn-97770400 passed 2026-03-26 06:11:27,972 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/476ec16c-ca72-45b9-ad10-dcbe91a254f9 2026-03-26 06:11:27,984 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c575659-73d4-4649-9483-70298dc47ef4 2026-03-26 06:11:27,996 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c575659-73d4-4649-9483-70298dc47ef4 2026-03-26 06:11:28,008 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f5e68671-c15e-42b4-adf7-52e94a3652b1 2026-03-26 06:11:28,024 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71059067', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5147264097128170937', 'uuid-lslong': '12470710079234135289'}, 'enable': 'true', 'created': '2026-03-26T06:11:24', 'last-modified': '2026-03-26T06:11:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.798631'} 2026-03-26 06:11:28,030 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-26 06:11:28,038 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71059067', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5147264097128170937', 'uuid-lslong': '12470710079234135289'}, 'enable': 'true', 'created': '2026-03-26T06:11:24', 'last-modified': '2026-03-26T06:11:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.791770'} 2026-03-26 06:11:28,045 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-26 06:11:28,051 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71059067', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5147264097128170937', 'uuid-lslong': '12470710079234135289'}, 'enable': 'true', 'created': '2026-03-26T06:11:24', 'last-modified': '2026-03-26T06:11:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.829907'} 2026-03-26 06:11:28,057 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-26 06:11:28,057 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97770400 passed 2026-03-26 06:11:28,058 - DEBUG - ====Verifying policy data for ctest-vn-97770400 in API_Server ====== 2026-03-26 06:11:28,058 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-26 06:11:28,065 - DEBUG - Requesting: http://10.0.0.38:8082/domain/da4d30e0-25e9-49cd-94d8-93ff5a173387 2026-03-26 06:11:28,078 - DEBUG - Requesting: http://10.0.0.38:8082/project/a991d69d-4275-4606-990c-322faae3d9a1 2026-03-26 06:11:28,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/476ec16c-ca72-45b9-ad10-dcbe91a254f9 2026-03-26 06:11:28,194 - DEBUG - ==>Verifying data for policy with id: b246296a-c330-4040-8c17-32581ec39051, fqn: ['default-domain', 'ctest-TestBasicPolicy-71059067', 'ctest-policy-allow-all-00120267'] 2026-03-26 06:11:28,195 - INFO - VN ctest-vn-97770400 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-26 06:11:28,195 - DEBUG - Verifying the vn in opserver 2026-03-26 06:11:28,195 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400 virtual network link through opserver 10.0.0.38 2026-03-26 06:11:28,195 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-26 06:11:28,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400?flat'} 2026-03-26 06:11:28,263 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400 virtual network link through opserver 10.0.0.242 2026-03-26 06:11:28,263 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-26 06:11:28,329 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400?flat'} 2026-03-26 06:11:28,329 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400 virtual network link through opserver 10.0.0.33 2026-03-26 06:11:28,329 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-26 06:11:28,397 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400?flat'} 2026-03-26 06:11:28,397 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-97770400 is found in opserver 2026-03-26 06:11:28,425 - DEBUG - Do not have enough data to verify VN in agent 2026-03-26 06:11:28,439 - DEBUG - VRF ids for VN ctest-vn-97770400: {} 2026-03-26 06:11:28,517 - DEBUG - Services list from nova: [, , , ] 2026-03-26 06:11:29,691 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5546-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5546-2) 2026-03-26 06:11:31,260 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5546-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5546-1) 2026-03-26 06:11:31,260 - INFO - Waiting for VM ctest-TestBasicPolicy-71059067-87863798 to be up.. 2026-03-26 06:11:31,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-26 06:11:36,489 - DEBUG - VM is in ACTIVE state now 2026-03-26 06:11:36,490 - INFO - VM name : ctest-TestBasicPolicy-71059067-87863798 2026-03-26 06:11:36,625 - DEBUG - VM ctest-TestBasicPolicy-71059067-87863798 ID is 1f4a329b-3096-4f6e-bcb6-a75ce3565a0c 2026-03-26 06:11:36,668 - DEBUG - VM ctest-TestBasicPolicy-71059067-87863798 launched on Node an-jenkins-deploy-platform-ansible-os-5546-2 2026-03-26 06:11:36,779 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1f4a329b-3096-4f6e-bcb6-a75ce3565a0c 2026-03-26 06:11:37,125 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1f4a329b-3096-4f6e-bcb6-a75ce3565a0c 2026-03-26 06:11:37,169 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c3863b90-9f19-48bf-8877-aa28ed44e23e 2026-03-26 06:11:40,384 - 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 1006ms') 2026-03-26 06:11:40,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71059067-87863798 failed! 2026-03-26 06:11:40,401 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71059067:ctest-vn-34504016 is 9.139.250.65 and allocation pool is NOT set 2026-03-26 06:11:44,483 - 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.48 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 = 9.475/9.475/9.475/0.000 ms') 2026-03-26 06:11:44,483 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71059067-87863798 passed 2026-03-26 06:11:44,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 06:11:44,600 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71059067-87863798, IP 9.139.250.67, Port 22 2026-03-26 06:11:44,755 - DEBUG - VM ctest-TestBasicPolicy-71059067-87863798 is ready for SSH connections 2026-03-26 06:11:44,755 - INFO - Waiting for VM ctest-TestBasicPolicy-71059067-26291672 to be up.. 2026-03-26 06:11:44,895 - DEBUG - VM is in ACTIVE state now 2026-03-26 06:11:44,895 - INFO - VM name : ctest-TestBasicPolicy-71059067-26291672 2026-03-26 06:11:45,010 - DEBUG - VM ctest-TestBasicPolicy-71059067-26291672 ID is 96372ebb-0e11-4f21-b957-7c2fe912b2b6 2026-03-26 06:11:45,010 - DEBUG - VM ctest-TestBasicPolicy-71059067-26291672 launched on Node an-jenkins-deploy-platform-ansible-os-5546-1 2026-03-26 06:11:45,123 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/96372ebb-0e11-4f21-b957-7c2fe912b2b6 2026-03-26 06:11:45,136 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e60b766e-c923-432e-86c5-f67e8a35de94 2026-03-26 06:11:46,380 - 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=6.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.806 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.806/3.529/6.253/2.723 ms') 2026-03-26 06:11:46,380 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71059067-26291672 passed 2026-03-26 06:11:46,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 06:11:46,499 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71059067-26291672, IP 124.98.238.131, Port 22 2026-03-26 06:11:46,673 - DEBUG - VM ctest-TestBasicPolicy-71059067-26291672 is ready for SSH connections 2026-03-26 06:11:46,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 06:11:46,673 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.98.238.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-26 06:11:46,674 - DEBUG - ping -s 56 -c 3 -W 1 124.98.238.131 2026-03-26 06:11:50,975 - DEBUG - PING 124.98.238.131 (124.98.238.131): 56 data bytes 64 bytes from 124.98.238.131: seq=0 ttl=63 time=9.124 ms 64 bytes from 124.98.238.131: seq=1 ttl=63 time=2.055 ms 64 bytes from 124.98.238.131: seq=2 ttl=63 time=1.449 ms --- 124.98.238.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.449/4.209/9.124 ms 2026-03-26 06:11:50,975 - INFO - Ping to IP 124.98.238.131 from VM ctest-TestBasicPolicy-71059067-87863798 passed 2026-03-26 06:11:51,254 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b246296a-c330-4040-8c17-32581ec39051", "href": "http://10.0.0.33:8082/network-policy/b246296a-c330-4040-8c17-32581ec39051"}} 2026-03-26 06:11:51,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 06:11:51,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.98.238.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-26 06:11:51,255 - DEBUG - ping -s 56 -c 3 -W 1 124.98.238.131 2026-03-26 06:11:54,607 - DEBUG - PING 124.98.238.131 (124.98.238.131): 56 data bytes --- 124.98.238.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-26 06:11:54,607 - WARNING - Ping to IP 124.98.238.131 from VM ctest-TestBasicPolicy-71059067-87863798 failed 2026-03-26 06:11:54,607 - INFO - Deleting VM ctest-TestBasicPolicy-71059067-26291672 2026-03-26 06:11:54,686 - INFO - Deleting VM ctest-TestBasicPolicy-71059067-87863798 2026-03-26 06:11:55,288 - INFO - Deleted policy ctest-policy-allow-all-00120267 2026-03-26 06:11:55,288 - INFO - Deleting VN ctest-vn-97770400 2026-03-26 06:11:55,342 - DEBUG - VN 476ec16c-ca72-45b9-ad10-dcbe91a254f9 still in use: Unable to complete operation on network 476ec16c-ca72-45b9-ad10-dcbe91a254f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0f5d40c-f3b2-41e5-9909-2094081ceaeb'] 2026-03-26 06:11:55,342 - WARNING - Deleting VN ctest-vn-97770400 failed..Will retry 2026-03-26 06:11:57,585 - DEBUG - Response for deleting network () 2026-03-26 06:11:57,585 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c575659-73d4-4649-9483-70298dc47ef4 2026-03-26 06:11:57,591 - DEBUG - Response Code: 404 2026-03-26 06:11:57,591 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-26 06:11:57,598 - DEBUG - Requesting: http://10.0.0.38:8082/domain/da4d30e0-25e9-49cd-94d8-93ff5a173387 2026-03-26 06:11:57,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/a991d69d-4275-4606-990c-322faae3d9a1 2026-03-26 06:11:57,749 - INFO - Validated that VN ctest-vn-97770400 is not found in API Server 2026-03-26 06:11:57,762 - DEBUG - VN ctest-vn-97770400 is not present in Agent 10.0.0.22 2026-03-26 06:11:57,773 - DEBUG - VN ctest-vn-97770400 is not present in Agent 10.0.0.249 2026-03-26 06:11:57,774 - INFO - Validated that VN ctest-vn-97770400 is not in any agent 2026-03-26 06:11:57,815 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97770400 info 2026-03-26 06:11:57,815 - INFO - Deleting VN ctest-vn-34504016 2026-03-26 06:11:58,037 - DEBUG - Response for deleting network () 2026-03-26 06:11:58,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e2d985d0-0f9b-49d9-ad92-300a14a7f17d 2026-03-26 06:11:58,044 - DEBUG - Response Code: 404 2026-03-26 06:11:58,044 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-26 06:11:58,050 - DEBUG - Requesting: http://10.0.0.38:8082/domain/da4d30e0-25e9-49cd-94d8-93ff5a173387 2026-03-26 06:11:58,113 - DEBUG - Requesting: http://10.0.0.38:8082/project/a991d69d-4275-4606-990c-322faae3d9a1 2026-03-26 06:11:58,217 - INFO - Validated that VN ctest-vn-34504016 is not found in API Server 2026-03-26 06:11:58,229 - DEBUG - VN ctest-vn-34504016 is not present in Agent 10.0.0.22 2026-03-26 06:11:58,244 - DEBUG - VN ctest-vn-34504016 is not present in Agent 10.0.0.249 2026-03-26 06:11:58,245 - INFO - Validated that VN ctest-vn-34504016 is not in any agent 2026-03-26 06:11:58,282 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34504016 info 2026-03-26 06:11:59,628 - DEBUG - No XMPP flaps were noticed during the test
2026-03-26 06:11:59,628 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38]
2026-03-26 06:11:59,628 - INFO - -------------------------------------------------------------------------------- 2026-03-26 06:12:00,518 - INFO - Deleted project: ctest-TestBasicPolicy-71059067, ID : a991d69d-4275-4606-990c-322faae3d9a1