2026-03-19 02:56:49,495 - INFO - Domain Default found not creating 2026-03-19 02:56:49,708 - INFO - Project ctest-TestBasicPolicy-22388768 not found, creating it 2026-03-19 02:56:50,210 - INFO - Created Project:ctest-TestBasicPolicy-22388768, ID : 35f9f4ba-ffb3-47f3-b4ac-544af863f2ef 2026-03-19 02:56:51,829 - INFO - ================================================================================ 2026-03-19 02:56:51,830 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 02:56:51,830 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-03-19 02:56:53,121 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.18': '0'}, '10.0.0.240': {'10.20.0.18': '0', '10.20.0.193': '0'}} with 2026-03-19 02:56:53,122 - INFO - Initial checks done. Running the testcase now 2026-03-19 02:56:53,122 - INFO - 2026-03-19 02:56:53,833 - DEBUG - Response for create_network : {'network': {'id': '8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0', 'name': 'ctest-vn-15372287', 'tenant_id': '35f9f4baffb347f3b4ac544af863f2ef', 'project_id': '35f9f4baffb347f3b4ac544af863f2ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22388768', 'ctest-vn-15372287'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:56:54,170 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc878cf6-7733-4f16-a248-a9f66ae0889c', 'name': '', 'tenant_id': '35f9f4baffb347f3b4ac544af863f2ef', 'network_id': '8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0', 'ip_version': 4, 'cidr': '153.100.125.128/26', 'allocation_pools': [{'start': '153.100.125.130', 'end': '153.100.125.190'}], 'gateway_ip': '153.100.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.100.125.130', 'tags': [], 'project_id': '35f9f4baffb347f3b4ac544af863f2ef'}} 2026-03-19 02:56:54,194 - INFO - Created VN ctest-vn-15372287 2026-03-19 02:56:54,208 - DEBUG - VN ctest-vn-15372287 UUID is 8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0 2026-03-19 02:56:54,534 - DEBUG - Response for create_network : {'network': {'id': '84a82234-6dad-4c9d-bac4-9e10163ebb2a', 'name': 'ctest-vn-57767504', 'tenant_id': '35f9f4baffb347f3b4ac544af863f2ef', 'project_id': '35f9f4baffb347f3b4ac544af863f2ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22388768', 'ctest-vn-57767504'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:56:54,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '642e5d6b-a262-4c0b-913c-1aadae9295b3', 'name': '', 'tenant_id': '35f9f4baffb347f3b4ac544af863f2ef', 'network_id': '84a82234-6dad-4c9d-bac4-9e10163ebb2a', 'ip_version': 4, 'cidr': '99.149.66.64/26', 'allocation_pools': [{'start': '99.149.66.66', 'end': '99.149.66.126'}], 'gateway_ip': '99.149.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.149.66.66', 'tags': [], 'project_id': '35f9f4baffb347f3b4ac544af863f2ef'}} 2026-03-19 02:56:54,799 - INFO - Created VN ctest-vn-57767504 2026-03-19 02:56:54,811 - DEBUG - VN ctest-vn-57767504 UUID is 84a82234-6dad-4c9d-bac4-9e10163ebb2a 2026-03-19 02:56:54,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287, 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-22388768:ctest-vn-57767504, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-03-19 02:56:55,239 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0', 'name': 'ctest-vn-15372287', 'tenant_id': '35f9f4baffb347f3b4ac544af863f2ef', 'project_id': '35f9f4baffb347f3b4ac544af863f2ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc878cf6-7733-4f16-a248-a9f66ae0889c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22388768', 'ctest-vn-15372287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22388768', 'ctest-policy-allow-all-54435503']], 'subnet_ipam': [{'subnet_cidr': '153.100.125.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:56:55,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '84a82234-6dad-4c9d-bac4-9e10163ebb2a', 'name': 'ctest-vn-57767504', 'tenant_id': '35f9f4baffb347f3b4ac544af863f2ef', 'project_id': '35f9f4baffb347f3b4ac544af863f2ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['642e5d6b-a262-4c0b-913c-1aadae9295b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22388768', 'ctest-vn-57767504'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22388768', 'ctest-policy-allow-all-54435503']], 'subnet_ipam': [{'subnet_cidr': '99.149.66.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:56:55,593 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-19 02:56:55,947 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-19 02:56:55,982 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76 2026-03-19 02:56:55,996 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f9f4ba-ffb3-47f3-b4ac-544af863f2ef 2026-03-19 02:56:56,090 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0 2026-03-19 02:56:56,107 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0 2026-03-19 02:56:56,116 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ef975ade-897d-4f43-b209-669f58bae369 2026-03-19 02:56:56,125 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ef975ade-897d-4f43-b209-669f58bae369 2026-03-19 02:56:56,132 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7059731b-adcd-47f0-b45a-80e2a0868aaa 2026-03-19 02:56:56,139 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:56:56,139 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0 2026-03-19 02:56:56,147 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ef975ade-897d-4f43-b209-669f58bae369 2026-03-19 02:56:56,168 - INFO - Verified VN network id 14 for VN 8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0 2026-03-19 02:56:56,168 - INFO - Verifications in API Server for VN ctest-vn-15372287 passed 2026-03-19 02:56:56,168 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0 2026-03-19 02:56:56,180 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ef975ade-897d-4f43-b209-669f58bae369 2026-03-19 02:56:56,188 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ef975ade-897d-4f43-b209-669f58bae369 2026-03-19 02:56:56,197 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7059731b-adcd-47f0-b45a-80e2a0868aaa 2026-03-19 02:56:56,211 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22388768', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10183421730220232122', 'uuid-lslong': '9422101946885211568'}, 'enable': 'true', 'created': '2026-03-19T02:56:53', 'last-modified': '2026-03-19T02:56:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.020750'} 2026-03-19 02:56:56,220 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:56:56,227 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22388768', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10183421730220232122', 'uuid-lslong': '9422101946885211568'}, 'enable': 'true', 'created': '2026-03-19T02:56:53', 'last-modified': '2026-03-19T02:56:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.027123'} 2026-03-19 02:56:56,235 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:56:56,241 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22388768', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10183421730220232122', 'uuid-lslong': '9422101946885211568'}, 'enable': 'true', 'created': '2026-03-19T02:56:53', 'last-modified': '2026-03-19T02:56:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.035538'} 2026-03-19 02:56:56,247 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:56:56,247 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15372287 passed 2026-03-19 02:56:56,248 - DEBUG - ====Verifying policy data for ctest-vn-15372287 in API_Server ====== 2026-03-19 02:56:56,248 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-19 02:56:56,255 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76 2026-03-19 02:56:56,266 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f9f4ba-ffb3-47f3-b4ac-544af863f2ef 2026-03-19 02:56:56,362 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8d52c81c-0bc5-4dba-82c2-07ccdd9c05b0 2026-03-19 02:56:56,373 - DEBUG - ==>Verifying data for policy with id: a0043e49-2224-4688-b9d9-44d29a77bb90, fqn: ['default-domain', 'ctest-TestBasicPolicy-22388768', 'ctest-policy-allow-all-54435503'] 2026-03-19 02:56:56,373 - INFO - VN ctest-vn-15372287 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:56:56,373 - DEBUG - Verifying the vn in opserver 2026-03-19 02:56:56,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 virtual network link through opserver 10.0.0.41 2026-03-19 02:56:56,373 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-19 02:56:56,683 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-19 02:56:56,749 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287?flat'} 2026-03-19 02:56:56,749 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 virtual network link through opserver 10.0.0.242 2026-03-19 02:56:56,749 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-19 02:56:57,052 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-19 02:56:57,114 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287?flat'} 2026-03-19 02:56:57,114 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 virtual network link through opserver 10.0.0.27 2026-03-19 02:56:57,114 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-19 02:56:57,411 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-19 02:56:57,486 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287?flat'} 2026-03-19 02:56:57,486 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is found in opserver 2026-03-19 02:56:57,507 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:56:57,516 - DEBUG - VRF ids for VN ctest-vn-15372287: {} 2026-03-19 02:56:57,516 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-19 02:56:57,522 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76 2026-03-19 02:56:57,533 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f9f4ba-ffb3-47f3-b4ac-544af863f2ef 2026-03-19 02:56:57,625 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/84a82234-6dad-4c9d-bac4-9e10163ebb2a 2026-03-19 02:56:57,639 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/84a82234-6dad-4c9d-bac4-9e10163ebb2a 2026-03-19 02:56:57,649 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/937ab3eb-598a-464a-a232-32fd8c57f4ce 2026-03-19 02:56:57,659 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/937ab3eb-598a-464a-a232-32fd8c57f4ce 2026-03-19 02:56:57,673 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/431553f2-51af-436c-b766-c39cfb696d7d 2026-03-19 02:56:57,683 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:56:57,683 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/84a82234-6dad-4c9d-bac4-9e10163ebb2a 2026-03-19 02:56:57,695 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/937ab3eb-598a-464a-a232-32fd8c57f4ce 2026-03-19 02:56:57,714 - INFO - Verified VN network id 15 for VN 84a82234-6dad-4c9d-bac4-9e10163ebb2a 2026-03-19 02:56:57,714 - INFO - Verifications in API Server for VN ctest-vn-57767504 passed 2026-03-19 02:56:57,714 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/84a82234-6dad-4c9d-bac4-9e10163ebb2a 2026-03-19 02:56:57,725 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/937ab3eb-598a-464a-a232-32fd8c57f4ce 2026-03-19 02:56:57,733 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/937ab3eb-598a-464a-a232-32fd8c57f4ce 2026-03-19 02:56:57,740 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/431553f2-51af-436c-b766-c39cfb696d7d 2026-03-19 02:56:57,752 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22388768', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9558927817667595421', 'uuid-lslong': '13458055378419759914'}, 'enable': 'true', 'created': '2026-03-19T02:56:54', 'last-modified': '2026-03-19T02:56:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.326142'} 2026-03-19 02:56:57,758 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:56:57,764 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22388768', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9558927817667595421', 'uuid-lslong': '13458055378419759914'}, 'enable': 'true', 'created': '2026-03-19T02:56:54', 'last-modified': '2026-03-19T02:56:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.318074'} 2026-03-19 02:56:57,770 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:56:57,775 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22388768', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9558927817667595421', 'uuid-lslong': '13458055378419759914'}, 'enable': 'true', 'created': '2026-03-19T02:56:54', 'last-modified': '2026-03-19T02:56:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.345706'} 2026-03-19 02:56:57,781 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:56:57,781 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57767504 passed 2026-03-19 02:56:57,781 - DEBUG - ====Verifying policy data for ctest-vn-57767504 in API_Server ====== 2026-03-19 02:56:57,781 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-19 02:56:57,787 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76 2026-03-19 02:56:57,799 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f9f4ba-ffb3-47f3-b4ac-544af863f2ef 2026-03-19 02:56:57,889 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/84a82234-6dad-4c9d-bac4-9e10163ebb2a 2026-03-19 02:56:57,901 - DEBUG - ==>Verifying data for policy with id: a0043e49-2224-4688-b9d9-44d29a77bb90, fqn: ['default-domain', 'ctest-TestBasicPolicy-22388768', 'ctest-policy-allow-all-54435503'] 2026-03-19 02:56:57,901 - INFO - VN ctest-vn-57767504 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:56:57,901 - DEBUG - Verifying the vn in opserver 2026-03-19 02:56:57,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504 virtual network link through opserver 10.0.0.41 2026-03-19 02:56:57,901 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-19 02:56:57,972 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504?flat'} 2026-03-19 02:56:57,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504 virtual network link through opserver 10.0.0.242 2026-03-19 02:56:57,972 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-19 02:56:58,049 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504?flat'} 2026-03-19 02:56:58,049 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504 virtual network link through opserver 10.0.0.27 2026-03-19 02:56:58,049 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-03-19 02:56:58,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504?flat'} 2026-03-19 02:56:58,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-57767504 is found in opserver 2026-03-19 02:56:58,132 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:56:58,143 - DEBUG - VRF ids for VN ctest-vn-57767504: {} 2026-03-19 02:56:58,206 - DEBUG - Services list from nova: [, , , ] 2026-03-19 02:56:59,507 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5493-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5493-2) 2026-03-19 02:57:01,049 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5493-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5493-1) 2026-03-19 02:57:01,049 - INFO - Waiting for VM ctest-TestBasicPolicy-22388768-36927469 to be up.. 2026-03-19 02:57:01,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 02:57:06,252 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:57:06,252 - INFO - VM name : ctest-TestBasicPolicy-22388768-36927469 2026-03-19 02:57:06,339 - DEBUG - VM ctest-TestBasicPolicy-22388768-36927469 ID is 3147b6c0-a75d-42b5-a139-d31d34c8b9ea 2026-03-19 02:57:06,368 - DEBUG - VM ctest-TestBasicPolicy-22388768-36927469 launched on Node an-jenkins-deploy-platform-ansible-os-5493-2 2026-03-19 02:57:06,460 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3147b6c0-a75d-42b5-a139-d31d34c8b9ea 2026-03-19 02:57:06,767 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3147b6c0-a75d-42b5-a139-d31d34c8b9ea 2026-03-19 02:57:06,810 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/243485fe-7923-47d0-9730-cab8211f24bf 2026-03-19 02:57:09,990 - 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 1014ms') 2026-03-19 02:57:09,990 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 failed! 2026-03-19 02:57:10,003 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is 153.100.125.129 and allocation pool is NOT set 2026-03-19 02:57:14,088 - 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-03-19 02:57:14,088 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 failed! 2026-03-19 02:57:14,101 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is 153.100.125.129 and allocation pool is NOT set 2026-03-19 02:57:18,180 - 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 1014ms') 2026-03-19 02:57:18,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 failed! 2026-03-19 02:57:18,202 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is 153.100.125.129 and allocation pool is NOT set 2026-03-19 02:57:22,281 - 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-03-19 02:57:22,281 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 failed! 2026-03-19 02:57:22,295 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is 153.100.125.129 and allocation pool is NOT set 2026-03-19 02:57:26,371 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-03-19 02:57:26,371 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 failed! 2026-03-19 02:57:26,387 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is 153.100.125.129 and allocation pool is NOT set 2026-03-19 02:57:30,467 - 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-03-19 02:57:30,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 failed! 2026-03-19 02:57:30,481 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is 153.100.125.129 and allocation pool is NOT set 2026-03-19 02:57:34,567 - 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-03-19 02:57:34,567 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 failed! 2026-03-19 02:57:34,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is 153.100.125.129 and allocation pool is NOT set 2026-03-19 02:57:38,654 - 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 1014ms') 2026-03-19 02:57:38,654 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 failed! 2026-03-19 02:57:38,669 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22388768:ctest-vn-15372287 is 153.100.125.129 and allocation pool is NOT set 2026-03-19 02:57:40,737 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.905 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.905/3.438/5.971/2.533 ms') 2026-03-19 02:57:40,737 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-36927469 passed 2026-03-19 02:57:40,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:57:40,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22388768-36927469, IP 153.100.125.131, Port 22 2026-03-19 02:57:40,869 - 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-03-19 02:57:40,966 - DEBUG - VM ctest-TestBasicPolicy-22388768-36927469 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 02:57:45,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:57:45,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22388768-36927469, IP 153.100.125.131, Port 22 2026-03-19 02:57:46,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-03-19 02:57:46,105 - DEBUG - VM ctest-TestBasicPolicy-22388768-36927469 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 02:57:51,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:57:51,105 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22388768-36927469, IP 153.100.125.131, Port 22 2026-03-19 02:57:51,175 - 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-03-19 02:57:51,253 - DEBUG - VM ctest-TestBasicPolicy-22388768-36927469 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 02:57:56,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:57:56,254 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22388768-36927469, IP 153.100.125.131, Port 22 2026-03-19 02:57:56,322 - 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-03-19 02:57:56,417 - DEBUG - VM ctest-TestBasicPolicy-22388768-36927469 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 02:58:01,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:58:01,419 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22388768-36927469, IP 153.100.125.131, Port 22 2026-03-19 02:58:01,595 - DEBUG - VM ctest-TestBasicPolicy-22388768-36927469 is ready for SSH connections 2026-03-19 02:58:01,595 - INFO - Waiting for VM ctest-TestBasicPolicy-22388768-88340218 to be up.. 2026-03-19 02:58:01,693 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:58:01,693 - INFO - VM name : ctest-TestBasicPolicy-22388768-88340218 2026-03-19 02:58:01,801 - DEBUG - VM ctest-TestBasicPolicy-22388768-88340218 ID is 4d2c60ff-29a5-4491-a152-a8af7c0750de 2026-03-19 02:58:01,801 - DEBUG - VM ctest-TestBasicPolicy-22388768-88340218 launched on Node an-jenkins-deploy-platform-ansible-os-5493-1 2026-03-19 02:58:01,908 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4d2c60ff-29a5-4491-a152-a8af7c0750de 2026-03-19 02:58:01,920 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5b10aa25-a142-40c3-be6c-d76155c29fc7 2026-03-19 02:58:03,099 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.582/2.884/3.187/0.302 ms') 2026-03-19 02:58:03,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22388768-88340218 passed 2026-03-19 02:58:03,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:58:03,167 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22388768-88340218, IP 99.149.66.67, Port 22 2026-03-19 02:58:03,336 - DEBUG - VM ctest-TestBasicPolicy-22388768-88340218 is ready for SSH connections 2026-03-19 02:58:03,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:58:03,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.149.66.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-03-19 02:58:03,337 - DEBUG - ping -s 56 -c 3 -W 1 99.149.66.67 2026-03-19 02:58:21,870 - DEBUG - PING 99.149.66.67 (99.149.66.67) 56(84) bytes of data. 64 bytes from 99.149.66.67: icmp_req=1 ttl=63 time=13.7 ms 64 bytes from 99.149.66.67: icmp_req=2 ttl=63 time=2.30 ms 64 bytes from 99.149.66.67: icmp_req=3 ttl=63 time=1.20 ms --- 99.149.66.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.203/5.754/13.760/5.679 ms 2026-03-19 02:58:21,870 - INFO - Ping to IP 99.149.66.67 from VM ctest-TestBasicPolicy-22388768-36927469 passed 2026-03-19 02:58:22,090 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0043e49-2224-4688-b9d9-44d29a77bb90", "href": "http://10.0.0.27:8082/network-policy/a0043e49-2224-4688-b9d9-44d29a77bb90"}} 2026-03-19 02:58:22,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:58:22,090 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.149.66.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-03-19 02:58:22,091 - DEBUG - ping -s 56 -c 3 -W 1 99.149.66.67 2026-03-19 02:58:25,544 - DEBUG - PING 99.149.66.67 (99.149.66.67) 56(84) bytes of data. 64 bytes from 99.149.66.67: icmp_req=1 ttl=63 time=4.17 ms --- 99.149.66.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2002ms rtt min/avg/max/mdev = 4.176/4.176/4.176/0.000 ms 2026-03-19 02:58:25,545 - WARNING - Ping to IP 99.149.66.67 from VM ctest-TestBasicPolicy-22388768-36927469 failed 2026-03-19 02:58:25,545 - INFO - Deleting VM ctest-TestBasicPolicy-22388768-88340218 2026-03-19 02:58:25,615 - INFO - Deleting VM ctest-TestBasicPolicy-22388768-36927469 2026-03-19 02:58:26,155 - INFO - Deleted policy ctest-policy-allow-all-54435503 2026-03-19 02:58:26,155 - INFO - Deleting VN ctest-vn-57767504 2026-03-19 02:58:26,215 - DEBUG - VN 84a82234-6dad-4c9d-bac4-9e10163ebb2a still in use: Unable to complete operation on network 84a82234-6dad-4c9d-bac4-9e10163ebb2a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8ecbb1a-f8f3-41f6-8485-8079565ff05a'] 2026-03-19 02:58:26,215 - WARNING - Deleting VN ctest-vn-57767504 failed..Will retry 2026-03-19 02:58:28,395 - DEBUG - Response for deleting network () 2026-03-19 02:58:28,395 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/937ab3eb-598a-464a-a232-32fd8c57f4ce 2026-03-19 02:58:28,401 - DEBUG - Response Code: 404 2026-03-19 02:58:28,401 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-19 02:58:28,408 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76 2026-03-19 02:58:28,426 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f9f4ba-ffb3-47f3-b4ac-544af863f2ef 2026-03-19 02:58:28,514 - INFO - Validated that VN ctest-vn-57767504 is not found in API Server 2026-03-19 02:58:28,526 - DEBUG - VN ctest-vn-57767504 is not present in Agent 10.0.0.23 2026-03-19 02:58:28,539 - DEBUG - VN ctest-vn-57767504 is not present in Agent 10.0.0.240 2026-03-19 02:58:28,539 - INFO - Validated that VN ctest-vn-57767504 is not in any agent 2026-03-19 02:58:28,573 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57767504 info 2026-03-19 02:58:28,574 - INFO - Deleting VN ctest-vn-15372287 2026-03-19 02:58:28,787 - DEBUG - Response for deleting network () 2026-03-19 02:58:28,787 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ef975ade-897d-4f43-b209-669f58bae369 2026-03-19 02:58:28,794 - DEBUG - Response Code: 404 2026-03-19 02:58:28,794 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-03-19 02:58:28,799 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76 2026-03-19 02:58:28,810 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f9f4ba-ffb3-47f3-b4ac-544af863f2ef 2026-03-19 02:58:28,911 - INFO - Validated that VN ctest-vn-15372287 is not found in API Server 2026-03-19 02:58:28,922 - DEBUG - VN ctest-vn-15372287 is not present in Agent 10.0.0.23 2026-03-19 02:58:28,934 - DEBUG - VN ctest-vn-15372287 is not present in Agent 10.0.0.240 2026-03-19 02:58:28,934 - INFO - Validated that VN ctest-vn-15372287 is not in any agent 2026-03-19 02:58:28,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15372287 info 2026-03-19 02:58:30,240 - DEBUG - No XMPP flaps were noticed during the test 2026-03-19 02:58:30,240 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:39] 2026-03-19 02:58:30,240 - INFO - -------------------------------------------------------------------------------- 2026-03-19 02:58:31,050 - INFO - Deleted project: ctest-TestBasicPolicy-22388768, ID : 35f9f4ba-ffb3-47f3-b4ac-544af863f2ef