2026-09-07 03:00:29,964 - INFO - Domain Default found not creating 2026-09-07 03:00:30,174 - INFO - Project ctest-TestBasicPolicy-31222636 not found, creating it 2026-09-07 03:00:30,772 - INFO - Created Project:ctest-TestBasicPolicy-31222636, ID : cb4a0497-9f3a-412d-a9cb-5f7bcfa2ac63 2026-09-07 03:00:32,881 - INFO - ================================================================================ 2026-09-07 03:00:32,881 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-07 03:00:32,881 - 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-07 03:00:34,196 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0', '10.20.0.29': '0'}, '10.0.0.190': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2026-09-07 03:00:34,196 - INFO - Initial checks done. Running the testcase now 2026-09-07 03:00:34,196 - INFO - 2026-09-07 03:00:35,066 - DEBUG - Response for create_network : {'network': {'id': 'ae6cea37-ef8c-49ce-878f-0d53eb7644d2', 'name': 'ctest-vn-14616818', 'tenant_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'project_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31222636', 'ctest-vn-14616818'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 03:00:35,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '780f8185-14e5-4927-8dac-9020c971760b', 'name': '', 'tenant_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'network_id': 'ae6cea37-ef8c-49ce-878f-0d53eb7644d2', 'ip_version': 4, 'cidr': '75.239.246.192/26', 'allocation_pools': [{'start': '75.239.246.194', 'end': '75.239.246.254'}], 'gateway_ip': '75.239.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.239.246.194', 'tags': [], 'project_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63'}} 2026-09-07 03:00:35,387 - INFO - Created VN ctest-vn-14616818 2026-09-07 03:00:35,401 - DEBUG - VN ctest-vn-14616818 UUID is ae6cea37-ef8c-49ce-878f-0d53eb7644d2 2026-09-07 03:00:35,818 - DEBUG - Response for create_network : {'network': {'id': 'cebfe2ee-33dd-4579-9d9e-7376eaee0bfd', 'name': 'ctest-vn-01484112', 'tenant_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'project_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31222636', 'ctest-vn-01484112'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 03:00:36,100 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0e9db6f-f459-4ec1-ad9b-49a6930abe19', 'name': '', 'tenant_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'network_id': 'cebfe2ee-33dd-4579-9d9e-7376eaee0bfd', 'ip_version': 4, 'cidr': '165.121.131.128/26', 'allocation_pools': [{'start': '165.121.131.130', 'end': '165.121.131.190'}], 'gateway_ip': '165.121.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.121.131.130', 'tags': [], 'project_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63'}} 2026-09-07 03:00:36,152 - INFO - Created VN ctest-vn-01484112 2026-09-07 03:00:36,167 - DEBUG - VN ctest-vn-01484112 UUID is cebfe2ee-33dd-4579-9d9e-7376eaee0bfd 2026-09-07 03:00:36,297 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818, 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-31222636:ctest-vn-01484112, 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-07 03:00:36,783 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae6cea37-ef8c-49ce-878f-0d53eb7644d2', 'name': 'ctest-vn-14616818', 'tenant_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'project_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['780f8185-14e5-4927-8dac-9020c971760b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31222636', 'ctest-vn-14616818'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31222636', 'ctest-policy-allow-all-19036060']], 'subnet_ipam': [{'subnet_cidr': '75.239.246.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-07 03:00:37,011 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cebfe2ee-33dd-4579-9d9e-7376eaee0bfd', 'name': 'ctest-vn-01484112', 'tenant_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'project_id': 'cb4a04979f3a412da9cb5f7bcfa2ac63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a0e9db6f-f459-4ec1-ad9b-49a6930abe19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31222636', 'ctest-vn-01484112'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31222636', 'ctest-policy-allow-all-19036060']], 'subnet_ipam': [{'subnet_cidr': '165.121.131.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-07 03:00:37,116 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-07 03:00:37,562 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-07 03:00:37,599 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e 2026-09-07 03:00:37,618 - DEBUG - Requesting: http://10.0.0.185:8082/project/cb4a0497-9f3a-412d-a9cb-5f7bcfa2ac63 2026-09-07 03:00:37,746 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ae6cea37-ef8c-49ce-878f-0d53eb7644d2 2026-09-07 03:00:37,763 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ae6cea37-ef8c-49ce-878f-0d53eb7644d2 2026-09-07 03:00:37,776 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c30fb603-8d46-477c-8358-25af22daa20b 2026-09-07 03:00:37,789 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c30fb603-8d46-477c-8358-25af22daa20b 2026-09-07 03:00:37,798 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/bc7d72b2-14b1-4403-b9eb-b1430d5f6b17 2026-09-07 03:00:37,807 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 03:00:37,807 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ae6cea37-ef8c-49ce-878f-0d53eb7644d2 2026-09-07 03:00:37,819 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c30fb603-8d46-477c-8358-25af22daa20b 2026-09-07 03:00:37,837 - INFO - Verified VN network id 16 for VN ae6cea37-ef8c-49ce-878f-0d53eb7644d2 2026-09-07 03:00:37,837 - INFO - Verifications in API Server for VN ctest-vn-14616818 passed 2026-09-07 03:00:37,838 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ae6cea37-ef8c-49ce-878f-0d53eb7644d2 2026-09-07 03:00:37,850 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c30fb603-8d46-477c-8358-25af22daa20b 2026-09-07 03:00:37,859 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c30fb603-8d46-477c-8358-25af22daa20b 2026-09-07 03:00:37,869 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/bc7d72b2-14b1-4403-b9eb-b1430d5f6b17 2026-09-07 03:00:37,889 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31222636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12568678186047261134', 'uuid-lslong': '9768040770873738450'}, 'enable': 'true', 'created': '2026-09-07T03:00:34', 'last-modified': '2026-09-07T03:00:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.150978'} 2026-09-07 03:00:37,897 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 03:00:37,903 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31222636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12568678186047261134', 'uuid-lslong': '9768040770873738450'}, 'enable': 'true', 'created': '2026-09-07T03:00:34', 'last-modified': '2026-09-07T03:00:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.161950'} 2026-09-07 03:00:37,910 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 03:00:37,916 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31222636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12568678186047261134', 'uuid-lslong': '9768040770873738450'}, 'enable': 'true', 'created': '2026-09-07T03:00:34', 'last-modified': '2026-09-07T03:00:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.176478'} 2026-09-07 03:00:37,922 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 03:00:37,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14616818 passed 2026-09-07 03:00:37,922 - DEBUG - ====Verifying policy data for ctest-vn-14616818 in API_Server ====== 2026-09-07 03:00:37,923 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-07 03:00:37,930 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e 2026-09-07 03:00:37,943 - DEBUG - Requesting: http://10.0.0.185:8082/project/cb4a0497-9f3a-412d-a9cb-5f7bcfa2ac63 2026-09-07 03:00:38,066 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/ae6cea37-ef8c-49ce-878f-0d53eb7644d2 2026-09-07 03:00:38,078 - DEBUG - ==>Verifying data for policy with id: 2b635c16-75a8-403d-997f-153a56493c96, fqn: ['default-domain', 'ctest-TestBasicPolicy-31222636', 'ctest-policy-allow-all-19036060'] 2026-09-07 03:00:38,078 - INFO - VN ctest-vn-14616818 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-07 03:00:38,078 - DEBUG - Verifying the vn in opserver 2026-09-07 03:00:38,078 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 virtual network link through opserver 10.0.0.185 2026-09-07 03:00:38,078 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-07 03:00:38,458 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-07 03:00:38,523 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818?flat'} 2026-09-07 03:00:38,523 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 virtual network link through opserver 10.0.0.38 2026-09-07 03:00:38,523 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-07 03:00:38,901 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-07 03:00:38,968 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818?flat'} 2026-09-07 03:00:38,968 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 virtual network link through opserver 10.0.0.186 2026-09-07 03:00:38,968 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-09-07 03:00:39,344 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-09-07 03:00:39,407 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818?flat'} 2026-09-07 03:00:39,407 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 is found in opserver 2026-09-07 03:00:39,430 - DEBUG - Do not have enough data to verify VN in agent 2026-09-07 03:00:39,439 - DEBUG - VRF ids for VN ctest-vn-14616818: {} 2026-09-07 03:00:39,439 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-07 03:00:39,446 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e 2026-09-07 03:00:39,458 - DEBUG - Requesting: http://10.0.0.185:8082/project/cb4a0497-9f3a-412d-a9cb-5f7bcfa2ac63 2026-09-07 03:00:39,572 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/cebfe2ee-33dd-4579-9d9e-7376eaee0bfd 2026-09-07 03:00:39,596 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/cebfe2ee-33dd-4579-9d9e-7376eaee0bfd 2026-09-07 03:00:39,607 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fa8c9221-9c63-4cfc-b75a-47a73cf4b941 2026-09-07 03:00:39,618 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fa8c9221-9c63-4cfc-b75a-47a73cf4b941 2026-09-07 03:00:39,626 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/45f1aa3e-83c9-4e0f-b809-0fd0d1417753 2026-09-07 03:00:39,634 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-09-07 03:00:39,634 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/cebfe2ee-33dd-4579-9d9e-7376eaee0bfd 2026-09-07 03:00:39,647 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fa8c9221-9c63-4cfc-b75a-47a73cf4b941 2026-09-07 03:00:39,666 - INFO - Verified VN network id 17 for VN cebfe2ee-33dd-4579-9d9e-7376eaee0bfd 2026-09-07 03:00:39,666 - INFO - Verifications in API Server for VN ctest-vn-01484112 passed 2026-09-07 03:00:39,666 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/cebfe2ee-33dd-4579-9d9e-7376eaee0bfd 2026-09-07 03:00:39,681 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fa8c9221-9c63-4cfc-b75a-47a73cf4b941 2026-09-07 03:00:39,692 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fa8c9221-9c63-4cfc-b75a-47a73cf4b941 2026-09-07 03:00:39,700 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/45f1aa3e-83c9-4e0f-b809-0fd0d1417753 2026-09-07 03:00:39,719 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31222636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14897875605065123193', 'uuid-lslong': '11357642264859773949'}, 'enable': 'true', 'created': '2026-09-07T03:00:35', 'last-modified': '2026-09-07T03:00:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.732395'} 2026-09-07 03:00:39,726 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-09-07 03:00:39,733 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31222636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14897875605065123193', 'uuid-lslong': '11357642264859773949'}, 'enable': 'true', 'created': '2026-09-07T03:00:35', 'last-modified': '2026-09-07T03:00:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.746318'} 2026-09-07 03:00:39,739 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-09-07 03:00:39,745 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31222636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14897875605065123193', 'uuid-lslong': '11357642264859773949'}, 'enable': 'true', 'created': '2026-09-07T03:00:35', 'last-modified': '2026-09-07T03:00:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.758929'} 2026-09-07 03:00:39,751 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-09-07 03:00:39,751 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01484112 passed 2026-09-07 03:00:39,752 - DEBUG - ====Verifying policy data for ctest-vn-01484112 in API_Server ====== 2026-09-07 03:00:39,752 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-07 03:00:39,759 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e 2026-09-07 03:00:39,773 - DEBUG - Requesting: http://10.0.0.185:8082/project/cb4a0497-9f3a-412d-a9cb-5f7bcfa2ac63 2026-09-07 03:00:39,892 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/cebfe2ee-33dd-4579-9d9e-7376eaee0bfd 2026-09-07 03:00:39,910 - DEBUG - ==>Verifying data for policy with id: 2b635c16-75a8-403d-997f-153a56493c96, fqn: ['default-domain', 'ctest-TestBasicPolicy-31222636', 'ctest-policy-allow-all-19036060'] 2026-09-07 03:00:39,910 - INFO - VN ctest-vn-01484112 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-07 03:00:39,911 - DEBUG - Verifying the vn in opserver 2026-09-07 03:00:39,911 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112 virtual network link through opserver 10.0.0.185 2026-09-07 03:00:39,911 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-07 03:00:39,962 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112?flat'} 2026-09-07 03:00:39,962 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112 virtual network link through opserver 10.0.0.38 2026-09-07 03:00:39,962 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-07 03:00:40,018 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112?flat'} 2026-09-07 03:00:40,018 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112 virtual network link through opserver 10.0.0.186 2026-09-07 03:00:40,018 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks 2026-09-07 03:00:40,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112?flat'} 2026-09-07 03:00:40,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-01484112 is found in opserver 2026-09-07 03:00:40,094 - DEBUG - Do not have enough data to verify VN in agent 2026-09-07 03:00:40,106 - DEBUG - VRF ids for VN ctest-vn-01484112: {} 2026-09-07 03:00:40,167 - DEBUG - Services list from nova: [, , , ] 2026-09-07 03:00:40,662 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6258-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6258-2) 2026-09-07 03:00:41,243 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6258-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6258-1) 2026-09-07 03:00:41,243 - INFO - Waiting for VM ctest-TestBasicPolicy-31222636-36245143 to be up.. 2026-09-07 03:00:41,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 03:00:46,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 03:00:51,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 03:00:56,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 03:01:01,720 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 03:01:06,825 - DEBUG - VM is in ACTIVE state now 2026-09-07 03:01:06,825 - INFO - VM name : ctest-TestBasicPolicy-31222636-36245143 2026-09-07 03:01:06,942 - DEBUG - VM ctest-TestBasicPolicy-31222636-36245143 ID is 03b6a003-29df-43d1-8b77-13e37f79759d 2026-09-07 03:01:06,975 - DEBUG - VM ctest-TestBasicPolicy-31222636-36245143 launched on Node an-jenkins-deploy-platform-ansible-os-6258-2 2026-09-07 03:01:07,074 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/03b6a003-29df-43d1-8b77-13e37f79759d 2026-09-07 03:01:07,460 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/03b6a003-29df-43d1-8b77-13e37f79759d 2026-09-07 03:01:07,498 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/50fa045e-1c65-4e68-b6c4-0b21b902c5b7 2026-09-07 03:01:10,687 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-09-07 03:01:10,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-36245143 failed! 2026-09-07 03:01:10,704 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 is 75.239.246.193 and allocation pool is NOT set 2026-09-07 03:01:14,777 - 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-09-07 03:01:14,777 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-36245143 failed! 2026-09-07 03:01:14,796 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 is 75.239.246.193 and allocation pool is NOT set 2026-09-07 03:01:18,879 - 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-09-07 03:01:18,879 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-36245143 failed! 2026-09-07 03:01:18,895 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 is 75.239.246.193 and allocation pool is NOT set 2026-09-07 03:01:22,976 - 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-07 03:01:22,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-36245143 failed! 2026-09-07 03:01:22,994 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 is 75.239.246.193 and allocation pool is NOT set 2026-09-07 03:01:27,074 - 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-09-07 03:01:27,074 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-36245143 failed! 2026-09-07 03:01:27,094 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 is 75.239.246.193 and allocation pool is NOT set 2026-09-07 03:01:31,170 - 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 1005ms') 2026-09-07 03:01:31,170 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-36245143 failed! 2026-09-07 03:01:31,186 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 is 75.239.246.193 and allocation pool is NOT set 2026-09-07 03:01:35,261 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-09-07 03:01:35,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-36245143 failed! 2026-09-07 03:01:35,278 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31222636:ctest-vn-14616818 is 75.239.246.193 and allocation pool is NOT set 2026-09-07 03:01:37,347 - 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=8.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.694 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.694/4.501/8.308/3.807 ms') 2026-09-07 03:01:37,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-36245143 passed 2026-09-07 03:01:37,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 03:01:37,422 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31222636-36245143, IP 75.239.246.195, Port 22 2026-09-07 03:01:37,489 - 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-07 03:01:37,587 - DEBUG - VM ctest-TestBasicPolicy-31222636-36245143 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-07 03:01:42,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 03:01:42,589 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31222636-36245143, IP 75.239.246.195, Port 22 2026-09-07 03:01:42,658 - 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-07 03:01:42,756 - DEBUG - VM ctest-TestBasicPolicy-31222636-36245143 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-07 03:01:47,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 03:01:47,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31222636-36245143, IP 75.239.246.195, Port 22 2026-09-07 03:01:47,938 - DEBUG - VM ctest-TestBasicPolicy-31222636-36245143 is ready for SSH connections 2026-09-07 03:01:47,939 - INFO - Waiting for VM ctest-TestBasicPolicy-31222636-04378830 to be up.. 2026-09-07 03:01:48,053 - DEBUG - VM is in ACTIVE state now 2026-09-07 03:01:48,053 - INFO - VM name : ctest-TestBasicPolicy-31222636-04378830 2026-09-07 03:01:48,147 - DEBUG - VM ctest-TestBasicPolicy-31222636-04378830 ID is 1d8c0b51-7bd3-427f-a0cc-906bffcaca56 2026-09-07 03:01:48,148 - DEBUG - VM ctest-TestBasicPolicy-31222636-04378830 launched on Node an-jenkins-deploy-platform-ansible-os-6258-1 2026-09-07 03:01:48,279 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/1d8c0b51-7bd3-427f-a0cc-906bffcaca56 2026-09-07 03:01:48,292 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/5481af33-9c2c-4552-aa42-7ce42f6923b6 2026-09-07 03:01:49,521 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.930 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.930/4.162/7.394/3.232 ms') 2026-09-07 03:01:49,521 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31222636-04378830 passed 2026-09-07 03:01:49,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 03:01:49,599 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31222636-04378830, IP 165.121.131.131, Port 22 2026-09-07 03:01:49,667 - 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-07 03:01:49,764 - DEBUG - VM ctest-TestBasicPolicy-31222636-04378830 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-07 03:01:54,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 03:01:54,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31222636-04378830, IP 165.121.131.131, Port 22 2026-09-07 03:01:54,938 - DEBUG - VM ctest-TestBasicPolicy-31222636-04378830 is ready for SSH connections 2026-09-07 03:01:54,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 03:01:54,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.121.131.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-07 03:01:54,939 - DEBUG - ping -s 56 -c 3 -W 1 165.121.131.131 2026-09-07 03:02:37,381 - DEBUG - PING 165.121.131.131 (165.121.131.131) 56(84) bytes of data. 64 bytes from 165.121.131.131: icmp_req=1 ttl=63 time=9.63 ms 64 bytes from 165.121.131.131: icmp_req=2 ttl=63 time=1.57 ms 64 bytes from 165.121.131.131: icmp_req=3 ttl=63 time=1.76 ms --- 165.121.131.131 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.573/4.323/9.633/3.755 ms 2026-09-07 03:02:37,381 - INFO - Ping to IP 165.121.131.131 from VM ctest-TestBasicPolicy-31222636-36245143 passed 2026-09-07 03:02:37,612 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2b635c16-75a8-403d-997f-153a56493c96", "href": "http://10.0.0.186:8082/network-policy/2b635c16-75a8-403d-997f-153a56493c96"}} 2026-09-07 03:02:37,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 03:02:37,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.121.131.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-07 03:02:37,613 - DEBUG - ping -s 56 -c 3 -W 1 165.121.131.131 2026-09-07 03:02:40,855 - DEBUG - PING 165.121.131.131 (165.121.131.131) 56(84) bytes of data. 64 bytes from 165.121.131.131: icmp_req=1 ttl=63 time=6.35 ms --- 165.121.131.131 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2001ms rtt min/avg/max/mdev = 6.356/6.356/6.356/0.000 ms 2026-09-07 03:02:40,855 - WARNING - Ping to IP 165.121.131.131 from VM ctest-TestBasicPolicy-31222636-36245143 failed 2026-09-07 03:02:40,855 - INFO - Deleting VM ctest-TestBasicPolicy-31222636-04378830 2026-09-07 03:02:40,973 - INFO - Deleting VM ctest-TestBasicPolicy-31222636-36245143 2026-09-07 03:02:41,507 - INFO - Deleted policy ctest-policy-allow-all-19036060 2026-09-07 03:02:41,507 - INFO - Deleting VN ctest-vn-01484112 2026-09-07 03:02:41,556 - DEBUG - VN cebfe2ee-33dd-4579-9d9e-7376eaee0bfd still in use: Unable to complete operation on network cebfe2ee-33dd-4579-9d9e-7376eaee0bfd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f4f1964-b435-4894-bdab-f4ddb39bb6d9'] 2026-09-07 03:02:41,557 - WARNING - Deleting VN ctest-vn-01484112 failed..Will retry 2026-09-07 03:02:43,795 - DEBUG - Response for deleting network () 2026-09-07 03:02:43,795 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fa8c9221-9c63-4cfc-b75a-47a73cf4b941 2026-09-07 03:02:43,803 - DEBUG - Response Code: 404 2026-09-07 03:02:43,803 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-07 03:02:43,810 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e 2026-09-07 03:02:43,864 - DEBUG - Requesting: http://10.0.0.185:8082/project/cb4a0497-9f3a-412d-a9cb-5f7bcfa2ac63 2026-09-07 03:02:43,974 - INFO - Validated that VN ctest-vn-01484112 is not found in API Server 2026-09-07 03:02:43,994 - DEBUG - VN ctest-vn-01484112 is not present in Agent 10.0.0.189 2026-09-07 03:02:44,005 - DEBUG - VN ctest-vn-01484112 is not present in Agent 10.0.0.190 2026-09-07 03:02:44,005 - INFO - Validated that VN ctest-vn-01484112 is not in any agent 2026-09-07 03:02:44,047 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01484112 info 2026-09-07 03:02:44,047 - INFO - Deleting VN ctest-vn-14616818 2026-09-07 03:02:44,230 - DEBUG - Response for deleting network () 2026-09-07 03:02:44,230 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c30fb603-8d46-477c-8358-25af22daa20b 2026-09-07 03:02:44,239 - DEBUG - Response Code: 404 2026-09-07 03:02:44,240 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-07 03:02:44,264 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e 2026-09-07 03:02:44,282 - DEBUG - Requesting: http://10.0.0.185:8082/project/cb4a0497-9f3a-412d-a9cb-5f7bcfa2ac63 2026-09-07 03:02:44,401 - INFO - Validated that VN ctest-vn-14616818 is not found in API Server 2026-09-07 03:02:44,418 - DEBUG - VN ctest-vn-14616818 is not present in Agent 10.0.0.189 2026-09-07 03:02:44,430 - DEBUG - VN ctest-vn-14616818 is not present in Agent 10.0.0.190 2026-09-07 03:02:44,430 - INFO - Validated that VN ctest-vn-14616818 is not in any agent 2026-09-07 03:02:44,468 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14616818 info 2026-09-07 03:02:45,795 - DEBUG - No XMPP flaps were noticed during the test 2026-09-07 03:02:45,795 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:13] 2026-09-07 03:02:45,795 - INFO - -------------------------------------------------------------------------------- 2026-09-07 03:02:46,746 - INFO - Deleted project: ctest-TestBasicPolicy-31222636, ID : cb4a0497-9f3a-412d-a9cb-5f7bcfa2ac63