2026-09-28 03:14:04,707 - INFO - Domain Default found not creating 2026-09-28 03:14:05,043 - INFO - Project ctest-TestBasicPolicy-31515920 not found, creating it 2026-09-28 03:14:05,799 - INFO - Created Project:ctest-TestBasicPolicy-31515920, ID : 9ef74f7f-fa82-48b0-8ec6-2e0b9bae9bd4 2026-09-28 03:14:07,739 - INFO - ================================================================================ 2026-09-28 03:14:07,740 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-28 03:14:07,740 - 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-09-28 03:14:09,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.162': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2026-09-28 03:14:09,079 - INFO - Initial checks done. Running the testcase now 2026-09-28 03:14:09,079 - INFO - 2026-09-28 03:14:09,983 - DEBUG - Response for create_network : {'network': {'id': 'cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed', 'name': 'ctest-vn-33669204', 'tenant_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'project_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31515920', 'ctest-vn-33669204'], 'port_security_enabled': True, 'description': ''}} 2026-09-28 03:14:10,332 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bd19f01-0a4f-4943-8c4a-c77ae4800669', 'name': '', 'tenant_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'network_id': 'cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed', 'ip_version': 4, 'cidr': '219.25.27.64/26', 'allocation_pools': [{'start': '219.25.27.66', 'end': '219.25.27.126'}], 'gateway_ip': '219.25.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.25.27.66', 'tags': [], 'project_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4'}} 2026-09-28 03:14:10,358 - INFO - Created VN ctest-vn-33669204 2026-09-28 03:14:10,372 - DEBUG - VN ctest-vn-33669204 UUID is cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed 2026-09-28 03:14:10,793 - DEBUG - Response for create_network : {'network': {'id': '58df21c6-f32d-4fdf-8499-159b57811df3', 'name': 'ctest-vn-05772761', 'tenant_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'project_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31515920', 'ctest-vn-05772761'], 'port_security_enabled': True, 'description': ''}} 2026-09-28 03:14:11,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a756adfc-6195-4146-ba3c-acbe5164d8c2', 'name': '', 'tenant_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'network_id': '58df21c6-f32d-4fdf-8499-159b57811df3', 'ip_version': 4, 'cidr': '114.237.220.128/26', 'allocation_pools': [{'start': '114.237.220.130', 'end': '114.237.220.190'}], 'gateway_ip': '114.237.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.237.220.130', 'tags': [], 'project_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4'}} 2026-09-28 03:14:11,108 - INFO - Created VN ctest-vn-05772761 2026-09-28 03:14:11,125 - DEBUG - VN ctest-vn-05772761 UUID is 58df21c6-f32d-4fdf-8499-159b57811df3 2026-09-28 03:14:11,222 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204, 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-31515920:ctest-vn-05772761, 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-09-28 03:14:11,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed', 'name': 'ctest-vn-33669204', 'tenant_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'project_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5bd19f01-0a4f-4943-8c4a-c77ae4800669'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31515920', 'ctest-vn-33669204'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31515920', 'ctest-policy-allow-all-67311681']], 'subnet_ipam': [{'subnet_cidr': '219.25.27.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-28 03:14:11,923 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58df21c6-f32d-4fdf-8499-159b57811df3', 'name': 'ctest-vn-05772761', 'tenant_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'project_id': '9ef74f7ffa8248b08ec62e0b9bae9bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a756adfc-6195-4146-ba3c-acbe5164d8c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31515920', 'ctest-vn-05772761'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31515920', 'ctest-policy-allow-all-67311681']], 'subnet_ipam': [{'subnet_cidr': '114.237.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-28 03:14:12,036 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-28 03:14:12,463 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-28 03:14:12,500 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404 2026-09-28 03:14:12,521 - DEBUG - Requesting: http://10.0.0.176:8082/project/9ef74f7f-fa82-48b0-8ec6-2e0b9bae9bd4 2026-09-28 03:14:12,632 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed 2026-09-28 03:14:12,649 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed 2026-09-28 03:14:12,662 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/6294986a-7739-4936-9891-17bac59da747 2026-09-28 03:14:12,673 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/6294986a-7739-4936-9891-17bac59da747 2026-09-28 03:14:12,683 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/8f5603fd-b3cf-44ce-a578-e0854396d77f 2026-09-28 03:14:12,692 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-28 03:14:12,692 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed 2026-09-28 03:14:12,705 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/6294986a-7739-4936-9891-17bac59da747 2026-09-28 03:14:12,726 - INFO - Verified VN network id 13 for VN cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed 2026-09-28 03:14:12,726 - INFO - Verifications in API Server for VN ctest-vn-33669204 passed 2026-09-28 03:14:12,726 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed 2026-09-28 03:14:12,739 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/6294986a-7739-4936-9891-17bac59da747 2026-09-28 03:14:12,749 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/6294986a-7739-4936-9891-17bac59da747 2026-09-28 03:14:12,758 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/8f5603fd-b3cf-44ce-a578-e0854396d77f 2026-09-28 03:14:12,777 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31515920', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14693012877182649643', 'uuid-lslong': '10045946139905964013'}, 'enable': 'true', 'created': '2026-09-28T03:14:09', 'last-modified': '2026-09-28T03:14:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.171519'} 2026-09-28 03:14:12,786 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-28 03:14:12,793 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31515920', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14693012877182649643', 'uuid-lslong': '10045946139905964013'}, 'enable': 'true', 'created': '2026-09-28T03:14:09', 'last-modified': '2026-09-28T03:14:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.206857'} 2026-09-28 03:14:12,802 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-28 03:14:12,809 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31515920', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14693012877182649643', 'uuid-lslong': '10045946139905964013'}, 'enable': 'true', 'created': '2026-09-28T03:14:09', 'last-modified': '2026-09-28T03:14:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.217889'} 2026-09-28 03:14:12,819 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-28 03:14:12,820 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33669204 passed 2026-09-28 03:14:12,820 - DEBUG - ====Verifying policy data for ctest-vn-33669204 in API_Server ====== 2026-09-28 03:14:12,820 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-28 03:14:12,828 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404 2026-09-28 03:14:12,844 - DEBUG - Requesting: http://10.0.0.176:8082/project/9ef74f7f-fa82-48b0-8ec6-2e0b9bae9bd4 2026-09-28 03:14:12,959 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/cbe8115d-68b6-452b-8b6a-5ec9ddcd37ed 2026-09-28 03:14:12,981 - DEBUG - ==>Verifying data for policy with id: 6d25bcb9-373f-4333-b434-24e593c89656, fqn: ['default-domain', 'ctest-TestBasicPolicy-31515920', 'ctest-policy-allow-all-67311681'] 2026-09-28 03:14:12,981 - INFO - VN ctest-vn-33669204 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-28 03:14:12,981 - DEBUG - Verifying the vn in opserver 2026-09-28 03:14:12,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 virtual network link through opserver 10.0.0.176 2026-09-28 03:14:12,982 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-09-28 03:14:13,374 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-09-28 03:14:13,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204?flat'} 2026-09-28 03:14:13,444 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 virtual network link through opserver 10.0.0.177 2026-09-28 03:14:13,444 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-28 03:14:13,828 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-28 03:14:13,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204?flat'} 2026-09-28 03:14:13,899 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 virtual network link through opserver 10.0.0.161 2026-09-28 03:14:13,899 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-28 03:14:14,311 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-28 03:14:14,377 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204?flat'} 2026-09-28 03:14:14,377 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 is found in opserver 2026-09-28 03:14:14,406 - DEBUG - Do not have enough data to verify VN in agent 2026-09-28 03:14:14,420 - DEBUG - VRF ids for VN ctest-vn-33669204: {} 2026-09-28 03:14:14,420 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-28 03:14:14,428 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404 2026-09-28 03:14:14,446 - DEBUG - Requesting: http://10.0.0.176:8082/project/9ef74f7f-fa82-48b0-8ec6-2e0b9bae9bd4 2026-09-28 03:14:14,568 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/58df21c6-f32d-4fdf-8499-159b57811df3 2026-09-28 03:14:14,584 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/58df21c6-f32d-4fdf-8499-159b57811df3 2026-09-28 03:14:14,596 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ee451203-afd7-4630-9445-2c69738a2e98 2026-09-28 03:14:14,606 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ee451203-afd7-4630-9445-2c69738a2e98 2026-09-28 03:14:14,617 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/1c98217f-ec17-42fd-b466-6d98814638fc 2026-09-28 03:14:14,628 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-09-28 03:14:14,628 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/58df21c6-f32d-4fdf-8499-159b57811df3 2026-09-28 03:14:14,646 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ee451203-afd7-4630-9445-2c69738a2e98 2026-09-28 03:14:14,669 - INFO - Verified VN network id 14 for VN 58df21c6-f32d-4fdf-8499-159b57811df3 2026-09-28 03:14:14,669 - INFO - Verifications in API Server for VN ctest-vn-05772761 passed 2026-09-28 03:14:14,669 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/58df21c6-f32d-4fdf-8499-159b57811df3 2026-09-28 03:14:14,683 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ee451203-afd7-4630-9445-2c69738a2e98 2026-09-28 03:14:14,694 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ee451203-afd7-4630-9445-2c69738a2e98 2026-09-28 03:14:14,705 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/1c98217f-ec17-42fd-b466-6d98814638fc 2026-09-28 03:14:14,723 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31515920', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6403874333511208927', 'uuid-lslong': '9554691841375411699'}, 'enable': 'true', 'created': '2026-09-28T03:14:10', 'last-modified': '2026-09-28T03:14:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.842108'} 2026-09-28 03:14:14,732 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-09-28 03:14:14,738 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31515920', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6403874333511208927', 'uuid-lslong': '9554691841375411699'}, 'enable': 'true', 'created': '2026-09-28T03:14:10', 'last-modified': '2026-09-28T03:14:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.858318'} 2026-09-28 03:14:14,748 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-09-28 03:14:14,755 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31515920', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6403874333511208927', 'uuid-lslong': '9554691841375411699'}, 'enable': 'true', 'created': '2026-09-28T03:14:10', 'last-modified': '2026-09-28T03:14:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.878337'} 2026-09-28 03:14:14,764 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-09-28 03:14:14,765 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05772761 passed 2026-09-28 03:14:14,765 - DEBUG - ====Verifying policy data for ctest-vn-05772761 in API_Server ====== 2026-09-28 03:14:14,765 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-28 03:14:14,774 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404 2026-09-28 03:14:14,789 - DEBUG - Requesting: http://10.0.0.176:8082/project/9ef74f7f-fa82-48b0-8ec6-2e0b9bae9bd4 2026-09-28 03:14:14,935 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/58df21c6-f32d-4fdf-8499-159b57811df3 2026-09-28 03:14:14,948 - DEBUG - ==>Verifying data for policy with id: 6d25bcb9-373f-4333-b434-24e593c89656, fqn: ['default-domain', 'ctest-TestBasicPolicy-31515920', 'ctest-policy-allow-all-67311681'] 2026-09-28 03:14:14,948 - INFO - VN ctest-vn-05772761 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-28 03:14:14,948 - DEBUG - Verifying the vn in opserver 2026-09-28 03:14:14,948 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761 virtual network link through opserver 10.0.0.176 2026-09-28 03:14:14,948 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-09-28 03:14:15,013 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761?flat'} 2026-09-28 03:14:15,013 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761 virtual network link through opserver 10.0.0.177 2026-09-28 03:14:15,013 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-09-28 03:14:15,080 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761?flat'} 2026-09-28 03:14:15,080 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761 virtual network link through opserver 10.0.0.161 2026-09-28 03:14:15,080 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-28 03:14:15,141 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761?flat'} 2026-09-28 03:14:15,141 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-05772761 is found in opserver 2026-09-28 03:14:15,171 - DEBUG - Do not have enough data to verify VN in agent 2026-09-28 03:14:15,188 - DEBUG - VRF ids for VN ctest-vn-05772761: {} 2026-09-28 03:14:15,263 - DEBUG - Services list from nova: [, , , ] 2026-09-28 03:14:15,782 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6324-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6324-2) 2026-09-28 03:14:16,433 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6324-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6324-1) 2026-09-28 03:14:16,434 - INFO - Waiting for VM ctest-TestBasicPolicy-31515920-78531607 to be up.. 2026-09-28 03:14:16,500 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 03:14:21,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 03:14:26,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 03:14:31,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 03:14:36,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 03:14:42,061 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 03:14:47,164 - DEBUG - VM is in ACTIVE state now 2026-09-28 03:14:47,164 - INFO - VM name : ctest-TestBasicPolicy-31515920-78531607 2026-09-28 03:14:47,269 - DEBUG - VM ctest-TestBasicPolicy-31515920-78531607 ID is 9351e176-dd38-4830-9087-43e45526d0fb 2026-09-28 03:14:47,308 - DEBUG - VM ctest-TestBasicPolicy-31515920-78531607 launched on Node an-jenkins-deploy-platform-ansible-os-6324-2 2026-09-28 03:14:47,465 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/9351e176-dd38-4830-9087-43e45526d0fb 2026-09-28 03:14:47,851 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/9351e176-dd38-4830-9087-43e45526d0fb 2026-09-28 03:14:47,894 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/69f6d4b6-9f6f-48cc-b91f-83aa8bf84976 2026-09-28 03:14:51,090 - 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-09-28 03:14:51,090 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-78531607 failed! 2026-09-28 03:14:51,112 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 is 219.25.27.65 and allocation pool is NOT set 2026-09-28 03:14:55,187 - 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-09-28 03:14:55,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-78531607 failed! 2026-09-28 03:14:55,208 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 is 219.25.27.65 and allocation pool is NOT set 2026-09-28 03:14:59,282 - 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-09-28 03:14:59,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-78531607 failed! 2026-09-28 03:14:59,301 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 is 219.25.27.65 and allocation pool is NOT set 2026-09-28 03:15:03,376 - 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-09-28 03:15:03,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-78531607 failed! 2026-09-28 03:15:03,394 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 is 219.25.27.65 and allocation pool is NOT set 2026-09-28 03:15:07,469 - 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 1016ms') 2026-09-28 03:15:07,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-78531607 failed! 2026-09-28 03:15:07,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 is 219.25.27.65 and allocation pool is NOT set 2026-09-28 03:15:11,574 - 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-09-28 03:15:11,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-78531607 failed! 2026-09-28 03:15:11,593 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 is 219.25.27.65 and allocation pool is NOT set 2026-09-28 03:15:15,669 - 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 1008ms') 2026-09-28 03:15:15,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-78531607 failed! 2026-09-28 03:15:15,686 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31515920:ctest-vn-33669204 is 219.25.27.65 and allocation pool is NOT set 2026-09-28 03:15:17,752 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 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 = 2.574/3.991/5.408/1.417 ms') 2026-09-28 03:15:17,753 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-78531607 passed 2026-09-28 03:15:17,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 03:15:17,829 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31515920-78531607, IP 219.25.27.67, Port 22 2026-09-28 03:15:17,897 - 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-09-28 03:15:18,010 - DEBUG - VM ctest-TestBasicPolicy-31515920-78531607 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-28 03:15:23,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 03:15:23,011 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31515920-78531607, IP 219.25.27.67, Port 22 2026-09-28 03:15:23,081 - 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-09-28 03:15:23,229 - DEBUG - VM ctest-TestBasicPolicy-31515920-78531607 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-28 03:15:28,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 03:15:28,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31515920-78531607, IP 219.25.27.67, Port 22 2026-09-28 03:15:28,305 - 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-09-28 03:15:28,416 - DEBUG - VM ctest-TestBasicPolicy-31515920-78531607 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-28 03:15:33,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 03:15:33,416 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31515920-78531607, IP 219.25.27.67, Port 22 2026-09-28 03:15:33,588 - DEBUG - VM ctest-TestBasicPolicy-31515920-78531607 is ready for SSH connections 2026-09-28 03:15:33,589 - INFO - Waiting for VM ctest-TestBasicPolicy-31515920-94599513 to be up.. 2026-09-28 03:15:33,687 - DEBUG - VM is in ACTIVE state now 2026-09-28 03:15:33,687 - INFO - VM name : ctest-TestBasicPolicy-31515920-94599513 2026-09-28 03:15:33,792 - DEBUG - VM ctest-TestBasicPolicy-31515920-94599513 ID is 56d9e5cb-bef4-42b1-a2eb-a9758975cc25 2026-09-28 03:15:33,792 - DEBUG - VM ctest-TestBasicPolicy-31515920-94599513 launched on Node an-jenkins-deploy-platform-ansible-os-6324-1 2026-09-28 03:15:33,897 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/56d9e5cb-bef4-42b1-a2eb-a9758975cc25 2026-09-28 03:15:33,911 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/fc4e951d-d633-4b00-962e-778f5c74718c 2026-09-28 03:15:35,101 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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.486/2.217/3.948/1.731 ms') 2026-09-28 03:15:35,101 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31515920-94599513 passed 2026-09-28 03:15:35,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 03:15:35,177 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31515920-94599513, IP 114.237.220.131, Port 22 2026-09-28 03:15:35,364 - DEBUG - VM ctest-TestBasicPolicy-31515920-94599513 is ready for SSH connections 2026-09-28 03:15:35,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 03:15:35,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.237.220.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-09-28 03:15:35,365 - DEBUG - ping -s 56 -c 3 -W 1 114.237.220.131 2026-09-28 03:15:52,084 - DEBUG - PING 114.237.220.131 (114.237.220.131) 56(84) bytes of data. 64 bytes from 114.237.220.131: icmp_req=1 ttl=63 time=13.5 ms 64 bytes from 114.237.220.131: icmp_req=2 ttl=63 time=1.77 ms 64 bytes from 114.237.220.131: icmp_req=3 ttl=63 time=2.69 ms --- 114.237.220.131 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.779/6.012/13.559/5.349 ms 2026-09-28 03:15:52,085 - INFO - Ping to IP 114.237.220.131 from VM ctest-TestBasicPolicy-31515920-78531607 passed 2026-09-28 03:15:52,345 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6d25bcb9-373f-4333-b434-24e593c89656", "href": "http://10.0.0.161:8082/network-policy/6d25bcb9-373f-4333-b434-24e593c89656"}} 2026-09-28 03:15:52,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 03:15:52,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.237.220.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-09-28 03:15:52,346 - DEBUG - ping -s 56 -c 3 -W 1 114.237.220.131 2026-09-28 03:15:55,841 - DEBUG - PING 114.237.220.131 (114.237.220.131) 56(84) bytes of data. 64 bytes from 114.237.220.131: icmp_req=1 ttl=63 time=6.23 ms --- 114.237.220.131 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 6.237/6.237/6.237/0.000 ms 2026-09-28 03:15:55,841 - WARNING - Ping to IP 114.237.220.131 from VM ctest-TestBasicPolicy-31515920-78531607 failed 2026-09-28 03:15:55,841 - INFO - Deleting VM ctest-TestBasicPolicy-31515920-94599513 2026-09-28 03:15:55,931 - INFO - Deleting VM ctest-TestBasicPolicy-31515920-78531607 2026-09-28 03:15:56,728 - INFO - Deleted policy ctest-policy-allow-all-67311681 2026-09-28 03:15:56,729 - INFO - Deleting VN ctest-vn-05772761 2026-09-28 03:15:56,783 - DEBUG - VN 58df21c6-f32d-4fdf-8499-159b57811df3 still in use: Unable to complete operation on network 58df21c6-f32d-4fdf-8499-159b57811df3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00b3da40-44ee-4674-8327-dee5bacdcb79'] 2026-09-28 03:15:56,783 - WARNING - Deleting VN ctest-vn-05772761 failed..Will retry 2026-09-28 03:15:59,089 - DEBUG - Response for deleting network () 2026-09-28 03:15:59,089 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ee451203-afd7-4630-9445-2c69738a2e98 2026-09-28 03:15:59,099 - DEBUG - Response Code: 404 2026-09-28 03:15:59,101 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-28 03:15:59,110 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404 2026-09-28 03:15:59,171 - DEBUG - Requesting: http://10.0.0.176:8082/project/9ef74f7f-fa82-48b0-8ec6-2e0b9bae9bd4 2026-09-28 03:15:59,301 - INFO - Validated that VN ctest-vn-05772761 is not found in API Server 2026-09-28 03:15:59,314 - DEBUG - VN ctest-vn-05772761 is not present in Agent 10.0.0.38 2026-09-28 03:15:59,332 - DEBUG - VN ctest-vn-05772761 is not present in Agent 10.0.0.162 2026-09-28 03:15:59,332 - INFO - Validated that VN ctest-vn-05772761 is not in any agent 2026-09-28 03:15:59,375 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05772761 info 2026-09-28 03:15:59,375 - INFO - Deleting VN ctest-vn-33669204 2026-09-28 03:15:59,574 - DEBUG - Response for deleting network () 2026-09-28 03:15:59,574 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/6294986a-7739-4936-9891-17bac59da747 2026-09-28 03:15:59,585 - DEBUG - Response Code: 404 2026-09-28 03:15:59,586 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-28 03:15:59,597 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404 2026-09-28 03:15:59,631 - DEBUG - Requesting: http://10.0.0.176:8082/project/9ef74f7f-fa82-48b0-8ec6-2e0b9bae9bd4 2026-09-28 03:15:59,749 - INFO - Validated that VN ctest-vn-33669204 is not found in API Server 2026-09-28 03:15:59,763 - DEBUG - VN ctest-vn-33669204 is not present in Agent 10.0.0.38 2026-09-28 03:15:59,778 - DEBUG - VN ctest-vn-33669204 is not present in Agent 10.0.0.162 2026-09-28 03:15:59,779 - INFO - Validated that VN ctest-vn-33669204 is not in any agent 2026-09-28 03:15:59,824 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33669204 info 2026-09-28 03:16:01,173 - DEBUG - No XMPP flaps were noticed during the test 2026-09-28 03:16:01,173 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:54] 2026-09-28 03:16:01,173 - INFO - -------------------------------------------------------------------------------- 2026-09-28 03:16:02,159 - INFO - Deleted project: ctest-TestBasicPolicy-31515920, ID : 9ef74f7f-fa82-48b0-8ec6-2e0b9bae9bd4