2026-06-04 03:08:45,581 - INFO - Domain Default found not creating 2026-06-04 03:08:45,816 - INFO - Project ctest-TestBasicPolicy-31962294 not found, creating it 2026-06-04 03:08:46,376 - INFO - Created Project:ctest-TestBasicPolicy-31962294, ID : 54f9a21c-6dc7-4618-ac6e-2ea4a6e65607 2026-06-04 03:08:48,193 - INFO - ================================================================================ 2026-06-04 03:08:48,193 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 03:08:48,193 - 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-06-04 03:08:49,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2026-06-04 03:08:49,488 - INFO - Initial checks done. Running the testcase now 2026-06-04 03:08:49,488 - INFO - 2026-06-04 03:08:50,257 - DEBUG - Response for create_network : {'network': {'id': '948881b0-04e4-4b72-ad32-f457b35249fc', 'name': 'ctest-vn-52378741', 'tenant_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'project_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31962294', 'ctest-vn-52378741'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 03:08:50,607 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ca87bdd-841a-4c75-a975-76063add1f6f', 'name': '', 'tenant_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'network_id': '948881b0-04e4-4b72-ad32-f457b35249fc', 'ip_version': 4, 'cidr': '72.208.56.192/26', 'allocation_pools': [{'start': '72.208.56.194', 'end': '72.208.56.254'}], 'gateway_ip': '72.208.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.208.56.194', 'tags': [], 'project_id': '54f9a21c6dc74618ac6e2ea4a6e65607'}} 2026-06-04 03:08:50,638 - INFO - Created VN ctest-vn-52378741 2026-06-04 03:08:50,659 - DEBUG - VN ctest-vn-52378741 UUID is 948881b0-04e4-4b72-ad32-f457b35249fc 2026-06-04 03:08:51,060 - DEBUG - Response for create_network : {'network': {'id': '04927997-19e6-4a3b-9548-73362431447d', 'name': 'ctest-vn-22957113', 'tenant_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'project_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31962294', 'ctest-vn-22957113'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 03:08:51,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '57b5d849-cdc1-4601-b8d9-2356c94ab582', 'name': '', 'tenant_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'network_id': '04927997-19e6-4a3b-9548-73362431447d', 'ip_version': 4, 'cidr': '18.111.114.192/26', 'allocation_pools': [{'start': '18.111.114.194', 'end': '18.111.114.254'}], 'gateway_ip': '18.111.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.111.114.194', 'tags': [], 'project_id': '54f9a21c6dc74618ac6e2ea4a6e65607'}} 2026-06-04 03:08:51,300 - INFO - Created VN ctest-vn-22957113 2026-06-04 03:08:51,313 - DEBUG - VN ctest-vn-22957113 UUID is 04927997-19e6-4a3b-9548-73362431447d 2026-06-04 03:08:51,416 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741, 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-31962294:ctest-vn-22957113, 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-06-04 03:08:51,786 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '948881b0-04e4-4b72-ad32-f457b35249fc', 'name': 'ctest-vn-52378741', 'tenant_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'project_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ca87bdd-841a-4c75-a975-76063add1f6f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31962294', 'ctest-vn-52378741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31962294', 'ctest-policy-allow-all-80457784']], 'subnet_ipam': [{'subnet_cidr': '72.208.56.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 03:08:52,018 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04927997-19e6-4a3b-9548-73362431447d', 'name': 'ctest-vn-22957113', 'tenant_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'project_id': '54f9a21c6dc74618ac6e2ea4a6e65607', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57b5d849-cdc1-4601-b8d9-2356c94ab582'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31962294', 'ctest-vn-22957113'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31962294', 'ctest-policy-allow-all-80457784']], 'subnet_ipam': [{'subnet_cidr': '18.111.114.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 03:08:52,128 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:08:52,478 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:08:52,522 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:08:52,539 - DEBUG - Requesting: http://10.0.0.242:8082/project/54f9a21c-6dc7-4618-ac6e-2ea4a6e65607 2026-06-04 03:08:52,642 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/948881b0-04e4-4b72-ad32-f457b35249fc 2026-06-04 03:08:52,663 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/948881b0-04e4-4b72-ad32-f457b35249fc 2026-06-04 03:08:52,677 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6f24cc89-d005-4688-85c7-f1da795ac08b 2026-06-04 03:08:52,686 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6f24cc89-d005-4688-85c7-f1da795ac08b 2026-06-04 03:08:52,695 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ea705455-996e-451f-a2f0-453cebc673ea 2026-06-04 03:08:52,709 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 03:08:52,709 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/948881b0-04e4-4b72-ad32-f457b35249fc 2026-06-04 03:08:52,722 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6f24cc89-d005-4688-85c7-f1da795ac08b 2026-06-04 03:08:52,752 - INFO - Verified VN network id 13 for VN 948881b0-04e4-4b72-ad32-f457b35249fc 2026-06-04 03:08:52,752 - INFO - Verifications in API Server for VN ctest-vn-52378741 passed 2026-06-04 03:08:52,752 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/948881b0-04e4-4b72-ad32-f457b35249fc 2026-06-04 03:08:52,773 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6f24cc89-d005-4688-85c7-f1da795ac08b 2026-06-04 03:08:52,785 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6f24cc89-d005-4688-85c7-f1da795ac08b 2026-06-04 03:08:52,794 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ea705455-996e-451f-a2f0-453cebc673ea 2026-06-04 03:08:52,809 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31962294', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10702947107442281330', 'uuid-lslong': '12480306174904912380'}, 'enable': 'true', 'created': '2026-06-04T03:08:50', 'last-modified': '2026-06-04T03:08:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070837'} 2026-06-04 03:08:52,815 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 03:08:52,833 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31962294', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10702947107442281330', 'uuid-lslong': '12480306174904912380'}, 'enable': 'true', 'created': '2026-06-04T03:08:50', 'last-modified': '2026-06-04T03:08:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.081173'} 2026-06-04 03:08:52,846 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 03:08:52,857 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31962294', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10702947107442281330', 'uuid-lslong': '12480306174904912380'}, 'enable': 'true', 'created': '2026-06-04T03:08:50', 'last-modified': '2026-06-04T03:08:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.116517'} 2026-06-04 03:08:52,867 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 03:08:52,867 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52378741 passed 2026-06-04 03:08:52,867 - DEBUG - ====Verifying policy data for ctest-vn-52378741 in API_Server ====== 2026-06-04 03:08:52,867 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:08:52,875 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:08:52,893 - DEBUG - Requesting: http://10.0.0.242:8082/project/54f9a21c-6dc7-4618-ac6e-2ea4a6e65607 2026-06-04 03:08:53,024 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/948881b0-04e4-4b72-ad32-f457b35249fc 2026-06-04 03:08:53,036 - DEBUG - ==>Verifying data for policy with id: 5237ddc8-91e8-456a-902e-1426d310797a, fqn: ['default-domain', 'ctest-TestBasicPolicy-31962294', 'ctest-policy-allow-all-80457784'] 2026-06-04 03:08:53,036 - INFO - VN ctest-vn-52378741 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 03:08:53,036 - DEBUG - Verifying the vn in opserver 2026-06-04 03:08:53,036 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 virtual network link through opserver 10.0.0.242 2026-06-04 03:08:53,036 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-04 03:08:53,346 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-04 03:08:53,435 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741?flat'} 2026-06-04 03:08:53,435 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 virtual network link through opserver 10.0.0.50 2026-06-04 03:08:53,435 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 03:08:53,786 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 03:08:53,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741?flat'} 2026-06-04 03:08:53,866 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 virtual network link through opserver 10.0.0.27 2026-06-04 03:08:53,866 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-04 03:08:54,186 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-04 03:08:54,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741?flat'} 2026-06-04 03:08:54,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is found in opserver 2026-06-04 03:08:54,290 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 03:08:54,301 - DEBUG - VRF ids for VN ctest-vn-52378741: {} 2026-06-04 03:08:54,301 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:08:54,307 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:08:54,320 - DEBUG - Requesting: http://10.0.0.242:8082/project/54f9a21c-6dc7-4618-ac6e-2ea4a6e65607 2026-06-04 03:08:54,424 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04927997-19e6-4a3b-9548-73362431447d 2026-06-04 03:08:54,444 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04927997-19e6-4a3b-9548-73362431447d 2026-06-04 03:08:54,462 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/12560455-79a6-4a59-b8c4-42529e548ac4 2026-06-04 03:08:54,475 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/12560455-79a6-4a59-b8c4-42529e548ac4 2026-06-04 03:08:54,486 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e7610109-4884-4f27-86f5-5530a2abb4e0 2026-06-04 03:08:54,493 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 03:08:54,494 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04927997-19e6-4a3b-9548-73362431447d 2026-06-04 03:08:54,506 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/12560455-79a6-4a59-b8c4-42529e548ac4 2026-06-04 03:08:54,526 - INFO - Verified VN network id 14 for VN 04927997-19e6-4a3b-9548-73362431447d 2026-06-04 03:08:54,526 - INFO - Verifications in API Server for VN ctest-vn-22957113 passed 2026-06-04 03:08:54,527 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04927997-19e6-4a3b-9548-73362431447d 2026-06-04 03:08:54,539 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/12560455-79a6-4a59-b8c4-42529e548ac4 2026-06-04 03:08:54,547 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/12560455-79a6-4a59-b8c4-42529e548ac4 2026-06-04 03:08:54,555 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e7610109-4884-4f27-86f5-5530a2abb4e0 2026-06-04 03:08:54,569 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31962294', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '329459412633012795', 'uuid-lslong': '10756974386347066493'}, 'enable': 'true', 'created': '2026-06-04T03:08:50', 'last-modified': '2026-06-04T03:08:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.586639'} 2026-06-04 03:08:54,576 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 03:08:54,582 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31962294', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '329459412633012795', 'uuid-lslong': '10756974386347066493'}, 'enable': 'true', 'created': '2026-06-04T03:08:50', 'last-modified': '2026-06-04T03:08:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.602786'} 2026-06-04 03:08:54,589 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 03:08:54,595 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31962294', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '329459412633012795', 'uuid-lslong': '10756974386347066493'}, 'enable': 'true', 'created': '2026-06-04T03:08:50', 'last-modified': '2026-06-04T03:08:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.615493'} 2026-06-04 03:08:54,603 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-04 03:08:54,604 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22957113 passed 2026-06-04 03:08:54,604 - DEBUG - ====Verifying policy data for ctest-vn-22957113 in API_Server ====== 2026-06-04 03:08:54,604 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:08:54,613 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:08:54,633 - DEBUG - Requesting: http://10.0.0.242:8082/project/54f9a21c-6dc7-4618-ac6e-2ea4a6e65607 2026-06-04 03:08:54,752 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/04927997-19e6-4a3b-9548-73362431447d 2026-06-04 03:08:54,764 - DEBUG - ==>Verifying data for policy with id: 5237ddc8-91e8-456a-902e-1426d310797a, fqn: ['default-domain', 'ctest-TestBasicPolicy-31962294', 'ctest-policy-allow-all-80457784'] 2026-06-04 03:08:54,764 - INFO - VN ctest-vn-22957113 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 03:08:54,764 - DEBUG - Verifying the vn in opserver 2026-06-04 03:08:54,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113 virtual network link through opserver 10.0.0.242 2026-06-04 03:08:54,764 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-04 03:08:55,164 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113?flat'} 2026-06-04 03:08:55,164 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113 virtual network link through opserver 10.0.0.50 2026-06-04 03:08:55,164 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-04 03:08:55,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113?flat'} 2026-06-04 03:08:55,624 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113 virtual network link through opserver 10.0.0.27 2026-06-04 03:08:55,624 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-06-04 03:08:55,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113?flat'} 2026-06-04 03:08:55,755 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-22957113 is found in opserver 2026-06-04 03:08:55,782 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 03:08:55,796 - DEBUG - VRF ids for VN ctest-vn-22957113: {} 2026-06-04 03:08:55,887 - DEBUG - Services list from nova: [, , , ] 2026-06-04 03:08:57,224 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5884-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5884-2) 2026-06-04 03:08:58,921 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5884-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5884-1) 2026-06-04 03:08:58,921 - INFO - Waiting for VM ctest-TestBasicPolicy-31962294-74885773 to be up.. 2026-06-04 03:08:59,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 03:09:04,161 - DEBUG - VM is in ACTIVE state now 2026-06-04 03:09:04,161 - INFO - VM name : ctest-TestBasicPolicy-31962294-74885773 2026-06-04 03:09:04,270 - DEBUG - VM ctest-TestBasicPolicy-31962294-74885773 ID is 48222468-28a5-4858-a082-36c260f69c64 2026-06-04 03:09:04,311 - DEBUG - VM ctest-TestBasicPolicy-31962294-74885773 launched on Node an-jenkins-deploy-platform-ansible-os-5884-2 2026-06-04 03:09:04,422 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/48222468-28a5-4858-a082-36c260f69c64 2026-06-04 03:09:04,761 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/48222468-28a5-4858-a082-36c260f69c64 2026-06-04 03:09:04,808 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/38f5db53-ed17-41f0-a398-f13e28a6693f 2026-06-04 03:09:08,003 - 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 1018ms') 2026-06-04 03:09:08,003 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 failed! 2026-06-04 03:09:08,020 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is 72.208.56.193 and allocation pool is NOT set 2026-06-04 03:09:12,097 - 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-06-04 03:09:12,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 failed! 2026-06-04 03:09:12,115 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is 72.208.56.193 and allocation pool is NOT set 2026-06-04 03:09:16,200 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-06-04 03:09:16,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 failed! 2026-06-04 03:09:16,220 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is 72.208.56.193 and allocation pool is NOT set 2026-06-04 03:09:20,295 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-06-04 03:09:20,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 failed! 2026-06-04 03:09:20,311 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is 72.208.56.193 and allocation pool is NOT set 2026-06-04 03:09:24,384 - 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-06-04 03:09:24,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 failed! 2026-06-04 03:09:24,400 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is 72.208.56.193 and allocation pool is NOT set 2026-06-04 03:09:28,482 - 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 1018ms') 2026-06-04 03:09:28,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 failed! 2026-06-04 03:09:28,503 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is 72.208.56.193 and allocation pool is NOT set 2026-06-04 03:09:32,580 - 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-06-04 03:09:32,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 failed! 2026-06-04 03:09:32,596 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is 72.208.56.193 and allocation pool is NOT set 2026-06-04 03:09:36,675 - 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-06-04 03:09:36,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 failed! 2026-06-04 03:09:36,695 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31962294:ctest-vn-52378741 is 72.208.56.193 and allocation pool is NOT set 2026-06-04 03:09:40,769 - 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=2 ttl=63 time=15.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 14.962/14.962/14.962/0.000 ms') 2026-06-04 03:09:40,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-74885773 passed 2026-06-04 03:09:40,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:09:40,843 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31962294-74885773, IP 72.208.56.195, Port 22 2026-06-04 03:09:40,915 - 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-06-04 03:09:41,021 - DEBUG - VM ctest-TestBasicPolicy-31962294-74885773 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:09:46,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:09:46,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31962294-74885773, IP 72.208.56.195, Port 22 2026-06-04 03:09:46,090 - 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-06-04 03:09:46,200 - DEBUG - VM ctest-TestBasicPolicy-31962294-74885773 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:09:51,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:09:51,201 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31962294-74885773, IP 72.208.56.195, Port 22 2026-06-04 03:09:51,261 - 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-06-04 03:09:51,373 - DEBUG - VM ctest-TestBasicPolicy-31962294-74885773 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:09:56,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:09:56,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31962294-74885773, IP 72.208.56.195, Port 22 2026-06-04 03:09:56,433 - 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-06-04 03:09:56,579 - DEBUG - VM ctest-TestBasicPolicy-31962294-74885773 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:10:01,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:10:01,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31962294-74885773, IP 72.208.56.195, Port 22 2026-06-04 03:10:01,638 - 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-06-04 03:10:01,754 - DEBUG - VM ctest-TestBasicPolicy-31962294-74885773 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:10:06,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:10:06,755 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31962294-74885773, IP 72.208.56.195, Port 22 2026-06-04 03:10:06,932 - DEBUG - VM ctest-TestBasicPolicy-31962294-74885773 is ready for SSH connections 2026-06-04 03:10:06,933 - INFO - Waiting for VM ctest-TestBasicPolicy-31962294-89817566 to be up.. 2026-06-04 03:10:07,038 - DEBUG - VM is in ACTIVE state now 2026-06-04 03:10:07,039 - INFO - VM name : ctest-TestBasicPolicy-31962294-89817566 2026-06-04 03:10:07,157 - DEBUG - VM ctest-TestBasicPolicy-31962294-89817566 ID is 0b194052-8ed0-4db1-96a9-c9b194e43705 2026-06-04 03:10:07,158 - DEBUG - VM ctest-TestBasicPolicy-31962294-89817566 launched on Node an-jenkins-deploy-platform-ansible-os-5884-1 2026-06-04 03:10:07,276 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0b194052-8ed0-4db1-96a9-c9b194e43705 2026-06-04 03:10:07,287 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cf5f5d10-3acc-40c2-903f-0c59813f3ae2 2026-06-04 03:10:08,464 - 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=4.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.834 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 = 0.834/2.719/4.605/1.885 ms') 2026-06-04 03:10:08,464 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31962294-89817566 passed 2026-06-04 03:10:08,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:10:08,539 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31962294-89817566, IP 18.111.114.195, Port 22 2026-06-04 03:10:08,714 - DEBUG - VM ctest-TestBasicPolicy-31962294-89817566 is ready for SSH connections 2026-06-04 03:10:08,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:10:08,715 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.111.114.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:10:08,715 - DEBUG - ping -s 56 -c 3 -W 1 18.111.114.195 2026-06-04 03:10:31,121 - DEBUG - PING 18.111.114.195 (18.111.114.195) 56(84) bytes of data. 64 bytes from 18.111.114.195: icmp_req=1 ttl=63 time=8.50 ms 64 bytes from 18.111.114.195: icmp_req=2 ttl=63 time=5.03 ms 64 bytes from 18.111.114.195: icmp_req=3 ttl=63 time=2.06 ms --- 18.111.114.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2009ms rtt min/avg/max/mdev = 2.060/5.198/8.503/2.633 ms 2026-06-04 03:10:31,121 - INFO - Ping to IP 18.111.114.195 from VM ctest-TestBasicPolicy-31962294-74885773 passed 2026-06-04 03:10:31,373 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5237ddc8-91e8-456a-902e-1426d310797a", "href": "http://10.0.0.27:8082/network-policy/5237ddc8-91e8-456a-902e-1426d310797a"}} 2026-06-04 03:10:31,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:10:31,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.111.114.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:10:31,374 - DEBUG - ping -s 56 -c 3 -W 1 18.111.114.195 2026-06-04 03:10:35,254 - DEBUG - PING 18.111.114.195 (18.111.114.195) 56(84) bytes of data. --- 18.111.114.195 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2001ms 2026-06-04 03:10:35,255 - WARNING - Ping to IP 18.111.114.195 from VM ctest-TestBasicPolicy-31962294-74885773 failed 2026-06-04 03:10:35,255 - INFO - Deleting VM ctest-TestBasicPolicy-31962294-89817566 2026-06-04 03:10:35,346 - INFO - Deleting VM ctest-TestBasicPolicy-31962294-74885773 2026-06-04 03:10:35,863 - INFO - Deleted policy ctest-policy-allow-all-80457784 2026-06-04 03:10:35,863 - INFO - Deleting VN ctest-vn-22957113 2026-06-04 03:10:35,936 - DEBUG - VN 04927997-19e6-4a3b-9548-73362431447d still in use: Unable to complete operation on network 04927997-19e6-4a3b-9548-73362431447d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78b9e947-04a4-44bc-aa7d-3b6a67d68f9e'] 2026-06-04 03:10:35,936 - WARNING - Deleting VN ctest-vn-22957113 failed..Will retry 2026-06-04 03:10:38,202 - DEBUG - Response for deleting network () 2026-06-04 03:10:38,202 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/12560455-79a6-4a59-b8c4-42529e548ac4 2026-06-04 03:10:38,210 - DEBUG - Response Code: 404 2026-06-04 03:10:38,210 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:10:38,217 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:10:38,278 - DEBUG - Requesting: http://10.0.0.242:8082/project/54f9a21c-6dc7-4618-ac6e-2ea4a6e65607 2026-06-04 03:10:38,396 - INFO - Validated that VN ctest-vn-22957113 is not found in API Server 2026-06-04 03:10:38,415 - DEBUG - VN ctest-vn-22957113 is not present in Agent 10.0.0.41 2026-06-04 03:10:38,429 - DEBUG - VN ctest-vn-22957113 is not present in Agent 10.0.0.23 2026-06-04 03:10:38,429 - INFO - Validated that VN ctest-vn-22957113 is not in any agent 2026-06-04 03:10:38,471 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22957113 info 2026-06-04 03:10:38,471 - INFO - Deleting VN ctest-vn-52378741 2026-06-04 03:10:38,636 - DEBUG - Response for deleting network () 2026-06-04 03:10:38,636 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6f24cc89-d005-4688-85c7-f1da795ac08b 2026-06-04 03:10:38,642 - DEBUG - Response Code: 404 2026-06-04 03:10:38,642 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:10:38,651 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:10:38,669 - DEBUG - Requesting: http://10.0.0.242:8082/project/54f9a21c-6dc7-4618-ac6e-2ea4a6e65607 2026-06-04 03:10:38,778 - INFO - Validated that VN ctest-vn-52378741 is not found in API Server 2026-06-04 03:10:38,795 - DEBUG - VN ctest-vn-52378741 is not present in Agent 10.0.0.41 2026-06-04 03:10:38,819 - DEBUG - VN ctest-vn-52378741 is not present in Agent 10.0.0.23 2026-06-04 03:10:38,819 - INFO - Validated that VN ctest-vn-52378741 is not in any agent 2026-06-04 03:10:38,872 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52378741 info 2026-06-04 03:10:40,190 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 03:10:40,190 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:52]
2026-06-04 03:10:40,190 - INFO - -------------------------------------------------------------------------------- 2026-06-04 03:10:40,992 - INFO - Deleted project: ctest-TestBasicPolicy-31962294, ID : 54f9a21c-6dc7-4618-ac6e-2ea4a6e65607