2026-08-17 03:04:06,871 - INFO - Domain Default found not creating 2026-08-17 03:04:07,053 - INFO - Project ctest-TestBasicPolicy-04063968 not found, creating it 2026-08-17 03:04:07,687 - INFO - Created Project:ctest-TestBasicPolicy-04063968, ID : 98bcd357-1127-461a-bcc5-f3152209a44a 2026-08-17 03:04:09,490 - INFO - ================================================================================ 2026-08-17 03:04:09,490 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 03:04:09,490 - 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-08-17 03:04:10,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.186': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-08-17 03:04:10,813 - INFO - Initial checks done. Running the testcase now 2026-08-17 03:04:10,814 - INFO - 2026-08-17 03:04:11,659 - DEBUG - Response for create_network : {'network': {'id': 'a235d47d-30ed-49df-8b4c-62d2a5569a65', 'name': 'ctest-vn-65609298', 'tenant_id': '98bcd3571127461abcc5f3152209a44a', 'project_id': '98bcd3571127461abcc5f3152209a44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04063968', 'ctest-vn-65609298'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 03:04:12,004 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbdd13e8-c2e6-4730-88cb-abc6c326999e', 'name': '', 'tenant_id': '98bcd3571127461abcc5f3152209a44a', 'network_id': 'a235d47d-30ed-49df-8b4c-62d2a5569a65', 'ip_version': 4, 'cidr': '6.88.231.0/26', 'allocation_pools': [{'start': '6.88.231.2', 'end': '6.88.231.62'}], 'gateway_ip': '6.88.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.88.231.2', 'tags': [], 'project_id': '98bcd3571127461abcc5f3152209a44a'}} 2026-08-17 03:04:12,029 - INFO - Created VN ctest-vn-65609298 2026-08-17 03:04:12,044 - DEBUG - VN ctest-vn-65609298 UUID is a235d47d-30ed-49df-8b4c-62d2a5569a65 2026-08-17 03:04:12,438 - DEBUG - Response for create_network : {'network': {'id': 'a1f40149-22e8-4e2d-950a-216ebbcf6c54', 'name': 'ctest-vn-46084398', 'tenant_id': '98bcd3571127461abcc5f3152209a44a', 'project_id': '98bcd3571127461abcc5f3152209a44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04063968', 'ctest-vn-46084398'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 03:04:12,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '3eeba3b3-8b77-4c73-88d1-23c781d315d1', 'name': '', 'tenant_id': '98bcd3571127461abcc5f3152209a44a', 'network_id': 'a1f40149-22e8-4e2d-950a-216ebbcf6c54', 'ip_version': 4, 'cidr': '192.185.107.64/26', 'allocation_pools': [{'start': '192.185.107.66', 'end': '192.185.107.126'}], 'gateway_ip': '192.185.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.185.107.66', 'tags': [], 'project_id': '98bcd3571127461abcc5f3152209a44a'}} 2026-08-17 03:04:12,793 - INFO - Created VN ctest-vn-46084398 2026-08-17 03:04:12,805 - DEBUG - VN ctest-vn-46084398 UUID is a1f40149-22e8-4e2d-950a-216ebbcf6c54 2026-08-17 03:04:12,886 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298, 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-04063968:ctest-vn-46084398, 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-08-17 03:04:13,417 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a235d47d-30ed-49df-8b4c-62d2a5569a65', 'name': 'ctest-vn-65609298', 'tenant_id': '98bcd3571127461abcc5f3152209a44a', 'project_id': '98bcd3571127461abcc5f3152209a44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bbdd13e8-c2e6-4730-88cb-abc6c326999e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04063968', 'ctest-vn-65609298'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04063968', 'ctest-policy-allow-all-27649180']], 'subnet_ipam': [{'subnet_cidr': '6.88.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 03:04:13,649 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1f40149-22e8-4e2d-950a-216ebbcf6c54', 'name': 'ctest-vn-46084398', 'tenant_id': '98bcd3571127461abcc5f3152209a44a', 'project_id': '98bcd3571127461abcc5f3152209a44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3eeba3b3-8b77-4c73-88d1-23c781d315d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04063968', 'ctest-vn-46084398'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04063968', 'ctest-policy-allow-all-27649180']], 'subnet_ipam': [{'subnet_cidr': '192.185.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 03:04:13,796 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 03:04:14,177 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 03:04:14,210 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482 2026-08-17 03:04:14,228 - DEBUG - Requesting: http://10.0.0.177:8082/project/98bcd357-1127-461a-bcc5-f3152209a44a 2026-08-17 03:04:14,336 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a235d47d-30ed-49df-8b4c-62d2a5569a65 2026-08-17 03:04:14,363 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a235d47d-30ed-49df-8b4c-62d2a5569a65 2026-08-17 03:04:14,387 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/47ed309f-f1a2-42d7-a7b1-937757e7f9fa 2026-08-17 03:04:14,399 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/47ed309f-f1a2-42d7-a7b1-937757e7f9fa 2026-08-17 03:04:14,411 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/fe1a3ce2-6fe8-45b4-b409-ea63bce0536a 2026-08-17 03:04:14,419 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 03:04:14,419 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a235d47d-30ed-49df-8b4c-62d2a5569a65 2026-08-17 03:04:14,431 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/47ed309f-f1a2-42d7-a7b1-937757e7f9fa 2026-08-17 03:04:14,449 - INFO - Verified VN network id 15 for VN a235d47d-30ed-49df-8b4c-62d2a5569a65 2026-08-17 03:04:14,449 - INFO - Verifications in API Server for VN ctest-vn-65609298 passed 2026-08-17 03:04:14,449 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a235d47d-30ed-49df-8b4c-62d2a5569a65 2026-08-17 03:04:14,459 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/47ed309f-f1a2-42d7-a7b1-937757e7f9fa 2026-08-17 03:04:14,468 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/47ed309f-f1a2-42d7-a7b1-937757e7f9fa 2026-08-17 03:04:14,476 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/fe1a3ce2-6fe8-45b4-b409-ea63bce0536a 2026-08-17 03:04:14,491 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04063968', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11688482042066848223', 'uuid-lslong': '10037506326358563429'}, 'enable': 'true', 'created': '2026-08-17T03:04:11', 'last-modified': '2026-08-17T03:04:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.132543'} 2026-08-17 03:04:14,497 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 03:04:14,503 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04063968', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11688482042066848223', 'uuid-lslong': '10037506326358563429'}, 'enable': 'true', 'created': '2026-08-17T03:04:11', 'last-modified': '2026-08-17T03:04:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.137735'} 2026-08-17 03:04:14,514 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 03:04:14,526 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04063968', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11688482042066848223', 'uuid-lslong': '10037506326358563429'}, 'enable': 'true', 'created': '2026-08-17T03:04:11', 'last-modified': '2026-08-17T03:04:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.161970'} 2026-08-17 03:04:14,535 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 03:04:14,536 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65609298 passed 2026-08-17 03:04:14,536 - DEBUG - ====Verifying policy data for ctest-vn-65609298 in API_Server ====== 2026-08-17 03:04:14,536 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 03:04:14,545 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482 2026-08-17 03:04:14,559 - DEBUG - Requesting: http://10.0.0.177:8082/project/98bcd357-1127-461a-bcc5-f3152209a44a 2026-08-17 03:04:14,655 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a235d47d-30ed-49df-8b4c-62d2a5569a65 2026-08-17 03:04:14,683 - DEBUG - ==>Verifying data for policy with id: 41052e4e-70ea-47ea-b662-7b60be317967, fqn: ['default-domain', 'ctest-TestBasicPolicy-04063968', 'ctest-policy-allow-all-27649180'] 2026-08-17 03:04:14,683 - INFO - VN ctest-vn-65609298 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 03:04:14,683 - DEBUG - Verifying the vn in opserver 2026-08-17 03:04:14,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 virtual network link through opserver 10.0.0.177 2026-08-17 03:04:14,683 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-17 03:04:15,069 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-17 03:04:15,149 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298?flat'} 2026-08-17 03:04:15,149 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 virtual network link through opserver 10.0.0.190 2026-08-17 03:04:15,149 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-17 03:04:15,527 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-17 03:04:15,589 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298?flat'} 2026-08-17 03:04:15,589 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 virtual network link through opserver 10.0.0.38 2026-08-17 03:04:15,589 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 03:04:15,980 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 03:04:16,069 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298?flat'} 2026-08-17 03:04:16,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 is found in opserver 2026-08-17 03:04:16,092 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 03:04:16,103 - DEBUG - VRF ids for VN ctest-vn-65609298: {} 2026-08-17 03:04:16,103 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 03:04:16,112 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482 2026-08-17 03:04:16,129 - DEBUG - Requesting: http://10.0.0.177:8082/project/98bcd357-1127-461a-bcc5-f3152209a44a 2026-08-17 03:04:16,250 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a1f40149-22e8-4e2d-950a-216ebbcf6c54 2026-08-17 03:04:16,290 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a1f40149-22e8-4e2d-950a-216ebbcf6c54 2026-08-17 03:04:16,308 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/fc1b2363-b953-429a-ab5e-bcf3193c4a25 2026-08-17 03:04:16,323 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/fc1b2363-b953-429a-ab5e-bcf3193c4a25 2026-08-17 03:04:16,335 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d07c9679-9baf-4c75-8ace-5d06fa4dd268 2026-08-17 03:04:16,347 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-17 03:04:16,347 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a1f40149-22e8-4e2d-950a-216ebbcf6c54 2026-08-17 03:04:16,360 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/fc1b2363-b953-429a-ab5e-bcf3193c4a25 2026-08-17 03:04:16,382 - INFO - Verified VN network id 16 for VN a1f40149-22e8-4e2d-950a-216ebbcf6c54 2026-08-17 03:04:16,382 - INFO - Verifications in API Server for VN ctest-vn-46084398 passed 2026-08-17 03:04:16,383 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a1f40149-22e8-4e2d-950a-216ebbcf6c54 2026-08-17 03:04:16,396 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/fc1b2363-b953-429a-ab5e-bcf3193c4a25 2026-08-17 03:04:16,409 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/fc1b2363-b953-429a-ab5e-bcf3193c4a25 2026-08-17 03:04:16,423 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d07c9679-9baf-4c75-8ace-5d06fa4dd268 2026-08-17 03:04:16,438 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04063968', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11669953948053687853', 'uuid-lslong': '10739433020899421268'}, 'enable': 'true', 'created': '2026-08-17T03:04:12', 'last-modified': '2026-08-17T03:04:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.842039'} 2026-08-17 03:04:16,445 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-17 03:04:16,452 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04063968', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11669953948053687853', 'uuid-lslong': '10739433020899421268'}, 'enable': 'true', 'created': '2026-08-17T03:04:12', 'last-modified': '2026-08-17T03:04:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.868117'} 2026-08-17 03:04:16,465 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-17 03:04:16,475 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04063968', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11669953948053687853', 'uuid-lslong': '10739433020899421268'}, 'enable': 'true', 'created': '2026-08-17T03:04:12', 'last-modified': '2026-08-17T03:04:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.885387'} 2026-08-17 03:04:16,483 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-17 03:04:16,483 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46084398 passed 2026-08-17 03:04:16,483 - DEBUG - ====Verifying policy data for ctest-vn-46084398 in API_Server ====== 2026-08-17 03:04:16,483 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 03:04:16,491 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482 2026-08-17 03:04:16,509 - DEBUG - Requesting: http://10.0.0.177:8082/project/98bcd357-1127-461a-bcc5-f3152209a44a 2026-08-17 03:04:16,633 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a1f40149-22e8-4e2d-950a-216ebbcf6c54 2026-08-17 03:04:16,649 - DEBUG - ==>Verifying data for policy with id: 41052e4e-70ea-47ea-b662-7b60be317967, fqn: ['default-domain', 'ctest-TestBasicPolicy-04063968', 'ctest-policy-allow-all-27649180'] 2026-08-17 03:04:16,649 - INFO - VN ctest-vn-46084398 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 03:04:16,649 - DEBUG - Verifying the vn in opserver 2026-08-17 03:04:16,649 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398 virtual network link through opserver 10.0.0.177 2026-08-17 03:04:16,649 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-17 03:04:16,712 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398?flat'} 2026-08-17 03:04:16,712 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398 virtual network link through opserver 10.0.0.190 2026-08-17 03:04:16,712 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-08-17 03:04:16,770 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398?flat'} 2026-08-17 03:04:16,770 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398 virtual network link through opserver 10.0.0.38 2026-08-17 03:04:16,770 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 03:04:16,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398?flat'} 2026-08-17 03:04:16,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-46084398 is found in opserver 2026-08-17 03:04:16,847 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 03:04:16,858 - DEBUG - VRF ids for VN ctest-vn-46084398: {} 2026-08-17 03:04:16,923 - DEBUG - Services list from nova: [, , , ] 2026-08-17 03:04:17,447 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6167-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6167-1) 2026-08-17 03:04:18,093 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6167-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6167-2) 2026-08-17 03:04:18,094 - INFO - Waiting for VM ctest-TestBasicPolicy-04063968-09878369 to be up.. 2026-08-17 03:04:18,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 03:04:23,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 03:04:28,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 03:04:33,480 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 03:04:38,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 03:04:43,721 - DEBUG - VM is in ACTIVE state now 2026-08-17 03:04:43,722 - INFO - VM name : ctest-TestBasicPolicy-04063968-09878369 2026-08-17 03:04:43,818 - DEBUG - VM ctest-TestBasicPolicy-04063968-09878369 ID is 18881a75-4859-473c-bf24-a9ef5cf8d87b 2026-08-17 03:04:43,854 - DEBUG - VM ctest-TestBasicPolicy-04063968-09878369 launched on Node an-jenkins-deploy-platform-ansible-os-6167-1 2026-08-17 03:04:43,960 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/18881a75-4859-473c-bf24-a9ef5cf8d87b 2026-08-17 03:04:44,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/18881a75-4859-473c-bf24-a9ef5cf8d87b 2026-08-17 03:04:44,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/68d4159b-ed4a-48b2-b759-cd63276e2074 2026-08-17 03:04:47,547 - 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 1003ms') 2026-08-17 03:04:47,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04063968-09878369 failed! 2026-08-17 03:04:47,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 is 6.88.231.1 and allocation pool is NOT set 2026-08-17 03:04:51,642 - 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-08-17 03:04:51,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04063968-09878369 failed! 2026-08-17 03:04:51,659 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 is 6.88.231.1 and allocation pool is NOT set 2026-08-17 03:04:55,738 - 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 1016ms') 2026-08-17 03:04:55,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04063968-09878369 failed! 2026-08-17 03:04:55,753 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 is 6.88.231.1 and allocation pool is NOT set 2026-08-17 03:04:59,843 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-08-17 03:04:59,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04063968-09878369 failed! 2026-08-17 03:04:59,859 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 is 6.88.231.1 and allocation pool is NOT set 2026-08-17 03:05:03,931 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-08-17 03:05:03,931 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04063968-09878369 failed! 2026-08-17 03:05:03,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 is 6.88.231.1 and allocation pool is NOT set 2026-08-17 03:05:08,033 - 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 1023ms') 2026-08-17 03:05:08,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04063968-09878369 failed! 2026-08-17 03:05:08,049 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04063968:ctest-vn-65609298 is 6.88.231.1 and allocation pool is NOT set 2026-08-17 03:05:10,117 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.031/4.509/7.988/3.478 ms') 2026-08-17 03:05:10,117 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04063968-09878369 passed 2026-08-17 03:05:10,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 03:05:10,190 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04063968-09878369, IP 6.88.231.3, Port 22 2026-08-17 03:05:10,248 - 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-08-17 03:05:10,343 - DEBUG - VM ctest-TestBasicPolicy-04063968-09878369 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 03:05:15,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 03:05:15,344 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04063968-09878369, IP 6.88.231.3, Port 22 2026-08-17 03:05:15,411 - 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-08-17 03:05:15,512 - DEBUG - VM ctest-TestBasicPolicy-04063968-09878369 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 03:05:20,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 03:05:20,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04063968-09878369, IP 6.88.231.3, Port 22 2026-08-17 03:05:20,681 - DEBUG - VM ctest-TestBasicPolicy-04063968-09878369 is ready for SSH connections 2026-08-17 03:05:20,682 - INFO - Waiting for VM ctest-TestBasicPolicy-04063968-82553579 to be up.. 2026-08-17 03:05:20,772 - DEBUG - VM is in ACTIVE state now 2026-08-17 03:05:20,772 - INFO - VM name : ctest-TestBasicPolicy-04063968-82553579 2026-08-17 03:05:20,856 - DEBUG - VM ctest-TestBasicPolicy-04063968-82553579 ID is ea284a0a-4efa-479e-b5ad-a5912fe8d2e1 2026-08-17 03:05:20,856 - DEBUG - VM ctest-TestBasicPolicy-04063968-82553579 launched on Node an-jenkins-deploy-platform-ansible-os-6167-2 2026-08-17 03:05:20,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ea284a0a-4efa-479e-b5ad-a5912fe8d2e1 2026-08-17 03:05:20,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/86f1c899-79d2-4e56-b707-27da6c4cf752 2026-08-17 03:05:22,120 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.520 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.520/2.809/5.098/2.289 ms') 2026-08-17 03:05:22,120 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04063968-82553579 passed 2026-08-17 03:05:22,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 03:05:22,194 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04063968-82553579, IP 192.185.107.67, Port 22 2026-08-17 03:05:22,262 - 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-08-17 03:05:22,351 - DEBUG - VM ctest-TestBasicPolicy-04063968-82553579 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 03:05:27,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 03:05:27,352 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04063968-82553579, IP 192.185.107.67, Port 22 2026-08-17 03:05:27,526 - DEBUG - VM ctest-TestBasicPolicy-04063968-82553579 is ready for SSH connections 2026-08-17 03:05:27,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 03:05:27,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.185.107.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-17 03:05:27,527 - DEBUG - ping -s 56 -c 3 -W 1 192.185.107.67 2026-08-17 03:06:15,267 - DEBUG - PING 192.185.107.67 (192.185.107.67) 56(84) bytes of data. 64 bytes from 192.185.107.67: icmp_req=1 ttl=63 time=16.2 ms 64 bytes from 192.185.107.67: icmp_req=2 ttl=63 time=1.30 ms 64 bytes from 192.185.107.67: icmp_req=3 ttl=63 time=1.32 ms --- 192.185.107.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.306/6.279/16.209/7.021 ms 2026-08-17 03:06:15,268 - INFO - Ping to IP 192.185.107.67 from VM ctest-TestBasicPolicy-04063968-09878369 passed 2026-08-17 03:06:15,516 - DEBUG - Policy Update Response {"network-policy": {"uuid": "41052e4e-70ea-47ea-b662-7b60be317967", "href": "http://10.0.0.38:8082/network-policy/41052e4e-70ea-47ea-b662-7b60be317967"}} 2026-08-17 03:06:15,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 03:06:15,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.185.107.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-17 03:06:15,517 - DEBUG - ping -s 56 -c 3 -W 1 192.185.107.67 2026-08-17 03:06:18,744 - DEBUG - PING 192.185.107.67 (192.185.107.67) 56(84) bytes of data. 64 bytes from 192.185.107.67: icmp_req=1 ttl=63 time=2.30 ms --- 192.185.107.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 2.302/2.302/2.302/0.000 ms 2026-08-17 03:06:18,744 - WARNING - Ping to IP 192.185.107.67 from VM ctest-TestBasicPolicy-04063968-09878369 failed 2026-08-17 03:06:18,745 - INFO - Deleting VM ctest-TestBasicPolicy-04063968-82553579 2026-08-17 03:06:18,821 - INFO - Deleting VM ctest-TestBasicPolicy-04063968-09878369 2026-08-17 03:06:19,356 - INFO - Deleted policy ctest-policy-allow-all-27649180 2026-08-17 03:06:19,356 - INFO - Deleting VN ctest-vn-46084398 2026-08-17 03:06:19,404 - DEBUG - VN a1f40149-22e8-4e2d-950a-216ebbcf6c54 still in use: Unable to complete operation on network a1f40149-22e8-4e2d-950a-216ebbcf6c54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ac2535b6-03ac-4a70-81ac-935e508a3fdf'] 2026-08-17 03:06:19,405 - WARNING - Deleting VN ctest-vn-46084398 failed..Will retry 2026-08-17 03:06:21,588 - DEBUG - Response for deleting network () 2026-08-17 03:06:21,588 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/fc1b2363-b953-429a-ab5e-bcf3193c4a25 2026-08-17 03:06:21,605 - DEBUG - Response Code: 404 2026-08-17 03:06:21,605 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 03:06:21,611 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482 2026-08-17 03:06:21,676 - DEBUG - Requesting: http://10.0.0.177:8082/project/98bcd357-1127-461a-bcc5-f3152209a44a 2026-08-17 03:06:21,778 - INFO - Validated that VN ctest-vn-46084398 is not found in API Server 2026-08-17 03:06:21,791 - DEBUG - VN ctest-vn-46084398 is not present in Agent 10.0.0.50 2026-08-17 03:06:21,801 - DEBUG - VN ctest-vn-46084398 is not present in Agent 10.0.0.186 2026-08-17 03:06:21,801 - INFO - Validated that VN ctest-vn-46084398 is not in any agent 2026-08-17 03:06:21,835 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46084398 info 2026-08-17 03:06:21,835 - INFO - Deleting VN ctest-vn-65609298 2026-08-17 03:06:22,023 - DEBUG - Response for deleting network () 2026-08-17 03:06:22,023 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/47ed309f-f1a2-42d7-a7b1-937757e7f9fa 2026-08-17 03:06:22,030 - DEBUG - Response Code: 404 2026-08-17 03:06:22,030 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 03:06:22,048 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482 2026-08-17 03:06:22,070 - DEBUG - Requesting: http://10.0.0.177:8082/project/98bcd357-1127-461a-bcc5-f3152209a44a 2026-08-17 03:06:22,178 - INFO - Validated that VN ctest-vn-65609298 is not found in API Server 2026-08-17 03:06:22,192 - DEBUG - VN ctest-vn-65609298 is not present in Agent 10.0.0.50 2026-08-17 03:06:22,204 - DEBUG - VN ctest-vn-65609298 is not present in Agent 10.0.0.186 2026-08-17 03:06:22,204 - INFO - Validated that VN ctest-vn-65609298 is not in any agent 2026-08-17 03:06:22,242 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65609298 info 2026-08-17 03:06:23,530 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 03:06:23,530 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:14]
2026-08-17 03:06:23,530 - INFO - -------------------------------------------------------------------------------- 2026-08-17 03:06:24,445 - INFO - Deleted project: ctest-TestBasicPolicy-04063968, ID : 98bcd357-1127-461a-bcc5-f3152209a44a