2026-02-09 02:37:45,348 - INFO - Domain Default found not creating 2026-02-09 02:37:45,509 - INFO - Project ctest-TestBasicPolicy-94166538 not found, creating it 2026-02-09 02:37:46,104 - INFO - Created Project:ctest-TestBasicPolicy-94166538, ID : 66367b3e-9a9f-49d3-bf97-69aa48021a45 2026-02-09 02:37:47,628 - INFO - ================================================================================ 2026-02-09 02:37:47,628 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 02:37:47,629 - 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-02-09 02:37:48,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.65': {'10.20.0.18': '0', '10.20.0.25': '0'}} with 2026-02-09 02:37:48,888 - INFO - Initial checks done. Running the testcase now 2026-02-09 02:37:48,888 - INFO - 2026-02-09 02:37:49,573 - DEBUG - Response for create_network : {'network': {'id': '49edbf47-b127-4e00-919b-de1afccbe671', 'name': 'ctest-vn-63845730', 'tenant_id': '66367b3e9a9f49d3bf9769aa48021a45', 'project_id': '66367b3e9a9f49d3bf9769aa48021a45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94166538', 'ctest-vn-63845730'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:37:49,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e5da5d6-1fbf-4c06-b57d-8ded016ddc83', 'name': '', 'tenant_id': '66367b3e9a9f49d3bf9769aa48021a45', 'network_id': '49edbf47-b127-4e00-919b-de1afccbe671', 'ip_version': 4, 'cidr': '45.132.149.192/26', 'allocation_pools': [{'start': '45.132.149.194', 'end': '45.132.149.254'}], 'gateway_ip': '45.132.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.132.149.194', 'tags': [], 'project_id': '66367b3e9a9f49d3bf9769aa48021a45'}} 2026-02-09 02:37:49,901 - INFO - Created VN ctest-vn-63845730 2026-02-09 02:37:49,917 - DEBUG - VN ctest-vn-63845730 UUID is 49edbf47-b127-4e00-919b-de1afccbe671 2026-02-09 02:37:50,360 - DEBUG - Response for create_network : {'network': {'id': '0ab38d62-4324-464e-9cb8-b95c99f8803c', 'name': 'ctest-vn-81151679', 'tenant_id': '66367b3e9a9f49d3bf9769aa48021a45', 'project_id': '66367b3e9a9f49d3bf9769aa48021a45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94166538', 'ctest-vn-81151679'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:37:50,622 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c41f8f56-8b2a-44f0-a2ca-9218d71de9b4', 'name': '', 'tenant_id': '66367b3e9a9f49d3bf9769aa48021a45', 'network_id': '0ab38d62-4324-464e-9cb8-b95c99f8803c', 'ip_version': 4, 'cidr': '210.2.222.0/26', 'allocation_pools': [{'start': '210.2.222.2', 'end': '210.2.222.62'}], 'gateway_ip': '210.2.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.2.222.2', 'tags': [], 'project_id': '66367b3e9a9f49d3bf9769aa48021a45'}} 2026-02-09 02:37:50,645 - INFO - Created VN ctest-vn-81151679 2026-02-09 02:37:50,656 - DEBUG - VN ctest-vn-81151679 UUID is 0ab38d62-4324-464e-9cb8-b95c99f8803c 2026-02-09 02:37:50,737 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730, 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-94166538:ctest-vn-81151679, 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-02-09 02:37:51,079 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '49edbf47-b127-4e00-919b-de1afccbe671', 'name': 'ctest-vn-63845730', 'tenant_id': '66367b3e9a9f49d3bf9769aa48021a45', 'project_id': '66367b3e9a9f49d3bf9769aa48021a45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e5da5d6-1fbf-4c06-b57d-8ded016ddc83'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94166538', 'ctest-vn-63845730'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94166538', 'ctest-policy-allow-all-77635154']], 'subnet_ipam': [{'subnet_cidr': '45.132.149.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:37:51,312 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ab38d62-4324-464e-9cb8-b95c99f8803c', 'name': 'ctest-vn-81151679', 'tenant_id': '66367b3e9a9f49d3bf9769aa48021a45', 'project_id': '66367b3e9a9f49d3bf9769aa48021a45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c41f8f56-8b2a-44f0-a2ca-9218d71de9b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94166538', 'ctest-vn-81151679'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94166538', 'ctest-policy-allow-all-77635154']], 'subnet_ipam': [{'subnet_cidr': '210.2.222.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:37:51,412 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 02:37:51,777 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 02:37:51,811 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 02:37:51,824 - DEBUG - Requesting: http://10.0.0.19:8082/project/66367b3e-9a9f-49d3-bf97-69aa48021a45 2026-02-09 02:37:51,914 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/49edbf47-b127-4e00-919b-de1afccbe671 2026-02-09 02:37:51,928 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/49edbf47-b127-4e00-919b-de1afccbe671 2026-02-09 02:37:51,938 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24fa021f-b2ea-4b9e-8c3a-eee55f98c5d9 2026-02-09 02:37:51,945 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24fa021f-b2ea-4b9e-8c3a-eee55f98c5d9 2026-02-09 02:37:51,952 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/d65bfc16-c852-482d-affd-c02da69396cc 2026-02-09 02:37:51,959 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 02:37:51,959 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/49edbf47-b127-4e00-919b-de1afccbe671 2026-02-09 02:37:51,968 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24fa021f-b2ea-4b9e-8c3a-eee55f98c5d9 2026-02-09 02:37:51,986 - INFO - Verified VN network id 15 for VN 49edbf47-b127-4e00-919b-de1afccbe671 2026-02-09 02:37:51,986 - INFO - Verifications in API Server for VN ctest-vn-63845730 passed 2026-02-09 02:37:51,986 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/49edbf47-b127-4e00-919b-de1afccbe671 2026-02-09 02:37:51,996 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24fa021f-b2ea-4b9e-8c3a-eee55f98c5d9 2026-02-09 02:37:52,007 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24fa021f-b2ea-4b9e-8c3a-eee55f98c5d9 2026-02-09 02:37:52,016 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/d65bfc16-c852-482d-affd-c02da69396cc 2026-02-09 02:37:52,027 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94166538', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5327124248884891136', 'uuid-lslong': '10492223964381439601'}, 'enable': 'true', 'created': '2026-02-09T02:37:49', 'last-modified': '2026-02-09T02:37:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978331'} 2026-02-09 02:37:52,033 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 02:37:52,038 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94166538', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5327124248884891136', 'uuid-lslong': '10492223964381439601'}, 'enable': 'true', 'created': '2026-02-09T02:37:49', 'last-modified': '2026-02-09T02:37:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996137'} 2026-02-09 02:37:52,045 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 02:37:52,050 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94166538', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5327124248884891136', 'uuid-lslong': '10492223964381439601'}, 'enable': 'true', 'created': '2026-02-09T02:37:49', 'last-modified': '2026-02-09T02:37:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003584'} 2026-02-09 02:37:52,056 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 02:37:52,056 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63845730 passed 2026-02-09 02:37:52,056 - DEBUG - ====Verifying policy data for ctest-vn-63845730 in API_Server ====== 2026-02-09 02:37:52,056 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 02:37:52,062 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 02:37:52,073 - DEBUG - Requesting: http://10.0.0.19:8082/project/66367b3e-9a9f-49d3-bf97-69aa48021a45 2026-02-09 02:37:52,176 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/49edbf47-b127-4e00-919b-de1afccbe671 2026-02-09 02:37:52,186 - DEBUG - ==>Verifying data for policy with id: 9c885af5-ba3d-4105-a37c-6c644a8f812c, fqn: ['default-domain', 'ctest-TestBasicPolicy-94166538', 'ctest-policy-allow-all-77635154'] 2026-02-09 02:37:52,186 - INFO - VN ctest-vn-63845730 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 02:37:52,186 - DEBUG - Verifying the vn in opserver 2026-02-09 02:37:52,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 virtual network link through opserver 10.0.0.19 2026-02-09 02:37:52,187 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-09 02:37:52,499 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-09 02:37:52,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730?flat'} 2026-02-09 02:37:52,561 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 virtual network link through opserver 10.0.0.33 2026-02-09 02:37:52,561 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-09 02:37:52,860 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-09 02:37:52,926 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730?flat'} 2026-02-09 02:37:52,926 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 virtual network link through opserver 10.0.0.41 2026-02-09 02:37:52,926 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-09 02:37:53,228 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-09 02:37:53,296 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730?flat'} 2026-02-09 02:37:53,296 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is found in opserver 2026-02-09 02:37:53,318 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 02:37:53,327 - DEBUG - VRF ids for VN ctest-vn-63845730: {} 2026-02-09 02:37:53,327 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 02:37:53,334 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 02:37:53,351 - DEBUG - Requesting: http://10.0.0.19:8082/project/66367b3e-9a9f-49d3-bf97-69aa48021a45 2026-02-09 02:37:53,452 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0ab38d62-4324-464e-9cb8-b95c99f8803c 2026-02-09 02:37:53,469 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0ab38d62-4324-464e-9cb8-b95c99f8803c 2026-02-09 02:37:53,479 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9206ce7f-d8c1-41fe-9823-1338fe41b2a5 2026-02-09 02:37:53,487 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9206ce7f-d8c1-41fe-9823-1338fe41b2a5 2026-02-09 02:37:53,493 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/649b04eb-c048-474b-8387-8381dbda7926 2026-02-09 02:37:53,500 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-09 02:37:53,500 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0ab38d62-4324-464e-9cb8-b95c99f8803c 2026-02-09 02:37:53,510 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9206ce7f-d8c1-41fe-9823-1338fe41b2a5 2026-02-09 02:37:53,528 - INFO - Verified VN network id 16 for VN 0ab38d62-4324-464e-9cb8-b95c99f8803c 2026-02-09 02:37:53,528 - INFO - Verifications in API Server for VN ctest-vn-81151679 passed 2026-02-09 02:37:53,529 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0ab38d62-4324-464e-9cb8-b95c99f8803c 2026-02-09 02:37:53,539 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9206ce7f-d8c1-41fe-9823-1338fe41b2a5 2026-02-09 02:37:53,548 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9206ce7f-d8c1-41fe-9823-1338fe41b2a5 2026-02-09 02:37:53,557 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/649b04eb-c048-474b-8387-8381dbda7926 2026-02-09 02:37:53,569 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94166538', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '771115414383248974', 'uuid-lslong': '11292979873002848316'}, 'enable': 'true', 'created': '2026-02-09T02:37:50', 'last-modified': '2026-02-09T02:37:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.308328'} 2026-02-09 02:37:53,575 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-09 02:37:53,580 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94166538', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '771115414383248974', 'uuid-lslong': '11292979873002848316'}, 'enable': 'true', 'created': '2026-02-09T02:37:50', 'last-modified': '2026-02-09T02:37:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.325093'} 2026-02-09 02:37:53,585 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-09 02:37:53,591 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94166538', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '771115414383248974', 'uuid-lslong': '11292979873002848316'}, 'enable': 'true', 'created': '2026-02-09T02:37:50', 'last-modified': '2026-02-09T02:37:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.330468'} 2026-02-09 02:37:53,597 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-09 02:37:53,597 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81151679 passed 2026-02-09 02:37:53,597 - DEBUG - ====Verifying policy data for ctest-vn-81151679 in API_Server ====== 2026-02-09 02:37:53,597 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 02:37:53,603 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 02:37:53,615 - DEBUG - Requesting: http://10.0.0.19:8082/project/66367b3e-9a9f-49d3-bf97-69aa48021a45 2026-02-09 02:37:53,699 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0ab38d62-4324-464e-9cb8-b95c99f8803c 2026-02-09 02:37:53,714 - DEBUG - ==>Verifying data for policy with id: 9c885af5-ba3d-4105-a37c-6c644a8f812c, fqn: ['default-domain', 'ctest-TestBasicPolicy-94166538', 'ctest-policy-allow-all-77635154'] 2026-02-09 02:37:53,714 - INFO - VN ctest-vn-81151679 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 02:37:53,714 - DEBUG - Verifying the vn in opserver 2026-02-09 02:37:53,714 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679 virtual network link through opserver 10.0.0.19 2026-02-09 02:37:53,714 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-09 02:37:53,803 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679?flat'} 2026-02-09 02:37:53,803 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679 virtual network link through opserver 10.0.0.33 2026-02-09 02:37:53,803 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-09 02:37:53,881 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679?flat'} 2026-02-09 02:37:53,881 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679 virtual network link through opserver 10.0.0.41 2026-02-09 02:37:53,881 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-09 02:37:53,945 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679?flat'} 2026-02-09 02:37:53,945 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-81151679 is found in opserver 2026-02-09 02:37:53,964 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 02:37:53,973 - DEBUG - VRF ids for VN ctest-vn-81151679: {} 2026-02-09 02:37:54,023 - DEBUG - Services list from nova: [, , , ] 2026-02-09 02:37:55,125 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5238-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5238-1) 2026-02-09 02:37:56,718 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5238-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5238-2) 2026-02-09 02:37:56,718 - INFO - Waiting for VM ctest-TestBasicPolicy-94166538-71500158 to be up.. 2026-02-09 02:37:56,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 02:38:01,940 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:38:01,940 - INFO - VM name : ctest-TestBasicPolicy-94166538-71500158 2026-02-09 02:38:02,022 - DEBUG - VM ctest-TestBasicPolicy-94166538-71500158 ID is e5c2ef62-3ff9-4183-982b-dfbeee694cf7 2026-02-09 02:38:02,051 - DEBUG - VM ctest-TestBasicPolicy-94166538-71500158 launched on Node an-jenkins-deploy-platform-ansible-os-5238-1 2026-02-09 02:38:02,144 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e5c2ef62-3ff9-4183-982b-dfbeee694cf7 2026-02-09 02:38:02,449 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e5c2ef62-3ff9-4183-982b-dfbeee694cf7 2026-02-09 02:38:02,486 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b2707681-c447-435e-849b-6b6b847a95ba 2026-02-09 02:38:05,654 - 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 1005ms') 2026-02-09 02:38:05,654 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 failed! 2026-02-09 02:38:05,677 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is 45.132.149.193 and allocation pool is NOT set 2026-02-09 02:38:09,752 - 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-02-09 02:38:09,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 failed! 2026-02-09 02:38:09,767 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is 45.132.149.193 and allocation pool is NOT set 2026-02-09 02:38:13,849 - 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-02-09 02:38:13,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 failed! 2026-02-09 02:38:13,865 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is 45.132.149.193 and allocation pool is NOT set 2026-02-09 02:38:17,936 - 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-02-09 02:38:17,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 failed! 2026-02-09 02:38:17,950 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is 45.132.149.193 and allocation pool is NOT set 2026-02-09 02:38:22,038 - 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-02-09 02:38:22,038 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 failed! 2026-02-09 02:38:22,055 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is 45.132.149.193 and allocation pool is NOT set 2026-02-09 02:38:26,129 - 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-02-09 02:38:26,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 failed! 2026-02-09 02:38:26,146 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is 45.132.149.193 and allocation pool is NOT set 2026-02-09 02:38:30,224 - 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 1019ms') 2026-02-09 02:38:30,224 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 failed! 2026-02-09 02:38:30,240 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is 45.132.149.193 and allocation pool is NOT set 2026-02-09 02:38:34,320 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-02-09 02:38:34,320 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 failed! 2026-02-09 02:38:34,335 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94166538:ctest-vn-63845730 is 45.132.149.193 and allocation pool is NOT set 2026-02-09 02:38:36,406 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.11 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 = 2.114/5.758/9.402/3.644 ms') 2026-02-09 02:38:36,406 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-71500158 passed 2026-02-09 02:38:36,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:38:36,482 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94166538-71500158, IP 45.132.149.195, Port 22 2026-02-09 02:38:36,548 - 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-02-09 02:38:36,634 - DEBUG - VM ctest-TestBasicPolicy-94166538-71500158 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 02:38:41,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:38:41,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94166538-71500158, IP 45.132.149.195, Port 22 2026-02-09 02:38:41,693 - 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-02-09 02:38:41,799 - DEBUG - VM ctest-TestBasicPolicy-94166538-71500158 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 02:38:46,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:38:46,800 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94166538-71500158, IP 45.132.149.195, Port 22 2026-02-09 02:38:46,863 - 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-02-09 02:38:46,944 - DEBUG - VM ctest-TestBasicPolicy-94166538-71500158 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 02:38:51,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:38:51,945 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94166538-71500158, IP 45.132.149.195, Port 22 2026-02-09 02:38:52,013 - 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-02-09 02:38:52,096 - DEBUG - VM ctest-TestBasicPolicy-94166538-71500158 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 02:38:57,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:38:57,097 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94166538-71500158, IP 45.132.149.195, Port 22 2026-02-09 02:38:57,275 - DEBUG - VM ctest-TestBasicPolicy-94166538-71500158 is ready for SSH connections 2026-02-09 02:38:57,275 - INFO - Waiting for VM ctest-TestBasicPolicy-94166538-16784507 to be up.. 2026-02-09 02:38:57,365 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:38:57,365 - INFO - VM name : ctest-TestBasicPolicy-94166538-16784507 2026-02-09 02:38:57,447 - DEBUG - VM ctest-TestBasicPolicy-94166538-16784507 ID is 9da081ac-f10f-4824-9cfa-da1c6082f7de 2026-02-09 02:38:57,447 - DEBUG - VM ctest-TestBasicPolicy-94166538-16784507 launched on Node an-jenkins-deploy-platform-ansible-os-5238-2 2026-02-09 02:38:57,536 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9da081ac-f10f-4824-9cfa-da1c6082f7de 2026-02-09 02:38:57,546 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f1221bd1-67b2-44d8-a9ee-ef3907aab63f 2026-02-09 02:38:58,719 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.33 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.329/3.691/4.054/0.362 ms') 2026-02-09 02:38:58,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94166538-16784507 passed 2026-02-09 02:38:58,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:38:58,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94166538-16784507, IP 210.2.222.3, Port 22 2026-02-09 02:38:58,959 - DEBUG - VM ctest-TestBasicPolicy-94166538-16784507 is ready for SSH connections 2026-02-09 02:38:58,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:38:58,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.2.222.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-09 02:38:58,959 - DEBUG - ping -s 56 -c 3 -W 1 210.2.222.3 2026-02-09 02:39:20,183 - DEBUG - PING 210.2.222.3 (210.2.222.3) 56(84) bytes of data. 64 bytes from 210.2.222.3: icmp_req=1 ttl=63 time=10.3 ms 64 bytes from 210.2.222.3: icmp_req=2 ttl=63 time=1.42 ms 64 bytes from 210.2.222.3: icmp_req=3 ttl=63 time=1.37 ms --- 210.2.222.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.370/4.394/10.389/4.239 ms 2026-02-09 02:39:20,184 - INFO - Ping to IP 210.2.222.3 from VM ctest-TestBasicPolicy-94166538-71500158 passed 2026-02-09 02:39:20,426 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c885af5-ba3d-4105-a37c-6c644a8f812c", "href": "http://10.0.0.41:8082/network-policy/9c885af5-ba3d-4105-a37c-6c644a8f812c"}} 2026-02-09 02:39:20,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:39:20,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.2.222.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-09 02:39:20,427 - DEBUG - ping -s 56 -c 3 -W 1 210.2.222.3 2026-02-09 02:39:24,059 - DEBUG - PING 210.2.222.3 (210.2.222.3) 56(84) bytes of data. --- 210.2.222.3 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2002ms 2026-02-09 02:39:24,059 - WARNING - Ping to IP 210.2.222.3 from VM ctest-TestBasicPolicy-94166538-71500158 failed 2026-02-09 02:39:24,059 - INFO - Deleting VM ctest-TestBasicPolicy-94166538-16784507 2026-02-09 02:39:24,121 - INFO - Deleting VM ctest-TestBasicPolicy-94166538-71500158 2026-02-09 02:39:24,610 - INFO - Deleted policy ctest-policy-allow-all-77635154 2026-02-09 02:39:24,610 - INFO - Deleting VN ctest-vn-81151679 2026-02-09 02:39:24,673 - DEBUG - VN 0ab38d62-4324-464e-9cb8-b95c99f8803c still in use: Unable to complete operation on network 0ab38d62-4324-464e-9cb8-b95c99f8803c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e277a07-d8e1-4b3d-8baa-c7dc31b51b47'] 2026-02-09 02:39:24,674 - WARNING - Deleting VN ctest-vn-81151679 failed..Will retry 2026-02-09 02:39:26,848 - DEBUG - Response for deleting network () 2026-02-09 02:39:26,851 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9206ce7f-d8c1-41fe-9823-1338fe41b2a5 2026-02-09 02:39:26,860 - DEBUG - Response Code: 404 2026-02-09 02:39:26,860 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 02:39:26,867 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 02:39:26,887 - DEBUG - Requesting: http://10.0.0.19:8082/project/66367b3e-9a9f-49d3-bf97-69aa48021a45 2026-02-09 02:39:26,977 - INFO - Validated that VN ctest-vn-81151679 is not found in API Server 2026-02-09 02:39:26,989 - DEBUG - VN ctest-vn-81151679 is not present in Agent 10.0.0.27 2026-02-09 02:39:27,000 - DEBUG - VN ctest-vn-81151679 is not present in Agent 10.0.0.65 2026-02-09 02:39:27,000 - INFO - Validated that VN ctest-vn-81151679 is not in any agent 2026-02-09 02:39:27,030 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81151679 info 2026-02-09 02:39:27,031 - INFO - Deleting VN ctest-vn-63845730 2026-02-09 02:39:27,227 - DEBUG - Response for deleting network () 2026-02-09 02:39:27,227 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/24fa021f-b2ea-4b9e-8c3a-eee55f98c5d9 2026-02-09 02:39:27,234 - DEBUG - Response Code: 404 2026-02-09 02:39:27,234 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 02:39:27,239 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 02:39:27,251 - DEBUG - Requesting: http://10.0.0.19:8082/project/66367b3e-9a9f-49d3-bf97-69aa48021a45 2026-02-09 02:39:27,341 - INFO - Validated that VN ctest-vn-63845730 is not found in API Server 2026-02-09 02:39:27,355 - DEBUG - VN ctest-vn-63845730 is not present in Agent 10.0.0.27 2026-02-09 02:39:27,370 - DEBUG - VN ctest-vn-63845730 is not present in Agent 10.0.0.65 2026-02-09 02:39:27,370 - INFO - Validated that VN ctest-vn-63845730 is not in any agent 2026-02-09 02:39:27,400 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63845730 info 2026-02-09 02:39:28,653 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 02:39:28,653 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:41] 2026-02-09 02:39:28,653 - INFO - -------------------------------------------------------------------------------- 2026-02-09 02:39:29,457 - INFO - Deleted project: ctest-TestBasicPolicy-94166538, ID : 66367b3e-9a9f-49d3-bf97-69aa48021a45