2026-03-19 06:16:26,357 - INFO - Domain Default found not creating 2026-03-19 06:16:26,551 - INFO - Project ctest-TestBasicPolicy-45689209 not found, creating it 2026-03-19 06:16:27,109 - INFO - Created Project:ctest-TestBasicPolicy-45689209, ID : f8141902-f2a9-4cdd-8d89-eadcf044d111 2026-03-19 06:16:28,982 - INFO - ================================================================================ 2026-03-19 06:16:28,982 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 06:16:28,982 - 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 06:16:30,312 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.22': {'10.20.0.254': '0', '10.20.0.17': '0'}} with 2026-03-19 06:16:30,312 - INFO - Initial checks done. Running the testcase now 2026-03-19 06:16:30,312 - INFO - 2026-03-19 06:16:31,119 - DEBUG - Response for create_network : {'network': {'id': '058e8e76-62e2-416c-ac69-3056331e9562', 'name': 'ctest-vn-49897323', 'tenant_id': 'f8141902f2a94cdd8d89eadcf044d111', 'project_id': 'f8141902f2a94cdd8d89eadcf044d111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45689209', 'ctest-vn-49897323'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 06:16:31,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e76da58-7611-4a8f-9b2e-6b5a64738515', 'name': '', 'tenant_id': 'f8141902f2a94cdd8d89eadcf044d111', 'network_id': '058e8e76-62e2-416c-ac69-3056331e9562', 'ip_version': 4, 'cidr': '160.195.186.128/26', 'allocation_pools': [{'start': '160.195.186.130', 'end': '160.195.186.190'}], 'gateway_ip': '160.195.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.195.186.130', 'tags': [], 'project_id': 'f8141902f2a94cdd8d89eadcf044d111'}} 2026-03-19 06:16:31,481 - INFO - Created VN ctest-vn-49897323 2026-03-19 06:16:31,496 - DEBUG - VN ctest-vn-49897323 UUID is 058e8e76-62e2-416c-ac69-3056331e9562 2026-03-19 06:16:31,921 - DEBUG - Response for create_network : {'network': {'id': 'a927e7a7-c735-4edc-b3ea-cce7dfaa934e', 'name': 'ctest-vn-93766104', 'tenant_id': 'f8141902f2a94cdd8d89eadcf044d111', 'project_id': 'f8141902f2a94cdd8d89eadcf044d111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45689209', 'ctest-vn-93766104'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 06:16:32,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '58b4cc09-b9f4-477c-a0a6-720690b2b020', 'name': '', 'tenant_id': 'f8141902f2a94cdd8d89eadcf044d111', 'network_id': 'a927e7a7-c735-4edc-b3ea-cce7dfaa934e', 'ip_version': 4, 'cidr': '150.172.124.0/26', 'allocation_pools': [{'start': '150.172.124.2', 'end': '150.172.124.62'}], 'gateway_ip': '150.172.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.172.124.2', 'tags': [], 'project_id': 'f8141902f2a94cdd8d89eadcf044d111'}} 2026-03-19 06:16:32,255 - INFO - Created VN ctest-vn-93766104 2026-03-19 06:16:32,269 - DEBUG - VN ctest-vn-93766104 UUID is a927e7a7-c735-4edc-b3ea-cce7dfaa934e 2026-03-19 06:16:32,368 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323, 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-45689209:ctest-vn-93766104, 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 06:16:32,786 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '058e8e76-62e2-416c-ac69-3056331e9562', 'name': 'ctest-vn-49897323', 'tenant_id': 'f8141902f2a94cdd8d89eadcf044d111', 'project_id': 'f8141902f2a94cdd8d89eadcf044d111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e76da58-7611-4a8f-9b2e-6b5a64738515'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45689209', 'ctest-vn-49897323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45689209', 'ctest-policy-allow-all-72123943']], 'subnet_ipam': [{'subnet_cidr': '160.195.186.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 06:16:33,059 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a927e7a7-c735-4edc-b3ea-cce7dfaa934e', 'name': 'ctest-vn-93766104', 'tenant_id': 'f8141902f2a94cdd8d89eadcf044d111', 'project_id': 'f8141902f2a94cdd8d89eadcf044d111', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58b4cc09-b9f4-477c-a0a6-720690b2b020'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45689209', 'ctest-vn-93766104'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45689209', 'ctest-policy-allow-all-72123943']], 'subnet_ipam': [{'subnet_cidr': '150.172.124.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 06:16:33,218 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 06:16:33,569 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 06:16:33,605 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f64fd01-c025-4a27-8d93-5364b6aae213 2026-03-19 06:16:33,620 - DEBUG - Requesting: http://10.0.0.38:8082/project/f8141902-f2a9-4cdd-8d89-eadcf044d111 2026-03-19 06:16:33,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/058e8e76-62e2-416c-ac69-3056331e9562 2026-03-19 06:16:33,758 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/058e8e76-62e2-416c-ac69-3056331e9562 2026-03-19 06:16:33,771 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b18fc6fb-5610-4df1-b695-2568b81c653b 2026-03-19 06:16:33,784 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b18fc6fb-5610-4df1-b695-2568b81c653b 2026-03-19 06:16:33,802 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/667649d6-5b67-4613-a074-bf683d3e95b9 2026-03-19 06:16:33,812 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 06:16:33,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/058e8e76-62e2-416c-ac69-3056331e9562 2026-03-19 06:16:33,823 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b18fc6fb-5610-4df1-b695-2568b81c653b 2026-03-19 06:16:33,846 - INFO - Verified VN network id 11 for VN 058e8e76-62e2-416c-ac69-3056331e9562 2026-03-19 06:16:33,846 - INFO - Verifications in API Server for VN ctest-vn-49897323 passed 2026-03-19 06:16:33,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/058e8e76-62e2-416c-ac69-3056331e9562 2026-03-19 06:16:33,856 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b18fc6fb-5610-4df1-b695-2568b81c653b 2026-03-19 06:16:33,864 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b18fc6fb-5610-4df1-b695-2568b81c653b 2026-03-19 06:16:33,875 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/667649d6-5b67-4613-a074-bf683d3e95b9 2026-03-19 06:16:33,900 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45689209', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '400414055998833004', 'uuid-lslong': '12423514193861186914'}, 'enable': 'true', 'created': '2026-03-19T06:16:31', 'last-modified': '2026-03-19T06:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.173528'} 2026-03-19 06:16:33,908 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 06:16:33,916 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45689209', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '400414055998833004', 'uuid-lslong': '12423514193861186914'}, 'enable': 'true', 'created': '2026-03-19T06:16:31', 'last-modified': '2026-03-19T06:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.196079'} 2026-03-19 06:16:33,924 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 06:16:33,932 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45689209', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '400414055998833004', 'uuid-lslong': '12423514193861186914'}, 'enable': 'true', 'created': '2026-03-19T06:16:31', 'last-modified': '2026-03-19T06:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.191375'} 2026-03-19 06:16:33,939 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 06:16:33,939 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49897323 passed 2026-03-19 06:16:33,939 - DEBUG - ====Verifying policy data for ctest-vn-49897323 in API_Server ====== 2026-03-19 06:16:33,939 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 06:16:33,947 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f64fd01-c025-4a27-8d93-5364b6aae213 2026-03-19 06:16:33,972 - DEBUG - Requesting: http://10.0.0.38:8082/project/f8141902-f2a9-4cdd-8d89-eadcf044d111 2026-03-19 06:16:34,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/058e8e76-62e2-416c-ac69-3056331e9562 2026-03-19 06:16:34,103 - DEBUG - ==>Verifying data for policy with id: 657c37a0-ad61-4aea-8a3b-b7bdec6f7ac6, fqn: ['default-domain', 'ctest-TestBasicPolicy-45689209', 'ctest-policy-allow-all-72123943'] 2026-03-19 06:16:34,103 - INFO - VN ctest-vn-49897323 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 06:16:34,104 - DEBUG - Verifying the vn in opserver 2026-03-19 06:16:34,104 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323 virtual network link through opserver 10.0.0.38 2026-03-19 06:16:34,104 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-19 06:16:34,413 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-19 06:16:34,490 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323?flat'} 2026-03-19 06:16:34,490 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323 virtual network link through opserver 10.0.0.50 2026-03-19 06:16:34,490 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-19 06:16:34,795 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-19 06:16:34,898 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323?flat'} 2026-03-19 06:16:34,898 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323 virtual network link through opserver 10.0.0.33 2026-03-19 06:16:34,898 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-19 06:16:35,221 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-19 06:16:35,291 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323?flat'} 2026-03-19 06:16:35,291 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323 is found in opserver 2026-03-19 06:16:35,316 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 06:16:35,328 - DEBUG - VRF ids for VN ctest-vn-49897323: {} 2026-03-19 06:16:35,328 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 06:16:35,335 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f64fd01-c025-4a27-8d93-5364b6aae213 2026-03-19 06:16:35,351 - DEBUG - Requesting: http://10.0.0.38:8082/project/f8141902-f2a9-4cdd-8d89-eadcf044d111 2026-03-19 06:16:35,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a927e7a7-c735-4edc-b3ea-cce7dfaa934e 2026-03-19 06:16:35,483 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a927e7a7-c735-4edc-b3ea-cce7dfaa934e 2026-03-19 06:16:35,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e792c19-25e9-4252-b19d-408295005223 2026-03-19 06:16:35,505 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e792c19-25e9-4252-b19d-408295005223 2026-03-19 06:16:35,514 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d3922d67-f8e8-44c7-a809-dbac6f8e8e6d 2026-03-19 06:16:35,522 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-19 06:16:35,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a927e7a7-c735-4edc-b3ea-cce7dfaa934e 2026-03-19 06:16:35,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e792c19-25e9-4252-b19d-408295005223 2026-03-19 06:16:35,552 - INFO - Verified VN network id 12 for VN a927e7a7-c735-4edc-b3ea-cce7dfaa934e 2026-03-19 06:16:35,553 - INFO - Verifications in API Server for VN ctest-vn-93766104 passed 2026-03-19 06:16:35,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a927e7a7-c735-4edc-b3ea-cce7dfaa934e 2026-03-19 06:16:35,566 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e792c19-25e9-4252-b19d-408295005223 2026-03-19 06:16:35,579 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e792c19-25e9-4252-b19d-408295005223 2026-03-19 06:16:35,588 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d3922d67-f8e8-44c7-a809-dbac6f8e8e6d 2026-03-19 06:16:35,602 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45689209', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12188965624289251036', 'uuid-lslong': '12964399773601403726'}, 'enable': 'true', 'created': '2026-03-19T06:16:31', 'last-modified': '2026-03-19T06:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.602849'} 2026-03-19 06:16:35,609 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-19 06:16:35,617 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45689209', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12188965624289251036', 'uuid-lslong': '12964399773601403726'}, 'enable': 'true', 'created': '2026-03-19T06:16:31', 'last-modified': '2026-03-19T06:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.619987'} 2026-03-19 06:16:35,625 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-19 06:16:35,631 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45689209', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12188965624289251036', 'uuid-lslong': '12964399773601403726'}, 'enable': 'true', 'created': '2026-03-19T06:16:31', 'last-modified': '2026-03-19T06:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.635193'} 2026-03-19 06:16:35,638 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-03-19 06:16:35,638 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93766104 passed 2026-03-19 06:16:35,638 - DEBUG - ====Verifying policy data for ctest-vn-93766104 in API_Server ====== 2026-03-19 06:16:35,638 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 06:16:35,647 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f64fd01-c025-4a27-8d93-5364b6aae213 2026-03-19 06:16:35,661 - DEBUG - Requesting: http://10.0.0.38:8082/project/f8141902-f2a9-4cdd-8d89-eadcf044d111 2026-03-19 06:16:35,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a927e7a7-c735-4edc-b3ea-cce7dfaa934e 2026-03-19 06:16:35,783 - DEBUG - ==>Verifying data for policy with id: 657c37a0-ad61-4aea-8a3b-b7bdec6f7ac6, fqn: ['default-domain', 'ctest-TestBasicPolicy-45689209', 'ctest-policy-allow-all-72123943'] 2026-03-19 06:16:35,783 - INFO - VN ctest-vn-93766104 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 06:16:35,783 - DEBUG - Verifying the vn in opserver 2026-03-19 06:16:35,783 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104 virtual network link through opserver 10.0.0.38 2026-03-19 06:16:35,783 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-19 06:16:35,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104?flat'} 2026-03-19 06:16:35,858 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104 virtual network link through opserver 10.0.0.50 2026-03-19 06:16:35,859 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-19 06:16:35,931 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104?flat'} 2026-03-19 06:16:35,931 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104 virtual network link through opserver 10.0.0.33 2026-03-19 06:16:35,931 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-19 06:16:36,011 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104?flat'} 2026-03-19 06:16:36,011 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-93766104 is found in opserver 2026-03-19 06:16:36,035 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 06:16:36,046 - DEBUG - VRF ids for VN ctest-vn-93766104: {} 2026-03-19 06:16:36,116 - DEBUG - Services list from nova: [, , , ] 2026-03-19 06:16:37,268 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5495-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5495-2) 2026-03-19 06:16:38,705 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5495-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5495-1) 2026-03-19 06:16:38,705 - INFO - Waiting for VM ctest-TestBasicPolicy-45689209-91090092 to be up.. 2026-03-19 06:16:38,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 06:16:43,914 - DEBUG - VM is in ACTIVE state now 2026-03-19 06:16:43,914 - INFO - VM name : ctest-TestBasicPolicy-45689209-91090092 2026-03-19 06:16:44,013 - DEBUG - VM ctest-TestBasicPolicy-45689209-91090092 ID is dfa1d535-c299-4f53-b439-a2112904a537 2026-03-19 06:16:44,048 - DEBUG - VM ctest-TestBasicPolicy-45689209-91090092 launched on Node an-jenkins-deploy-platform-ansible-os-5495-2 2026-03-19 06:16:44,171 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dfa1d535-c299-4f53-b439-a2112904a537 2026-03-19 06:16:44,526 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dfa1d535-c299-4f53-b439-a2112904a537 2026-03-19 06:16:44,627 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1a3d3564-8002-49c3-b53b-c94e917a5ea7 2026-03-19 06:16:47,862 - 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 1021ms') 2026-03-19 06:16:47,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45689209-91090092 failed! 2026-03-19 06:16:47,880 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45689209:ctest-vn-49897323 is 160.195.186.129 and allocation pool is NOT set 2026-03-19 06:16:49,946 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.18 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 = 3.182/6.754/10.327/3.572 ms') 2026-03-19 06:16:49,946 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45689209-91090092 passed 2026-03-19 06:16:50,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:16:50,064 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45689209-91090092, IP 160.195.186.131, Port 22 2026-03-19 06:16:50,134 - DEBUG - Error on ssh to cirros@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 06:16:50,254 - DEBUG - VM ctest-TestBasicPolicy-45689209-91090092 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 06:16:55,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:16:55,255 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45689209-91090092, IP 160.195.186.131, Port 22 2026-03-19 06:16:55,425 - DEBUG - VM ctest-TestBasicPolicy-45689209-91090092 is ready for SSH connections 2026-03-19 06:16:55,426 - INFO - Waiting for VM ctest-TestBasicPolicy-45689209-33218796 to be up.. 2026-03-19 06:16:55,524 - DEBUG - VM is in ACTIVE state now 2026-03-19 06:16:55,524 - INFO - VM name : ctest-TestBasicPolicy-45689209-33218796 2026-03-19 06:16:55,626 - DEBUG - VM ctest-TestBasicPolicy-45689209-33218796 ID is 2d3dcbe2-9eaf-4df5-847d-b3d9f8e02980 2026-03-19 06:16:55,627 - DEBUG - VM ctest-TestBasicPolicy-45689209-33218796 launched on Node an-jenkins-deploy-platform-ansible-os-5495-1 2026-03-19 06:16:55,723 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2d3dcbe2-9eaf-4df5-847d-b3d9f8e02980 2026-03-19 06:16:55,736 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/48c4f2a0-ebf8-46f6-b0df-b5d97d74f547 2026-03-19 06:16:56,954 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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.455/1.939/3.423/1.484 ms') 2026-03-19 06:16:56,954 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45689209-33218796 passed 2026-03-19 06:16:57,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:16:57,068 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45689209-33218796, IP 150.172.124.3, Port 22 2026-03-19 06:16:57,235 - DEBUG - VM ctest-TestBasicPolicy-45689209-33218796 is ready for SSH connections 2026-03-19 06:16:57,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:16:57,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.172.124.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-19 06:16:57,236 - DEBUG - ping -s 56 -c 3 -W 1 150.172.124.3 2026-03-19 06:17:01,365 - DEBUG - PING 150.172.124.3 (150.172.124.3): 56 data bytes 64 bytes from 150.172.124.3: seq=0 ttl=63 time=8.401 ms 64 bytes from 150.172.124.3: seq=1 ttl=63 time=1.466 ms 64 bytes from 150.172.124.3: seq=2 ttl=63 time=1.697 ms --- 150.172.124.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.466/3.854/8.401 ms 2026-03-19 06:17:01,365 - INFO - Ping to IP 150.172.124.3 from VM ctest-TestBasicPolicy-45689209-91090092 passed 2026-03-19 06:17:01,642 - DEBUG - Policy Update Response {"network-policy": {"uuid": "657c37a0-ad61-4aea-8a3b-b7bdec6f7ac6", "href": "http://10.0.0.33:8082/network-policy/657c37a0-ad61-4aea-8a3b-b7bdec6f7ac6"}} 2026-03-19 06:17:01,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:17:01,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.172.124.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-19 06:17:01,642 - DEBUG - ping -s 56 -c 3 -W 1 150.172.124.3 2026-03-19 06:17:04,898 - DEBUG - PING 150.172.124.3 (150.172.124.3): 56 data bytes --- 150.172.124.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 06:17:04,898 - WARNING - Ping to IP 150.172.124.3 from VM ctest-TestBasicPolicy-45689209-91090092 failed 2026-03-19 06:17:04,899 - INFO - Deleting VM ctest-TestBasicPolicy-45689209-33218796 2026-03-19 06:17:04,983 - INFO - Deleting VM ctest-TestBasicPolicy-45689209-91090092 2026-03-19 06:17:05,588 - INFO - Deleted policy ctest-policy-allow-all-72123943 2026-03-19 06:17:05,589 - INFO - Deleting VN ctest-vn-93766104 2026-03-19 06:17:05,684 - DEBUG - VN a927e7a7-c735-4edc-b3ea-cce7dfaa934e still in use: Unable to complete operation on network a927e7a7-c735-4edc-b3ea-cce7dfaa934e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0e0040b-211a-4648-9490-cd159f6ac70f'] 2026-03-19 06:17:05,684 - WARNING - Deleting VN ctest-vn-93766104 failed..Will retry 2026-03-19 06:17:07,946 - DEBUG - Response for deleting network () 2026-03-19 06:17:07,946 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3e792c19-25e9-4252-b19d-408295005223 2026-03-19 06:17:07,954 - DEBUG - Response Code: 404 2026-03-19 06:17:07,954 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 06:17:07,964 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f64fd01-c025-4a27-8d93-5364b6aae213 2026-03-19 06:17:08,024 - DEBUG - Requesting: http://10.0.0.38:8082/project/f8141902-f2a9-4cdd-8d89-eadcf044d111 2026-03-19 06:17:08,141 - INFO - Validated that VN ctest-vn-93766104 is not found in API Server 2026-03-19 06:17:08,155 - DEBUG - VN ctest-vn-93766104 is not present in Agent 10.0.0.249 2026-03-19 06:17:08,167 - DEBUG - VN ctest-vn-93766104 is not present in Agent 10.0.0.22 2026-03-19 06:17:08,167 - INFO - Validated that VN ctest-vn-93766104 is not in any agent 2026-03-19 06:17:08,207 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93766104 info 2026-03-19 06:17:08,207 - INFO - Deleting VN ctest-vn-49897323 2026-03-19 06:17:08,403 - DEBUG - Response for deleting network () 2026-03-19 06:17:08,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b18fc6fb-5610-4df1-b695-2568b81c653b 2026-03-19 06:17:08,418 - DEBUG - Response Code: 404 2026-03-19 06:17:08,418 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 06:17:08,431 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2f64fd01-c025-4a27-8d93-5364b6aae213 2026-03-19 06:17:08,460 - DEBUG - Requesting: http://10.0.0.38:8082/project/f8141902-f2a9-4cdd-8d89-eadcf044d111 2026-03-19 06:17:08,562 - INFO - Validated that VN ctest-vn-49897323 is not found in API Server 2026-03-19 06:17:08,574 - DEBUG - VN ctest-vn-49897323 is not present in Agent 10.0.0.249 2026-03-19 06:17:08,587 - DEBUG - VN ctest-vn-49897323 is not present in Agent 10.0.0.22 2026-03-19 06:17:08,587 - INFO - Validated that VN ctest-vn-49897323 is not in any agent 2026-03-19 06:17:08,628 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49897323 info 2026-03-19 06:17:09,951 - DEBUG - No XMPP flaps were noticed during the test 2026-03-19 06:17:09,951 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-03-19 06:17:09,951 - INFO - -------------------------------------------------------------------------------- 2026-03-19 06:17:10,785 - INFO - Deleted project: ctest-TestBasicPolicy-45689209, ID : f8141902-f2a9-4cdd-8d89-eadcf044d111