2026-01-20 19:43:30,789 - INFO - Domain Default found not creating 2026-01-20 19:43:31,039 - INFO - Project ctest-TestBasicPolicy-26856703 not found, creating it 2026-01-20 19:43:31,726 - INFO - Created Project:ctest-TestBasicPolicy-26856703, ID : 74b5cc01-5c1d-4978-990c-8dec67cff3d3 2026-01-20 19:43:33,465 - INFO - ================================================================================ 2026-01-20 19:43:33,465 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-20 19:43:33,465 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-01-20 19:43:34,779 - WARNING - Test is running with cores: {'10.0.0.73': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5051-3.1768936401']} 2026-01-20 19:43:34,791 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.249': '0', '10.20.0.252': '0'}} with 2026-01-20 19:43:34,791 - INFO - Initial checks done. Running the testcase now 2026-01-20 19:43:34,791 - INFO - 2026-01-20 19:43:35,672 - DEBUG - Response for create_network : {'network': {'id': 'eafe25c6-7591-4db4-b39e-9c620b0eb45c', 'name': 'ctest-vn-02436989', 'tenant_id': '74b5cc015c1d4978990c8dec67cff3d3', 'project_id': '74b5cc015c1d4978990c8dec67cff3d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26856703', 'ctest-vn-02436989'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:43:36,021 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bcc45be-9271-49cb-94ab-e18526edcdaf', 'name': '', 'tenant_id': '74b5cc015c1d4978990c8dec67cff3d3', 'network_id': 'eafe25c6-7591-4db4-b39e-9c620b0eb45c', 'ip_version': 4, 'cidr': '41.104.235.64/26', 'allocation_pools': [{'start': '41.104.235.66', 'end': '41.104.235.126'}], 'gateway_ip': '41.104.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.104.235.66', 'tags': [], 'project_id': '74b5cc015c1d4978990c8dec67cff3d3'}} 2026-01-20 19:43:36,059 - INFO - Created VN ctest-vn-02436989 2026-01-20 19:43:36,073 - DEBUG - VN ctest-vn-02436989 UUID is eafe25c6-7591-4db4-b39e-9c620b0eb45c 2026-01-20 19:43:36,511 - DEBUG - Response for create_network : {'network': {'id': '4d42100f-1b41-4221-a1f3-aa0d9be2e3a0', 'name': 'ctest-vn-42514128', 'tenant_id': '74b5cc015c1d4978990c8dec67cff3d3', 'project_id': '74b5cc015c1d4978990c8dec67cff3d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26856703', 'ctest-vn-42514128'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:43:36,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '4727ca11-f818-49fc-bd7a-d225cc14fd2e', 'name': '', 'tenant_id': '74b5cc015c1d4978990c8dec67cff3d3', 'network_id': '4d42100f-1b41-4221-a1f3-aa0d9be2e3a0', 'ip_version': 4, 'cidr': '131.201.254.192/26', 'allocation_pools': [{'start': '131.201.254.194', 'end': '131.201.254.254'}], 'gateway_ip': '131.201.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.201.254.194', 'tags': [], 'project_id': '74b5cc015c1d4978990c8dec67cff3d3'}} 2026-01-20 19:43:36,834 - INFO - Created VN ctest-vn-42514128 2026-01-20 19:43:36,850 - DEBUG - VN ctest-vn-42514128 UUID is 4d42100f-1b41-4221-a1f3-aa0d9be2e3a0 2026-01-20 19:43:36,983 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989, 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-26856703:ctest-vn-42514128, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-01-20 19:43:37,384 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eafe25c6-7591-4db4-b39e-9c620b0eb45c', 'name': 'ctest-vn-02436989', 'tenant_id': '74b5cc015c1d4978990c8dec67cff3d3', 'project_id': '74b5cc015c1d4978990c8dec67cff3d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2bcc45be-9271-49cb-94ab-e18526edcdaf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26856703', 'ctest-vn-02436989'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26856703', 'ctest-policy-allow-all-21610027']], 'subnet_ipam': [{'subnet_cidr': '41.104.235.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:43:37,609 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d42100f-1b41-4221-a1f3-aa0d9be2e3a0', 'name': 'ctest-vn-42514128', 'tenant_id': '74b5cc015c1d4978990c8dec67cff3d3', 'project_id': '74b5cc015c1d4978990c8dec67cff3d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4727ca11-f818-49fc-bd7a-d225cc14fd2e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26856703', 'ctest-vn-42514128'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26856703', 'ctest-policy-allow-all-21610027']], 'subnet_ipam': [{'subnet_cidr': '131.201.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:43:37,715 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-01-20 19:43:38,206 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-01-20 19:43:38,257 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e79d0ded-05e0-4fce-9cc2-48d79f990c62 2026-01-20 19:43:38,273 - DEBUG - Requesting: http://10.0.0.65:8082/project/74b5cc01-5c1d-4978-990c-8dec67cff3d3 2026-01-20 19:43:38,391 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/eafe25c6-7591-4db4-b39e-9c620b0eb45c 2026-01-20 19:43:38,412 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/eafe25c6-7591-4db4-b39e-9c620b0eb45c 2026-01-20 19:43:38,425 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c2c49c1d-30ab-4256-81bd-1f67fec94e4d 2026-01-20 19:43:38,434 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c2c49c1d-30ab-4256-81bd-1f67fec94e4d 2026-01-20 19:43:38,443 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/3c8f7331-b058-4bed-ae00-a39249d66e9d 2026-01-20 19:43:38,450 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-20 19:43:38,451 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/eafe25c6-7591-4db4-b39e-9c620b0eb45c 2026-01-20 19:43:38,467 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c2c49c1d-30ab-4256-81bd-1f67fec94e4d 2026-01-20 19:43:38,484 - INFO - Verified VN network id 9 for VN eafe25c6-7591-4db4-b39e-9c620b0eb45c 2026-01-20 19:43:38,485 - INFO - Verifications in API Server for VN ctest-vn-02436989 passed 2026-01-20 19:43:38,485 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/eafe25c6-7591-4db4-b39e-9c620b0eb45c 2026-01-20 19:43:38,497 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c2c49c1d-30ab-4256-81bd-1f67fec94e4d 2026-01-20 19:43:38,506 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c2c49c1d-30ab-4256-81bd-1f67fec94e4d 2026-01-20 19:43:38,517 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/3c8f7331-b058-4bed-ae00-a39249d66e9d 2026-01-20 19:43:38,530 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26856703', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16933013183265852852', 'uuid-lslong': '12942954324015625308'}, 'enable': 'true', 'created': '2026-01-20T19:43:35', 'last-modified': '2026-01-20T19:43:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.185989'} 2026-01-20 19:43:38,539 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-20 19:43:38,547 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26856703', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16933013183265852852', 'uuid-lslong': '12942954324015625308'}, 'enable': 'true', 'created': '2026-01-20T19:43:35', 'last-modified': '2026-01-20T19:43:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.207492'} 2026-01-20 19:43:38,556 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-20 19:43:38,563 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26856703', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16933013183265852852', 'uuid-lslong': '12942954324015625308'}, 'enable': 'true', 'created': '2026-01-20T19:43:35', 'last-modified': '2026-01-20T19:43:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.221023'} 2026-01-20 19:43:38,568 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-20 19:43:38,568 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02436989 passed 2026-01-20 19:43:38,568 - DEBUG - ====Verifying policy data for ctest-vn-02436989 in API_Server ====== 2026-01-20 19:43:38,568 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-01-20 19:43:38,574 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e79d0ded-05e0-4fce-9cc2-48d79f990c62 2026-01-20 19:43:38,586 - DEBUG - Requesting: http://10.0.0.65:8082/project/74b5cc01-5c1d-4978-990c-8dec67cff3d3 2026-01-20 19:43:38,704 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/eafe25c6-7591-4db4-b39e-9c620b0eb45c 2026-01-20 19:43:38,716 - DEBUG - ==>Verifying data for policy with id: b2ead21e-76b5-4db8-8dd7-8bd03be4ffed, fqn: ['default-domain', 'ctest-TestBasicPolicy-26856703', 'ctest-policy-allow-all-21610027'] 2026-01-20 19:43:38,716 - INFO - VN ctest-vn-02436989 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-20 19:43:38,716 - DEBUG - Verifying the vn in opserver 2026-01-20 19:43:38,717 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989 virtual network link through opserver 10.0.0.65 2026-01-20 19:43:38,717 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-01-20 19:43:39,058 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-01-20 19:43:39,155 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989?flat'} 2026-01-20 19:43:39,155 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989 virtual network link through opserver 10.0.0.130 2026-01-20 19:43:39,156 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-01-20 19:43:39,509 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-01-20 19:43:39,594 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989?flat'} 2026-01-20 19:43:39,594 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989 virtual network link through opserver 10.0.0.73 2026-01-20 19:43:39,594 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-01-20 19:43:39,912 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-01-20 19:43:39,999 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989?flat'} 2026-01-20 19:43:39,999 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989 is found in opserver 2026-01-20 19:43:40,020 - DEBUG - Do not have enough data to verify VN in agent 2026-01-20 19:43:40,031 - DEBUG - VRF ids for VN ctest-vn-02436989: {} 2026-01-20 19:43:40,031 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-01-20 19:43:40,037 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e79d0ded-05e0-4fce-9cc2-48d79f990c62 2026-01-20 19:43:40,051 - DEBUG - Requesting: http://10.0.0.65:8082/project/74b5cc01-5c1d-4978-990c-8dec67cff3d3 2026-01-20 19:43:40,170 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4d42100f-1b41-4221-a1f3-aa0d9be2e3a0 2026-01-20 19:43:40,193 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4d42100f-1b41-4221-a1f3-aa0d9be2e3a0 2026-01-20 19:43:40,209 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bacd4fe6-2a8f-4c33-a2db-8b6c536d4699 2026-01-20 19:43:40,224 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bacd4fe6-2a8f-4c33-a2db-8b6c536d4699 2026-01-20 19:43:40,234 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/cc42b017-785b-447e-baac-097c277c2871 2026-01-20 19:43:40,242 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-20 19:43:40,243 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4d42100f-1b41-4221-a1f3-aa0d9be2e3a0 2026-01-20 19:43:40,254 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bacd4fe6-2a8f-4c33-a2db-8b6c536d4699 2026-01-20 19:43:40,286 - INFO - Verified VN network id 10 for VN 4d42100f-1b41-4221-a1f3-aa0d9be2e3a0 2026-01-20 19:43:40,286 - INFO - Verifications in API Server for VN ctest-vn-42514128 passed 2026-01-20 19:43:40,286 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4d42100f-1b41-4221-a1f3-aa0d9be2e3a0 2026-01-20 19:43:40,297 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bacd4fe6-2a8f-4c33-a2db-8b6c536d4699 2026-01-20 19:43:40,308 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bacd4fe6-2a8f-4c33-a2db-8b6c536d4699 2026-01-20 19:43:40,316 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/cc42b017-785b-447e-baac-097c277c2871 2026-01-20 19:43:40,329 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26856703', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5567029746451169825', 'uuid-lslong': '11669858034873721760'}, 'enable': 'true', 'created': '2026-01-20T19:43:36', 'last-modified': '2026-01-20T19:43:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.744108'} 2026-01-20 19:43:40,336 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-20 19:43:40,341 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26856703', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5567029746451169825', 'uuid-lslong': '11669858034873721760'}, 'enable': 'true', 'created': '2026-01-20T19:43:36', 'last-modified': '2026-01-20T19:43:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.748947'} 2026-01-20 19:43:40,347 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-20 19:43:40,360 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26856703', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5567029746451169825', 'uuid-lslong': '11669858034873721760'}, 'enable': 'true', 'created': '2026-01-20T19:43:36', 'last-modified': '2026-01-20T19:43:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.783938'} 2026-01-20 19:43:40,370 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-20 19:43:40,370 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42514128 passed 2026-01-20 19:43:40,371 - DEBUG - ====Verifying policy data for ctest-vn-42514128 in API_Server ====== 2026-01-20 19:43:40,371 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-01-20 19:43:40,377 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e79d0ded-05e0-4fce-9cc2-48d79f990c62 2026-01-20 19:43:40,388 - DEBUG - Requesting: http://10.0.0.65:8082/project/74b5cc01-5c1d-4978-990c-8dec67cff3d3 2026-01-20 19:43:40,516 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4d42100f-1b41-4221-a1f3-aa0d9be2e3a0 2026-01-20 19:43:40,530 - DEBUG - ==>Verifying data for policy with id: b2ead21e-76b5-4db8-8dd7-8bd03be4ffed, fqn: ['default-domain', 'ctest-TestBasicPolicy-26856703', 'ctest-policy-allow-all-21610027'] 2026-01-20 19:43:40,530 - INFO - VN ctest-vn-42514128 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-20 19:43:40,530 - DEBUG - Verifying the vn in opserver 2026-01-20 19:43:40,531 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128 virtual network link through opserver 10.0.0.65 2026-01-20 19:43:40,531 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-01-20 19:43:40,600 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128?flat'} 2026-01-20 19:43:40,602 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128 virtual network link through opserver 10.0.0.130 2026-01-20 19:43:40,602 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-01-20 19:43:40,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128?flat'} 2026-01-20 19:43:40,719 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128 virtual network link through opserver 10.0.0.73 2026-01-20 19:43:40,719 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-01-20 19:43:40,803 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128?flat'} 2026-01-20 19:43:40,803 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-42514128 is found in opserver 2026-01-20 19:43:40,831 - DEBUG - Do not have enough data to verify VN in agent 2026-01-20 19:43:40,848 - DEBUG - VRF ids for VN ctest-vn-42514128: {} 2026-01-20 19:43:40,911 - DEBUG - Services list from nova: [, , , ] 2026-01-20 19:43:42,022 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5051-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5051-2) 2026-01-20 19:43:43,495 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5051-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5051-1) 2026-01-20 19:43:43,495 - INFO - Waiting for VM ctest-TestBasicPolicy-26856703-77657250 to be up.. 2026-01-20 19:43:43,608 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 19:43:48,781 - DEBUG - VM is in ACTIVE state now 2026-01-20 19:43:48,781 - INFO - VM name : ctest-TestBasicPolicy-26856703-77657250 2026-01-20 19:43:48,922 - DEBUG - VM ctest-TestBasicPolicy-26856703-77657250 ID is 548e88c9-bfdf-401f-8d48-2a01e4a84fa6 2026-01-20 19:43:48,963 - DEBUG - VM ctest-TestBasicPolicy-26856703-77657250 launched on Node an-jenkins-deploy-platform-ansible-os-5051-2 2026-01-20 19:43:49,098 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/548e88c9-bfdf-401f-8d48-2a01e4a84fa6 2026-01-20 19:43:49,408 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/548e88c9-bfdf-401f-8d48-2a01e4a84fa6 2026-01-20 19:43:49,492 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/5b58404d-6805-4add-a650-485d0c95671e 2026-01-20 19:43:52,761 - 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 1027ms') 2026-01-20 19:43:52,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26856703-77657250 failed! 2026-01-20 19:43:52,775 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26856703:ctest-vn-02436989 is 41.104.235.65 and allocation pool is NOT set 2026-01-20 19:43:54,842 - 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=3.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/1.798/3.130/1.331 ms') 2026-01-20 19:43:54,842 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26856703-77657250 passed 2026-01-20 19:43:54,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:43:54,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26856703-77657250, IP 41.104.235.67, Port 22 2026-01-20 19:43:55,125 - DEBUG - VM ctest-TestBasicPolicy-26856703-77657250 is ready for SSH connections 2026-01-20 19:43:55,125 - INFO - Waiting for VM ctest-TestBasicPolicy-26856703-39280865 to be up.. 2026-01-20 19:43:55,309 - DEBUG - VM is in ACTIVE state now 2026-01-20 19:43:55,309 - INFO - VM name : ctest-TestBasicPolicy-26856703-39280865 2026-01-20 19:43:55,451 - DEBUG - VM ctest-TestBasicPolicy-26856703-39280865 ID is 2d8d89ce-69b9-4b10-b1a6-546dec554680 2026-01-20 19:43:55,452 - DEBUG - VM ctest-TestBasicPolicy-26856703-39280865 launched on Node an-jenkins-deploy-platform-ansible-os-5051-1 2026-01-20 19:43:55,600 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/2d8d89ce-69b9-4b10-b1a6-546dec554680 2026-01-20 19:43:55,617 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/8bc75ef2-1be4-4037-8aee-654c4703c6da 2026-01-20 19:43:56,849 - 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=2.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/1.501/2.574/1.072 ms') 2026-01-20 19:43:56,850 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26856703-39280865 passed 2026-01-20 19:43:56,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:43:56,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26856703-39280865, IP 131.201.254.195, Port 22 2026-01-20 19:43:57,171 - DEBUG - VM ctest-TestBasicPolicy-26856703-39280865 is ready for SSH connections 2026-01-20 19:43:57,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:43:57,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.201.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-01-20 19:43:57,172 - DEBUG - ping -s 56 -c 3 -W 1 131.201.254.195 2026-01-20 19:44:01,237 - DEBUG - PING 131.201.254.195 (131.201.254.195): 56 data bytes 64 bytes from 131.201.254.195: seq=0 ttl=63 time=6.039 ms 64 bytes from 131.201.254.195: seq=1 ttl=63 time=1.421 ms 64 bytes from 131.201.254.195: seq=2 ttl=63 time=1.635 ms --- 131.201.254.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.421/3.031/6.039 ms 2026-01-20 19:44:01,238 - INFO - Ping to IP 131.201.254.195 from VM ctest-TestBasicPolicy-26856703-77657250 passed 2026-01-20 19:44:01,535 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2ead21e-76b5-4db8-8dd7-8bd03be4ffed", "href": "http://10.0.0.73:8082/network-policy/b2ead21e-76b5-4db8-8dd7-8bd03be4ffed"}} 2026-01-20 19:44:01,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:44:01,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.201.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-01-20 19:44:01,535 - DEBUG - ping -s 56 -c 3 -W 1 131.201.254.195 2026-01-20 19:44:04,736 - DEBUG - PING 131.201.254.195 (131.201.254.195): 56 data bytes --- 131.201.254.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-20 19:44:04,736 - WARNING - Ping to IP 131.201.254.195 from VM ctest-TestBasicPolicy-26856703-77657250 failed 2026-01-20 19:44:04,737 - INFO - Deleting VM ctest-TestBasicPolicy-26856703-39280865 2026-01-20 19:44:04,827 - INFO - Deleting VM ctest-TestBasicPolicy-26856703-77657250 2026-01-20 19:44:05,395 - INFO - Deleted policy ctest-policy-allow-all-21610027 2026-01-20 19:44:05,395 - INFO - Deleting VN ctest-vn-42514128 2026-01-20 19:44:05,497 - DEBUG - VN 4d42100f-1b41-4221-a1f3-aa0d9be2e3a0 still in use: Unable to complete operation on network 4d42100f-1b41-4221-a1f3-aa0d9be2e3a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-058488fb-b970-4444-899f-a1f80da3cdec'] 2026-01-20 19:44:05,497 - WARNING - Deleting VN ctest-vn-42514128 failed..Will retry 2026-01-20 19:44:07,762 - DEBUG - Response for deleting network () 2026-01-20 19:44:07,762 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/bacd4fe6-2a8f-4c33-a2db-8b6c536d4699 2026-01-20 19:44:07,771 - DEBUG - Response Code: 404 2026-01-20 19:44:07,771 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-01-20 19:44:07,777 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e79d0ded-05e0-4fce-9cc2-48d79f990c62 2026-01-20 19:44:07,841 - DEBUG - Requesting: http://10.0.0.65:8082/project/74b5cc01-5c1d-4978-990c-8dec67cff3d3 2026-01-20 19:44:07,956 - INFO - Validated that VN ctest-vn-42514128 is not found in API Server 2026-01-20 19:44:07,966 - DEBUG - VN ctest-vn-42514128 is not present in Agent 10.0.0.131 2026-01-20 19:44:07,976 - DEBUG - VN ctest-vn-42514128 is not present in Agent 10.0.0.133 2026-01-20 19:44:07,976 - INFO - Validated that VN ctest-vn-42514128 is not in any agent 2026-01-20 19:44:08,007 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42514128 info 2026-01-20 19:44:08,007 - INFO - Deleting VN ctest-vn-02436989 2026-01-20 19:44:08,240 - DEBUG - Response for deleting network () 2026-01-20 19:44:08,240 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c2c49c1d-30ab-4256-81bd-1f67fec94e4d 2026-01-20 19:44:08,246 - DEBUG - Response Code: 404 2026-01-20 19:44:08,247 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-01-20 19:44:08,252 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e79d0ded-05e0-4fce-9cc2-48d79f990c62 2026-01-20 19:44:08,263 - DEBUG - Requesting: http://10.0.0.65:8082/project/74b5cc01-5c1d-4978-990c-8dec67cff3d3 2026-01-20 19:44:08,352 - INFO - Validated that VN ctest-vn-02436989 is not found in API Server 2026-01-20 19:44:08,364 - DEBUG - VN ctest-vn-02436989 is not present in Agent 10.0.0.131 2026-01-20 19:44:08,376 - DEBUG - VN ctest-vn-02436989 is not present in Agent 10.0.0.133 2026-01-20 19:44:08,376 - INFO - Validated that VN ctest-vn-02436989 is not in any agent 2026-01-20 19:44:08,409 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02436989 info 2026-01-20 19:44:09,799 - DEBUG - No XMPP flaps were noticed during the test 2026-01-20 19:44:09,799 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-01-20 19:44:09,800 - INFO - -------------------------------------------------------------------------------- 2026-01-20 19:44:10,716 - INFO - Deleted project: ctest-TestBasicPolicy-26856703, ID : 74b5cc01-5c1d-4978-990c-8dec67cff3d3