2026-11-23 03:03:02,205 - INFO - Domain Default found not creating 2026-11-23 03:03:02,397 - INFO - Project ctest-TestBasicPolicy-49506339 not found, creating it 2026-11-23 03:03:02,936 - INFO - Created Project:ctest-TestBasicPolicy-49506339, ID : b2a45ec9-59b1-4982-8e0c-154aff651d45 2026-11-23 03:03:04,782 - INFO - ================================================================================ 2026-11-23 03:03:04,782 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-23 03:03:04,782 - 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-11-23 03:03:06,150 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.189': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2026-11-23 03:03:06,150 - INFO - Initial checks done. Running the testcase now 2026-11-23 03:03:06,150 - INFO - 2026-11-23 03:03:06,932 - DEBUG - Response for create_network : {'network': {'id': '342dbc52-eddd-4be8-9111-c284f691ae99', 'name': 'ctest-vn-30629348', 'tenant_id': 'b2a45ec959b149828e0c154aff651d45', 'project_id': 'b2a45ec959b149828e0c154aff651d45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49506339', 'ctest-vn-30629348'], 'port_security_enabled': True, 'description': ''}} 2026-11-23 03:03:07,192 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b8d4af9-31d7-4610-8405-a19779e82246', 'name': '', 'tenant_id': 'b2a45ec959b149828e0c154aff651d45', 'network_id': '342dbc52-eddd-4be8-9111-c284f691ae99', 'ip_version': 4, 'cidr': '134.142.219.64/26', 'allocation_pools': [{'start': '134.142.219.66', 'end': '134.142.219.126'}], 'gateway_ip': '134.142.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.142.219.66', 'tags': [], 'project_id': 'b2a45ec959b149828e0c154aff651d45'}} 2026-11-23 03:03:07,227 - INFO - Created VN ctest-vn-30629348 2026-11-23 03:03:07,242 - DEBUG - VN ctest-vn-30629348 UUID is 342dbc52-eddd-4be8-9111-c284f691ae99 2026-11-23 03:03:07,761 - DEBUG - Response for create_network : {'network': {'id': '7aeaa21c-49e7-424b-9cba-b6371555afe1', 'name': 'ctest-vn-57770061', 'tenant_id': 'b2a45ec959b149828e0c154aff651d45', 'project_id': 'b2a45ec959b149828e0c154aff651d45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49506339', 'ctest-vn-57770061'], 'port_security_enabled': True, 'description': ''}} 2026-11-23 03:03:07,997 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f507411c-9343-4229-af28-e58238d7bc27', 'name': '', 'tenant_id': 'b2a45ec959b149828e0c154aff651d45', 'network_id': '7aeaa21c-49e7-424b-9cba-b6371555afe1', 'ip_version': 4, 'cidr': '17.218.19.64/26', 'allocation_pools': [{'start': '17.218.19.66', 'end': '17.218.19.126'}], 'gateway_ip': '17.218.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.218.19.66', 'tags': [], 'project_id': 'b2a45ec959b149828e0c154aff651d45'}} 2026-11-23 03:03:08,021 - INFO - Created VN ctest-vn-57770061 2026-11-23 03:03:08,040 - DEBUG - VN ctest-vn-57770061 UUID is 7aeaa21c-49e7-424b-9cba-b6371555afe1 2026-11-23 03:03:08,126 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348, 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-49506339:ctest-vn-57770061, 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-11-23 03:03:08,468 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '342dbc52-eddd-4be8-9111-c284f691ae99', 'name': 'ctest-vn-30629348', 'tenant_id': 'b2a45ec959b149828e0c154aff651d45', 'project_id': 'b2a45ec959b149828e0c154aff651d45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2b8d4af9-31d7-4610-8405-a19779e82246'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49506339', 'ctest-vn-30629348'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49506339', 'ctest-policy-allow-all-60100469']], 'subnet_ipam': [{'subnet_cidr': '134.142.219.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-23 03:03:08,705 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7aeaa21c-49e7-424b-9cba-b6371555afe1', 'name': 'ctest-vn-57770061', 'tenant_id': 'b2a45ec959b149828e0c154aff651d45', 'project_id': 'b2a45ec959b149828e0c154aff651d45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f507411c-9343-4229-af28-e58238d7bc27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49506339', 'ctest-vn-57770061'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49506339', 'ctest-policy-allow-all-60100469']], 'subnet_ipam': [{'subnet_cidr': '17.218.19.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-23 03:03:08,850 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-23 03:03:09,225 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-23 03:03:09,256 - DEBUG - Requesting: http://10.0.0.185:8082/domain/6905648d-8cf2-4121-b24f-4d27223106f0 2026-11-23 03:03:09,277 - DEBUG - Requesting: http://10.0.0.185:8082/project/b2a45ec9-59b1-4982-8e0c-154aff651d45 2026-11-23 03:03:09,413 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/342dbc52-eddd-4be8-9111-c284f691ae99 2026-11-23 03:03:09,447 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/342dbc52-eddd-4be8-9111-c284f691ae99 2026-11-23 03:03:09,460 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5e395bce-4772-463e-af9d-4609e27b8ff7 2026-11-23 03:03:09,472 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5e395bce-4772-463e-af9d-4609e27b8ff7 2026-11-23 03:03:09,481 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/7bfe4eb0-0db6-4e13-b6de-984c4bc47fdd 2026-11-23 03:03:09,489 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-23 03:03:09,490 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/342dbc52-eddd-4be8-9111-c284f691ae99 2026-11-23 03:03:09,501 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5e395bce-4772-463e-af9d-4609e27b8ff7 2026-11-23 03:03:09,522 - INFO - Verified VN network id 16 for VN 342dbc52-eddd-4be8-9111-c284f691ae99 2026-11-23 03:03:09,522 - INFO - Verifications in API Server for VN ctest-vn-30629348 passed 2026-11-23 03:03:09,522 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/342dbc52-eddd-4be8-9111-c284f691ae99 2026-11-23 03:03:09,534 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5e395bce-4772-463e-af9d-4609e27b8ff7 2026-11-23 03:03:09,545 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5e395bce-4772-463e-af9d-4609e27b8ff7 2026-11-23 03:03:09,555 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/7bfe4eb0-0db6-4e13-b6de-984c4bc47fdd 2026-11-23 03:03:09,571 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49506339', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3759868328288275432', 'uuid-lslong': '10453350086431846041'}, 'enable': 'true', 'created': '2026-11-23T03:03:06', 'last-modified': '2026-11-23T03:03:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.148138'} 2026-11-23 03:03:09,581 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-23 03:03:09,588 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49506339', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3759868328288275432', 'uuid-lslong': '10453350086431846041'}, 'enable': 'true', 'created': '2026-11-23T03:03:06', 'last-modified': '2026-11-23T03:03:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.168648'} 2026-11-23 03:03:09,599 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-23 03:03:09,605 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49506339', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3759868328288275432', 'uuid-lslong': '10453350086431846041'}, 'enable': 'true', 'created': '2026-11-23T03:03:06', 'last-modified': '2026-11-23T03:03:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.185740'} 2026-11-23 03:03:09,614 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-23 03:03:09,614 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30629348 passed 2026-11-23 03:03:09,614 - DEBUG - ====Verifying policy data for ctest-vn-30629348 in API_Server ====== 2026-11-23 03:03:09,614 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-23 03:03:09,622 - DEBUG - Requesting: http://10.0.0.185:8082/domain/6905648d-8cf2-4121-b24f-4d27223106f0 2026-11-23 03:03:09,646 - DEBUG - Requesting: http://10.0.0.185:8082/project/b2a45ec9-59b1-4982-8e0c-154aff651d45 2026-11-23 03:03:09,781 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/342dbc52-eddd-4be8-9111-c284f691ae99 2026-11-23 03:03:09,798 - DEBUG - ==>Verifying data for policy with id: 7f5f32b8-1132-4183-9371-518183039f03, fqn: ['default-domain', 'ctest-TestBasicPolicy-49506339', 'ctest-policy-allow-all-60100469'] 2026-11-23 03:03:09,798 - INFO - VN ctest-vn-30629348 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-23 03:03:09,798 - DEBUG - Verifying the vn in opserver 2026-11-23 03:03:09,798 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 virtual network link through opserver 10.0.0.185 2026-11-23 03:03:09,799 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-23 03:03:10,184 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-23 03:03:10,251 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348?flat'} 2026-11-23 03:03:10,251 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 virtual network link through opserver 10.0.0.38 2026-11-23 03:03:10,251 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-23 03:03:10,624 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-23 03:03:10,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348?flat'} 2026-11-23 03:03:10,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 virtual network link through opserver 10.0.0.186 2026-11-23 03:03:10,688 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-11-23 03:03:11,074 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-11-23 03:03:11,147 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348?flat'} 2026-11-23 03:03:11,147 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 is found in opserver 2026-11-23 03:03:11,173 - DEBUG - Do not have enough data to verify VN in agent 2026-11-23 03:03:11,185 - DEBUG - VRF ids for VN ctest-vn-30629348: {} 2026-11-23 03:03:11,185 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-23 03:03:11,192 - DEBUG - Requesting: http://10.0.0.185:8082/domain/6905648d-8cf2-4121-b24f-4d27223106f0 2026-11-23 03:03:11,207 - DEBUG - Requesting: http://10.0.0.185:8082/project/b2a45ec9-59b1-4982-8e0c-154aff651d45 2026-11-23 03:03:11,311 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/7aeaa21c-49e7-424b-9cba-b6371555afe1 2026-11-23 03:03:11,325 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/7aeaa21c-49e7-424b-9cba-b6371555afe1 2026-11-23 03:03:11,335 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c7d96a4c-ee43-4376-8048-6ded82dcc487 2026-11-23 03:03:11,344 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c7d96a4c-ee43-4376-8048-6ded82dcc487 2026-11-23 03:03:11,352 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/c11ea71c-c4e0-429f-b342-7b2a39f8085f 2026-11-23 03:03:11,361 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-23 03:03:11,361 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/7aeaa21c-49e7-424b-9cba-b6371555afe1 2026-11-23 03:03:11,371 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c7d96a4c-ee43-4376-8048-6ded82dcc487 2026-11-23 03:03:11,388 - INFO - Verified VN network id 17 for VN 7aeaa21c-49e7-424b-9cba-b6371555afe1 2026-11-23 03:03:11,388 - INFO - Verifications in API Server for VN ctest-vn-57770061 passed 2026-11-23 03:03:11,388 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/7aeaa21c-49e7-424b-9cba-b6371555afe1 2026-11-23 03:03:11,400 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c7d96a4c-ee43-4376-8048-6ded82dcc487 2026-11-23 03:03:11,413 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c7d96a4c-ee43-4376-8048-6ded82dcc487 2026-11-23 03:03:11,422 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/c11ea71c-c4e0-429f-b342-7b2a39f8085f 2026-11-23 03:03:11,441 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49506339', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8857069859560178251', 'uuid-lslong': '11293539363282333665'}, 'enable': 'true', 'created': '2026-11-23T03:03:07', 'last-modified': '2026-11-23T03:03:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.799243'} 2026-11-23 03:03:11,451 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-23 03:03:11,458 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49506339', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8857069859560178251', 'uuid-lslong': '11293539363282333665'}, 'enable': 'true', 'created': '2026-11-23T03:03:07', 'last-modified': '2026-11-23T03:03:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.810854'} 2026-11-23 03:03:11,465 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-23 03:03:11,471 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49506339', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8857069859560178251', 'uuid-lslong': '11293539363282333665'}, 'enable': 'true', 'created': '2026-11-23T03:03:07', 'last-modified': '2026-11-23T03:03:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.820346'} 2026-11-23 03:03:11,478 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-11-23 03:03:11,478 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57770061 passed 2026-11-23 03:03:11,478 - DEBUG - ====Verifying policy data for ctest-vn-57770061 in API_Server ====== 2026-11-23 03:03:11,478 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-23 03:03:11,486 - DEBUG - Requesting: http://10.0.0.185:8082/domain/6905648d-8cf2-4121-b24f-4d27223106f0 2026-11-23 03:03:11,500 - DEBUG - Requesting: http://10.0.0.185:8082/project/b2a45ec9-59b1-4982-8e0c-154aff651d45 2026-11-23 03:03:11,604 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/7aeaa21c-49e7-424b-9cba-b6371555afe1 2026-11-23 03:03:11,618 - DEBUG - ==>Verifying data for policy with id: 7f5f32b8-1132-4183-9371-518183039f03, fqn: ['default-domain', 'ctest-TestBasicPolicy-49506339', 'ctest-policy-allow-all-60100469'] 2026-11-23 03:03:11,618 - INFO - VN ctest-vn-57770061 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-23 03:03:11,618 - DEBUG - Verifying the vn in opserver 2026-11-23 03:03:11,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061 virtual network link through opserver 10.0.0.185 2026-11-23 03:03:11,618 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-23 03:03:11,670 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061?flat'} 2026-11-23 03:03:11,670 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061 virtual network link through opserver 10.0.0.38 2026-11-23 03:03:11,670 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-23 03:03:11,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061?flat'} 2026-11-23 03:03:11,723 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061 virtual network link through opserver 10.0.0.186 2026-11-23 03:03:11,723 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-11-23 03:03:11,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061?flat'} 2026-11-23 03:03:11,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-57770061 is found in opserver 2026-11-23 03:03:11,809 - DEBUG - Do not have enough data to verify VN in agent 2026-11-23 03:03:11,823 - DEBUG - VRF ids for VN ctest-vn-57770061: {} 2026-11-23 03:03:11,886 - DEBUG - Services list from nova: [, , , ] 2026-11-23 03:03:12,376 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6513-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6513-2) 2026-11-23 03:03:12,946 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6513-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6513-1) 2026-11-23 03:03:12,946 - INFO - Waiting for VM ctest-TestBasicPolicy-49506339-85930318 to be up.. 2026-11-23 03:03:13,100 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 03:03:18,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 03:03:23,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 03:03:28,422 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 03:03:33,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 03:03:38,625 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 03:03:43,716 - DEBUG - VM is in ACTIVE state now 2026-11-23 03:03:43,716 - INFO - VM name : ctest-TestBasicPolicy-49506339-85930318 2026-11-23 03:03:43,803 - DEBUG - VM ctest-TestBasicPolicy-49506339-85930318 ID is 415d6461-5046-4860-9f97-eb32c0f8dc15 2026-11-23 03:03:43,832 - DEBUG - VM ctest-TestBasicPolicy-49506339-85930318 launched on Node an-jenkins-deploy-platform-ansible-os-6513-2 2026-11-23 03:03:43,934 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/415d6461-5046-4860-9f97-eb32c0f8dc15 2026-11-23 03:03:44,309 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/415d6461-5046-4860-9f97-eb32c0f8dc15 2026-11-23 03:03:44,342 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/6ed46349-a487-463d-99fa-83dd6cb445fc 2026-11-23 03:03:47,553 - 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 1032ms') 2026-11-23 03:03:47,553 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-85930318 failed! 2026-11-23 03:03:47,567 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 is 134.142.219.65 and allocation pool is NOT set 2026-11-23 03:03:51,656 - 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 1020ms') 2026-11-23 03:03:51,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-85930318 failed! 2026-11-23 03:03:51,672 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 is 134.142.219.65 and allocation pool is NOT set 2026-11-23 03:03:55,781 - 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 1028ms') 2026-11-23 03:03:55,781 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-85930318 failed! 2026-11-23 03:03:55,796 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 is 134.142.219.65 and allocation pool is NOT set 2026-11-23 03:03:59,868 - 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-11-23 03:03:59,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-85930318 failed! 2026-11-23 03:03:59,883 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 is 134.142.219.65 and allocation pool is NOT set 2026-11-23 03:04:03,974 - 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-11-23 03:04:03,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-85930318 failed! 2026-11-23 03:04:03,991 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 is 134.142.219.65 and allocation pool is NOT set 2026-11-23 03:04:08,067 - 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-11-23 03:04:08,068 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-85930318 failed! 2026-11-23 03:04:08,084 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 is 134.142.219.65 and allocation pool is NOT set 2026-11-23 03:04:12,156 - 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 1013ms') 2026-11-23 03:04:12,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-85930318 failed! 2026-11-23 03:04:12,174 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49506339:ctest-vn-30629348 is 134.142.219.65 and allocation pool is NOT set 2026-11-23 03:04:16,261 - 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=11.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 11.785/11.785/11.785/0.000 ms') 2026-11-23 03:04:16,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-85930318 passed 2026-11-23 03:04:16,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 03:04:16,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49506339-85930318, IP 134.142.219.67, Port 22 2026-11-23 03:04:16,400 - 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-11-23 03:04:16,504 - DEBUG - VM ctest-TestBasicPolicy-49506339-85930318 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-23 03:04:21,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 03:04:21,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49506339-85930318, IP 134.142.219.67, Port 22 2026-11-23 03:04:21,574 - 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-11-23 03:04:21,770 - DEBUG - VM ctest-TestBasicPolicy-49506339-85930318 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-23 03:04:26,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 03:04:26,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49506339-85930318, IP 134.142.219.67, Port 22 2026-11-23 03:04:26,957 - DEBUG - VM ctest-TestBasicPolicy-49506339-85930318 is ready for SSH connections 2026-11-23 03:04:26,957 - INFO - Waiting for VM ctest-TestBasicPolicy-49506339-96807211 to be up.. 2026-11-23 03:04:27,052 - DEBUG - VM is in ACTIVE state now 2026-11-23 03:04:27,052 - INFO - VM name : ctest-TestBasicPolicy-49506339-96807211 2026-11-23 03:04:27,196 - DEBUG - VM ctest-TestBasicPolicy-49506339-96807211 ID is ae07de5b-b15a-4a4b-a436-13f1404b93a3 2026-11-23 03:04:27,196 - DEBUG - VM ctest-TestBasicPolicy-49506339-96807211 launched on Node an-jenkins-deploy-platform-ansible-os-6513-1 2026-11-23 03:04:27,293 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/ae07de5b-b15a-4a4b-a436-13f1404b93a3 2026-11-23 03:04:27,304 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/3dc879aa-e947-4bbc-a9bd-9030de58e5cf 2026-11-23 03:04:28,481 - 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=5.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 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.950/4.274/5.598/1.324 ms') 2026-11-23 03:04:28,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49506339-96807211 passed 2026-11-23 03:04:28,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 03:04:28,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49506339-96807211, IP 17.218.19.67, Port 22 2026-11-23 03:04:28,619 - 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-11-23 03:04:28,704 - DEBUG - VM ctest-TestBasicPolicy-49506339-96807211 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-23 03:04:33,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 03:04:33,705 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49506339-96807211, IP 17.218.19.67, Port 22 2026-11-23 03:04:33,875 - DEBUG - VM ctest-TestBasicPolicy-49506339-96807211 is ready for SSH connections 2026-11-23 03:04:33,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 03:04:33,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.218.19.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-11-23 03:04:33,876 - DEBUG - ping -s 56 -c 3 -W 1 17.218.19.67 2026-11-23 03:04:42,933 - DEBUG - PING 17.218.19.67 (17.218.19.67) 56(84) bytes of data. 64 bytes from 17.218.19.67: icmp_req=1 ttl=63 time=13.6 ms 64 bytes from 17.218.19.67: icmp_req=2 ttl=63 time=3.11 ms 64 bytes from 17.218.19.67: icmp_req=3 ttl=63 time=2.28 ms --- 17.218.19.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 2.285/6.341/13.622/5.159 ms 2026-11-23 03:04:42,934 - INFO - Ping to IP 17.218.19.67 from VM ctest-TestBasicPolicy-49506339-85930318 passed 2026-11-23 03:04:43,277 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7f5f32b8-1132-4183-9371-518183039f03", "href": "http://10.0.0.186:8082/network-policy/7f5f32b8-1132-4183-9371-518183039f03"}} 2026-11-23 03:04:43,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 03:04:43,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.218.19.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-11-23 03:04:43,277 - DEBUG - ping -s 56 -c 3 -W 1 17.218.19.67 2026-11-23 03:04:46,809 - DEBUG - PING 17.218.19.67 (17.218.19.67) 56(84) bytes of data. 64 bytes from 17.218.19.67: icmp_req=1 ttl=63 time=6.71 ms --- 17.218.19.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2002ms rtt min/avg/max/mdev = 6.710/6.710/6.710/0.000 ms 2026-11-23 03:04:46,809 - WARNING - Ping to IP 17.218.19.67 from VM ctest-TestBasicPolicy-49506339-85930318 failed 2026-11-23 03:04:46,809 - INFO - Deleting VM ctest-TestBasicPolicy-49506339-96807211 2026-11-23 03:04:46,886 - INFO - Deleting VM ctest-TestBasicPolicy-49506339-85930318 2026-11-23 03:04:47,523 - INFO - Deleted policy ctest-policy-allow-all-60100469 2026-11-23 03:04:47,524 - INFO - Deleting VN ctest-vn-57770061 2026-11-23 03:04:47,629 - DEBUG - VN 7aeaa21c-49e7-424b-9cba-b6371555afe1 still in use: Unable to complete operation on network 7aeaa21c-49e7-424b-9cba-b6371555afe1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-592b1801-ad94-46ef-99d5-b70568ed5690'] 2026-11-23 03:04:47,630 - WARNING - Deleting VN ctest-vn-57770061 failed..Will retry 2026-11-23 03:04:49,997 - DEBUG - Response for deleting network () 2026-11-23 03:04:49,998 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c7d96a4c-ee43-4376-8048-6ded82dcc487 2026-11-23 03:04:50,014 - DEBUG - Response Code: 404 2026-11-23 03:04:50,015 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-23 03:04:50,035 - DEBUG - Requesting: http://10.0.0.185:8082/domain/6905648d-8cf2-4121-b24f-4d27223106f0 2026-11-23 03:04:50,118 - DEBUG - Requesting: http://10.0.0.185:8082/project/b2a45ec9-59b1-4982-8e0c-154aff651d45 2026-11-23 03:04:50,227 - INFO - Validated that VN ctest-vn-57770061 is not found in API Server 2026-11-23 03:04:50,250 - DEBUG - VN ctest-vn-57770061 is not present in Agent 10.0.0.163 2026-11-23 03:04:50,261 - DEBUG - VN ctest-vn-57770061 is not present in Agent 10.0.0.189 2026-11-23 03:04:50,261 - INFO - Validated that VN ctest-vn-57770061 is not in any agent 2026-11-23 03:04:50,307 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57770061 info 2026-11-23 03:04:50,308 - INFO - Deleting VN ctest-vn-30629348 2026-11-23 03:04:50,493 - DEBUG - Response for deleting network () 2026-11-23 03:04:50,493 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5e395bce-4772-463e-af9d-4609e27b8ff7 2026-11-23 03:04:50,500 - DEBUG - Response Code: 404 2026-11-23 03:04:50,500 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-23 03:04:50,515 - DEBUG - Requesting: http://10.0.0.185:8082/domain/6905648d-8cf2-4121-b24f-4d27223106f0 2026-11-23 03:04:50,576 - DEBUG - Requesting: http://10.0.0.185:8082/project/b2a45ec9-59b1-4982-8e0c-154aff651d45 2026-11-23 03:04:50,725 - INFO - Validated that VN ctest-vn-30629348 is not found in API Server 2026-11-23 03:04:50,737 - DEBUG - VN ctest-vn-30629348 is not present in Agent 10.0.0.163 2026-11-23 03:04:50,752 - DEBUG - VN ctest-vn-30629348 is not present in Agent 10.0.0.189 2026-11-23 03:04:50,752 - INFO - Validated that VN ctest-vn-30629348 is not in any agent 2026-11-23 03:04:50,789 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30629348 info 2026-11-23 03:04:52,156 - DEBUG - No XMPP flaps were noticed during the test
2026-11-23 03:04:52,156 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:48]
2026-11-23 03:04:52,156 - INFO - -------------------------------------------------------------------------------- 2026-11-23 03:04:53,148 - INFO - Deleted project: ctest-TestBasicPolicy-49506339, ID : b2a45ec9-59b1-4982-8e0c-154aff651d45