2025-08-02 23:36:10,295 - INFO - Domain Default found not creating 2025-08-02 23:36:10,471 - INFO - Project ctest-TestBasicPolicyModifyIpv4v6-17043369 not found, creating it 2025-08-02 23:36:11,170 - INFO - Created Project:ctest-TestBasicPolicyModifyIpv4v6-17043369, ID : 7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:12,688 - INFO - ================================================================================ 2025-08-02 23:36:12,688 - INFO - STARTING TEST : test_policy_modify_vn_policy 2025-08-02 23:36:14,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-02 23:36:14,083 - INFO - Initial checks done. Running the testcase now 2025-08-02 23:36:14,083 - INFO - 2025-08-02 23:36:14,083 - INFO - ================================================================================ 2025-08-02 23:36:14,083 - INFO - STARTING TEST : test_policy_modify_vn_policy 2025-08-02 23:36:14,083 - INFO - TEST DESCRIPTION : Configure policies based on topology; 2025-08-02 23:36:15,461 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-02 23:36:15,461 - INFO - Initial checks done. Running the testcase now 2025-08-02 23:36:15,461 - INFO - 2025-08-02 23:36:15,462 - INFO - Scenario for the test used is: 2025-08-02 23:36:15,463 - DEBUG - Starting setup 2025-08-02 23:36:16,302 - INFO - Using existing project ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369'](7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c) 2025-08-02 23:36:16,302 - INFO - provision user admin with role as admin in tenant ctest-TestBasicPolicyModifyIpv4v6-17043369 2025-08-02 23:36:17,497 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:17,830 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:17,894 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:17,920 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:18,043 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 23:36:18,342 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-02 23:36:18,388 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:18,426 - DEBUG - Requesting: http://10.0.0.254:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:18,583 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-02 23:36:18,880 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-02 23:36:18,931 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:18,963 - DEBUG - Requesting: http://10.0.0.50:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:19,125 - INFO - Verification of project ctest-TestBasicPolicyModifyIpv4v6-17043369 in API Server 10.0.0.50 passed 2025-08-02 23:36:19,461 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:19,472 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:19,490 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:19,626 - DEBUG - Requesting: http://10.0.0.38:8082/network-ipam/f883c846-78d3-4b4b-a904-8e265d291686 2025-08-02 23:36:19,637 - INFO - Verifications in API Server for IPAM: ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam passed 2025-08-02 23:36:19,644 - DEBUG - Control-node 10.0.0.38 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17907376748355603275', 'uuid-lslong': '12179015587739539078'}, 'enable': 'true', 'created': '2025-08-02T23:36:19', 'last-modified': '2025-08-02T23:36:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.204472'} 2025-08-02 23:36:19,652 - DEBUG - Control-node 10.0.0.254 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17907376748355603275', 'uuid-lslong': '12179015587739539078'}, 'enable': 'true', 'created': '2025-08-02T23:36:19', 'last-modified': '2025-08-02T23:36:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.208481'} 2025-08-02 23:36:19,660 - DEBUG - Control-node 10.0.0.50 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17907376748355603275', 'uuid-lslong': '12179015587739539078'}, 'enable': 'true', 'created': '2025-08-02T23:36:19', 'last-modified': '2025-08-02T23:36:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.205699'} 2025-08-02 23:36:19,660 - INFO - Verifications in Control node for IPAM: ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam passed 2025-08-02 23:36:20,422 - DEBUG - Response for create_network : {'network': {'id': '28649a51-15ca-424c-8b6b-a5292b9fa6f5', 'name': 'ctest-vnet0-39479337', 'tenant_id': '7cb74c1c11e34b40b0d1ca220c8ec21c', 'project_id': '7cb74c1c11e34b40b0d1ca220c8ec21c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-vnet0-39479337'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:36:20,729 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cc5e082-0d47-40f6-aa1a-0c8d7d8514f6', 'name': '', 'tenant_id': '7cb74c1c11e34b40b0d1ca220c8ec21c', 'network_id': '28649a51-15ca-424c-8b6b-a5292b9fa6f5', 'ip_version': 4, 'cidr': '45.251.18.0/26', 'allocation_pools': [{'start': '45.251.18.2', 'end': '45.251.18.62'}], 'gateway_ip': '45.251.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.251.18.2', 'tags': [], 'project_id': '7cb74c1c11e34b40b0d1ca220c8ec21c'}} 2025-08-02 23:36:21,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b8c364f-fecd-4aef-b9c2-88a2115263fc', 'name': '', 'tenant_id': '7cb74c1c11e34b40b0d1ca220c8ec21c', 'network_id': '28649a51-15ca-424c-8b6b-a5292b9fa6f5', 'ip_version': 6, 'cidr': '31e8:62d6:5503:61c:5c45:7e50::/96', 'allocation_pools': [{'start': '31e8:62d6:5503:61c:5c45:7e50:0:2', 'end': '31e8:62d6:5503:61c:5c45:7e50:ffff:fffe'}], 'gateway_ip': '31e8:62d6:5503:61c:5c45:7e50:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31e8:62d6:5503:61c:5c45:7e50:0:2', 'tags': [], 'project_id': '7cb74c1c11e34b40b0d1ca220c8ec21c'}} 2025-08-02 23:36:21,036 - INFO - Created VN ctest-vnet0-39479337 2025-08-02 23:36:21,053 - DEBUG - VN ctest-vnet0-39479337 UUID is 28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:21,199 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:21,514 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:21,556 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:21,574 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:21,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:21,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:21,735 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09fe9a25-1387-483d-9bbc-679e7277d7c7 2025-08-02 23:36:21,747 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09fe9a25-1387-483d-9bbc-679e7277d7c7 2025-08-02 23:36:21,757 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/51baf931-5881-483a-97eb-b4d8a267168b 2025-08-02 23:36:21,767 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-02 23:36:21,767 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:21,780 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09fe9a25-1387-483d-9bbc-679e7277d7c7 2025-08-02 23:36:21,807 - INFO - Verified VN network id 12 for VN 28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:21,807 - INFO - Verifications in API Server for VN ctest-vnet0-39479337 passed 2025-08-02 23:36:21,807 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:21,820 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09fe9a25-1387-483d-9bbc-679e7277d7c7 2025-08-02 23:36:21,831 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09fe9a25-1387-483d-9bbc-679e7277d7c7 2025-08-02 23:36:21,842 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/51baf931-5881-483a-97eb-b4d8a267168b 2025-08-02 23:36:21,856 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'admin', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2910620932236788300', 'uuid-lslong': '10046304990024148725'}, 'enable': 'true', 'created': '2025-08-02T23:36:20', 'last-modified': '2025-08-02T23:36:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926960'} 2025-08-02 23:36:21,863 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-02 23:36:21,876 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'admin', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2910620932236788300', 'uuid-lslong': '10046304990024148725'}, 'enable': 'true', 'created': '2025-08-02T23:36:20', 'last-modified': '2025-08-02T23:36:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946300'} 2025-08-02 23:36:21,891 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-02 23:36:21,906 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'admin', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2910620932236788300', 'uuid-lslong': '10046304990024148725'}, 'enable': 'true', 'created': '2025-08-02T23:36:20', 'last-modified': '2025-08-02T23:36:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970295'} 2025-08-02 23:36:21,922 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-02 23:36:21,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vnet0-39479337 passed 2025-08-02 23:36:21,922 - DEBUG - ====Verifying policy data for ctest-vnet0-39479337 in API_Server ====== 2025-08-02 23:36:21,922 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:21,931 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:21,948 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:22,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:22,108 - DEBUG - =>VN ctest-vnet0-39479337 has no policy to be verified 2025-08-02 23:36:22,108 - DEBUG - Verifying the vn in opserver 2025-08-02 23:36:22,108 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337 virtual network link through opserver 10.0.0.38 2025-08-02 23:36:22,109 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-02 23:36:22,418 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-02 23:36:22,506 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337?flat'} 2025-08-02 23:36:22,507 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337 virtual network link through opserver 10.0.0.254 2025-08-02 23:36:22,507 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-02 23:36:22,812 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-02 23:36:22,914 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337?flat'} 2025-08-02 23:36:22,914 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337 virtual network link through opserver 10.0.0.50 2025-08-02 23:36:22,915 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-02 23:36:23,211 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-02 23:36:23,290 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337?flat'} 2025-08-02 23:36:23,290 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337 is found in opserver 2025-08-02 23:36:23,317 - DEBUG - Do not have enough data to verify VN in agent 2025-08-02 23:36:23,330 - DEBUG - VRF ids for VN ctest-vnet0-39479337: {} 2025-08-02 23:36:23,343 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = >, protocol = tcp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = 0, end_port = 0], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = deny, 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, rule_sequence = None, rule_uuid = None, direction = >, protocol = tcp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, 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-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = deny, 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, rule_sequence = None, rule_uuid = None, direction = >, protocol = tcp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = 2, end_port = 2], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = deny, 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-08-02 23:36:23,753 - DEBUG - ====Verifying data for ctest-policy0-12506367 in API_Server ====== 2025-08-02 23:36:23,754 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:23,766 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:23,786 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:23,934 - DEBUG - Requesting: http://10.0.0.38:8082/network-policy/df1f2a1d-8db2-4ffa-9f2c-1c42735ed97d 2025-08-02 23:36:23,951 - INFO - Verified policy ctest-policy0-12506367 in API Server, Result: True 2025-08-02 23:36:23,959 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = >, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, 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-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = deny, 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, rule_sequence = None, rule_uuid = None, direction = >, protocol = 58, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, 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-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = deny, 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-08-02 23:36:24,297 - DEBUG - ====Verifying data for ctest-policy1-63532445 in API_Server ====== 2025-08-02 23:36:24,297 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:24,306 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:24,324 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:24,445 - DEBUG - Requesting: http://10.0.0.38:8082/network-policy/e6c69de0-baf9-4154-bdcf-524c82f85928 2025-08-02 23:36:24,460 - INFO - Verified policy ctest-policy1-63532445 in API Server, Result: True 2025-08-02 23:36:24,469 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = >, protocol = udp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = 10, end_port = 10], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-17043369:ctest-vnet0-39479337, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = deny, 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-08-02 23:36:24,806 - DEBUG - ====Verifying data for ctest-policy2-71464565 in API_Server ====== 2025-08-02 23:36:24,806 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:24,814 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:24,853 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:24,963 - DEBUG - Requesting: http://10.0.0.38:8082/network-policy/011cfed5-3b5d-40cc-8c30-90038ea37d83 2025-08-02 23:36:25,004 - INFO - Verified policy ctest-policy2-71464565 in API Server, Result: True 2025-08-02 23:36:25,005 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:25,018 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:25,076 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:25,214 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:25,238 - DEBUG - Setup step: Associating the policy to VN' 2025-08-02 23:36:25,379 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28649a51-15ca-424c-8b6b-a5292b9fa6f5', 'name': 'ctest-vnet0-39479337', 'tenant_id': '7cb74c1c11e34b40b0d1ca220c8ec21c', 'project_id': '7cb74c1c11e34b40b0d1ca220c8ec21c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0cc5e082-0d47-40f6-aa1a-0c8d7d8514f6', '9b8c364f-fecd-4aef-b9c2-88a2115263fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-vnet0-39479337'], 'policys': [['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-policy0-12506367'], ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-policy1-63532445']], 'subnet_ipam': [{'subnet_cidr': '45.251.18.0/26', 'ipam_fq_name': ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam']}, {'subnet_cidr': '31e8:62d6:5503:61c:5c45:7e50::/96', 'ipam_fq_name': ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:36:25,557 - DEBUG - Associated Policy:[['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-policy0-12506367'], ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-policy1-63532445']] to ctest-vnet0-39479337 2025-08-02 23:36:25,581 - DEBUG - Services list from nova: [, , , ] 2025-08-02 23:36:25,581 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3743-2', 'an-jenkins-deploy-platform-ansible-os-3743-1']} 2025-08-02 23:36:25,686 - DEBUG - Services list from nova: [, , , ] 2025-08-02 23:36:25,715 - DEBUG - Image by name ubuntu-traffic-py3 not found 2025-08-02 23:36:25,715 - DEBUG - Installing image ubuntu-traffic-py3 2025-08-02 23:36:25,715 - DEBUG - Image info {'name': 'ubuntu-traffic-py3.qcow2.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_small', 'params': '--container-format ovf --disk-format qcow2 --property hypervisor_type=qemu', 'name_docker': 'phusion-baseimage-enablesshd'} 2025-08-02 23:36:25,715 - DEBUG - Image build path file:///contrail-test/images/ubuntu-traffic-py3.qcow2.gz 2025-08-02 23:36:25,715 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu-traffic-py3.qcow2.gz 2025-08-02 23:36:25,715 - DEBUG - Unzip image 2025-08-02 23:36:25,715 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-traffic-py3.qcow2.gz 2025-08-02 23:36:25,732 - INFO - image /contrail-test/images/ubuntu-traffic-py3.qcow2 is not found 2025-08-02 23:36:25,733 - DEBUG - Detaching the Policy for VN :ctest-vnet0-39479337 2025-08-02 23:36:25,733 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:25,743 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:25,766 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:25,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28649a51-15ca-424c-8b6b-a5292b9fa6f5 2025-08-02 23:36:26,228 - DEBUG - Detached Policy:[['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-policy0-12506367'], ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369', 'ctest-policy1-63532445']] from ctest-vnet0-39479337 2025-08-02 23:36:26,282 - INFO - Deleted policy ctest-policy2-71464565 2025-08-02 23:36:26,501 - DEBUG - policy ctest-policy2-71464565 is not found in API Server 2025-08-02 23:36:26,571 - INFO - Deleted policy ctest-policy1-63532445 2025-08-02 23:36:26,837 - DEBUG - policy ctest-policy1-63532445 is not found in API Server 2025-08-02 23:36:26,909 - INFO - Deleted policy ctest-policy0-12506367 2025-08-02 23:36:27,134 - DEBUG - policy ctest-policy0-12506367 is not found in API Server 2025-08-02 23:36:27,134 - INFO - Deleting VN ctest-vnet0-39479337 2025-08-02 23:36:27,387 - DEBUG - Response for deleting network () 2025-08-02 23:36:27,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09fe9a25-1387-483d-9bbc-679e7277d7c7 2025-08-02 23:36:27,403 - DEBUG - Response Code: 404 2025-08-02 23:36:27,403 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-02 23:36:27,414 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-02 23:36:27,473 - DEBUG - Requesting: http://10.0.0.38:8082/project/7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c 2025-08-02 23:36:27,636 - INFO - Validated that VN ctest-vnet0-39479337 is not found in API Server 2025-08-02 23:36:27,652 - DEBUG - VN ctest-vnet0-39479337 is not present in Agent 10.0.0.48 2025-08-02 23:36:27,667 - DEBUG - VN ctest-vnet0-39479337 is not present in Agent 10.0.0.49 2025-08-02 23:36:27,667 - INFO - Validated that VN ctest-vnet0-39479337 is not in any agent 2025-08-02 23:36:27,719 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vnet0-39479337 info 2025-08-02 23:36:27,826 - INFO - IPAM: ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam is not found in API Server 2025-08-02 23:36:27,876 - INFO - IPAM:ctest-TestBasicPolicyModifyIpv4v6-17043369-default-ipam is not found in control node 2025-08-02 23:36:28,466 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-17043369'] 2025-08-02 23:36:28,466 - DEBUG - Skipping the deletion of User admin 2025-08-02 23:36:29,872 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 23:36:29,873 - INFO - 2025-08-02 23:36:29,873 - INFO - END TEST : test_policy_modify_vn_policy : SKIPPED[0:00:15] 2025-08-02 23:36:29,873 - INFO - -------------------------------------------------------------------------------- 2025-08-02 23:36:29,873 - INFO - image /contrail-test/images/ubuntu-traffic-py3.qcow2 is not found 2025-08-02 23:36:31,266 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 23:36:31,266 - INFO - 2025-08-02 23:36:31,266 - INFO - END TEST : test_policy_modify_vn_policy : SKIPPED[0:00:19] 2025-08-02 23:36:31,266 - INFO - -------------------------------------------------------------------------------- 2025-08-02 23:36:32,569 - INFO - Deleted project: ctest-TestBasicPolicyModifyIpv4v6-17043369, ID : 7cb74c1c-11e3-4b40-b0d1-ca220c8ec21c