2026-01-29 02:40:41,006 - INFO - Domain Default found not creating 2026-01-29 02:40:41,467 - INFO - Project ctest-TestBasicPolicy-66100795 not found, creating it 2026-01-29 02:40:42,012 - INFO - Created Project:ctest-TestBasicPolicy-66100795, ID : ebb3ab57-43dc-486b-879c-d88823288af2 2026-01-29 02:40:43,440 - INFO - ================================================================================ 2026-01-29 02:40:43,440 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 02:40:43,440 - 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-01-29 02:40:44,723 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.193': '0', '10.20.0.254': '0'}, '10.0.0.128': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2026-01-29 02:40:44,723 - INFO - Initial checks done. Running the testcase now 2026-01-29 02:40:44,723 - INFO - 2026-01-29 02:40:45,387 - DEBUG - Response for create_network : {'network': {'id': '7fafa70d-161b-4cab-9c8c-31019906a058', 'name': 'ctest-vn-34735274', 'tenant_id': 'ebb3ab5743dc486b879cd88823288af2', 'project_id': 'ebb3ab5743dc486b879cd88823288af2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66100795', 'ctest-vn-34735274'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:40:45,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '063e19c0-7bdc-47f1-8b32-971292802709', 'name': '', 'tenant_id': 'ebb3ab5743dc486b879cd88823288af2', 'network_id': '7fafa70d-161b-4cab-9c8c-31019906a058', 'ip_version': 4, 'cidr': '192.249.251.64/26', 'allocation_pools': [{'start': '192.249.251.66', 'end': '192.249.251.126'}], 'gateway_ip': '192.249.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.249.251.66', 'tags': [], 'project_id': 'ebb3ab5743dc486b879cd88823288af2'}} 2026-01-29 02:40:45,711 - INFO - Created VN ctest-vn-34735274 2026-01-29 02:40:45,723 - DEBUG - VN ctest-vn-34735274 UUID is 7fafa70d-161b-4cab-9c8c-31019906a058 2026-01-29 02:40:46,069 - DEBUG - Response for create_network : {'network': {'id': '083681f0-6316-43e3-b594-c96b42d3d7c4', 'name': 'ctest-vn-01638546', 'tenant_id': 'ebb3ab5743dc486b879cd88823288af2', 'project_id': 'ebb3ab5743dc486b879cd88823288af2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66100795', 'ctest-vn-01638546'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:40:46,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '6eadfaf3-5005-47dc-a46d-e8cfc9da3322', 'name': '', 'tenant_id': 'ebb3ab5743dc486b879cd88823288af2', 'network_id': '083681f0-6316-43e3-b594-c96b42d3d7c4', 'ip_version': 4, 'cidr': '108.96.154.0/26', 'allocation_pools': [{'start': '108.96.154.2', 'end': '108.96.154.62'}], 'gateway_ip': '108.96.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.96.154.2', 'tags': [], 'project_id': 'ebb3ab5743dc486b879cd88823288af2'}} 2026-01-29 02:40:46,337 - INFO - Created VN ctest-vn-01638546 2026-01-29 02:40:46,351 - DEBUG - VN ctest-vn-01638546 UUID is 083681f0-6316-43e3-b594-c96b42d3d7c4 2026-01-29 02:40:46,470 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274, 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-66100795:ctest-vn-01638546, 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-01-29 02:40:46,870 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7fafa70d-161b-4cab-9c8c-31019906a058', 'name': 'ctest-vn-34735274', 'tenant_id': 'ebb3ab5743dc486b879cd88823288af2', 'project_id': 'ebb3ab5743dc486b879cd88823288af2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['063e19c0-7bdc-47f1-8b32-971292802709'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66100795', 'ctest-vn-34735274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66100795', 'ctest-policy-allow-all-76105704']], 'subnet_ipam': [{'subnet_cidr': '192.249.251.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:40:47,121 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '083681f0-6316-43e3-b594-c96b42d3d7c4', 'name': 'ctest-vn-01638546', 'tenant_id': 'ebb3ab5743dc486b879cd88823288af2', 'project_id': 'ebb3ab5743dc486b879cd88823288af2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6eadfaf3-5005-47dc-a46d-e8cfc9da3322'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66100795', 'ctest-vn-01638546'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66100795', 'ctest-policy-allow-all-76105704']], 'subnet_ipam': [{'subnet_cidr': '108.96.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:40:47,230 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-29 02:40:47,575 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-29 02:40:47,609 - DEBUG - Requesting: http://10.0.0.23:8082/domain/65230a56-1cf0-4d34-9498-1ad48da04806 2026-01-29 02:40:47,623 - DEBUG - Requesting: http://10.0.0.23:8082/project/ebb3ab57-43dc-486b-879c-d88823288af2 2026-01-29 02:40:47,710 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7fafa70d-161b-4cab-9c8c-31019906a058 2026-01-29 02:40:47,722 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7fafa70d-161b-4cab-9c8c-31019906a058 2026-01-29 02:40:47,733 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/44a37b15-2d32-4f89-91f8-8cb3996a57b2 2026-01-29 02:40:47,742 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/44a37b15-2d32-4f89-91f8-8cb3996a57b2 2026-01-29 02:40:47,748 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a13552fe-1541-456b-95b0-8960c8d96a3e 2026-01-29 02:40:47,754 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 02:40:47,754 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7fafa70d-161b-4cab-9c8c-31019906a058 2026-01-29 02:40:47,762 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/44a37b15-2d32-4f89-91f8-8cb3996a57b2 2026-01-29 02:40:47,777 - INFO - Verified VN network id 13 for VN 7fafa70d-161b-4cab-9c8c-31019906a058 2026-01-29 02:40:47,777 - INFO - Verifications in API Server for VN ctest-vn-34735274 passed 2026-01-29 02:40:47,777 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7fafa70d-161b-4cab-9c8c-31019906a058 2026-01-29 02:40:47,786 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/44a37b15-2d32-4f89-91f8-8cb3996a57b2 2026-01-29 02:40:47,793 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/44a37b15-2d32-4f89-91f8-8cb3996a57b2 2026-01-29 02:40:47,798 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a13552fe-1541-456b-95b0-8960c8d96a3e 2026-01-29 02:40:47,809 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66100795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9200756238388513963', 'uuid-lslong': '11280445049588326488'}, 'enable': 'true', 'created': '2026-01-29T02:40:45', 'last-modified': '2026-01-29T02:40:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981718'} 2026-01-29 02:40:47,815 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 02:40:47,820 - DEBUG - Control-node 10.0.0.147 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66100795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9200756238388513963', 'uuid-lslong': '11280445049588326488'}, 'enable': 'true', 'created': '2026-01-29T02:40:45', 'last-modified': '2026-01-29T02:40:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993993'} 2026-01-29 02:40:47,826 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 02:40:47,831 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66100795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9200756238388513963', 'uuid-lslong': '11280445049588326488'}, 'enable': 'true', 'created': '2026-01-29T02:40:45', 'last-modified': '2026-01-29T02:40:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999093'} 2026-01-29 02:40:47,837 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 02:40:47,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34735274 passed 2026-01-29 02:40:47,837 - DEBUG - ====Verifying policy data for ctest-vn-34735274 in API_Server ====== 2026-01-29 02:40:47,837 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-29 02:40:47,842 - DEBUG - Requesting: http://10.0.0.23:8082/domain/65230a56-1cf0-4d34-9498-1ad48da04806 2026-01-29 02:40:47,852 - DEBUG - Requesting: http://10.0.0.23:8082/project/ebb3ab57-43dc-486b-879c-d88823288af2 2026-01-29 02:40:47,962 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7fafa70d-161b-4cab-9c8c-31019906a058 2026-01-29 02:40:47,970 - DEBUG - ==>Verifying data for policy with id: 223b848e-3788-4387-b54d-02bd1e0db4eb, fqn: ['default-domain', 'ctest-TestBasicPolicy-66100795', 'ctest-policy-allow-all-76105704'] 2026-01-29 02:40:47,971 - INFO - VN ctest-vn-34735274 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 02:40:47,971 - DEBUG - Verifying the vn in opserver 2026-01-29 02:40:47,971 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 virtual network link through opserver 10.0.0.23 2026-01-29 02:40:47,971 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-29 02:40:48,277 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-29 02:40:48,352 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274?flat'} 2026-01-29 02:40:48,352 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 virtual network link through opserver 10.0.0.147 2026-01-29 02:40:48,352 - DEBUG - Requesting: http://10.0.0.147:8081/analytics/uves/virtual-networks 2026-01-29 02:40:48,645 - DEBUG - Requesting: http://10.0.0.147:8081/analytics/uves/virtual-networks 2026-01-29 02:40:48,717 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274', 'href': 'http://10.0.0.147:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274?flat'} 2026-01-29 02:40:48,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 virtual network link through opserver 10.0.0.240 2026-01-29 02:40:48,718 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-29 02:40:49,019 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-29 02:40:49,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274?flat'} 2026-01-29 02:40:49,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is found in opserver 2026-01-29 02:40:49,112 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 02:40:49,123 - DEBUG - VRF ids for VN ctest-vn-34735274: {} 2026-01-29 02:40:49,123 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-29 02:40:49,129 - DEBUG - Requesting: http://10.0.0.23:8082/domain/65230a56-1cf0-4d34-9498-1ad48da04806 2026-01-29 02:40:49,138 - DEBUG - Requesting: http://10.0.0.23:8082/project/ebb3ab57-43dc-486b-879c-d88823288af2 2026-01-29 02:40:49,229 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/083681f0-6316-43e3-b594-c96b42d3d7c4 2026-01-29 02:40:49,251 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/083681f0-6316-43e3-b594-c96b42d3d7c4 2026-01-29 02:40:49,264 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7d357eca-5fc9-43c1-9771-2398d63fb539 2026-01-29 02:40:49,273 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7d357eca-5fc9-43c1-9771-2398d63fb539 2026-01-29 02:40:49,281 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/48798e21-0653-4917-a883-b5b1b3c0d76a 2026-01-29 02:40:49,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 02:40:49,290 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/083681f0-6316-43e3-b594-c96b42d3d7c4 2026-01-29 02:40:49,301 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7d357eca-5fc9-43c1-9771-2398d63fb539 2026-01-29 02:40:49,318 - INFO - Verified VN network id 14 for VN 083681f0-6316-43e3-b594-c96b42d3d7c4 2026-01-29 02:40:49,318 - INFO - Verifications in API Server for VN ctest-vn-01638546 passed 2026-01-29 02:40:49,318 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/083681f0-6316-43e3-b594-c96b42d3d7c4 2026-01-29 02:40:49,328 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7d357eca-5fc9-43c1-9771-2398d63fb539 2026-01-29 02:40:49,335 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7d357eca-5fc9-43c1-9771-2398d63fb539 2026-01-29 02:40:49,342 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/48798e21-0653-4917-a883-b5b1b3c0d76a 2026-01-29 02:40:49,354 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66100795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '591803270500336611', 'uuid-lslong': '13084304279937996740'}, 'enable': 'true', 'created': '2026-01-29T02:40:46', 'last-modified': '2026-01-29T02:40:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.262664'} 2026-01-29 02:40:49,364 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 02:40:49,370 - DEBUG - Control-node 10.0.0.147 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66100795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '591803270500336611', 'uuid-lslong': '13084304279937996740'}, 'enable': 'true', 'created': '2026-01-29T02:40:46', 'last-modified': '2026-01-29T02:40:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.284694'} 2026-01-29 02:40:49,375 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 02:40:49,381 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66100795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '591803270500336611', 'uuid-lslong': '13084304279937996740'}, 'enable': 'true', 'created': '2026-01-29T02:40:46', 'last-modified': '2026-01-29T02:40:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.297002'} 2026-01-29 02:40:49,387 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 02:40:49,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01638546 passed 2026-01-29 02:40:49,387 - DEBUG - ====Verifying policy data for ctest-vn-01638546 in API_Server ====== 2026-01-29 02:40:49,387 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-29 02:40:49,393 - DEBUG - Requesting: http://10.0.0.23:8082/domain/65230a56-1cf0-4d34-9498-1ad48da04806 2026-01-29 02:40:49,403 - DEBUG - Requesting: http://10.0.0.23:8082/project/ebb3ab57-43dc-486b-879c-d88823288af2 2026-01-29 02:40:49,488 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/083681f0-6316-43e3-b594-c96b42d3d7c4 2026-01-29 02:40:49,498 - DEBUG - ==>Verifying data for policy with id: 223b848e-3788-4387-b54d-02bd1e0db4eb, fqn: ['default-domain', 'ctest-TestBasicPolicy-66100795', 'ctest-policy-allow-all-76105704'] 2026-01-29 02:40:49,498 - INFO - VN ctest-vn-01638546 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 02:40:49,498 - DEBUG - Verifying the vn in opserver 2026-01-29 02:40:49,498 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546 virtual network link through opserver 10.0.0.23 2026-01-29 02:40:49,498 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-29 02:40:49,568 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546?flat'} 2026-01-29 02:40:49,568 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546 virtual network link through opserver 10.0.0.147 2026-01-29 02:40:49,568 - DEBUG - Requesting: http://10.0.0.147:8081/analytics/uves/virtual-networks 2026-01-29 02:40:49,674 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546', 'href': 'http://10.0.0.147:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546?flat'} 2026-01-29 02:40:49,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546 virtual network link through opserver 10.0.0.240 2026-01-29 02:40:49,674 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-29 02:40:49,729 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546?flat'} 2026-01-29 02:40:49,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-01638546 is found in opserver 2026-01-29 02:40:49,750 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 02:40:49,760 - DEBUG - VRF ids for VN ctest-vn-01638546: {} 2026-01-29 02:40:49,811 - DEBUG - Services list from nova: [, , , ] 2026-01-29 02:40:50,892 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5115-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5115-1) 2026-01-29 02:40:52,163 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5115-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5115-2) 2026-01-29 02:40:52,163 - INFO - Waiting for VM ctest-TestBasicPolicy-66100795-33095711 to be up.. 2026-01-29 02:40:52,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 02:40:57,332 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:40:57,332 - INFO - VM name : ctest-TestBasicPolicy-66100795-33095711 2026-01-29 02:40:57,419 - DEBUG - VM ctest-TestBasicPolicy-66100795-33095711 ID is 0afb1742-cfb6-4ce5-abae-35cfe29af7e3 2026-01-29 02:40:57,443 - DEBUG - VM ctest-TestBasicPolicy-66100795-33095711 launched on Node an-jenkins-deploy-platform-ansible-os-5115-1 2026-01-29 02:40:57,530 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/0afb1742-cfb6-4ce5-abae-35cfe29af7e3 2026-01-29 02:40:57,827 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/0afb1742-cfb6-4ce5-abae-35cfe29af7e3 2026-01-29 02:40:57,861 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/9a081350-54b3-48b9-9e65-824dc35a8c6e 2026-01-29 02:41:01,044 - 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 1020ms') 2026-01-29 02:41:01,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:01,060 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:05,131 - 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 1012ms') 2026-01-29 02:41:05,131 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:05,144 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:09,232 - 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 1020ms') 2026-01-29 02:41:09,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:09,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:13,331 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-01-29 02:41:13,331 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:13,345 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:17,426 - 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 1004ms') 2026-01-29 02:41:17,426 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:17,443 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:21,518 - 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-01-29 02:41:21,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:21,533 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:25,615 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-01-29 02:41:25,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:25,630 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:29,707 - 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-01-29 02:41:29,707 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:29,721 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:33,812 - 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 1025ms') 2026-01-29 02:41:33,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:33,825 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:37,907 - 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-01-29 02:41:37,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 failed! 2026-01-29 02:41:37,924 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66100795:ctest-vn-34735274 is 192.249.251.65 and allocation pool is NOT set 2026-01-29 02:41:39,995 - 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=11.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.41 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 = 8.409/10.045/11.682/1.636 ms') 2026-01-29 02:41:39,996 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-33095711 passed 2026-01-29 02:41:40,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:41:40,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66100795-33095711, IP 192.249.251.67, Port 22 2026-01-29 02:41:40,134 - 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-01-29 02:41:40,206 - DEBUG - VM ctest-TestBasicPolicy-66100795-33095711 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 02:41:45,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:41:45,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66100795-33095711, IP 192.249.251.67, Port 22 2026-01-29 02:41:45,275 - 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-01-29 02:41:45,351 - DEBUG - VM ctest-TestBasicPolicy-66100795-33095711 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 02:41:50,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:41:50,352 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66100795-33095711, IP 192.249.251.67, Port 22 2026-01-29 02:41:50,418 - 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-01-29 02:41:50,512 - DEBUG - VM ctest-TestBasicPolicy-66100795-33095711 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 02:41:55,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:41:55,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66100795-33095711, IP 192.249.251.67, Port 22 2026-01-29 02:41:55,579 - 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-01-29 02:41:55,664 - DEBUG - VM ctest-TestBasicPolicy-66100795-33095711 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 02:42:00,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:42:00,664 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66100795-33095711, IP 192.249.251.67, Port 22 2026-01-29 02:42:00,835 - DEBUG - VM ctest-TestBasicPolicy-66100795-33095711 is ready for SSH connections 2026-01-29 02:42:00,835 - INFO - Waiting for VM ctest-TestBasicPolicy-66100795-58746897 to be up.. 2026-01-29 02:42:00,929 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:42:00,929 - INFO - VM name : ctest-TestBasicPolicy-66100795-58746897 2026-01-29 02:42:01,025 - DEBUG - VM ctest-TestBasicPolicy-66100795-58746897 ID is 34ec05d7-43b5-4e13-b1ed-b6579d496c5e 2026-01-29 02:42:01,025 - DEBUG - VM ctest-TestBasicPolicy-66100795-58746897 launched on Node an-jenkins-deploy-platform-ansible-os-5115-2 2026-01-29 02:42:01,118 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/34ec05d7-43b5-4e13-b1ed-b6579d496c5e 2026-01-29 02:42:01,131 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/22215513-c751-4bc0-b276-6047d81f5d02 2026-01-29 02:42:02,305 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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 = 1.331/2.436/3.542/1.105 ms') 2026-01-29 02:42:02,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66100795-58746897 passed 2026-01-29 02:42:02,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:42:02,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66100795-58746897, IP 108.96.154.3, Port 22 2026-01-29 02:42:02,553 - DEBUG - VM ctest-TestBasicPolicy-66100795-58746897 is ready for SSH connections 2026-01-29 02:42:02,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:42:02,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.96.154.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2026-01-29 02:42:02,553 - DEBUG - ping -s 56 -c 3 -W 1 108.96.154.3 2026-01-29 02:42:29,787 - DEBUG - PING 108.96.154.3 (108.96.154.3) 56(84) bytes of data. 64 bytes from 108.96.154.3: icmp_req=1 ttl=63 time=9.19 ms 64 bytes from 108.96.154.3: icmp_req=2 ttl=63 time=1.61 ms 64 bytes from 108.96.154.3: icmp_req=3 ttl=63 time=1.41 ms --- 108.96.154.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.413/4.072/9.192/3.621 ms 2026-01-29 02:42:29,788 - INFO - Ping to IP 108.96.154.3 from VM ctest-TestBasicPolicy-66100795-33095711 passed 2026-01-29 02:42:30,029 - DEBUG - Policy Update Response {"network-policy": {"uuid": "223b848e-3788-4387-b54d-02bd1e0db4eb", "href": "http://10.0.0.240:8082/network-policy/223b848e-3788-4387-b54d-02bd1e0db4eb"}} 2026-01-29 02:42:30,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:42:30,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.96.154.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2026-01-29 02:42:30,030 - DEBUG - ping -s 56 -c 3 -W 1 108.96.154.3 2026-01-29 02:42:34,119 - DEBUG - PING 108.96.154.3 (108.96.154.3) 56(84) bytes of data. --- 108.96.154.3 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms 2026-01-29 02:42:34,120 - WARNING - Ping to IP 108.96.154.3 from VM ctest-TestBasicPolicy-66100795-33095711 failed 2026-01-29 02:42:34,120 - INFO - Deleting VM ctest-TestBasicPolicy-66100795-58746897 2026-01-29 02:42:34,180 - INFO - Deleting VM ctest-TestBasicPolicy-66100795-33095711 2026-01-29 02:42:34,620 - INFO - Deleted policy ctest-policy-allow-all-76105704 2026-01-29 02:42:34,620 - INFO - Deleting VN ctest-vn-01638546 2026-01-29 02:42:34,661 - DEBUG - VN 083681f0-6316-43e3-b594-c96b42d3d7c4 still in use: Unable to complete operation on network 083681f0-6316-43e3-b594-c96b42d3d7c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da1c28a2-555c-4f3f-9fcb-6b98185ac25d'] 2026-01-29 02:42:34,661 - WARNING - Deleting VN ctest-vn-01638546 failed..Will retry 2026-01-29 02:42:36,814 - DEBUG - Response for deleting network () 2026-01-29 02:42:36,814 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7d357eca-5fc9-43c1-9771-2398d63fb539 2026-01-29 02:42:36,819 - DEBUG - Response Code: 404 2026-01-29 02:42:36,819 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-29 02:42:36,824 - DEBUG - Requesting: http://10.0.0.23:8082/domain/65230a56-1cf0-4d34-9498-1ad48da04806 2026-01-29 02:42:36,877 - DEBUG - Requesting: http://10.0.0.23:8082/project/ebb3ab57-43dc-486b-879c-d88823288af2 2026-01-29 02:42:36,972 - INFO - Validated that VN ctest-vn-01638546 is not found in API Server 2026-01-29 02:42:36,983 - DEBUG - VN ctest-vn-01638546 is not present in Agent 10.0.0.49 2026-01-29 02:42:36,994 - DEBUG - VN ctest-vn-01638546 is not present in Agent 10.0.0.128 2026-01-29 02:42:36,994 - INFO - Validated that VN ctest-vn-01638546 is not in any agent 2026-01-29 02:42:37,021 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01638546 info 2026-01-29 02:42:37,021 - INFO - Deleting VN ctest-vn-34735274 2026-01-29 02:42:37,225 - DEBUG - Response for deleting network () 2026-01-29 02:42:37,225 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/44a37b15-2d32-4f89-91f8-8cb3996a57b2 2026-01-29 02:42:37,231 - DEBUG - Response Code: 404 2026-01-29 02:42:37,231 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-29 02:42:37,236 - DEBUG - Requesting: http://10.0.0.23:8082/domain/65230a56-1cf0-4d34-9498-1ad48da04806 2026-01-29 02:42:37,248 - DEBUG - Requesting: http://10.0.0.23:8082/project/ebb3ab57-43dc-486b-879c-d88823288af2 2026-01-29 02:42:37,363 - INFO - Validated that VN ctest-vn-34735274 is not found in API Server 2026-01-29 02:42:37,374 - DEBUG - VN ctest-vn-34735274 is not present in Agent 10.0.0.49 2026-01-29 02:42:37,384 - DEBUG - VN ctest-vn-34735274 is not present in Agent 10.0.0.128 2026-01-29 02:42:37,384 - INFO - Validated that VN ctest-vn-34735274 is not in any agent 2026-01-29 02:42:37,415 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34735274 info 2026-01-29 02:42:38,700 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 02:42:38,700 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:55] 2026-01-29 02:42:38,700 - INFO - -------------------------------------------------------------------------------- 2026-01-29 02:42:39,461 - INFO - Deleted project: ctest-TestBasicPolicy-66100795, ID : ebb3ab57-43dc-486b-879c-d88823288af2