2026-05-11 02:50:26,889 - INFO - Domain Default found not creating 2026-05-11 02:50:27,064 - INFO - Project ctest-TestBasicPolicy-47718647 not found, creating it 2026-05-11 02:50:27,605 - INFO - Created Project:ctest-TestBasicPolicy-47718647, ID : 6bc2f2a5-c595-417d-8abd-836b78b0a80e 2026-05-11 02:50:29,145 - INFO - ================================================================================ 2026-05-11 02:50:29,145 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-11 02:50:29,145 - 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-05-11 02:50:30,425 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.240': {'10.20.0.129': '0', '10.20.0.18': '0'}} with 2026-05-11 02:50:30,425 - INFO - Initial checks done. Running the testcase now 2026-05-11 02:50:30,425 - INFO - 2026-05-11 02:50:31,152 - DEBUG - Response for create_network : {'network': {'id': '1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73', 'name': 'ctest-vn-44563909', 'tenant_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'project_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47718647', 'ctest-vn-44563909'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:50:31,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd672aaf1-dbf9-4e1a-b1a0-d1478b099665', 'name': '', 'tenant_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'network_id': '1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73', 'ip_version': 4, 'cidr': '206.181.113.64/26', 'allocation_pools': [{'start': '206.181.113.66', 'end': '206.181.113.126'}], 'gateway_ip': '206.181.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.181.113.66', 'tags': [], 'project_id': '6bc2f2a5c595417d8abd836b78b0a80e'}} 2026-05-11 02:50:31,488 - INFO - Created VN ctest-vn-44563909 2026-05-11 02:50:31,498 - DEBUG - VN ctest-vn-44563909 UUID is 1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73 2026-05-11 02:50:31,903 - DEBUG - Response for create_network : {'network': {'id': '552e7dca-ae2b-483a-b196-96dd0db64914', 'name': 'ctest-vn-92241138', 'tenant_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'project_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47718647', 'ctest-vn-92241138'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:50:32,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2e11eb6-d329-4139-96a1-375a8a1f3e77', 'name': '', 'tenant_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'network_id': '552e7dca-ae2b-483a-b196-96dd0db64914', 'ip_version': 4, 'cidr': '35.213.19.64/26', 'allocation_pools': [{'start': '35.213.19.66', 'end': '35.213.19.126'}], 'gateway_ip': '35.213.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.213.19.66', 'tags': [], 'project_id': '6bc2f2a5c595417d8abd836b78b0a80e'}} 2026-05-11 02:50:32,140 - INFO - Created VN ctest-vn-92241138 2026-05-11 02:50:32,150 - DEBUG - VN ctest-vn-92241138 UUID is 552e7dca-ae2b-483a-b196-96dd0db64914 2026-05-11 02:50:32,273 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909, 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-47718647:ctest-vn-92241138, 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-05-11 02:50:32,595 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73', 'name': 'ctest-vn-44563909', 'tenant_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'project_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d672aaf1-dbf9-4e1a-b1a0-d1478b099665'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47718647', 'ctest-vn-44563909'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47718647', 'ctest-policy-allow-all-89181175']], 'subnet_ipam': [{'subnet_cidr': '206.181.113.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:50:32,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '552e7dca-ae2b-483a-b196-96dd0db64914', 'name': 'ctest-vn-92241138', 'tenant_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'project_id': '6bc2f2a5c595417d8abd836b78b0a80e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2e11eb6-d329-4139-96a1-375a8a1f3e77'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47718647', 'ctest-vn-92241138'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47718647', 'ctest-policy-allow-all-89181175']], 'subnet_ipam': [{'subnet_cidr': '35.213.19.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-11 02:50:32,899 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 02:50:33,222 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 02:50:33,257 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 02:50:33,270 - DEBUG - Requesting: http://10.0.0.141:8082/project/6bc2f2a5-c595-417d-8abd-836b78b0a80e 2026-05-11 02:50:33,377 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73 2026-05-11 02:50:33,391 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73 2026-05-11 02:50:33,404 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5aa58409-b383-4323-8273-81185007dbbc 2026-05-11 02:50:33,417 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5aa58409-b383-4323-8273-81185007dbbc 2026-05-11 02:50:33,426 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/5f99332d-adb7-4937-a4a0-4c43ad5f777c 2026-05-11 02:50:33,433 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-11 02:50:33,433 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73 2026-05-11 02:50:33,445 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5aa58409-b383-4323-8273-81185007dbbc 2026-05-11 02:50:33,464 - INFO - Verified VN network id 13 for VN 1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73 2026-05-11 02:50:33,464 - INFO - Verifications in API Server for VN ctest-vn-44563909 passed 2026-05-11 02:50:33,465 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73 2026-05-11 02:50:33,475 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5aa58409-b383-4323-8273-81185007dbbc 2026-05-11 02:50:33,483 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5aa58409-b383-4323-8273-81185007dbbc 2026-05-11 02:50:33,492 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/5f99332d-adb7-4937-a4a0-4c43ad5f777c 2026-05-11 02:50:33,506 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47718647', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1981357568856639676', 'uuid-lslong': '11492740920292982131'}, 'enable': 'true', 'created': '2026-05-11T02:50:31', 'last-modified': '2026-05-11T02:50:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946636'} 2026-05-11 02:50:33,513 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-11 02:50:33,522 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47718647', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1981357568856639676', 'uuid-lslong': '11492740920292982131'}, 'enable': 'true', 'created': '2026-05-11T02:50:31', 'last-modified': '2026-05-11T02:50:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948711'} 2026-05-11 02:50:33,529 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-11 02:50:33,535 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47718647', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1981357568856639676', 'uuid-lslong': '11492740920292982131'}, 'enable': 'true', 'created': '2026-05-11T02:50:31', 'last-modified': '2026-05-11T02:50:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974607'} 2026-05-11 02:50:33,542 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-11 02:50:33,542 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44563909 passed 2026-05-11 02:50:33,543 - DEBUG - ====Verifying policy data for ctest-vn-44563909 in API_Server ====== 2026-05-11 02:50:33,543 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 02:50:33,549 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 02:50:33,562 - DEBUG - Requesting: http://10.0.0.141:8082/project/6bc2f2a5-c595-417d-8abd-836b78b0a80e 2026-05-11 02:50:33,660 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1b7f3236-10bb-48bc-9f7e-6af9d1a8bd73 2026-05-11 02:50:33,671 - DEBUG - ==>Verifying data for policy with id: 6b6605e0-83e4-4424-acb2-6732139099fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-47718647', 'ctest-policy-allow-all-89181175'] 2026-05-11 02:50:33,671 - INFO - VN ctest-vn-44563909 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-11 02:50:33,671 - DEBUG - Verifying the vn in opserver 2026-05-11 02:50:33,671 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 virtual network link through opserver 10.0.0.141 2026-05-11 02:50:33,671 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-11 02:50:33,969 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-11 02:50:34,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909?flat'} 2026-05-11 02:50:34,040 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 virtual network link through opserver 10.0.0.249 2026-05-11 02:50:34,040 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-11 02:50:34,352 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-11 02:50:34,424 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909?flat'} 2026-05-11 02:50:34,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 virtual network link through opserver 10.0.0.27 2026-05-11 02:50:34,425 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-11 02:50:34,724 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-11 02:50:34,792 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909?flat'} 2026-05-11 02:50:34,792 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is found in opserver 2026-05-11 02:50:34,816 - DEBUG - Do not have enough data to verify VN in agent 2026-05-11 02:50:34,829 - DEBUG - VRF ids for VN ctest-vn-44563909: {} 2026-05-11 02:50:34,829 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 02:50:34,835 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 02:50:34,847 - DEBUG - Requesting: http://10.0.0.141:8082/project/6bc2f2a5-c595-417d-8abd-836b78b0a80e 2026-05-11 02:50:34,952 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/552e7dca-ae2b-483a-b196-96dd0db64914 2026-05-11 02:50:34,969 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/552e7dca-ae2b-483a-b196-96dd0db64914 2026-05-11 02:50:34,981 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a2f1d8ea-41e4-4d96-acec-ea6b4453883f 2026-05-11 02:50:34,990 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a2f1d8ea-41e4-4d96-acec-ea6b4453883f 2026-05-11 02:50:34,998 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/98d973da-d934-4980-b0eb-311814554984 2026-05-11 02:50:35,005 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-11 02:50:35,005 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/552e7dca-ae2b-483a-b196-96dd0db64914 2026-05-11 02:50:35,017 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a2f1d8ea-41e4-4d96-acec-ea6b4453883f 2026-05-11 02:50:35,040 - INFO - Verified VN network id 14 for VN 552e7dca-ae2b-483a-b196-96dd0db64914 2026-05-11 02:50:35,042 - INFO - Verifications in API Server for VN ctest-vn-92241138 passed 2026-05-11 02:50:35,042 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/552e7dca-ae2b-483a-b196-96dd0db64914 2026-05-11 02:50:35,061 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a2f1d8ea-41e4-4d96-acec-ea6b4453883f 2026-05-11 02:50:35,071 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a2f1d8ea-41e4-4d96-acec-ea6b4453883f 2026-05-11 02:50:35,080 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/98d973da-d934-4980-b0eb-311814554984 2026-05-11 02:50:35,100 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47718647', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6137981651611502650', 'uuid-lslong': '12796581267381831956'}, 'enable': 'true', 'created': '2026-05-11T02:50:31', 'last-modified': '2026-05-11T02:50:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.318258'} 2026-05-11 02:50:35,106 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-11 02:50:35,112 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47718647', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6137981651611502650', 'uuid-lslong': '12796581267381831956'}, 'enable': 'true', 'created': '2026-05-11T02:50:31', 'last-modified': '2026-05-11T02:50:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.338428'} 2026-05-11 02:50:35,119 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-11 02:50:35,126 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47718647', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6137981651611502650', 'uuid-lslong': '12796581267381831956'}, 'enable': 'true', 'created': '2026-05-11T02:50:31', 'last-modified': '2026-05-11T02:50:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.343362'} 2026-05-11 02:50:35,132 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-11 02:50:35,132 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92241138 passed 2026-05-11 02:50:35,132 - DEBUG - ====Verifying policy data for ctest-vn-92241138 in API_Server ====== 2026-05-11 02:50:35,132 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 02:50:35,139 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 02:50:35,154 - DEBUG - Requesting: http://10.0.0.141:8082/project/6bc2f2a5-c595-417d-8abd-836b78b0a80e 2026-05-11 02:50:35,254 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/552e7dca-ae2b-483a-b196-96dd0db64914 2026-05-11 02:50:35,266 - DEBUG - ==>Verifying data for policy with id: 6b6605e0-83e4-4424-acb2-6732139099fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-47718647', 'ctest-policy-allow-all-89181175'] 2026-05-11 02:50:35,266 - INFO - VN ctest-vn-92241138 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-11 02:50:35,266 - DEBUG - Verifying the vn in opserver 2026-05-11 02:50:35,266 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138 virtual network link through opserver 10.0.0.141 2026-05-11 02:50:35,266 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-11 02:50:35,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138?flat'} 2026-05-11 02:50:35,333 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138 virtual network link through opserver 10.0.0.249 2026-05-11 02:50:35,333 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-11 02:50:35,398 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138?flat'} 2026-05-11 02:50:35,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138 virtual network link through opserver 10.0.0.27 2026-05-11 02:50:35,399 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-11 02:50:35,462 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138?flat'} 2026-05-11 02:50:35,462 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-92241138 is found in opserver 2026-05-11 02:50:35,484 - DEBUG - Do not have enough data to verify VN in agent 2026-05-11 02:50:35,495 - DEBUG - VRF ids for VN ctest-vn-92241138: {} 2026-05-11 02:50:35,558 - DEBUG - Services list from nova: [, , , ] 2026-05-11 02:50:36,675 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5767-2) 2026-05-11 02:50:37,962 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5767-1) 2026-05-11 02:50:37,962 - INFO - Waiting for VM ctest-TestBasicPolicy-47718647-37173050 to be up.. 2026-05-11 02:50:38,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-11 02:50:43,138 - DEBUG - VM is in ACTIVE state now 2026-05-11 02:50:43,138 - INFO - VM name : ctest-TestBasicPolicy-47718647-37173050 2026-05-11 02:50:43,234 - DEBUG - VM ctest-TestBasicPolicy-47718647-37173050 ID is 6841ee8c-59c2-4f48-8389-3d2a86e7696a 2026-05-11 02:50:43,261 - DEBUG - VM ctest-TestBasicPolicy-47718647-37173050 launched on Node an-jenkins-deploy-platform-ansible-os-5767-2 2026-05-11 02:50:43,356 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6841ee8c-59c2-4f48-8389-3d2a86e7696a 2026-05-11 02:50:43,661 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6841ee8c-59c2-4f48-8389-3d2a86e7696a 2026-05-11 02:50:43,695 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cf1d42f0-dd75-49fd-8b12-dfbf1aebeb69 2026-05-11 02:50:46,871 - 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 1022ms') 2026-05-11 02:50:46,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:50:46,885 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:50:50,968 - 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-05-11 02:50:50,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:50:50,982 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:50:55,065 - 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 1019ms') 2026-05-11 02:50:55,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:50:55,082 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:50:59,166 - 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-05-11 02:50:59,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:50:59,180 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:51:03,261 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-05-11 02:51:03,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:51:03,276 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:51:07,358 - 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-05-11 02:51:07,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:51:07,374 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:51:11,446 - 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 1009ms') 2026-05-11 02:51:11,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:51:11,461 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:51:15,549 - 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-05-11 02:51:15,549 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:51:15,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:51:19,643 - 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-05-11 02:51:19,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 failed! 2026-05-11 02:51:19,657 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47718647:ctest-vn-44563909 is 206.181.113.65 and allocation pool is NOT set 2026-05-11 02:51:21,722 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.577/2.861/5.145/2.284 ms') 2026-05-11 02:51:21,722 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-37173050 passed 2026-05-11 02:51:21,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:51:21,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47718647-37173050, IP 206.181.113.67, Port 22 2026-05-11 02:51:21,864 - 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-05-11 02:51:21,955 - DEBUG - VM ctest-TestBasicPolicy-47718647-37173050 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 02:51:26,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:51:26,956 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47718647-37173050, IP 206.181.113.67, Port 22 2026-05-11 02:51:27,024 - 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-05-11 02:51:27,112 - DEBUG - VM ctest-TestBasicPolicy-47718647-37173050 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 02:51:32,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:51:32,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47718647-37173050, IP 206.181.113.67, Port 22 2026-05-11 02:51:32,184 - 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-05-11 02:51:32,277 - DEBUG - VM ctest-TestBasicPolicy-47718647-37173050 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 02:51:37,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:51:37,278 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47718647-37173050, IP 206.181.113.67, Port 22 2026-05-11 02:51:37,344 - 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-05-11 02:51:37,427 - DEBUG - VM ctest-TestBasicPolicy-47718647-37173050 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 02:51:42,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:51:42,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47718647-37173050, IP 206.181.113.67, Port 22 2026-05-11 02:51:42,596 - DEBUG - VM ctest-TestBasicPolicy-47718647-37173050 is ready for SSH connections 2026-05-11 02:51:42,596 - INFO - Waiting for VM ctest-TestBasicPolicy-47718647-15221237 to be up.. 2026-05-11 02:51:42,690 - DEBUG - VM is in ACTIVE state now 2026-05-11 02:51:42,690 - INFO - VM name : ctest-TestBasicPolicy-47718647-15221237 2026-05-11 02:51:42,780 - DEBUG - VM ctest-TestBasicPolicy-47718647-15221237 ID is b4dfc5ba-c9f4-46c5-8b55-1f51174e5e2a 2026-05-11 02:51:42,780 - DEBUG - VM ctest-TestBasicPolicy-47718647-15221237 launched on Node an-jenkins-deploy-platform-ansible-os-5767-1 2026-05-11 02:51:42,864 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b4dfc5ba-c9f4-46c5-8b55-1f51174e5e2a 2026-05-11 02:51:42,874 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c82773dc-c7fd-40dc-9bcd-885252d9e103 2026-05-11 02:51:44,051 - 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=4.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=16.7 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 = 4.306/10.490/16.674/6.184 ms') 2026-05-11 02:51:44,051 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47718647-15221237 passed 2026-05-11 02:51:44,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:51:44,123 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47718647-15221237, IP 35.213.19.67, Port 22 2026-05-11 02:51:44,283 - DEBUG - VM ctest-TestBasicPolicy-47718647-15221237 is ready for SSH connections 2026-05-11 02:51:44,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:51:44,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.213.19.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-11 02:51:44,283 - DEBUG - ping -s 56 -c 3 -W 1 35.213.19.67 2026-05-11 02:52:09,518 - DEBUG - PING 35.213.19.67 (35.213.19.67) 56(84) bytes of data. 64 bytes from 35.213.19.67: icmp_req=1 ttl=63 time=10.0 ms 64 bytes from 35.213.19.67: icmp_req=2 ttl=63 time=1.45 ms 64 bytes from 35.213.19.67: icmp_req=3 ttl=63 time=1.58 ms --- 35.213.19.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.452/4.368/10.068/4.031 ms 2026-05-11 02:52:09,518 - INFO - Ping to IP 35.213.19.67 from VM ctest-TestBasicPolicy-47718647-37173050 passed 2026-05-11 02:52:09,729 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6b6605e0-83e4-4424-acb2-6732139099fe", "href": "http://10.0.0.27:8082/network-policy/6b6605e0-83e4-4424-acb2-6732139099fe"}} 2026-05-11 02:52:09,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 02:52:09,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.213.19.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-11 02:52:09,729 - DEBUG - ping -s 56 -c 3 -W 1 35.213.19.67 2026-05-11 02:52:13,751 - DEBUG - PING 35.213.19.67 (35.213.19.67) 56(84) bytes of data. --- 35.213.19.67 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms 2026-05-11 02:52:13,751 - WARNING - Ping to IP 35.213.19.67 from VM ctest-TestBasicPolicy-47718647-37173050 failed 2026-05-11 02:52:13,751 - INFO - Deleting VM ctest-TestBasicPolicy-47718647-15221237 2026-05-11 02:52:13,829 - INFO - Deleting VM ctest-TestBasicPolicy-47718647-37173050 2026-05-11 02:52:14,302 - INFO - Deleted policy ctest-policy-allow-all-89181175 2026-05-11 02:52:14,302 - INFO - Deleting VN ctest-vn-92241138 2026-05-11 02:52:14,375 - DEBUG - VN 552e7dca-ae2b-483a-b196-96dd0db64914 still in use: Unable to complete operation on network 552e7dca-ae2b-483a-b196-96dd0db64914. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71b0fe12-5387-40fa-a352-ab6479b45999'] 2026-05-11 02:52:14,376 - WARNING - Deleting VN ctest-vn-92241138 failed..Will retry 2026-05-11 02:52:16,555 - DEBUG - Response for deleting network () 2026-05-11 02:52:16,556 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a2f1d8ea-41e4-4d96-acec-ea6b4453883f 2026-05-11 02:52:16,568 - DEBUG - Response Code: 404 2026-05-11 02:52:16,568 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 02:52:16,576 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 02:52:16,592 - DEBUG - Requesting: http://10.0.0.141:8082/project/6bc2f2a5-c595-417d-8abd-836b78b0a80e 2026-05-11 02:52:16,699 - INFO - Validated that VN ctest-vn-92241138 is not found in API Server 2026-05-11 02:52:16,710 - DEBUG - VN ctest-vn-92241138 is not present in Agent 10.0.0.23 2026-05-11 02:52:16,721 - DEBUG - VN ctest-vn-92241138 is not present in Agent 10.0.0.240 2026-05-11 02:52:16,721 - INFO - Validated that VN ctest-vn-92241138 is not in any agent 2026-05-11 02:52:16,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92241138 info 2026-05-11 02:52:16,753 - INFO - Deleting VN ctest-vn-44563909 2026-05-11 02:52:16,959 - DEBUG - Response for deleting network () 2026-05-11 02:52:16,959 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/5aa58409-b383-4323-8273-81185007dbbc 2026-05-11 02:52:16,972 - DEBUG - Response Code: 404 2026-05-11 02:52:16,972 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 02:52:16,989 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 02:52:17,002 - DEBUG - Requesting: http://10.0.0.141:8082/project/6bc2f2a5-c595-417d-8abd-836b78b0a80e 2026-05-11 02:52:17,110 - INFO - Validated that VN ctest-vn-44563909 is not found in API Server 2026-05-11 02:52:17,120 - DEBUG - VN ctest-vn-44563909 is not present in Agent 10.0.0.23 2026-05-11 02:52:17,131 - DEBUG - VN ctest-vn-44563909 is not present in Agent 10.0.0.240 2026-05-11 02:52:17,131 - INFO - Validated that VN ctest-vn-44563909 is not in any agent 2026-05-11 02:52:17,165 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44563909 info 2026-05-11 02:52:18,466 - DEBUG - No XMPP flaps were noticed during the test 2026-05-11 02:52:18,466 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:49] 2026-05-11 02:52:18,466 - INFO - -------------------------------------------------------------------------------- 2026-05-11 02:52:19,344 - INFO - Deleted project: ctest-TestBasicPolicy-47718647, ID : 6bc2f2a5-c595-417d-8abd-836b78b0a80e