2026-01-26 13:12:03,407 - INFO - Domain Default found not creating 2026-01-26 13:12:03,600 - INFO - Project ctest-TestBasicPolicy-70547485 not found, creating it 2026-01-26 13:12:04,162 - INFO - Created Project:ctest-TestBasicPolicy-70547485, ID : 54d3f858-cf55-4b68-8265-0546c65b994f 2026-01-26 13:12:06,008 - INFO - ================================================================================ 2026-01-26 13:12:06,008 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-26 13:12:06,008 - 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-26 13:12:07,278 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-01-26 13:12:07,279 - INFO - Initial checks done. Running the testcase now 2026-01-26 13:12:07,279 - INFO - 2026-01-26 13:12:08,093 - DEBUG - Response for create_network : {'network': {'id': '88c153a9-96b3-4aff-a790-04ba977afeb6', 'name': 'ctest-vn-74717207', 'tenant_id': '54d3f858cf554b6882650546c65b994f', 'project_id': '54d3f858cf554b6882650546c65b994f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70547485', 'ctest-vn-74717207'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 13:12:08,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b9c1a80-e5f2-47e7-bfdb-489ea61858ad', 'name': '', 'tenant_id': '54d3f858cf554b6882650546c65b994f', 'network_id': '88c153a9-96b3-4aff-a790-04ba977afeb6', 'ip_version': 4, 'cidr': '79.8.175.192/26', 'allocation_pools': [{'start': '79.8.175.194', 'end': '79.8.175.254'}], 'gateway_ip': '79.8.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.8.175.194', 'tags': [], 'project_id': '54d3f858cf554b6882650546c65b994f'}} 2026-01-26 13:12:08,451 - INFO - Created VN ctest-vn-74717207 2026-01-26 13:12:08,463 - DEBUG - VN ctest-vn-74717207 UUID is 88c153a9-96b3-4aff-a790-04ba977afeb6 2026-01-26 13:12:08,872 - DEBUG - Response for create_network : {'network': {'id': '0ef9730f-965f-4e20-8c2b-16fcfa6bc29a', 'name': 'ctest-vn-79588942', 'tenant_id': '54d3f858cf554b6882650546c65b994f', 'project_id': '54d3f858cf554b6882650546c65b994f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70547485', 'ctest-vn-79588942'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 13:12:09,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb9fa2c8-04ef-41a6-8cbc-a4b65c068f84', 'name': '', 'tenant_id': '54d3f858cf554b6882650546c65b994f', 'network_id': '0ef9730f-965f-4e20-8c2b-16fcfa6bc29a', 'ip_version': 4, 'cidr': '177.63.128.128/26', 'allocation_pools': [{'start': '177.63.128.130', 'end': '177.63.128.190'}], 'gateway_ip': '177.63.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.63.128.130', 'tags': [], 'project_id': '54d3f858cf554b6882650546c65b994f'}} 2026-01-26 13:12:09,175 - INFO - Created VN ctest-vn-79588942 2026-01-26 13:12:09,191 - DEBUG - VN ctest-vn-79588942 UUID is 0ef9730f-965f-4e20-8c2b-16fcfa6bc29a 2026-01-26 13:12:09,296 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207, 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-70547485:ctest-vn-79588942, 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-26 13:12:09,697 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88c153a9-96b3-4aff-a790-04ba977afeb6', 'name': 'ctest-vn-74717207', 'tenant_id': '54d3f858cf554b6882650546c65b994f', 'project_id': '54d3f858cf554b6882650546c65b994f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b9c1a80-e5f2-47e7-bfdb-489ea61858ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70547485', 'ctest-vn-74717207'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70547485', 'ctest-policy-allow-all-46317198']], 'subnet_ipam': [{'subnet_cidr': '79.8.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 13:12:09,968 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ef9730f-965f-4e20-8c2b-16fcfa6bc29a', 'name': 'ctest-vn-79588942', 'tenant_id': '54d3f858cf554b6882650546c65b994f', 'project_id': '54d3f858cf554b6882650546c65b994f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb9fa2c8-04ef-41a6-8cbc-a4b65c068f84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70547485', 'ctest-vn-79588942'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70547485', 'ctest-policy-allow-all-46317198']], 'subnet_ipam': [{'subnet_cidr': '177.63.128.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 13:12:10,096 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 13:12:10,499 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 13:12:10,542 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecb760e6-4499-4c64-b24d-5f38a85b67c2 2026-01-26 13:12:10,565 - DEBUG - Requesting: http://10.0.0.38:8082/project/54d3f858-cf55-4b68-8265-0546c65b994f 2026-01-26 13:12:10,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88c153a9-96b3-4aff-a790-04ba977afeb6 2026-01-26 13:12:10,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88c153a9-96b3-4aff-a790-04ba977afeb6 2026-01-26 13:12:10,687 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f668e5c4-a4ec-4e75-bcf3-95ba10757996 2026-01-26 13:12:10,700 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f668e5c4-a4ec-4e75-bcf3-95ba10757996 2026-01-26 13:12:10,711 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/419117b2-fe79-4559-b007-926c3471bbec 2026-01-26 13:12:10,719 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 13:12:10,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88c153a9-96b3-4aff-a790-04ba977afeb6 2026-01-26 13:12:10,729 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f668e5c4-a4ec-4e75-bcf3-95ba10757996 2026-01-26 13:12:10,745 - INFO - Verified VN network id 11 for VN 88c153a9-96b3-4aff-a790-04ba977afeb6 2026-01-26 13:12:10,745 - INFO - Verifications in API Server for VN ctest-vn-74717207 passed 2026-01-26 13:12:10,745 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88c153a9-96b3-4aff-a790-04ba977afeb6 2026-01-26 13:12:10,759 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f668e5c4-a4ec-4e75-bcf3-95ba10757996 2026-01-26 13:12:10,768 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f668e5c4-a4ec-4e75-bcf3-95ba10757996 2026-01-26 13:12:10,784 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/419117b2-fe79-4559-b007-926c3471bbec 2026-01-26 13:12:10,809 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70547485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9854249447506266879', 'uuid-lslong': '12074155800432148150'}, 'enable': 'true', 'created': '2026-01-26T13:12:08', 'last-modified': '2026-01-26T13:12:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.155570'} 2026-01-26 13:12:10,824 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 13:12:10,834 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70547485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9854249447506266879', 'uuid-lslong': '12074155800432148150'}, 'enable': 'true', 'created': '2026-01-26T13:12:08', 'last-modified': '2026-01-26T13:12:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.194330'} 2026-01-26 13:12:10,841 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 13:12:10,847 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70547485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9854249447506266879', 'uuid-lslong': '12074155800432148150'}, 'enable': 'true', 'created': '2026-01-26T13:12:08', 'last-modified': '2026-01-26T13:12:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.198619'} 2026-01-26 13:12:10,853 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 13:12:10,853 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74717207 passed 2026-01-26 13:12:10,853 - DEBUG - ====Verifying policy data for ctest-vn-74717207 in API_Server ====== 2026-01-26 13:12:10,853 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 13:12:10,860 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecb760e6-4499-4c64-b24d-5f38a85b67c2 2026-01-26 13:12:10,877 - DEBUG - Requesting: http://10.0.0.38:8082/project/54d3f858-cf55-4b68-8265-0546c65b994f 2026-01-26 13:12:10,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88c153a9-96b3-4aff-a790-04ba977afeb6 2026-01-26 13:12:11,001 - DEBUG - ==>Verifying data for policy with id: 61e578f8-8c28-4d86-937f-f34f04334cdf, fqn: ['default-domain', 'ctest-TestBasicPolicy-70547485', 'ctest-policy-allow-all-46317198'] 2026-01-26 13:12:11,001 - INFO - VN ctest-vn-74717207 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 13:12:11,001 - DEBUG - Verifying the vn in opserver 2026-01-26 13:12:11,001 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207 virtual network link through opserver 10.0.0.38 2026-01-26 13:12:11,002 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-26 13:12:11,376 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-26 13:12:11,472 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207?flat'} 2026-01-26 13:12:11,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207 virtual network link through opserver 10.0.0.242 2026-01-26 13:12:11,473 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-26 13:12:11,821 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-26 13:12:11,907 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207?flat'} 2026-01-26 13:12:11,907 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207 virtual network link through opserver 10.0.0.33 2026-01-26 13:12:11,907 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-26 13:12:12,246 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-26 13:12:12,322 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207?flat'} 2026-01-26 13:12:12,322 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207 is found in opserver 2026-01-26 13:12:12,342 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 13:12:12,352 - DEBUG - VRF ids for VN ctest-vn-74717207: {} 2026-01-26 13:12:12,352 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 13:12:12,358 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecb760e6-4499-4c64-b24d-5f38a85b67c2 2026-01-26 13:12:12,372 - DEBUG - Requesting: http://10.0.0.38:8082/project/54d3f858-cf55-4b68-8265-0546c65b994f 2026-01-26 13:12:12,516 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ef9730f-965f-4e20-8c2b-16fcfa6bc29a 2026-01-26 13:12:12,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ef9730f-965f-4e20-8c2b-16fcfa6bc29a 2026-01-26 13:12:12,539 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da4dc258-d657-416b-877f-029048065da1 2026-01-26 13:12:12,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da4dc258-d657-416b-877f-029048065da1 2026-01-26 13:12:12,555 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/899873ad-913e-45df-b0da-9c683538f95b 2026-01-26 13:12:12,561 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-26 13:12:12,561 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ef9730f-965f-4e20-8c2b-16fcfa6bc29a 2026-01-26 13:12:12,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da4dc258-d657-416b-877f-029048065da1 2026-01-26 13:12:12,585 - INFO - Verified VN network id 12 for VN 0ef9730f-965f-4e20-8c2b-16fcfa6bc29a 2026-01-26 13:12:12,586 - INFO - Verifications in API Server for VN ctest-vn-79588942 passed 2026-01-26 13:12:12,586 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ef9730f-965f-4e20-8c2b-16fcfa6bc29a 2026-01-26 13:12:12,595 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da4dc258-d657-416b-877f-029048065da1 2026-01-26 13:12:12,606 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da4dc258-d657-416b-877f-029048065da1 2026-01-26 13:12:12,614 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/899873ad-913e-45df-b0da-9c683538f95b 2026-01-26 13:12:12,626 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70547485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1079020096516476448', 'uuid-lslong': '10100191865097405082'}, 'enable': 'true', 'created': '2026-01-26T13:12:08', 'last-modified': '2026-01-26T13:12:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.715140'} 2026-01-26 13:12:12,632 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-26 13:12:12,638 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70547485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1079020096516476448', 'uuid-lslong': '10100191865097405082'}, 'enable': 'true', 'created': '2026-01-26T13:12:08', 'last-modified': '2026-01-26T13:12:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.729259'} 2026-01-26 13:12:12,644 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-26 13:12:12,649 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70547485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1079020096516476448', 'uuid-lslong': '10100191865097405082'}, 'enable': 'true', 'created': '2026-01-26T13:12:08', 'last-modified': '2026-01-26T13:12:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.736518'} 2026-01-26 13:12:12,656 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-26 13:12:12,656 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79588942 passed 2026-01-26 13:12:12,656 - DEBUG - ====Verifying policy data for ctest-vn-79588942 in API_Server ====== 2026-01-26 13:12:12,656 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 13:12:12,663 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecb760e6-4499-4c64-b24d-5f38a85b67c2 2026-01-26 13:12:12,674 - DEBUG - Requesting: http://10.0.0.38:8082/project/54d3f858-cf55-4b68-8265-0546c65b994f 2026-01-26 13:12:12,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0ef9730f-965f-4e20-8c2b-16fcfa6bc29a 2026-01-26 13:12:12,789 - DEBUG - ==>Verifying data for policy with id: 61e578f8-8c28-4d86-937f-f34f04334cdf, fqn: ['default-domain', 'ctest-TestBasicPolicy-70547485', 'ctest-policy-allow-all-46317198'] 2026-01-26 13:12:12,789 - INFO - VN ctest-vn-79588942 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 13:12:12,789 - DEBUG - Verifying the vn in opserver 2026-01-26 13:12:12,790 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942 virtual network link through opserver 10.0.0.38 2026-01-26 13:12:12,790 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-26 13:12:12,857 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942?flat'} 2026-01-26 13:12:12,857 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942 virtual network link through opserver 10.0.0.242 2026-01-26 13:12:12,857 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-26 13:12:12,938 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942?flat'} 2026-01-26 13:12:12,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942 virtual network link through opserver 10.0.0.33 2026-01-26 13:12:12,938 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-26 13:12:13,004 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942?flat'} 2026-01-26 13:12:13,004 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-79588942 is found in opserver 2026-01-26 13:12:13,024 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 13:12:13,033 - DEBUG - VRF ids for VN ctest-vn-79588942: {} 2026-01-26 13:12:13,092 - DEBUG - Services list from nova: [, , , ] 2026-01-26 13:12:14,250 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5080-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5080-2) 2026-01-26 13:12:15,788 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5080-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5080-1) 2026-01-26 13:12:15,788 - INFO - Waiting for VM ctest-TestBasicPolicy-70547485-38985417 to be up.. 2026-01-26 13:12:15,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 13:12:21,003 - DEBUG - VM is in ACTIVE state now 2026-01-26 13:12:21,003 - INFO - VM name : ctest-TestBasicPolicy-70547485-38985417 2026-01-26 13:12:21,095 - DEBUG - VM ctest-TestBasicPolicy-70547485-38985417 ID is e3877deb-9ec8-44dd-af24-29ee32d8d5fb 2026-01-26 13:12:21,123 - DEBUG - VM ctest-TestBasicPolicy-70547485-38985417 launched on Node an-jenkins-deploy-platform-ansible-os-5080-2 2026-01-26 13:12:21,218 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e3877deb-9ec8-44dd-af24-29ee32d8d5fb 2026-01-26 13:12:21,562 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e3877deb-9ec8-44dd-af24-29ee32d8d5fb 2026-01-26 13:12:21,601 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d9d20a11-09a9-4211-9dd8-05f0a7e858fa 2026-01-26 13:12:24,810 - 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-01-26 13:12:24,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70547485-38985417 failed! 2026-01-26 13:12:24,827 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70547485:ctest-vn-74717207 is 79.8.175.193 and allocation pool is NOT set 2026-01-26 13:12:26,892 - 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=9.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 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.306/5.466/9.627/4.160 ms') 2026-01-26 13:12:26,892 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70547485-38985417 passed 2026-01-26 13:12:27,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:12:27,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70547485-38985417, IP 79.8.175.195, Port 22 2026-01-26 13:12:27,180 - DEBUG - VM ctest-TestBasicPolicy-70547485-38985417 is ready for SSH connections 2026-01-26 13:12:27,180 - INFO - Waiting for VM ctest-TestBasicPolicy-70547485-14598128 to be up.. 2026-01-26 13:12:27,268 - DEBUG - VM is in ACTIVE state now 2026-01-26 13:12:27,269 - INFO - VM name : ctest-TestBasicPolicy-70547485-14598128 2026-01-26 13:12:27,353 - DEBUG - VM ctest-TestBasicPolicy-70547485-14598128 ID is 5447a166-cbbc-4ee7-9e8a-04f902bb59ad 2026-01-26 13:12:27,353 - DEBUG - VM ctest-TestBasicPolicy-70547485-14598128 launched on Node an-jenkins-deploy-platform-ansible-os-5080-1 2026-01-26 13:12:27,457 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5447a166-cbbc-4ee7-9e8a-04f902bb59ad 2026-01-26 13:12:27,468 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/369b54e8-4a03-45e2-b576-97dc19588443 2026-01-26 13:12:28,691 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.222/4.059/5.896/1.837 ms') 2026-01-26 13:12:28,691 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70547485-14598128 passed 2026-01-26 13:12:28,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:12:28,806 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70547485-14598128, IP 177.63.128.131, Port 22 2026-01-26 13:12:28,873 - 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-01-26 13:12:28,971 - DEBUG - VM ctest-TestBasicPolicy-70547485-14598128 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-26 13:12:33,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:12:33,972 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70547485-14598128, IP 177.63.128.131, Port 22 2026-01-26 13:12:34,146 - DEBUG - VM ctest-TestBasicPolicy-70547485-14598128 is ready for SSH connections 2026-01-26 13:12:34,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:12:34,146 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.63.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-26 13:12:34,146 - DEBUG - ping -s 56 -c 3 -W 1 177.63.128.131 2026-01-26 13:12:38,158 - DEBUG - PING 177.63.128.131 (177.63.128.131): 56 data bytes 64 bytes from 177.63.128.131: seq=0 ttl=63 time=5.421 ms 64 bytes from 177.63.128.131: seq=1 ttl=63 time=1.451 ms 64 bytes from 177.63.128.131: seq=2 ttl=63 time=1.049 ms --- 177.63.128.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.049/2.640/5.421 ms 2026-01-26 13:12:38,158 - INFO - Ping to IP 177.63.128.131 from VM ctest-TestBasicPolicy-70547485-38985417 passed 2026-01-26 13:12:38,380 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61e578f8-8c28-4d86-937f-f34f04334cdf", "href": "http://10.0.0.33:8082/network-policy/61e578f8-8c28-4d86-937f-f34f04334cdf"}} 2026-01-26 13:12:38,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:12:38,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.63.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-26 13:12:38,380 - DEBUG - ping -s 56 -c 3 -W 1 177.63.128.131 2026-01-26 13:12:41,602 - DEBUG - PING 177.63.128.131 (177.63.128.131): 56 data bytes --- 177.63.128.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-26 13:12:41,602 - WARNING - Ping to IP 177.63.128.131 from VM ctest-TestBasicPolicy-70547485-38985417 failed 2026-01-26 13:12:41,603 - INFO - Deleting VM ctest-TestBasicPolicy-70547485-14598128 2026-01-26 13:12:41,679 - INFO - Deleting VM ctest-TestBasicPolicy-70547485-38985417 2026-01-26 13:12:42,194 - INFO - Deleted policy ctest-policy-allow-all-46317198 2026-01-26 13:12:42,194 - INFO - Deleting VN ctest-vn-79588942 2026-01-26 13:12:42,286 - DEBUG - VN 0ef9730f-965f-4e20-8c2b-16fcfa6bc29a still in use: Unable to complete operation on network 0ef9730f-965f-4e20-8c2b-16fcfa6bc29a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0ccd5ef-1fce-45cd-8e10-2896f161682e'] 2026-01-26 13:12:42,287 - WARNING - Deleting VN ctest-vn-79588942 failed..Will retry 2026-01-26 13:12:44,476 - DEBUG - Response for deleting network () 2026-01-26 13:12:44,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da4dc258-d657-416b-877f-029048065da1 2026-01-26 13:12:44,483 - DEBUG - Response Code: 404 2026-01-26 13:12:44,483 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 13:12:44,492 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecb760e6-4499-4c64-b24d-5f38a85b67c2 2026-01-26 13:12:44,546 - DEBUG - Requesting: http://10.0.0.38:8082/project/54d3f858-cf55-4b68-8265-0546c65b994f 2026-01-26 13:12:44,660 - INFO - Validated that VN ctest-vn-79588942 is not found in API Server 2026-01-26 13:12:44,671 - DEBUG - VN ctest-vn-79588942 is not present in Agent 10.0.0.22 2026-01-26 13:12:44,681 - DEBUG - VN ctest-vn-79588942 is not present in Agent 10.0.0.249 2026-01-26 13:12:44,681 - INFO - Validated that VN ctest-vn-79588942 is not in any agent 2026-01-26 13:12:44,716 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79588942 info 2026-01-26 13:12:44,717 - INFO - Deleting VN ctest-vn-74717207 2026-01-26 13:12:44,990 - DEBUG - Response for deleting network () 2026-01-26 13:12:44,990 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f668e5c4-a4ec-4e75-bcf3-95ba10757996 2026-01-26 13:12:44,996 - DEBUG - Response Code: 404 2026-01-26 13:12:44,997 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-26 13:12:45,002 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ecb760e6-4499-4c64-b24d-5f38a85b67c2 2026-01-26 13:12:45,013 - DEBUG - Requesting: http://10.0.0.38:8082/project/54d3f858-cf55-4b68-8265-0546c65b994f 2026-01-26 13:12:45,107 - INFO - Validated that VN ctest-vn-74717207 is not found in API Server 2026-01-26 13:12:45,123 - DEBUG - VN ctest-vn-74717207 is not present in Agent 10.0.0.22 2026-01-26 13:12:45,135 - DEBUG - VN ctest-vn-74717207 is not present in Agent 10.0.0.249 2026-01-26 13:12:45,135 - INFO - Validated that VN ctest-vn-74717207 is not in any agent 2026-01-26 13:12:45,166 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74717207 info 2026-01-26 13:12:46,451 - DEBUG - No XMPP flaps were noticed during the test 2026-01-26 13:12:46,452 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2026-01-26 13:12:46,452 - INFO - -------------------------------------------------------------------------------- 2026-01-26 13:12:47,236 - INFO - Deleted project: ctest-TestBasicPolicy-70547485, ID : 54d3f858-cf55-4b68-8265-0546c65b994f