2026-08-24 03:04:22,231 - INFO - Domain Default found not creating 2026-08-24 03:04:22,404 - INFO - Project ctest-TestBasicPolicy-36742396 not found, creating it 2026-08-24 03:04:23,069 - INFO - Created Project:ctest-TestBasicPolicy-36742396, ID : 170d2c1b-52cd-484b-a4ec-48b912b068a5 2026-08-24 03:04:24,716 - INFO - ================================================================================ 2026-08-24 03:04:24,716 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-24 03:04:24,717 - 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-08-24 03:04:26,041 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.185': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2026-08-24 03:04:26,041 - INFO - Initial checks done. Running the testcase now 2026-08-24 03:04:26,042 - INFO - 2026-08-24 03:04:26,793 - DEBUG - Response for create_network : {'network': {'id': 'f22e71dd-01ef-4e6b-bdec-8b91222975fe', 'name': 'ctest-vn-19599474', 'tenant_id': '170d2c1b52cd484ba4ec48b912b068a5', 'project_id': '170d2c1b52cd484ba4ec48b912b068a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36742396', 'ctest-vn-19599474'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 03:04:27,110 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7382af3-da09-4f9e-b68b-a94cc2a1fa4e', 'name': '', 'tenant_id': '170d2c1b52cd484ba4ec48b912b068a5', 'network_id': 'f22e71dd-01ef-4e6b-bdec-8b91222975fe', 'ip_version': 4, 'cidr': '199.209.161.0/26', 'allocation_pools': [{'start': '199.209.161.2', 'end': '199.209.161.62'}], 'gateway_ip': '199.209.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.209.161.2', 'tags': [], 'project_id': '170d2c1b52cd484ba4ec48b912b068a5'}} 2026-08-24 03:04:27,133 - INFO - Created VN ctest-vn-19599474 2026-08-24 03:04:27,145 - DEBUG - VN ctest-vn-19599474 UUID is f22e71dd-01ef-4e6b-bdec-8b91222975fe 2026-08-24 03:04:27,586 - DEBUG - Response for create_network : {'network': {'id': '6be00738-c829-4154-b0b5-f72c045f8b8f', 'name': 'ctest-vn-82441231', 'tenant_id': '170d2c1b52cd484ba4ec48b912b068a5', 'project_id': '170d2c1b52cd484ba4ec48b912b068a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36742396', 'ctest-vn-82441231'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 03:04:27,844 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec765cd-547a-4825-bc96-3838551106f9', 'name': '', 'tenant_id': '170d2c1b52cd484ba4ec48b912b068a5', 'network_id': '6be00738-c829-4154-b0b5-f72c045f8b8f', 'ip_version': 4, 'cidr': '193.120.184.64/26', 'allocation_pools': [{'start': '193.120.184.66', 'end': '193.120.184.126'}], 'gateway_ip': '193.120.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.120.184.66', 'tags': [], 'project_id': '170d2c1b52cd484ba4ec48b912b068a5'}} 2026-08-24 03:04:27,867 - INFO - Created VN ctest-vn-82441231 2026-08-24 03:04:27,879 - DEBUG - VN ctest-vn-82441231 UUID is 6be00738-c829-4154-b0b5-f72c045f8b8f 2026-08-24 03:04:27,976 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474, 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-36742396:ctest-vn-82441231, 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-08-24 03:04:28,379 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f22e71dd-01ef-4e6b-bdec-8b91222975fe', 'name': 'ctest-vn-19599474', 'tenant_id': '170d2c1b52cd484ba4ec48b912b068a5', 'project_id': '170d2c1b52cd484ba4ec48b912b068a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7382af3-da09-4f9e-b68b-a94cc2a1fa4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36742396', 'ctest-vn-19599474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36742396', 'ctest-policy-allow-all-69649914']], 'subnet_ipam': [{'subnet_cidr': '199.209.161.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 03:04:28,609 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6be00738-c829-4154-b0b5-f72c045f8b8f', 'name': 'ctest-vn-82441231', 'tenant_id': '170d2c1b52cd484ba4ec48b912b068a5', 'project_id': '170d2c1b52cd484ba4ec48b912b068a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dec765cd-547a-4825-bc96-3838551106f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36742396', 'ctest-vn-82441231'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36742396', 'ctest-policy-allow-all-69649914']], 'subnet_ipam': [{'subnet_cidr': '193.120.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 03:04:28,711 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:04:29,085 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:04:29,115 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:04:29,130 - DEBUG - Requesting: http://10.0.0.190:8082/project/170d2c1b-52cd-484b-a4ec-48b912b068a5 2026-08-24 03:04:29,240 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f22e71dd-01ef-4e6b-bdec-8b91222975fe 2026-08-24 03:04:29,254 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f22e71dd-01ef-4e6b-bdec-8b91222975fe 2026-08-24 03:04:29,265 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96c4e3df-2434-42e6-8ef6-69e9ce15bbf2 2026-08-24 03:04:29,276 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96c4e3df-2434-42e6-8ef6-69e9ce15bbf2 2026-08-24 03:04:29,284 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/673564ab-1ce2-44b6-8dc1-de25fb9a3390 2026-08-24 03:04:29,292 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 03:04:29,292 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f22e71dd-01ef-4e6b-bdec-8b91222975fe 2026-08-24 03:04:29,302 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96c4e3df-2434-42e6-8ef6-69e9ce15bbf2 2026-08-24 03:04:29,321 - INFO - Verified VN network id 15 for VN f22e71dd-01ef-4e6b-bdec-8b91222975fe 2026-08-24 03:04:29,322 - INFO - Verifications in API Server for VN ctest-vn-19599474 passed 2026-08-24 03:04:29,322 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f22e71dd-01ef-4e6b-bdec-8b91222975fe 2026-08-24 03:04:29,336 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96c4e3df-2434-42e6-8ef6-69e9ce15bbf2 2026-08-24 03:04:29,347 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96c4e3df-2434-42e6-8ef6-69e9ce15bbf2 2026-08-24 03:04:29,357 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/673564ab-1ce2-44b6-8dc1-de25fb9a3390 2026-08-24 03:04:29,375 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36742396', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17451010800141422187', 'uuid-lslong': '13685466823131756030'}, 'enable': 'true', 'created': '2026-08-24T03:04:26', 'last-modified': '2026-08-24T03:04:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062779'} 2026-08-24 03:04:29,383 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 03:04:29,389 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36742396', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17451010800141422187', 'uuid-lslong': '13685466823131756030'}, 'enable': 'true', 'created': '2026-08-24T03:04:26', 'last-modified': '2026-08-24T03:04:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.074982'} 2026-08-24 03:04:29,397 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 03:04:29,404 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36742396', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17451010800141422187', 'uuid-lslong': '13685466823131756030'}, 'enable': 'true', 'created': '2026-08-24T03:04:26', 'last-modified': '2026-08-24T03:04:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.078418'} 2026-08-24 03:04:29,412 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 03:04:29,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19599474 passed 2026-08-24 03:04:29,412 - DEBUG - ====Verifying policy data for ctest-vn-19599474 in API_Server ====== 2026-08-24 03:04:29,412 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:04:29,431 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:04:29,445 - DEBUG - Requesting: http://10.0.0.190:8082/project/170d2c1b-52cd-484b-a4ec-48b912b068a5 2026-08-24 03:04:29,566 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f22e71dd-01ef-4e6b-bdec-8b91222975fe 2026-08-24 03:04:29,579 - DEBUG - ==>Verifying data for policy with id: 4d4ff482-96b8-47a7-93a7-2dacb7e820f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-36742396', 'ctest-policy-allow-all-69649914'] 2026-08-24 03:04:29,579 - INFO - VN ctest-vn-19599474 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 03:04:29,579 - DEBUG - Verifying the vn in opserver 2026-08-24 03:04:29,579 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 virtual network link through opserver 10.0.0.190 2026-08-24 03:04:29,579 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-24 03:04:29,920 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-24 03:04:29,980 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474?flat'} 2026-08-24 03:04:29,980 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 virtual network link through opserver 10.0.0.50 2026-08-24 03:04:29,980 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-24 03:04:30,301 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-24 03:04:30,362 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474?flat'} 2026-08-24 03:04:30,362 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 virtual network link through opserver 10.0.0.191 2026-08-24 03:04:30,362 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-08-24 03:04:30,685 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-08-24 03:04:30,748 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474?flat'} 2026-08-24 03:04:30,748 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 is found in opserver 2026-08-24 03:04:30,771 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 03:04:30,783 - DEBUG - VRF ids for VN ctest-vn-19599474: {} 2026-08-24 03:04:30,783 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:04:30,791 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:04:30,803 - DEBUG - Requesting: http://10.0.0.190:8082/project/170d2c1b-52cd-484b-a4ec-48b912b068a5 2026-08-24 03:04:30,917 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/6be00738-c829-4154-b0b5-f72c045f8b8f 2026-08-24 03:04:30,933 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/6be00738-c829-4154-b0b5-f72c045f8b8f 2026-08-24 03:04:30,945 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fb255c8b-fb8a-4d86-b3f6-f6c816c8c677 2026-08-24 03:04:30,954 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fb255c8b-fb8a-4d86-b3f6-f6c816c8c677 2026-08-24 03:04:30,962 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/d3777b10-1288-417d-b24a-047243ec7ef7 2026-08-24 03:04:30,974 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 03:04:30,974 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/6be00738-c829-4154-b0b5-f72c045f8b8f 2026-08-24 03:04:30,987 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fb255c8b-fb8a-4d86-b3f6-f6c816c8c677 2026-08-24 03:04:31,006 - INFO - Verified VN network id 16 for VN 6be00738-c829-4154-b0b5-f72c045f8b8f 2026-08-24 03:04:31,006 - INFO - Verifications in API Server for VN ctest-vn-82441231 passed 2026-08-24 03:04:31,006 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/6be00738-c829-4154-b0b5-f72c045f8b8f 2026-08-24 03:04:31,023 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fb255c8b-fb8a-4d86-b3f6-f6c816c8c677 2026-08-24 03:04:31,033 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fb255c8b-fb8a-4d86-b3f6-f6c816c8c677 2026-08-24 03:04:31,042 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/d3777b10-1288-417d-b24a-047243ec7ef7 2026-08-24 03:04:31,060 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36742396', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7773220897299186004', 'uuid-lslong': '12733355289883937679'}, 'enable': 'true', 'created': '2026-08-24T03:04:27', 'last-modified': '2026-08-24T03:04:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.495687'} 2026-08-24 03:04:31,067 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 03:04:31,074 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36742396', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7773220897299186004', 'uuid-lslong': '12733355289883937679'}, 'enable': 'true', 'created': '2026-08-24T03:04:27', 'last-modified': '2026-08-24T03:04:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.517752'} 2026-08-24 03:04:31,081 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 03:04:31,089 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36742396', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7773220897299186004', 'uuid-lslong': '12733355289883937679'}, 'enable': 'true', 'created': '2026-08-24T03:04:27', 'last-modified': '2026-08-24T03:04:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.513851'} 2026-08-24 03:04:31,095 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 03:04:31,095 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82441231 passed 2026-08-24 03:04:31,095 - DEBUG - ====Verifying policy data for ctest-vn-82441231 in API_Server ====== 2026-08-24 03:04:31,095 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:04:31,103 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:04:31,116 - DEBUG - Requesting: http://10.0.0.190:8082/project/170d2c1b-52cd-484b-a4ec-48b912b068a5 2026-08-24 03:04:31,214 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/6be00738-c829-4154-b0b5-f72c045f8b8f 2026-08-24 03:04:31,229 - DEBUG - ==>Verifying data for policy with id: 4d4ff482-96b8-47a7-93a7-2dacb7e820f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-36742396', 'ctest-policy-allow-all-69649914'] 2026-08-24 03:04:31,229 - INFO - VN ctest-vn-82441231 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 03:04:31,229 - DEBUG - Verifying the vn in opserver 2026-08-24 03:04:31,229 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231 virtual network link through opserver 10.0.0.190 2026-08-24 03:04:31,229 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-24 03:04:31,281 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231?flat'} 2026-08-24 03:04:31,281 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231 virtual network link through opserver 10.0.0.50 2026-08-24 03:04:31,281 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-24 03:04:31,334 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231?flat'} 2026-08-24 03:04:31,334 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231 virtual network link through opserver 10.0.0.191 2026-08-24 03:04:31,334 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-08-24 03:04:31,382 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231?flat'} 2026-08-24 03:04:31,382 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-82441231 is found in opserver 2026-08-24 03:04:31,407 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 03:04:31,418 - DEBUG - VRF ids for VN ctest-vn-82441231: {} 2026-08-24 03:04:31,489 - DEBUG - Services list from nova: [, , , ] 2026-08-24 03:04:31,975 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6211-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6211-1) 2026-08-24 03:04:32,514 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6211-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6211-2) 2026-08-24 03:04:32,514 - INFO - Waiting for VM ctest-TestBasicPolicy-36742396-66102507 to be up.. 2026-08-24 03:04:32,604 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:04:37,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:04:42,802 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:04:47,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:04:53,017 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:04:58,114 - DEBUG - VM is in ACTIVE state now 2026-08-24 03:04:58,115 - INFO - VM name : ctest-TestBasicPolicy-36742396-66102507 2026-08-24 03:04:58,204 - DEBUG - VM ctest-TestBasicPolicy-36742396-66102507 ID is 915bb5b6-14d9-45c5-9673-531fc864408f 2026-08-24 03:04:58,245 - DEBUG - VM ctest-TestBasicPolicy-36742396-66102507 launched on Node an-jenkins-deploy-platform-ansible-os-6211-1 2026-08-24 03:04:58,337 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/915bb5b6-14d9-45c5-9673-531fc864408f 2026-08-24 03:04:58,691 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/915bb5b6-14d9-45c5-9673-531fc864408f 2026-08-24 03:04:58,736 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/515b5875-0cfe-462c-add8-a0e14521c307 2026-08-24 03:05:01,911 - 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 1006ms') 2026-08-24 03:05:01,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-66102507 failed! 2026-08-24 03:05:01,927 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 is 199.209.161.1 and allocation pool is NOT set 2026-08-24 03:05:06,004 - 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-08-24 03:05:06,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-66102507 failed! 2026-08-24 03:05:06,023 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 is 199.209.161.1 and allocation pool is NOT set 2026-08-24 03:05:10,101 - 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-08-24 03:05:10,102 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-66102507 failed! 2026-08-24 03:05:10,120 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 is 199.209.161.1 and allocation pool is NOT set 2026-08-24 03:05:14,201 - 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-08-24 03:05:14,202 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-66102507 failed! 2026-08-24 03:05:14,217 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 is 199.209.161.1 and allocation pool is NOT set 2026-08-24 03:05:18,295 - 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 1010ms') 2026-08-24 03:05:18,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-66102507 failed! 2026-08-24 03:05:18,311 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 is 199.209.161.1 and allocation pool is NOT set 2026-08-24 03:05:22,410 - 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 1035ms') 2026-08-24 03:05:22,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-66102507 failed! 2026-08-24 03:05:22,425 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 is 199.209.161.1 and allocation pool is NOT set 2026-08-24 03:05:26,523 - 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 1026ms') 2026-08-24 03:05:26,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-66102507 failed! 2026-08-24 03:05:26,541 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36742396:ctest-vn-19599474 is 199.209.161.1 and allocation pool is NOT set 2026-08-24 03:05:28,608 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.79 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.792/4.387/5.983/1.595 ms') 2026-08-24 03:05:28,608 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-66102507 passed 2026-08-24 03:05:28,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:05:28,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36742396-66102507, IP 199.209.161.3, Port 22 2026-08-24 03:05:28,746 - 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-08-24 03:05:28,836 - DEBUG - VM ctest-TestBasicPolicy-36742396-66102507 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 03:05:33,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:05:33,838 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36742396-66102507, IP 199.209.161.3, Port 22 2026-08-24 03:05:33,911 - 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-08-24 03:05:33,998 - DEBUG - VM ctest-TestBasicPolicy-36742396-66102507 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 03:05:38,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:05:38,999 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36742396-66102507, IP 199.209.161.3, Port 22 2026-08-24 03:05:39,174 - DEBUG - VM ctest-TestBasicPolicy-36742396-66102507 is ready for SSH connections 2026-08-24 03:05:39,174 - INFO - Waiting for VM ctest-TestBasicPolicy-36742396-34515525 to be up.. 2026-08-24 03:05:39,316 - DEBUG - VM is in ACTIVE state now 2026-08-24 03:05:39,317 - INFO - VM name : ctest-TestBasicPolicy-36742396-34515525 2026-08-24 03:05:39,425 - DEBUG - VM ctest-TestBasicPolicy-36742396-34515525 ID is e49af9f6-ddd4-466c-a5c7-b5853826772d 2026-08-24 03:05:39,426 - DEBUG - VM ctest-TestBasicPolicy-36742396-34515525 launched on Node an-jenkins-deploy-platform-ansible-os-6211-2 2026-08-24 03:05:39,505 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/e49af9f6-ddd4-466c-a5c7-b5853826772d 2026-08-24 03:05:39,516 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/900fbc18-753d-4f51-bad1-12546fbb842c 2026-08-24 03:05:40,713 - 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=2.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.12 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.741/4.928/7.116/2.187 ms') 2026-08-24 03:05:40,713 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36742396-34515525 passed 2026-08-24 03:05:40,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:05:40,784 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36742396-34515525, IP 193.120.184.67, Port 22 2026-08-24 03:05:40,951 - DEBUG - VM ctest-TestBasicPolicy-36742396-34515525 is ready for SSH connections 2026-08-24 03:05:40,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:05:40,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.120.184.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-24 03:05:40,951 - DEBUG - ping -s 56 -c 3 -W 1 193.120.184.67 2026-08-24 03:06:32,223 - DEBUG - PING 193.120.184.67 (193.120.184.67) 56(84) bytes of data. 64 bytes from 193.120.184.67: icmp_req=1 ttl=63 time=8.59 ms 64 bytes from 193.120.184.67: icmp_req=2 ttl=63 time=1.38 ms 64 bytes from 193.120.184.67: icmp_req=3 ttl=63 time=1.72 ms --- 193.120.184.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.383/3.899/8.592/3.321 ms 2026-08-24 03:06:32,223 - INFO - Ping to IP 193.120.184.67 from VM ctest-TestBasicPolicy-36742396-66102507 passed 2026-08-24 03:06:32,455 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4d4ff482-96b8-47a7-93a7-2dacb7e820f1", "href": "http://10.0.0.191:8082/network-policy/4d4ff482-96b8-47a7-93a7-2dacb7e820f1"}} 2026-08-24 03:06:32,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:06:32,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.120.184.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-24 03:06:32,456 - DEBUG - ping -s 56 -c 3 -W 1 193.120.184.67 2026-08-24 03:06:35,716 - DEBUG - PING 193.120.184.67 (193.120.184.67) 56(84) bytes of data. 64 bytes from 193.120.184.67: icmp_req=1 ttl=63 time=3.41 ms --- 193.120.184.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 3.411/3.411/3.411/0.000 ms 2026-08-24 03:06:35,716 - WARNING - Ping to IP 193.120.184.67 from VM ctest-TestBasicPolicy-36742396-66102507 failed 2026-08-24 03:06:35,716 - INFO - Deleting VM ctest-TestBasicPolicy-36742396-34515525 2026-08-24 03:06:35,795 - INFO - Deleting VM ctest-TestBasicPolicy-36742396-66102507 2026-08-24 03:06:36,285 - INFO - Deleted policy ctest-policy-allow-all-69649914 2026-08-24 03:06:36,286 - INFO - Deleting VN ctest-vn-82441231 2026-08-24 03:06:36,334 - DEBUG - VN 6be00738-c829-4154-b0b5-f72c045f8b8f still in use: Unable to complete operation on network 6be00738-c829-4154-b0b5-f72c045f8b8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-feecdd99-cd57-42e3-aa4a-02fd97ffcc5c'] 2026-08-24 03:06:36,334 - WARNING - Deleting VN ctest-vn-82441231 failed..Will retry 2026-08-24 03:06:38,516 - DEBUG - Response for deleting network () 2026-08-24 03:06:38,516 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fb255c8b-fb8a-4d86-b3f6-f6c816c8c677 2026-08-24 03:06:38,537 - DEBUG - Response Code: 404 2026-08-24 03:06:38,537 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:06:38,548 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:06:38,563 - DEBUG - Requesting: http://10.0.0.190:8082/project/170d2c1b-52cd-484b-a4ec-48b912b068a5 2026-08-24 03:06:38,673 - INFO - Validated that VN ctest-vn-82441231 is not found in API Server 2026-08-24 03:06:38,687 - DEBUG - VN ctest-vn-82441231 is not present in Agent 10.0.0.162 2026-08-24 03:06:38,700 - DEBUG - VN ctest-vn-82441231 is not present in Agent 10.0.0.185 2026-08-24 03:06:38,700 - INFO - Validated that VN ctest-vn-82441231 is not in any agent 2026-08-24 03:06:38,746 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82441231 info 2026-08-24 03:06:38,746 - INFO - Deleting VN ctest-vn-19599474 2026-08-24 03:06:38,909 - DEBUG - Response for deleting network () 2026-08-24 03:06:38,909 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/96c4e3df-2434-42e6-8ef6-69e9ce15bbf2 2026-08-24 03:06:38,916 - DEBUG - Response Code: 404 2026-08-24 03:06:38,916 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:06:38,927 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:06:38,941 - DEBUG - Requesting: http://10.0.0.190:8082/project/170d2c1b-52cd-484b-a4ec-48b912b068a5 2026-08-24 03:06:39,041 - INFO - Validated that VN ctest-vn-19599474 is not found in API Server 2026-08-24 03:06:39,056 - DEBUG - VN ctest-vn-19599474 is not present in Agent 10.0.0.162 2026-08-24 03:06:39,066 - DEBUG - VN ctest-vn-19599474 is not present in Agent 10.0.0.185 2026-08-24 03:06:39,066 - INFO - Validated that VN ctest-vn-19599474 is not in any agent 2026-08-24 03:06:39,101 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19599474 info 2026-08-24 03:06:40,420 - DEBUG - No XMPP flaps were noticed during the test 2026-08-24 03:06:40,420 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:16] 2026-08-24 03:06:40,420 - INFO - -------------------------------------------------------------------------------- 2026-08-24 03:06:41,214 - INFO - Deleted project: ctest-TestBasicPolicy-36742396, ID : 170d2c1b-52cd-484b-a4ec-48b912b068a5