2026-06-22 05:57:07,613 - INFO - Domain Default found not creating 2026-06-22 05:57:07,790 - INFO - Project ctest-TestBasicPolicy-49452484 not found, creating it 2026-06-22 05:57:08,387 - INFO - Created Project:ctest-TestBasicPolicy-49452484, ID : 3ac5c304-cd44-49f8-96b5-ac6260ca36a2 2026-06-22 05:57:09,914 - INFO - ================================================================================ 2026-06-22 05:57:09,915 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-22 05:57:09,915 - 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-22 05:57:11,158 - WARNING - Test is running with cores: {'10.0.0.50': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-6019-2.1782106310']} 2026-06-22 05:57:11,171 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.22': {'10.20.0.14': '0', '10.20.0.17': '0'}} with 2026-06-22 05:57:11,171 - INFO - Initial checks done. Running the testcase now 2026-06-22 05:57:11,171 - INFO - 2026-06-22 05:57:11,992 - DEBUG - Response for create_network : {'network': {'id': '1981c704-6268-463f-9920-d615c3c2d845', 'name': 'ctest-vn-74135010', 'tenant_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'project_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49452484', 'ctest-vn-74135010'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 05:57:12,326 - DEBUG - Response for create_subnet : {'subnet': {'id': '751c2fbd-b4f0-43d5-8885-8f5333102ffb', 'name': '', 'tenant_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'network_id': '1981c704-6268-463f-9920-d615c3c2d845', 'ip_version': 4, 'cidr': '170.30.214.128/26', 'allocation_pools': [{'start': '170.30.214.130', 'end': '170.30.214.190'}], 'gateway_ip': '170.30.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.30.214.130', 'tags': [], 'project_id': '3ac5c304cd4449f896b5ac6260ca36a2'}} 2026-06-22 05:57:12,350 - INFO - Created VN ctest-vn-74135010 2026-06-22 05:57:12,369 - DEBUG - VN ctest-vn-74135010 UUID is 1981c704-6268-463f-9920-d615c3c2d845 2026-06-22 05:57:12,783 - DEBUG - Response for create_network : {'network': {'id': '4bf40444-dc7e-42f0-9538-065e8731510c', 'name': 'ctest-vn-56110238', 'tenant_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'project_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49452484', 'ctest-vn-56110238'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 05:57:13,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '79b7591b-993c-4a09-82a9-1aa561898833', 'name': '', 'tenant_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'network_id': '4bf40444-dc7e-42f0-9538-065e8731510c', 'ip_version': 4, 'cidr': '122.189.106.192/26', 'allocation_pools': [{'start': '122.189.106.194', 'end': '122.189.106.254'}], 'gateway_ip': '122.189.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.189.106.194', 'tags': [], 'project_id': '3ac5c304cd4449f896b5ac6260ca36a2'}} 2026-06-22 05:57:13,083 - INFO - Created VN ctest-vn-56110238 2026-06-22 05:57:13,099 - DEBUG - VN ctest-vn-56110238 UUID is 4bf40444-dc7e-42f0-9538-065e8731510c 2026-06-22 05:57:13,189 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010, 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-49452484:ctest-vn-56110238, 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-22 05:57:13,576 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1981c704-6268-463f-9920-d615c3c2d845', 'name': 'ctest-vn-74135010', 'tenant_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'project_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['751c2fbd-b4f0-43d5-8885-8f5333102ffb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49452484', 'ctest-vn-74135010'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49452484', 'ctest-policy-allow-all-09307013']], 'subnet_ipam': [{'subnet_cidr': '170.30.214.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-22 05:57:13,797 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4bf40444-dc7e-42f0-9538-065e8731510c', 'name': 'ctest-vn-56110238', 'tenant_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'project_id': '3ac5c304cd4449f896b5ac6260ca36a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79b7591b-993c-4a09-82a9-1aa561898833'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49452484', 'ctest-vn-56110238'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49452484', 'ctest-policy-allow-all-09307013']], 'subnet_ipam': [{'subnet_cidr': '122.189.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-22 05:57:13,907 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 05:57:14,304 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 05:57:14,336 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60eaa01a-5eb5-4d13-b4b0-03e5337f378e 2026-06-22 05:57:14,358 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ac5c304-cd44-49f8-96b5-ac6260ca36a2 2026-06-22 05:57:14,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1981c704-6268-463f-9920-d615c3c2d845 2026-06-22 05:57:14,467 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1981c704-6268-463f-9920-d615c3c2d845 2026-06-22 05:57:14,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b92382b0-2667-4ac4-9408-b474c445babe 2026-06-22 05:57:14,499 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b92382b0-2667-4ac4-9408-b474c445babe 2026-06-22 05:57:14,511 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37a11ce5-ca09-4ad3-9402-e45b3e5c458b 2026-06-22 05:57:14,521 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 05:57:14,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1981c704-6268-463f-9920-d615c3c2d845 2026-06-22 05:57:14,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b92382b0-2667-4ac4-9408-b474c445babe 2026-06-22 05:57:14,554 - INFO - Verified VN network id 11 for VN 1981c704-6268-463f-9920-d615c3c2d845 2026-06-22 05:57:14,554 - INFO - Verifications in API Server for VN ctest-vn-74135010 passed 2026-06-22 05:57:14,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1981c704-6268-463f-9920-d615c3c2d845 2026-06-22 05:57:14,565 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b92382b0-2667-4ac4-9408-b474c445babe 2026-06-22 05:57:14,574 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b92382b0-2667-4ac4-9408-b474c445babe 2026-06-22 05:57:14,583 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37a11ce5-ca09-4ad3-9402-e45b3e5c458b 2026-06-22 05:57:14,599 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49452484', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1837968944588670527', 'uuid-lslong': '11034054476024698949'}, 'enable': 'true', 'created': '2026-06-22T05:57:11', 'last-modified': '2026-06-22T05:57:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062919'} 2026-06-22 05:57:14,606 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 05:57:14,612 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49452484', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1837968944588670527', 'uuid-lslong': '11034054476024698949'}, 'enable': 'true', 'created': '2026-06-22T05:57:11', 'last-modified': '2026-06-22T05:57:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.085068'} 2026-06-22 05:57:14,617 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 05:57:14,622 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49452484', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1837968944588670527', 'uuid-lslong': '11034054476024698949'}, 'enable': 'true', 'created': '2026-06-22T05:57:11', 'last-modified': '2026-06-22T05:57:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.098495'} 2026-06-22 05:57:14,628 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 05:57:14,628 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74135010 passed 2026-06-22 05:57:14,629 - DEBUG - ====Verifying policy data for ctest-vn-74135010 in API_Server ====== 2026-06-22 05:57:14,629 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 05:57:14,635 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60eaa01a-5eb5-4d13-b4b0-03e5337f378e 2026-06-22 05:57:14,645 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ac5c304-cd44-49f8-96b5-ac6260ca36a2 2026-06-22 05:57:14,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1981c704-6268-463f-9920-d615c3c2d845 2026-06-22 05:57:14,753 - DEBUG - ==>Verifying data for policy with id: d1a4a6b8-895e-4e8e-880b-7819a182ce30, fqn: ['default-domain', 'ctest-TestBasicPolicy-49452484', 'ctest-policy-allow-all-09307013'] 2026-06-22 05:57:14,753 - INFO - VN ctest-vn-74135010 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 05:57:14,753 - DEBUG - Verifying the vn in opserver 2026-06-22 05:57:14,753 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010 virtual network link through opserver 10.0.0.38 2026-06-22 05:57:14,754 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-22 05:57:15,076 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-22 05:57:15,126 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010?flat'} 2026-06-22 05:57:15,126 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010 virtual network link through opserver 10.0.0.50 2026-06-22 05:57:15,126 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-22 05:57:15,455 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-22 05:57:15,510 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010?flat'} 2026-06-22 05:57:15,510 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010 virtual network link through opserver 10.0.0.33 2026-06-22 05:57:15,510 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-22 05:57:15,838 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-22 05:57:15,894 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010?flat'} 2026-06-22 05:57:15,894 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010 is found in opserver 2026-06-22 05:57:15,917 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 05:57:15,925 - DEBUG - VRF ids for VN ctest-vn-74135010: {} 2026-06-22 05:57:15,925 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 05:57:15,931 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60eaa01a-5eb5-4d13-b4b0-03e5337f378e 2026-06-22 05:57:15,942 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ac5c304-cd44-49f8-96b5-ac6260ca36a2 2026-06-22 05:57:16,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4bf40444-dc7e-42f0-9538-065e8731510c 2026-06-22 05:57:16,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4bf40444-dc7e-42f0-9538-065e8731510c 2026-06-22 05:57:16,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1e8fcbba-0482-45e7-8f3e-4c62ef37127d 2026-06-22 05:57:16,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1e8fcbba-0482-45e7-8f3e-4c62ef37127d 2026-06-22 05:57:16,075 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c2a077dd-a718-4f80-82f8-b277a6236cfe 2026-06-22 05:57:16,081 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 05:57:16,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4bf40444-dc7e-42f0-9538-065e8731510c 2026-06-22 05:57:16,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1e8fcbba-0482-45e7-8f3e-4c62ef37127d 2026-06-22 05:57:16,106 - INFO - Verified VN network id 12 for VN 4bf40444-dc7e-42f0-9538-065e8731510c 2026-06-22 05:57:16,106 - INFO - Verifications in API Server for VN ctest-vn-56110238 passed 2026-06-22 05:57:16,106 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4bf40444-dc7e-42f0-9538-065e8731510c 2026-06-22 05:57:16,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1e8fcbba-0482-45e7-8f3e-4c62ef37127d 2026-06-22 05:57:16,123 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1e8fcbba-0482-45e7-8f3e-4c62ef37127d 2026-06-22 05:57:16,129 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c2a077dd-a718-4f80-82f8-b277a6236cfe 2026-06-22 05:57:16,140 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49452484', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5473004140965544688', 'uuid-lslong': '10752351113411907852'}, 'enable': 'true', 'created': '2026-06-22T05:57:12', 'last-modified': '2026-06-22T05:57:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.385789'} 2026-06-22 05:57:16,146 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 05:57:16,150 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49452484', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5473004140965544688', 'uuid-lslong': '10752351113411907852'}, 'enable': 'true', 'created': '2026-06-22T05:57:12', 'last-modified': '2026-06-22T05:57:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.391696'} 2026-06-22 05:57:16,156 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 05:57:16,161 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49452484', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5473004140965544688', 'uuid-lslong': '10752351113411907852'}, 'enable': 'true', 'created': '2026-06-22T05:57:12', 'last-modified': '2026-06-22T05:57:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.409826'} 2026-06-22 05:57:16,166 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 05:57:16,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56110238 passed 2026-06-22 05:57:16,166 - DEBUG - ====Verifying policy data for ctest-vn-56110238 in API_Server ====== 2026-06-22 05:57:16,166 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 05:57:16,171 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60eaa01a-5eb5-4d13-b4b0-03e5337f378e 2026-06-22 05:57:16,182 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ac5c304-cd44-49f8-96b5-ac6260ca36a2 2026-06-22 05:57:16,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4bf40444-dc7e-42f0-9538-065e8731510c 2026-06-22 05:57:16,296 - DEBUG - ==>Verifying data for policy with id: d1a4a6b8-895e-4e8e-880b-7819a182ce30, fqn: ['default-domain', 'ctest-TestBasicPolicy-49452484', 'ctest-policy-allow-all-09307013'] 2026-06-22 05:57:16,296 - INFO - VN ctest-vn-56110238 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 05:57:16,296 - DEBUG - Verifying the vn in opserver 2026-06-22 05:57:16,296 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238 virtual network link through opserver 10.0.0.38 2026-06-22 05:57:16,296 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-22 05:57:16,337 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238?flat'} 2026-06-22 05:57:16,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238 virtual network link through opserver 10.0.0.50 2026-06-22 05:57:16,337 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-22 05:57:16,384 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238?flat'} 2026-06-22 05:57:16,384 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238 virtual network link through opserver 10.0.0.33 2026-06-22 05:57:16,385 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-22 05:57:16,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238?flat'} 2026-06-22 05:57:16,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-56110238 is found in opserver 2026-06-22 05:57:16,450 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 05:57:16,461 - DEBUG - VRF ids for VN ctest-vn-56110238: {} 2026-06-22 05:57:16,522 - DEBUG - Services list from nova: [, , , ] 2026-06-22 05:57:17,562 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6019-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6019-1) 2026-06-22 05:57:18,634 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6019-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6019-2) 2026-06-22 05:57:18,634 - INFO - Waiting for VM ctest-TestBasicPolicy-49452484-86378883 to be up.. 2026-06-22 05:57:18,684 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 05:57:23,781 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 05:57:28,859 - DEBUG - VM is in ACTIVE state now 2026-06-22 05:57:28,859 - INFO - VM name : ctest-TestBasicPolicy-49452484-86378883 2026-06-22 05:57:28,937 - DEBUG - VM ctest-TestBasicPolicy-49452484-86378883 ID is 69b8b8eb-d68e-4c62-ba93-0f4a261847e7 2026-06-22 05:57:28,960 - DEBUG - VM ctest-TestBasicPolicy-49452484-86378883 launched on Node an-jenkins-deploy-platform-ansible-os-6019-1 2026-06-22 05:57:29,047 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/69b8b8eb-d68e-4c62-ba93-0f4a261847e7 2026-06-22 05:57:29,365 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/69b8b8eb-d68e-4c62-ba93-0f4a261847e7 2026-06-22 05:57:29,394 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7dcaaeea-65d6-4698-abff-76d4d78b4d9e 2026-06-22 05:57:32,576 - 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-06-22 05:57:32,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49452484-86378883 failed! 2026-06-22 05:57:32,591 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49452484:ctest-vn-74135010 is 170.30.214.129 and allocation pool is NOT set 2026-06-22 05:57:34,656 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/6.006/11.510/5.504 ms') 2026-06-22 05:57:34,656 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49452484-86378883 passed 2026-06-22 05:57:34,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 05:57:34,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49452484-86378883, IP 170.30.214.131, Port 22 2026-06-22 05:57:34,883 - DEBUG - VM ctest-TestBasicPolicy-49452484-86378883 is ready for SSH connections 2026-06-22 05:57:34,883 - INFO - Waiting for VM ctest-TestBasicPolicy-49452484-54926161 to be up.. 2026-06-22 05:57:34,954 - DEBUG - VM is in ACTIVE state now 2026-06-22 05:57:34,954 - INFO - VM name : ctest-TestBasicPolicy-49452484-54926161 2026-06-22 05:57:35,031 - DEBUG - VM ctest-TestBasicPolicy-49452484-54926161 ID is ceb5637a-e1b0-490f-8b97-40b406806941 2026-06-22 05:57:35,031 - DEBUG - VM ctest-TestBasicPolicy-49452484-54926161 launched on Node an-jenkins-deploy-platform-ansible-os-6019-2 2026-06-22 05:57:35,105 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ceb5637a-e1b0-490f-8b97-40b406806941 2026-06-22 05:57:35,115 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c02c6e7e-45f0-4e46-97e5-a624ecf757c5 2026-06-22 05:57:36,277 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.295/3.997/5.699/1.702 ms') 2026-06-22 05:57:36,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49452484-54926161 passed 2026-06-22 05:57:36,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 05:57:36,353 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49452484-54926161, IP 122.189.106.195, Port 22 2026-06-22 05:57:36,420 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-22 05:57:36,502 - DEBUG - VM ctest-TestBasicPolicy-49452484-54926161 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 05:57:41,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 05:57:41,503 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49452484-54926161, IP 122.189.106.195, Port 22 2026-06-22 05:57:41,680 - DEBUG - VM ctest-TestBasicPolicy-49452484-54926161 is ready for SSH connections 2026-06-22 05:57:41,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 05:57:41,680 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.189.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-22 05:57:41,680 - DEBUG - ping -s 56 -c 3 -W 1 122.189.106.195 2026-06-22 05:57:45,553 - DEBUG - PING 122.189.106.195 (122.189.106.195): 56 data bytes 64 bytes from 122.189.106.195: seq=0 ttl=63 time=14.721 ms 64 bytes from 122.189.106.195: seq=1 ttl=63 time=1.513 ms 64 bytes from 122.189.106.195: seq=2 ttl=63 time=1.518 ms --- 122.189.106.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.513/5.917/14.721 ms 2026-06-22 05:57:45,553 - INFO - Ping to IP 122.189.106.195 from VM ctest-TestBasicPolicy-49452484-86378883 passed 2026-06-22 05:57:45,773 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d1a4a6b8-895e-4e8e-880b-7819a182ce30", "href": "http://10.0.0.33:8082/network-policy/d1a4a6b8-895e-4e8e-880b-7819a182ce30"}} 2026-06-22 05:57:45,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 05:57:45,773 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.189.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-22 05:57:45,773 - DEBUG - ping -s 56 -c 3 -W 1 122.189.106.195 2026-06-22 05:57:48,918 - DEBUG - PING 122.189.106.195 (122.189.106.195): 56 data bytes --- 122.189.106.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-22 05:57:48,919 - WARNING - Ping to IP 122.189.106.195 from VM ctest-TestBasicPolicy-49452484-86378883 failed 2026-06-22 05:57:48,919 - INFO - Deleting VM ctest-TestBasicPolicy-49452484-54926161 2026-06-22 05:57:48,984 - INFO - Deleting VM ctest-TestBasicPolicy-49452484-86378883 2026-06-22 05:57:49,481 - INFO - Deleted policy ctest-policy-allow-all-09307013 2026-06-22 05:57:49,481 - INFO - Deleting VN ctest-vn-56110238 2026-06-22 05:57:49,523 - DEBUG - VN 4bf40444-dc7e-42f0-9538-065e8731510c still in use: Unable to complete operation on network 4bf40444-dc7e-42f0-9538-065e8731510c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-419920d2-2c04-4864-a9f6-b3058048a286'] 2026-06-22 05:57:49,523 - WARNING - Deleting VN ctest-vn-56110238 failed..Will retry 2026-06-22 05:57:51,758 - DEBUG - Response for deleting network () 2026-06-22 05:57:51,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1e8fcbba-0482-45e7-8f3e-4c62ef37127d 2026-06-22 05:57:51,764 - DEBUG - Response Code: 404 2026-06-22 05:57:51,764 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 05:57:51,770 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60eaa01a-5eb5-4d13-b4b0-03e5337f378e 2026-06-22 05:57:51,781 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ac5c304-cd44-49f8-96b5-ac6260ca36a2 2026-06-22 05:57:51,868 - INFO - Validated that VN ctest-vn-56110238 is not found in API Server 2026-06-22 05:57:51,878 - DEBUG - VN ctest-vn-56110238 is not present in Agent 10.0.0.249 2026-06-22 05:57:51,888 - DEBUG - VN ctest-vn-56110238 is not present in Agent 10.0.0.22 2026-06-22 05:57:51,889 - INFO - Validated that VN ctest-vn-56110238 is not in any agent 2026-06-22 05:57:51,923 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56110238 info 2026-06-22 05:57:51,924 - INFO - Deleting VN ctest-vn-74135010 2026-06-22 05:57:52,084 - DEBUG - Response for deleting network () 2026-06-22 05:57:52,084 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b92382b0-2667-4ac4-9408-b474c445babe 2026-06-22 05:57:52,090 - DEBUG - Response Code: 404 2026-06-22 05:57:52,090 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-22 05:57:52,095 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60eaa01a-5eb5-4d13-b4b0-03e5337f378e 2026-06-22 05:57:52,121 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ac5c304-cd44-49f8-96b5-ac6260ca36a2 2026-06-22 05:57:52,218 - INFO - Validated that VN ctest-vn-74135010 is not found in API Server 2026-06-22 05:57:52,232 - DEBUG - VN ctest-vn-74135010 is not present in Agent 10.0.0.249 2026-06-22 05:57:52,246 - DEBUG - VN ctest-vn-74135010 is not present in Agent 10.0.0.22 2026-06-22 05:57:52,246 - INFO - Validated that VN ctest-vn-74135010 is not in any agent 2026-06-22 05:57:52,278 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74135010 info 2026-06-22 05:57:53,543 - DEBUG - No XMPP flaps were noticed during the test 2026-06-22 05:57:53,543 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:44] 2026-06-22 05:57:53,543 - INFO - -------------------------------------------------------------------------------- 2026-06-22 05:57:54,330 - INFO - Deleted project: ctest-TestBasicPolicy-49452484, ID : 3ac5c304-cd44-49f8-96b5-ac6260ca36a2