2025-02-13 02:38:29,600 - INFO - Domain Default found not creating 2025-02-13 02:38:29,769 - INFO - Project ctest-TestBasicPolicy-43482485 not found, creating it 2025-02-13 02:38:30,344 - INFO - Created Project:ctest-TestBasicPolicy-43482485, ID : 09b680ef-fd58-4cf5-a61e-b79262d60123 2025-02-13 02:38:32,072 - INFO - ================================================================================ 2025-02-13 02:38:32,072 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-13 02:38:32,073 - 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 2025-02-13 02:38:33,329 - WARNING - Test is running with cores: {'10.0.0.35': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-2728-2.1739412647']} 2025-02-13 02:38:33,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.8': '0', '10.20.0.6': '0'}, '10.0.0.54': {'10.20.0.35': '0', '10.20.0.8': '0'}} with 2025-02-13 02:38:33,347 - INFO - Initial checks done. Running the testcase now 2025-02-13 02:38:33,347 - INFO - 2025-02-13 02:38:34,126 - DEBUG - Response for create_network : {'network': {'id': 'bf5fca2d-045c-4f8b-87c8-2b112936c4f5', 'name': 'ctest-vn-18554208', 'tenant_id': '09b680effd584cf5a61eb79262d60123', 'project_id': '09b680effd584cf5a61eb79262d60123', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43482485', 'ctest-vn-18554208'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:38:34,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '30553530-a543-4c46-a030-6995f05fc784', 'name': '', 'tenant_id': '09b680effd584cf5a61eb79262d60123', 'network_id': 'bf5fca2d-045c-4f8b-87c8-2b112936c4f5', 'ip_version': 4, 'cidr': '100.164.158.192/26', 'allocation_pools': [{'start': '100.164.158.194', 'end': '100.164.158.254'}], 'gateway_ip': '100.164.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.164.158.194', 'tags': [], 'project_id': '09b680effd584cf5a61eb79262d60123'}} 2025-02-13 02:38:34,592 - INFO - Created VN ctest-vn-18554208 2025-02-13 02:38:34,609 - DEBUG - VN ctest-vn-18554208 UUID is bf5fca2d-045c-4f8b-87c8-2b112936c4f5 2025-02-13 02:38:35,434 - DEBUG - Response for create_network : {'network': {'id': '2c8471ae-05c0-448e-9221-fd4d9b1c52de', 'name': 'ctest-vn-13585723', 'tenant_id': '09b680effd584cf5a61eb79262d60123', 'project_id': '09b680effd584cf5a61eb79262d60123', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43482485', 'ctest-vn-13585723'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:38:35,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ef902f0-fd2c-4313-afe8-45d392c603b4', 'name': '', 'tenant_id': '09b680effd584cf5a61eb79262d60123', 'network_id': '2c8471ae-05c0-448e-9221-fd4d9b1c52de', 'ip_version': 4, 'cidr': '150.203.115.0/26', 'allocation_pools': [{'start': '150.203.115.2', 'end': '150.203.115.62'}], 'gateway_ip': '150.203.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.203.115.2', 'tags': [], 'project_id': '09b680effd584cf5a61eb79262d60123'}} 2025-02-13 02:38:35,740 - INFO - Created VN ctest-vn-13585723 2025-02-13 02:38:35,756 - DEBUG - VN ctest-vn-13585723 UUID is 2c8471ae-05c0-448e-9221-fd4d9b1c52de 2025-02-13 02:38:35,882 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208, 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-43482485:ctest-vn-13585723, 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] 2025-02-13 02:38:36,349 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf5fca2d-045c-4f8b-87c8-2b112936c4f5', 'name': 'ctest-vn-18554208', 'tenant_id': '09b680effd584cf5a61eb79262d60123', 'project_id': '09b680effd584cf5a61eb79262d60123', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30553530-a543-4c46-a030-6995f05fc784'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43482485', 'ctest-vn-18554208'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43482485', 'ctest-policy-allow-all-08175331']], 'subnet_ipam': [{'subnet_cidr': '100.164.158.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:38:36,597 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c8471ae-05c0-448e-9221-fd4d9b1c52de', 'name': 'ctest-vn-13585723', 'tenant_id': '09b680effd584cf5a61eb79262d60123', 'project_id': '09b680effd584cf5a61eb79262d60123', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3ef902f0-fd2c-4313-afe8-45d392c603b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43482485', 'ctest-vn-13585723'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43482485', 'ctest-policy-allow-all-08175331']], 'subnet_ipam': [{'subnet_cidr': '150.203.115.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:38:36,704 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-02-13 02:38:37,075 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-02-13 02:38:37,108 - DEBUG - Requesting: http://10.0.0.46:8082/domain/44daa540-d38c-42bf-9001-2bf4d30c8f3b 2025-02-13 02:38:37,126 - DEBUG - Requesting: http://10.0.0.46:8082/project/09b680ef-fd58-4cf5-a61e-b79262d60123 2025-02-13 02:38:37,255 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/bf5fca2d-045c-4f8b-87c8-2b112936c4f5 2025-02-13 02:38:37,279 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/bf5fca2d-045c-4f8b-87c8-2b112936c4f5 2025-02-13 02:38:37,298 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/721cc762-4309-4aad-b50b-8967cdb1b074 2025-02-13 02:38:37,313 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/721cc762-4309-4aad-b50b-8967cdb1b074 2025-02-13 02:38:37,327 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/3d102e8e-d1f0-4c0f-a64c-b78c80361ed1 2025-02-13 02:38:37,341 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:38:37,341 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/bf5fca2d-045c-4f8b-87c8-2b112936c4f5 2025-02-13 02:38:37,358 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/721cc762-4309-4aad-b50b-8967cdb1b074 2025-02-13 02:38:37,380 - INFO - Verified VN network id 8 for VN bf5fca2d-045c-4f8b-87c8-2b112936c4f5 2025-02-13 02:38:37,381 - INFO - Verifications in API Server for VN ctest-vn-18554208 passed 2025-02-13 02:38:37,381 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/bf5fca2d-045c-4f8b-87c8-2b112936c4f5 2025-02-13 02:38:37,399 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/721cc762-4309-4aad-b50b-8967cdb1b074 2025-02-13 02:38:37,416 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/721cc762-4309-4aad-b50b-8967cdb1b074 2025-02-13 02:38:37,426 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/3d102e8e-d1f0-4c0f-a64c-b78c80361ed1 2025-02-13 02:38:37,446 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43482485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13789962878727245707', 'uuid-lslong': '9784117543168296181'}, 'enable': 'true', 'created': '2025-02-13T02:38:34', 'last-modified': '2025-02-13T02:38:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.138791'} 2025-02-13 02:38:37,454 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:38:37,463 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43482485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13789962878727245707', 'uuid-lslong': '9784117543168296181'}, 'enable': 'true', 'created': '2025-02-13T02:38:34', 'last-modified': '2025-02-13T02:38:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.156104'} 2025-02-13 02:38:37,474 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:38:37,480 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43482485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13789962878727245707', 'uuid-lslong': '9784117543168296181'}, 'enable': 'true', 'created': '2025-02-13T02:38:34', 'last-modified': '2025-02-13T02:38:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.202889'} 2025-02-13 02:38:37,486 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:38:37,486 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18554208 passed 2025-02-13 02:38:37,487 - DEBUG - ====Verifying policy data for ctest-vn-18554208 in API_Server ====== 2025-02-13 02:38:37,487 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-02-13 02:38:37,495 - DEBUG - Requesting: http://10.0.0.46:8082/domain/44daa540-d38c-42bf-9001-2bf4d30c8f3b 2025-02-13 02:38:37,509 - DEBUG - Requesting: http://10.0.0.46:8082/project/09b680ef-fd58-4cf5-a61e-b79262d60123 2025-02-13 02:38:37,647 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/bf5fca2d-045c-4f8b-87c8-2b112936c4f5 2025-02-13 02:38:37,664 - DEBUG - ==>Verifying data for policy with id: f5d6d57a-16cb-4f57-9189-7e5f83e25263, fqn: ['default-domain', 'ctest-TestBasicPolicy-43482485', 'ctest-policy-allow-all-08175331'] 2025-02-13 02:38:37,664 - INFO - VN ctest-vn-18554208 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 02:38:37,664 - DEBUG - Verifying the vn in opserver 2025-02-13 02:38:37,664 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208 virtual network link through opserver 10.0.0.46 2025-02-13 02:38:37,665 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-02-13 02:38:38,013 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-02-13 02:38:38,083 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208?flat'} 2025-02-13 02:38:38,083 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208 virtual network link through opserver 10.0.0.35 2025-02-13 02:38:38,083 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-13 02:38:38,443 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-13 02:38:38,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208?flat'} 2025-02-13 02:38:38,507 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208 virtual network link through opserver 10.0.0.12 2025-02-13 02:38:38,507 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-13 02:38:38,844 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-13 02:38:38,910 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208?flat'} 2025-02-13 02:38:38,910 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208 is found in opserver 2025-02-13 02:38:38,950 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 02:38:38,971 - DEBUG - VRF ids for VN ctest-vn-18554208: {} 2025-02-13 02:38:38,972 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-02-13 02:38:38,982 - DEBUG - Requesting: http://10.0.0.46:8082/domain/44daa540-d38c-42bf-9001-2bf4d30c8f3b 2025-02-13 02:38:39,004 - DEBUG - Requesting: http://10.0.0.46:8082/project/09b680ef-fd58-4cf5-a61e-b79262d60123 2025-02-13 02:38:39,135 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/2c8471ae-05c0-448e-9221-fd4d9b1c52de 2025-02-13 02:38:39,163 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/2c8471ae-05c0-448e-9221-fd4d9b1c52de 2025-02-13 02:38:39,184 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/47d269d6-8afb-4d0f-aef1-918cdfbcf6bf 2025-02-13 02:38:39,202 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/47d269d6-8afb-4d0f-aef1-918cdfbcf6bf 2025-02-13 02:38:39,213 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/75d1c990-4057-4aff-8834-37f582518612 2025-02-13 02:38:39,223 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-13 02:38:39,223 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/2c8471ae-05c0-448e-9221-fd4d9b1c52de 2025-02-13 02:38:39,236 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/47d269d6-8afb-4d0f-aef1-918cdfbcf6bf 2025-02-13 02:38:39,261 - INFO - Verified VN network id 9 for VN 2c8471ae-05c0-448e-9221-fd4d9b1c52de 2025-02-13 02:38:39,261 - INFO - Verifications in API Server for VN ctest-vn-13585723 passed 2025-02-13 02:38:39,261 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/2c8471ae-05c0-448e-9221-fd4d9b1c52de 2025-02-13 02:38:39,278 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/47d269d6-8afb-4d0f-aef1-918cdfbcf6bf 2025-02-13 02:38:39,289 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/47d269d6-8afb-4d0f-aef1-918cdfbcf6bf 2025-02-13 02:38:39,300 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/75d1c990-4057-4aff-8834-37f582518612 2025-02-13 02:38:39,318 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43482485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3207813826829370510', 'uuid-lslong': '10529975913525564126'}, 'enable': 'true', 'created': '2025-02-13T02:38:35', 'last-modified': '2025-02-13T02:38:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.772554'} 2025-02-13 02:38:39,325 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-13 02:38:39,332 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43482485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3207813826829370510', 'uuid-lslong': '10529975913525564126'}, 'enable': 'true', 'created': '2025-02-13T02:38:35', 'last-modified': '2025-02-13T02:38:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.790562'} 2025-02-13 02:38:39,340 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-13 02:38:39,346 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43482485', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3207813826829370510', 'uuid-lslong': '10529975913525564126'}, 'enable': 'true', 'created': '2025-02-13T02:38:35', 'last-modified': '2025-02-13T02:38:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.802576'} 2025-02-13 02:38:39,353 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-13 02:38:39,353 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13585723 passed 2025-02-13 02:38:39,354 - DEBUG - ====Verifying policy data for ctest-vn-13585723 in API_Server ====== 2025-02-13 02:38:39,354 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-02-13 02:38:39,364 - DEBUG - Requesting: http://10.0.0.46:8082/domain/44daa540-d38c-42bf-9001-2bf4d30c8f3b 2025-02-13 02:38:39,379 - DEBUG - Requesting: http://10.0.0.46:8082/project/09b680ef-fd58-4cf5-a61e-b79262d60123 2025-02-13 02:38:39,493 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/2c8471ae-05c0-448e-9221-fd4d9b1c52de 2025-02-13 02:38:39,507 - DEBUG - ==>Verifying data for policy with id: f5d6d57a-16cb-4f57-9189-7e5f83e25263, fqn: ['default-domain', 'ctest-TestBasicPolicy-43482485', 'ctest-policy-allow-all-08175331'] 2025-02-13 02:38:39,507 - INFO - VN ctest-vn-13585723 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 02:38:39,507 - DEBUG - Verifying the vn in opserver 2025-02-13 02:38:39,508 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723 virtual network link through opserver 10.0.0.46 2025-02-13 02:38:39,508 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-02-13 02:38:39,574 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723?flat'} 2025-02-13 02:38:39,575 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723 virtual network link through opserver 10.0.0.35 2025-02-13 02:38:39,575 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-13 02:38:39,637 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723?flat'} 2025-02-13 02:38:39,637 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723 virtual network link through opserver 10.0.0.12 2025-02-13 02:38:39,637 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-13 02:38:39,707 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723?flat'} 2025-02-13 02:38:39,707 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-13585723 is found in opserver 2025-02-13 02:38:39,734 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 02:38:39,747 - DEBUG - VRF ids for VN ctest-vn-13585723: {} 2025-02-13 02:38:39,825 - DEBUG - Services list from nova: [, , , ] 2025-02-13 02:38:41,138 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2728-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2728-2) 2025-02-13 02:38:42,677 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2728-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2728-1) 2025-02-13 02:38:42,677 - INFO - Waiting for VM ctest-TestBasicPolicy-43482485-30968077 to be up.. 2025-02-13 02:38:42,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 02:38:47,901 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:38:47,902 - INFO - VM name : ctest-TestBasicPolicy-43482485-30968077 2025-02-13 02:38:47,999 - DEBUG - VM ctest-TestBasicPolicy-43482485-30968077 ID is 7b1a46cd-83e2-4213-8b69-e754a0f1728f 2025-02-13 02:38:48,026 - DEBUG - VM ctest-TestBasicPolicy-43482485-30968077 launched on Node an-jenkins-deploy-platform-ansible-os-2728-2 2025-02-13 02:38:48,133 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/7b1a46cd-83e2-4213-8b69-e754a0f1728f 2025-02-13 02:38:48,473 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/7b1a46cd-83e2-4213-8b69-e754a0f1728f 2025-02-13 02:38:48,508 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/c5377d85-bc6c-4702-9cd4-ca2da7fec9d1 2025-02-13 02:38:51,731 - 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 1007ms') 2025-02-13 02:38:51,732 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43482485-30968077 failed! 2025-02-13 02:38:51,751 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43482485:ctest-vn-18554208 is 100.164.158.193 and allocation pool is NOT set 2025-02-13 02:38:53,818 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.286 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.286/2.477/4.668/2.191 ms') 2025-02-13 02:38:53,818 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43482485-30968077 passed 2025-02-13 02:38:53,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:38:53,939 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43482485-30968077, IP 100.164.158.195, Port 22 2025-02-13 02:38:54,101 - DEBUG - VM ctest-TestBasicPolicy-43482485-30968077 is ready for SSH connections 2025-02-13 02:38:54,102 - INFO - Waiting for VM ctest-TestBasicPolicy-43482485-02381466 to be up.. 2025-02-13 02:38:54,220 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:38:54,220 - INFO - VM name : ctest-TestBasicPolicy-43482485-02381466 2025-02-13 02:38:54,330 - DEBUG - VM ctest-TestBasicPolicy-43482485-02381466 ID is fd384b65-2778-4783-bf68-34361151516f 2025-02-13 02:38:54,330 - DEBUG - VM ctest-TestBasicPolicy-43482485-02381466 launched on Node an-jenkins-deploy-platform-ansible-os-2728-1 2025-02-13 02:38:54,461 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/fd384b65-2778-4783-bf68-34361151516f 2025-02-13 02:38:54,473 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/7a3fd4fe-f187-40fe-9078-5eb12738ba61 2025-02-13 02:38:55,688 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.504/2.253/4.003/1.749 ms') 2025-02-13 02:38:55,688 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43482485-02381466 passed 2025-02-13 02:38:55,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:38:55,802 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43482485-02381466, IP 150.203.115.3, Port 22 2025-02-13 02:38:55,976 - DEBUG - VM ctest-TestBasicPolicy-43482485-02381466 is ready for SSH connections 2025-02-13 02:38:55,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:38:55,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.203.115.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2025-02-13 02:38:55,976 - DEBUG - ping -s 56 -c 3 -W 1 150.203.115.3 2025-02-13 02:38:59,892 - DEBUG - PING 150.203.115.3 (150.203.115.3): 56 data bytes 64 bytes from 150.203.115.3: seq=0 ttl=63 time=7.209 ms 64 bytes from 150.203.115.3: seq=1 ttl=63 time=1.300 ms 64 bytes from 150.203.115.3: seq=2 ttl=63 time=1.482 ms --- 150.203.115.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.300/3.330/7.209 ms 2025-02-13 02:38:59,892 - INFO - Ping to IP 150.203.115.3 from VM ctest-TestBasicPolicy-43482485-30968077 passed 2025-02-13 02:39:00,108 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f5d6d57a-16cb-4f57-9189-7e5f83e25263", "href": "http://10.0.0.12:8082/network-policy/f5d6d57a-16cb-4f57-9189-7e5f83e25263"}} 2025-02-13 02:39:00,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:39:00,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.203.115.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2025-02-13 02:39:00,108 - DEBUG - ping -s 56 -c 3 -W 1 150.203.115.3 2025-02-13 02:39:03,318 - DEBUG - PING 150.203.115.3 (150.203.115.3): 56 data bytes --- 150.203.115.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-13 02:39:03,318 - WARNING - Ping to IP 150.203.115.3 from VM ctest-TestBasicPolicy-43482485-30968077 failed 2025-02-13 02:39:03,318 - INFO - Deleting VM ctest-TestBasicPolicy-43482485-02381466 2025-02-13 02:39:03,400 - INFO - Deleting VM ctest-TestBasicPolicy-43482485-30968077 2025-02-13 02:39:04,012 - INFO - Deleted policy ctest-policy-allow-all-08175331 2025-02-13 02:39:04,013 - INFO - Deleting VN ctest-vn-13585723 2025-02-13 02:39:04,114 - DEBUG - VN 2c8471ae-05c0-448e-9221-fd4d9b1c52de still in use: Unable to complete operation on network 2c8471ae-05c0-448e-9221-fd4d9b1c52de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb180b63-4820-493b-a624-0f6a5b68115b'] 2025-02-13 02:39:04,114 - WARNING - Deleting VN ctest-vn-13585723 failed..Will retry 2025-02-13 02:39:06,340 - DEBUG - Response for deleting network () 2025-02-13 02:39:06,340 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/47d269d6-8afb-4d0f-aef1-918cdfbcf6bf 2025-02-13 02:39:06,350 - DEBUG - Response Code: 404 2025-02-13 02:39:06,350 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-02-13 02:39:06,365 - DEBUG - Requesting: http://10.0.0.46:8082/domain/44daa540-d38c-42bf-9001-2bf4d30c8f3b 2025-02-13 02:39:06,384 - DEBUG - Requesting: http://10.0.0.46:8082/project/09b680ef-fd58-4cf5-a61e-b79262d60123 2025-02-13 02:39:06,491 - INFO - Validated that VN ctest-vn-13585723 is not found in API Server 2025-02-13 02:39:06,509 - DEBUG - VN ctest-vn-13585723 is not present in Agent 10.0.0.50 2025-02-13 02:39:06,521 - DEBUG - VN ctest-vn-13585723 is not present in Agent 10.0.0.54 2025-02-13 02:39:06,521 - INFO - Validated that VN ctest-vn-13585723 is not in any agent 2025-02-13 02:39:06,558 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13585723 info 2025-02-13 02:39:06,558 - INFO - Deleting VN ctest-vn-18554208 2025-02-13 02:39:06,770 - DEBUG - Response for deleting network () 2025-02-13 02:39:06,771 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/721cc762-4309-4aad-b50b-8967cdb1b074 2025-02-13 02:39:06,797 - DEBUG - Response Code: 404 2025-02-13 02:39:06,798 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-02-13 02:39:06,807 - DEBUG - Requesting: http://10.0.0.46:8082/domain/44daa540-d38c-42bf-9001-2bf4d30c8f3b 2025-02-13 02:39:06,823 - DEBUG - Requesting: http://10.0.0.46:8082/project/09b680ef-fd58-4cf5-a61e-b79262d60123 2025-02-13 02:39:06,936 - INFO - Validated that VN ctest-vn-18554208 is not found in API Server 2025-02-13 02:39:06,954 - DEBUG - VN ctest-vn-18554208 is not present in Agent 10.0.0.50 2025-02-13 02:39:06,966 - DEBUG - VN ctest-vn-18554208 is not present in Agent 10.0.0.54 2025-02-13 02:39:06,966 - INFO - Validated that VN ctest-vn-18554208 is not in any agent 2025-02-13 02:39:07,005 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18554208 info 2025-02-13 02:39:08,283 - DEBUG - No XMPP flaps were noticed during the test 2025-02-13 02:39:08,283 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-02-13 02:39:08,283 - INFO - -------------------------------------------------------------------------------- 2025-02-13 02:39:09,098 - INFO - Deleted project: ctest-TestBasicPolicy-43482485, ID : 09b680ef-fd58-4cf5-a61e-b79262d60123