2026-06-01 02:38:01,402 - INFO - Domain Default found not creating 2026-06-01 02:38:01,559 - INFO - Project ctest-TestBasicPolicy-17027342 not found, creating it 2026-06-01 02:38:02,168 - INFO - Created Project:ctest-TestBasicPolicy-17027342, ID : 4695aaa1-620e-42c9-895d-9609236f0e28 2026-06-01 02:38:03,745 - INFO - ================================================================================ 2026-06-01 02:38:03,745 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 02:38:03,745 - 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-06-01 02:38:05,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.73': {'10.20.0.193': '0', '10.20.0.129': '0'}} with 2026-06-01 02:38:05,043 - INFO - Initial checks done. Running the testcase now 2026-06-01 02:38:05,043 - INFO - 2026-06-01 02:38:05,750 - DEBUG - Response for create_network : {'network': {'id': '73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2', 'name': 'ctest-vn-46534781', 'tenant_id': '4695aaa1620e42c9895d9609236f0e28', 'project_id': '4695aaa1620e42c9895d9609236f0e28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17027342', 'ctest-vn-46534781'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:38:06,003 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a5f6083-0ca9-4eeb-9982-540e2288ef40', 'name': '', 'tenant_id': '4695aaa1620e42c9895d9609236f0e28', 'network_id': '73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2', 'ip_version': 4, 'cidr': '139.206.219.192/26', 'allocation_pools': [{'start': '139.206.219.194', 'end': '139.206.219.254'}], 'gateway_ip': '139.206.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.206.219.194', 'tags': [], 'project_id': '4695aaa1620e42c9895d9609236f0e28'}} 2026-06-01 02:38:06,028 - INFO - Created VN ctest-vn-46534781 2026-06-01 02:38:06,038 - DEBUG - VN ctest-vn-46534781 UUID is 73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2 2026-06-01 02:38:06,404 - DEBUG - Response for create_network : {'network': {'id': '70277bfd-d7f3-4a56-85ec-86d4cb88f2b6', 'name': 'ctest-vn-02989178', 'tenant_id': '4695aaa1620e42c9895d9609236f0e28', 'project_id': '4695aaa1620e42c9895d9609236f0e28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17027342', 'ctest-vn-02989178'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:38:06,656 - DEBUG - Response for create_subnet : {'subnet': {'id': '29ad0dee-199d-4ca0-9985-d3d7b5f59334', 'name': '', 'tenant_id': '4695aaa1620e42c9895d9609236f0e28', 'network_id': '70277bfd-d7f3-4a56-85ec-86d4cb88f2b6', 'ip_version': 4, 'cidr': '87.34.10.192/26', 'allocation_pools': [{'start': '87.34.10.194', 'end': '87.34.10.254'}], 'gateway_ip': '87.34.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.34.10.194', 'tags': [], 'project_id': '4695aaa1620e42c9895d9609236f0e28'}} 2026-06-01 02:38:06,684 - INFO - Created VN ctest-vn-02989178 2026-06-01 02:38:06,699 - DEBUG - VN ctest-vn-02989178 UUID is 70277bfd-d7f3-4a56-85ec-86d4cb88f2b6 2026-06-01 02:38:06,794 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781, 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-17027342:ctest-vn-02989178, 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-06-01 02:38:07,189 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2', 'name': 'ctest-vn-46534781', 'tenant_id': '4695aaa1620e42c9895d9609236f0e28', 'project_id': '4695aaa1620e42c9895d9609236f0e28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a5f6083-0ca9-4eeb-9982-540e2288ef40'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17027342', 'ctest-vn-46534781'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17027342', 'ctest-policy-allow-all-60832256']], 'subnet_ipam': [{'subnet_cidr': '139.206.219.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:38:07,472 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '70277bfd-d7f3-4a56-85ec-86d4cb88f2b6', 'name': 'ctest-vn-02989178', 'tenant_id': '4695aaa1620e42c9895d9609236f0e28', 'project_id': '4695aaa1620e42c9895d9609236f0e28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29ad0dee-199d-4ca0-9985-d3d7b5f59334'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17027342', 'ctest-vn-02989178'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17027342', 'ctest-policy-allow-all-60832256']], 'subnet_ipam': [{'subnet_cidr': '87.34.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:38:07,587 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-06-01 02:38:07,962 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-06-01 02:38:07,995 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6a7c2c01-0945-4b55-86ca-3789a2d806b2 2026-06-01 02:38:08,012 - DEBUG - Requesting: http://10.0.0.240:8082/project/4695aaa1-620e-42c9-895d-9609236f0e28 2026-06-01 02:38:08,122 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2 2026-06-01 02:38:08,139 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2 2026-06-01 02:38:08,149 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0a49b0d1-a7d5-4f91-b6d9-21688b8fcce4 2026-06-01 02:38:08,159 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0a49b0d1-a7d5-4f91-b6d9-21688b8fcce4 2026-06-01 02:38:08,170 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/39ac30a9-46c0-443b-8885-67b6f57245bc 2026-06-01 02:38:08,178 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 02:38:08,178 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2 2026-06-01 02:38:08,189 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0a49b0d1-a7d5-4f91-b6d9-21688b8fcce4 2026-06-01 02:38:08,206 - INFO - Verified VN network id 14 for VN 73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2 2026-06-01 02:38:08,206 - INFO - Verifications in API Server for VN ctest-vn-46534781 passed 2026-06-01 02:38:08,206 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2 2026-06-01 02:38:08,218 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0a49b0d1-a7d5-4f91-b6d9-21688b8fcce4 2026-06-01 02:38:08,227 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0a49b0d1-a7d5-4f91-b6d9-21688b8fcce4 2026-06-01 02:38:08,237 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/39ac30a9-46c0-443b-8885-67b6f57245bc 2026-06-01 02:38:08,251 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17027342', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8349140030381769457', 'uuid-lslong': '10076968871791481010'}, 'enable': 'true', 'created': '2026-06-01T02:38:05', 'last-modified': '2026-06-01T02:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.111376'} 2026-06-01 02:38:08,257 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 02:38:08,265 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17027342', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8349140030381769457', 'uuid-lslong': '10076968871791481010'}, 'enable': 'true', 'created': '2026-06-01T02:38:05', 'last-modified': '2026-06-01T02:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.126671'} 2026-06-01 02:38:08,272 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 02:38:08,278 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17027342', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8349140030381769457', 'uuid-lslong': '10076968871791481010'}, 'enable': 'true', 'created': '2026-06-01T02:38:05', 'last-modified': '2026-06-01T02:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.138651'} 2026-06-01 02:38:08,285 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 02:38:08,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46534781 passed 2026-06-01 02:38:08,285 - DEBUG - ====Verifying policy data for ctest-vn-46534781 in API_Server ====== 2026-06-01 02:38:08,285 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-06-01 02:38:08,294 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6a7c2c01-0945-4b55-86ca-3789a2d806b2 2026-06-01 02:38:08,309 - DEBUG - Requesting: http://10.0.0.240:8082/project/4695aaa1-620e-42c9-895d-9609236f0e28 2026-06-01 02:38:08,417 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/73de1a9f-3ae6-42f1-8bd8-95cc7fccd0b2 2026-06-01 02:38:08,433 - DEBUG - ==>Verifying data for policy with id: b28e19f9-7409-41e0-b56d-5eb55cf67ef2, fqn: ['default-domain', 'ctest-TestBasicPolicy-17027342', 'ctest-policy-allow-all-60832256'] 2026-06-01 02:38:08,433 - INFO - VN ctest-vn-46534781 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 02:38:08,433 - DEBUG - Verifying the vn in opserver 2026-06-01 02:38:08,433 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 virtual network link through opserver 10.0.0.240 2026-06-01 02:38:08,433 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-06-01 02:38:08,741 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-06-01 02:38:08,816 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781?flat'} 2026-06-01 02:38:08,817 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 virtual network link through opserver 10.0.0.249 2026-06-01 02:38:08,817 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-01 02:38:09,116 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-01 02:38:09,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781?flat'} 2026-06-01 02:38:09,213 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 virtual network link through opserver 10.0.0.65 2026-06-01 02:38:09,214 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-06-01 02:38:09,528 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-06-01 02:38:09,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781?flat'} 2026-06-01 02:38:09,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is found in opserver 2026-06-01 02:38:09,646 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 02:38:09,657 - DEBUG - VRF ids for VN ctest-vn-46534781: {} 2026-06-01 02:38:09,657 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-06-01 02:38:09,667 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6a7c2c01-0945-4b55-86ca-3789a2d806b2 2026-06-01 02:38:09,683 - DEBUG - Requesting: http://10.0.0.240:8082/project/4695aaa1-620e-42c9-895d-9609236f0e28 2026-06-01 02:38:09,784 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/70277bfd-d7f3-4a56-85ec-86d4cb88f2b6 2026-06-01 02:38:09,801 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/70277bfd-d7f3-4a56-85ec-86d4cb88f2b6 2026-06-01 02:38:09,810 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3a8a052c-b487-44c5-a14f-ee452d3f7028 2026-06-01 02:38:09,818 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3a8a052c-b487-44c5-a14f-ee452d3f7028 2026-06-01 02:38:09,825 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/5517e7b5-6875-42d4-9c5b-48edc1b18744 2026-06-01 02:38:09,833 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 02:38:09,833 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/70277bfd-d7f3-4a56-85ec-86d4cb88f2b6 2026-06-01 02:38:09,844 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3a8a052c-b487-44c5-a14f-ee452d3f7028 2026-06-01 02:38:09,860 - INFO - Verified VN network id 15 for VN 70277bfd-d7f3-4a56-85ec-86d4cb88f2b6 2026-06-01 02:38:09,860 - INFO - Verifications in API Server for VN ctest-vn-02989178 passed 2026-06-01 02:38:09,860 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/70277bfd-d7f3-4a56-85ec-86d4cb88f2b6 2026-06-01 02:38:09,873 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3a8a052c-b487-44c5-a14f-ee452d3f7028 2026-06-01 02:38:09,881 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3a8a052c-b487-44c5-a14f-ee452d3f7028 2026-06-01 02:38:09,897 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/5517e7b5-6875-42d4-9c5b-48edc1b18744 2026-06-01 02:38:09,914 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17027342', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8081564386519632470', 'uuid-lslong': '9650236350054068918'}, 'enable': 'true', 'created': '2026-06-01T02:38:06', 'last-modified': '2026-06-01T02:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.488293'} 2026-06-01 02:38:09,922 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 02:38:09,927 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17027342', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8081564386519632470', 'uuid-lslong': '9650236350054068918'}, 'enable': 'true', 'created': '2026-06-01T02:38:06', 'last-modified': '2026-06-01T02:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.498381'} 2026-06-01 02:38:09,933 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 02:38:09,938 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17027342', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8081564386519632470', 'uuid-lslong': '9650236350054068918'}, 'enable': 'true', 'created': '2026-06-01T02:38:06', 'last-modified': '2026-06-01T02:38:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.512719'} 2026-06-01 02:38:09,945 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 02:38:09,945 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02989178 passed 2026-06-01 02:38:09,945 - DEBUG - ====Verifying policy data for ctest-vn-02989178 in API_Server ====== 2026-06-01 02:38:09,945 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-06-01 02:38:09,953 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6a7c2c01-0945-4b55-86ca-3789a2d806b2 2026-06-01 02:38:09,964 - DEBUG - Requesting: http://10.0.0.240:8082/project/4695aaa1-620e-42c9-895d-9609236f0e28 2026-06-01 02:38:10,065 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/70277bfd-d7f3-4a56-85ec-86d4cb88f2b6 2026-06-01 02:38:10,074 - DEBUG - ==>Verifying data for policy with id: b28e19f9-7409-41e0-b56d-5eb55cf67ef2, fqn: ['default-domain', 'ctest-TestBasicPolicy-17027342', 'ctest-policy-allow-all-60832256'] 2026-06-01 02:38:10,074 - INFO - VN ctest-vn-02989178 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 02:38:10,075 - DEBUG - Verifying the vn in opserver 2026-06-01 02:38:10,075 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178 virtual network link through opserver 10.0.0.240 2026-06-01 02:38:10,075 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-06-01 02:38:10,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178?flat'} 2026-06-01 02:38:10,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178 virtual network link through opserver 10.0.0.249 2026-06-01 02:38:10,150 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-01 02:38:10,222 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178?flat'} 2026-06-01 02:38:10,222 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178 virtual network link through opserver 10.0.0.65 2026-06-01 02:38:10,222 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-06-01 02:38:10,288 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178?flat'} 2026-06-01 02:38:10,288 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-02989178 is found in opserver 2026-06-01 02:38:10,308 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 02:38:10,317 - DEBUG - VRF ids for VN ctest-vn-02989178: {} 2026-06-01 02:38:10,382 - DEBUG - Services list from nova: [, , , ] 2026-06-01 02:38:11,460 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5860-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5860-2) 2026-06-01 02:38:13,011 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5860-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5860-1) 2026-06-01 02:38:13,011 - INFO - Waiting for VM ctest-TestBasicPolicy-17027342-51549605 to be up.. 2026-06-01 02:38:13,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 02:38:18,216 - DEBUG - VM is in ACTIVE state now 2026-06-01 02:38:18,216 - INFO - VM name : ctest-TestBasicPolicy-17027342-51549605 2026-06-01 02:38:18,318 - DEBUG - VM ctest-TestBasicPolicy-17027342-51549605 ID is f33c8754-b9dd-4842-b31b-58f73dc07f90 2026-06-01 02:38:18,341 - DEBUG - VM ctest-TestBasicPolicy-17027342-51549605 launched on Node an-jenkins-deploy-platform-ansible-os-5860-2 2026-06-01 02:38:18,428 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f33c8754-b9dd-4842-b31b-58f73dc07f90 2026-06-01 02:38:18,728 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f33c8754-b9dd-4842-b31b-58f73dc07f90 2026-06-01 02:38:18,762 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ea9016fe-6489-44eb-80e2-d60da1e79de0 2026-06-01 02:38:21,928 - 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 1003ms') 2026-06-01 02:38:21,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 failed! 2026-06-01 02:38:21,945 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is 139.206.219.193 and allocation pool is NOT set 2026-06-01 02:38:26,023 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-01 02:38:26,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 failed! 2026-06-01 02:38:26,040 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is 139.206.219.193 and allocation pool is NOT set 2026-06-01 02:38:30,119 - 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 1015ms') 2026-06-01 02:38:30,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 failed! 2026-06-01 02:38:30,133 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is 139.206.219.193 and allocation pool is NOT set 2026-06-01 02:38:34,218 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-01 02:38:34,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 failed! 2026-06-01 02:38:34,233 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is 139.206.219.193 and allocation pool is NOT set 2026-06-01 02:38:38,311 - 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 1015ms') 2026-06-01 02:38:38,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 failed! 2026-06-01 02:38:38,324 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is 139.206.219.193 and allocation pool is NOT set 2026-06-01 02:38:42,401 - 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-06-01 02:38:42,402 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 failed! 2026-06-01 02:38:42,418 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is 139.206.219.193 and allocation pool is NOT set 2026-06-01 02:38:46,497 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-01 02:38:46,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 failed! 2026-06-01 02:38:46,513 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is 139.206.219.193 and allocation pool is NOT set 2026-06-01 02:38:50,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 1023ms') 2026-06-01 02:38:50,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 failed! 2026-06-01 02:38:50,611 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17027342:ctest-vn-46534781 is 139.206.219.193 and allocation pool is NOT set 2026-06-01 02:38:52,682 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.67 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 = 1.673/3.970/6.267/2.297 ms') 2026-06-01 02:38:52,682 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-51549605 passed 2026-06-01 02:38:52,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:38:52,756 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17027342-51549605, IP 139.206.219.195, Port 22 2026-06-01 02:38:52,812 - 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-06-01 02:38:52,914 - DEBUG - VM ctest-TestBasicPolicy-17027342-51549605 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 02:38:57,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:38:57,915 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17027342-51549605, IP 139.206.219.195, Port 22 2026-06-01 02:38:57,971 - 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-06-01 02:38:58,077 - DEBUG - VM ctest-TestBasicPolicy-17027342-51549605 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 02:39:03,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:39:03,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17027342-51549605, IP 139.206.219.195, Port 22 2026-06-01 02:39:03,145 - 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-06-01 02:39:03,229 - DEBUG - VM ctest-TestBasicPolicy-17027342-51549605 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 02:39:08,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:39:08,230 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17027342-51549605, IP 139.206.219.195, Port 22 2026-06-01 02:39:08,297 - 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-06-01 02:39:08,390 - DEBUG - VM ctest-TestBasicPolicy-17027342-51549605 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 02:39:13,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:39:13,390 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17027342-51549605, IP 139.206.219.195, Port 22 2026-06-01 02:39:13,562 - DEBUG - VM ctest-TestBasicPolicy-17027342-51549605 is ready for SSH connections 2026-06-01 02:39:13,562 - INFO - Waiting for VM ctest-TestBasicPolicy-17027342-44707906 to be up.. 2026-06-01 02:39:13,649 - DEBUG - VM is in ACTIVE state now 2026-06-01 02:39:13,649 - INFO - VM name : ctest-TestBasicPolicy-17027342-44707906 2026-06-01 02:39:13,735 - DEBUG - VM ctest-TestBasicPolicy-17027342-44707906 ID is 22c30ac8-056a-4db7-9fc2-e34c1a01e67a 2026-06-01 02:39:13,735 - DEBUG - VM ctest-TestBasicPolicy-17027342-44707906 launched on Node an-jenkins-deploy-platform-ansible-os-5860-1 2026-06-01 02:39:13,818 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/22c30ac8-056a-4db7-9fc2-e34c1a01e67a 2026-06-01 02:39:13,829 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a711701e-97c8-4a53-83fd-2aeb7f91cfee 2026-06-01 02:39:14,984 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.72 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 = 3.719/5.431/7.144/1.712 ms') 2026-06-01 02:39:14,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17027342-44707906 passed 2026-06-01 02:39:15,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:39:15,058 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17027342-44707906, IP 87.34.10.195, Port 22 2026-06-01 02:39:15,230 - DEBUG - VM ctest-TestBasicPolicy-17027342-44707906 is ready for SSH connections 2026-06-01 02:39:15,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:39:15,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.34.10.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-06-01 02:39:15,231 - DEBUG - ping -s 56 -c 3 -W 1 87.34.10.195 2026-06-01 02:39:34,816 - DEBUG - PING 87.34.10.195 (87.34.10.195) 56(84) bytes of data. 64 bytes from 87.34.10.195: icmp_req=1 ttl=63 time=8.99 ms 64 bytes from 87.34.10.195: icmp_req=2 ttl=63 time=2.04 ms 64 bytes from 87.34.10.195: icmp_req=3 ttl=63 time=2.32 ms --- 87.34.10.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 2.049/4.454/8.991/3.210 ms 2026-06-01 02:39:34,817 - INFO - Ping to IP 87.34.10.195 from VM ctest-TestBasicPolicy-17027342-51549605 passed 2026-06-01 02:39:35,057 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b28e19f9-7409-41e0-b56d-5eb55cf67ef2", "href": "http://10.0.0.65:8082/network-policy/b28e19f9-7409-41e0-b56d-5eb55cf67ef2"}} 2026-06-01 02:39:35,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:39:35,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.34.10.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-06-01 02:39:35,057 - DEBUG - ping -s 56 -c 3 -W 1 87.34.10.195 2026-06-01 02:39:38,918 - DEBUG - PING 87.34.10.195 (87.34.10.195) 56(84) bytes of data. --- 87.34.10.195 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2016ms 2026-06-01 02:39:38,918 - WARNING - Ping to IP 87.34.10.195 from VM ctest-TestBasicPolicy-17027342-51549605 failed 2026-06-01 02:39:38,918 - INFO - Deleting VM ctest-TestBasicPolicy-17027342-44707906 2026-06-01 02:39:38,991 - INFO - Deleting VM ctest-TestBasicPolicy-17027342-51549605 2026-06-01 02:39:39,509 - INFO - Deleted policy ctest-policy-allow-all-60832256 2026-06-01 02:39:39,509 - INFO - Deleting VN ctest-vn-02989178 2026-06-01 02:39:39,573 - DEBUG - VN 70277bfd-d7f3-4a56-85ec-86d4cb88f2b6 still in use: Unable to complete operation on network 70277bfd-d7f3-4a56-85ec-86d4cb88f2b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-499ec753-9ad4-4a25-8e7f-347c37bd043c'] 2026-06-01 02:39:39,574 - WARNING - Deleting VN ctest-vn-02989178 failed..Will retry 2026-06-01 02:39:41,776 - DEBUG - Response for deleting network () 2026-06-01 02:39:41,776 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/3a8a052c-b487-44c5-a14f-ee452d3f7028 2026-06-01 02:39:41,781 - DEBUG - Response Code: 404 2026-06-01 02:39:41,781 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-06-01 02:39:41,787 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6a7c2c01-0945-4b55-86ca-3789a2d806b2 2026-06-01 02:39:41,841 - DEBUG - Requesting: http://10.0.0.240:8082/project/4695aaa1-620e-42c9-895d-9609236f0e28 2026-06-01 02:39:41,931 - INFO - Validated that VN ctest-vn-02989178 is not found in API Server 2026-06-01 02:39:41,941 - DEBUG - VN ctest-vn-02989178 is not present in Agent 10.0.0.130 2026-06-01 02:39:41,952 - DEBUG - VN ctest-vn-02989178 is not present in Agent 10.0.0.73 2026-06-01 02:39:41,952 - INFO - Validated that VN ctest-vn-02989178 is not in any agent 2026-06-01 02:39:41,981 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02989178 info 2026-06-01 02:39:41,982 - INFO - Deleting VN ctest-vn-46534781 2026-06-01 02:39:42,161 - DEBUG - Response for deleting network () 2026-06-01 02:39:42,161 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0a49b0d1-a7d5-4f91-b6d9-21688b8fcce4 2026-06-01 02:39:42,166 - DEBUG - Response Code: 404 2026-06-01 02:39:42,166 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-06-01 02:39:42,172 - DEBUG - Requesting: http://10.0.0.240:8082/domain/6a7c2c01-0945-4b55-86ca-3789a2d806b2 2026-06-01 02:39:42,189 - DEBUG - Requesting: http://10.0.0.240:8082/project/4695aaa1-620e-42c9-895d-9609236f0e28 2026-06-01 02:39:42,280 - INFO - Validated that VN ctest-vn-46534781 is not found in API Server 2026-06-01 02:39:42,292 - DEBUG - VN ctest-vn-46534781 is not present in Agent 10.0.0.130 2026-06-01 02:39:42,302 - DEBUG - VN ctest-vn-46534781 is not present in Agent 10.0.0.73 2026-06-01 02:39:42,302 - INFO - Validated that VN ctest-vn-46534781 is not in any agent 2026-06-01 02:39:42,332 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46534781 info 2026-06-01 02:39:43,606 - DEBUG - No XMPP flaps were noticed during the test 2026-06-01 02:39:43,606 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:40] 2026-06-01 02:39:43,606 - INFO - -------------------------------------------------------------------------------- 2026-06-01 02:39:44,346 - INFO - Deleted project: ctest-TestBasicPolicy-17027342, ID : 4695aaa1-620e-42c9-895d-9609236f0e28