2025-07-22 16:02:00,112 - INFO - Domain Default found not creating
2025-07-22 16:02:00,351 - INFO - Project ctest-TestBasicPolicyModifyIpv4v6-65444052 not found, creating it
2025-07-22 16:02:01,028 - INFO - Created Project:ctest-TestBasicPolicyModifyIpv4v6-65444052, ID : af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:02,576 - INFO - ================================================================================
2025-07-22 16:02:02,576 - INFO - STARTING TEST : test_policy_modify_vn_policy
2025-07-22 16:02:03,854 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2025-07-22 16:02:03,854 - INFO - Initial checks done. Running the testcase now
2025-07-22 16:02:03,854 - INFO -
2025-07-22 16:02:03,854 - INFO - ================================================================================
2025-07-22 16:02:03,854 - INFO - STARTING TEST : test_policy_modify_vn_policy
2025-07-22 16:02:03,854 - INFO - TEST DESCRIPTION : Configure policies based on topology;
2025-07-22 16:02:05,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2025-07-22 16:02:05,160 - INFO - Initial checks done. Running the testcase now
2025-07-22 16:02:05,160 - INFO -
2025-07-22 16:02:05,161 - INFO - Scenario for the test used is:
2025-07-22 16:02:05,162 - DEBUG - Starting setup
2025-07-22 16:02:05,964 - INFO - Using existing project ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052'](af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5)
2025-07-22 16:02:05,965 - INFO - provision user admin with role as admin in tenant ctest-TestBasicPolicyModifyIpv4v6-65444052
2025-07-22 16:02:07,064 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:07,384 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:07,464 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:07,490 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:07,604 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-07-22 16:02:07,910 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-07-22 16:02:07,943 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:07,966 - DEBUG - Requesting: http://10.0.0.50:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:08,078 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-07-22 16:02:08,383 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-07-22 16:02:08,426 - DEBUG - Requesting: http://10.0.0.23:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:08,453 - DEBUG - Requesting: http://10.0.0.23:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:08,596 - INFO - Verification of project ctest-TestBasicPolicyModifyIpv4v6-65444052 in API Server 10.0.0.23 passed
2025-07-22 16:02:08,896 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:08,904 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:08,918 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:09,029 - DEBUG - Requesting: http://10.0.0.254:8082/network-ipam/61b52fd6-71de-490f-94ec-828667641df1
2025-07-22 16:02:09,038 - INFO - Verifications in API Server for IPAM: ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam passed
2025-07-22 16:02:09,044 - DEBUG - Control-node 10.0.0.254 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7040586190543538447', 'uuid-lslong': '10731095525888892401'}, 'enable': 'true', 'created': '2025-07-22T16:02:08', 'last-modified': '2025-07-22T16:02:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.174231'}
2025-07-22 16:02:09,051 - DEBUG - Control-node 10.0.0.50 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7040586190543538447', 'uuid-lslong': '10731095525888892401'}, 'enable': 'true', 'created': '2025-07-22T16:02:08', 'last-modified': '2025-07-22T16:02:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.186307'}
2025-07-22 16:02:09,060 - DEBUG - Control-node 10.0.0.23 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7040586190543538447', 'uuid-lslong': '10731095525888892401'}, 'enable': 'true', 'created': '2025-07-22T16:02:08', 'last-modified': '2025-07-22T16:02:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.186837'}
2025-07-22 16:02:09,060 - INFO - Verifications in Control node for IPAM: ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam passed
2025-07-22 16:02:09,772 - DEBUG - Response for create_network : {'network': {'id': '07431cf7-e372-408a-8dc7-794c6c94f0cb', 'name': 'ctest-vnet0-43681374', 'tenant_id': 'af75cc5fffdc4c3d970006fd0c2cc8d5', 'project_id': 'af75cc5fffdc4c3d970006fd0c2cc8d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-vnet0-43681374'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 16:02:10,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '49861d2c-1e60-44c8-917f-24021503aa2e', 'name': '', 'tenant_id': 'af75cc5fffdc4c3d970006fd0c2cc8d5', 'network_id': '07431cf7-e372-408a-8dc7-794c6c94f0cb', 'ip_version': 4, 'cidr': '96.152.157.128/26', 'allocation_pools': [{'start': '96.152.157.130', 'end': '96.152.157.190'}], 'gateway_ip': '96.152.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.152.157.130', 'tags': [], 'project_id': 'af75cc5fffdc4c3d970006fd0c2cc8d5'}}
2025-07-22 16:02:10,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '63ac8922-1c78-4150-b91a-abeafe796659', 'name': '', 'tenant_id': 'af75cc5fffdc4c3d970006fd0c2cc8d5', 'network_id': '07431cf7-e372-408a-8dc7-794c6c94f0cb', 'ip_version': 6, 'cidr': '3374:1f36:86d7:792:2a64:2b73::/96', 'allocation_pools': [{'start': '3374:1f36:86d7:792:2a64:2b73:0:2', 'end': '3374:1f36:86d7:792:2a64:2b73:ffff:fffe'}], 'gateway_ip': '3374:1f36:86d7:792:2a64:2b73:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3374:1f36:86d7:792:2a64:2b73:0:2', 'tags': [], 'project_id': 'af75cc5fffdc4c3d970006fd0c2cc8d5'}}
2025-07-22 16:02:10,331 - INFO - Created VN ctest-vnet0-43681374
2025-07-22 16:02:10,349 - DEBUG - VN ctest-vnet0-43681374 UUID is 07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:02:10,467 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:10,766 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:10,797 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:10,813 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:10,960 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:02:10,985 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:02:11,002 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80384999-9e4a-41eb-9efa-8b1ed9fab6fa
2025-07-22 16:02:11,014 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80384999-9e4a-41eb-9efa-8b1ed9fab6fa
2025-07-22 16:02:11,027 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9a5507e7-f15c-4e40-ae86-e7cdca61d9ff
2025-07-22 16:02:11,041 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 16:02:11,041 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:02:11,062 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80384999-9e4a-41eb-9efa-8b1ed9fab6fa
2025-07-22 16:02:11,090 - INFO - Verified VN network id 12 for VN 07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:02:11,091 - INFO - Verifications in API Server for VN ctest-vnet0-43681374 passed
2025-07-22 16:02:11,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:02:11,109 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80384999-9e4a-41eb-9efa-8b1ed9fab6fa
2025-07-22 16:02:11,124 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80384999-9e4a-41eb-9efa-8b1ed9fab6fa
2025-07-22 16:02:11,136 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9a5507e7-f15c-4e40-ae86-e7cdca61d9ff
2025-07-22 16:02:11,155 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'admin', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '523293832703525002', 'uuid-lslong': '10216267648859435211'}, 'enable': 'true', 'created': '2025-07-22T16:02:09', 'last-modified': '2025-07-22T16:02:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916981'}
2025-07-22 16:02:11,163 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 16:02:11,171 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'admin', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '523293832703525002', 'uuid-lslong': '10216267648859435211'}, 'enable': 'true', 'created': '2025-07-22T16:02:09', 'last-modified': '2025-07-22T16:02:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932352'}
2025-07-22 16:02:11,181 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 16:02:11,189 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'admin', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '523293832703525002', 'uuid-lslong': '10216267648859435211'}, 'enable': 'true', 'created': '2025-07-22T16:02:09', 'last-modified': '2025-07-22T16:02:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953471'}
2025-07-22 16:02:11,198 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 16:02:11,198 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vnet0-43681374 passed
2025-07-22 16:02:11,198 - DEBUG - ====Verifying policy data for ctest-vnet0-43681374 in API_Server ======
2025-07-22 16:02:11,198 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:11,206 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:11,221 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:11,331 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:02:11,347 - DEBUG - =>VN ctest-vnet0-43681374 has no policy to be verified
2025-07-22 16:02:11,347 - DEBUG - Verifying the vn in opserver
2025-07-22 16:02:11,347 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374 virtual network link through opserver 10.0.0.254
2025-07-22 16:02:11,347 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-07-22 16:02:11,652 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-07-22 16:02:11,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374?flat'}
2025-07-22 16:02:11,731 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374 virtual network link through opserver 10.0.0.50
2025-07-22 16:02:11,731 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-07-22 16:02:12,047 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-07-22 16:02:12,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374?flat'}
2025-07-22 16:02:12,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374 virtual network link through opserver 10.0.0.23
2025-07-22 16:02:12,114 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-07-22 16:02:12,418 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-07-22 16:02:12,480 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374?flat'}
2025-07-22 16:02:12,480 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374 is found in opserver
2025-07-22 16:02:12,516 - DEBUG - Do not have enough data to verify VN in agent
2025-07-22 16:02:12,532 - DEBUG - VRF ids for VN ctest-vnet0-43681374: {}
2025-07-22 16:02:12,539 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = >, protocol = tcp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-07-22 16:02:12,823 - DEBUG - ====Verifying data for ctest-policy0-96629130 in API_Server ======
2025-07-22 16:02:12,823 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:12,831 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:12,849 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:12,959 - DEBUG - Requesting: http://10.0.0.254:8082/network-policy/da8be9b7-5e8d-4433-ba9a-c3445909abd7
2025-07-22 16:02:12,978 - INFO - Verified policy ctest-policy0-96629130 in API Server, Result: True
2025-07-22 16:02:12,987 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = >, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-07-22 16:02:13,278 - DEBUG - ====Verifying data for ctest-policy1-95933509 in API_Server ======
2025-07-22 16:02:13,278 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:13,285 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:13,299 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:13,414 - DEBUG - Requesting: http://10.0.0.254:8082/network-policy/4bcb8f18-f12f-4c4b-9d87-f96a9e368ce5
2025-07-22 16:02:13,432 - INFO - Verified policy ctest-policy1-95933509 in API Server, Result: True
2025-07-22 16:02:13,442 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = >, protocol = udp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyModifyIpv4v6-65444052:ctest-vnet0-43681374, 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-65444052:ctest-vnet0-43681374, 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-07-22 16:02:13,683 - DEBUG - ====Verifying data for ctest-policy2-38851324 in API_Server ======
2025-07-22 16:02:13,683 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:13,690 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:13,703 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:13,827 - DEBUG - Requesting: http://10.0.0.254:8082/network-policy/5f3f1900-1814-49a1-9580-b5eaf3eba871
2025-07-22 16:02:13,840 - INFO - Verified policy ctest-policy2-38851324 in API Server, Result: True
2025-07-22 16:02:13,841 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:02:13,850 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:02:13,867 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:02:13,976 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:02:13,999 - DEBUG - Setup step: Associating the policy to VN'
2025-07-22 16:02:14,143 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07431cf7-e372-408a-8dc7-794c6c94f0cb', 'name': 'ctest-vnet0-43681374', 'tenant_id': 'af75cc5fffdc4c3d970006fd0c2cc8d5', 'project_id': 'af75cc5fffdc4c3d970006fd0c2cc8d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49861d2c-1e60-44c8-917f-24021503aa2e', '63ac8922-1c78-4150-b91a-abeafe796659'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-vnet0-43681374'], 'policys': [['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-policy0-96629130'], ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-policy1-95933509']], 'subnet_ipam': [{'subnet_cidr': '96.152.157.128/26', 'ipam_fq_name': ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam']}, {'subnet_cidr': '3374:1f36:86d7:792:2a64:2b73::/96', 'ipam_fq_name': ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-07-22 16:02:14,339 - DEBUG - Associated Policy:[['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-policy0-96629130'], ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-policy1-95933509']] to ctest-vnet0-43681374
2025-07-22 16:02:14,369 - DEBUG - Services list from nova: [, , , ]
2025-07-22 16:02:14,369 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3693-2', 'an-jenkins-deploy-platform-ansible-os-3693-1']}
2025-07-22 16:02:14,468 - DEBUG - Services list from nova: [, , , ]
2025-07-22 16:03:54,800 - DEBUG - Installing image ubuntu-traffic-py3
2025-07-22 16:03:54,800 - 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-07-22 16:03:54,800 - DEBUG - Image build path file:///contrail-test/images/ubuntu-traffic-py3.qcow2.gz
2025-07-22 16:03:54,800 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu-traffic-py3.qcow2.gz
2025-07-22 16:03:54,800 - DEBUG - Unzip image
2025-07-22 16:03:54,800 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-traffic-py3.qcow2.gz
2025-07-22 16:03:54,815 - DEBUG - Try to create image in user context
2025-07-22 16:03:54,871 - DEBUG - Detaching the Policy for VN :ctest-vnet0-43681374
2025-07-22 16:03:54,871 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:03:54,878 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:03:54,891 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:03:54,997 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07431cf7-e372-408a-8dc7-794c6c94f0cb
2025-07-22 16:03:55,240 - DEBUG - Detached Policy:[['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-policy0-96629130'], ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052', 'ctest-policy1-95933509']] from ctest-vnet0-43681374
2025-07-22 16:03:55,278 - INFO - Deleted policy ctest-policy2-38851324
2025-07-22 16:03:55,472 - DEBUG - policy ctest-policy2-38851324 is not found in API Server
2025-07-22 16:03:55,517 - INFO - Deleted policy ctest-policy1-95933509
2025-07-22 16:03:55,716 - DEBUG - policy ctest-policy1-95933509 is not found in API Server
2025-07-22 16:03:55,767 - INFO - Deleted policy ctest-policy0-96629130
2025-07-22 16:03:55,964 - DEBUG - policy ctest-policy0-96629130 is not found in API Server
2025-07-22 16:03:55,964 - INFO - Deleting VN ctest-vnet0-43681374
2025-07-22 16:03:56,208 - DEBUG - Response for deleting network ()
2025-07-22 16:03:56,208 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80384999-9e4a-41eb-9efa-8b1ed9fab6fa
2025-07-22 16:03:56,217 - DEBUG - Response Code: 404
2025-07-22 16:03:56,217 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:03:56,225 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:03:56,290 - DEBUG - Requesting: http://10.0.0.254:8082/project/af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5
2025-07-22 16:03:56,393 - INFO - Validated that VN ctest-vnet0-43681374 is not found in API Server
2025-07-22 16:03:56,408 - DEBUG - VN ctest-vnet0-43681374 is not present in Agent 10.0.0.19
2025-07-22 16:03:56,425 - DEBUG - VN ctest-vnet0-43681374 is not present in Agent 10.0.0.27
2025-07-22 16:03:56,425 - INFO - Validated that VN ctest-vnet0-43681374 is not in any agent
2025-07-22 16:03:56,465 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vnet0-43681374 info
2025-07-22 16:03:56,568 - INFO - IPAM: ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam is not found in API Server
2025-07-22 16:03:56,594 - INFO - IPAM:ctest-TestBasicPolicyModifyIpv4v6-65444052-default-ipam is not found in control node
2025-07-22 16:03:57,073 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestBasicPolicyModifyIpv4v6-65444052']
2025-07-22 16:03:57,073 - DEBUG - Skipping the deletion of User admin
2025-07-22 16:03:58,333 - ERROR - Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/policy/test_policy_basic.py", line 296, in test_policy_modify_vn_policy
out = setup_obj.topo_setup()
File "/contrail-test/tcutils/topo/sdn_topo_setup.py", line 94, in topo_setup
topo_steps.createVMNova(self, config_option, vms_on_single_compute)
File "/contrail-test/tcutils/topo/topo_steps.py", line 516, in createVMNova
vm_name=vm))
File "/usr/local/lib/python3.6/site-packages/fixtures/fixture.py", line 257, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/vm_test.py", line 188, in setUp
self.create()
File "/contrail-test/fixtures/vm_test.py", line 240, in create
fixed_ips=self.fixed_ips)
File "/contrail-test/fixtures/openstack.py", line 118, in create_vm
return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs)
File "/contrail-test/fixtures/nova_test.py", line 577, in create_vm
image = self.get_image(image_name=image_name)
File "/contrail-test/fixtures/nova_test.py", line 198, in get_image
self._install_image(image_name=image_name)
File "/contrail-test/fixtures/nova_test.py", line 338, in _install_image
return self.copy_and_glance(build_path, image_name, params)
File "/contrail-test/fixtures/nova_test.py", line 407, in copy_and_glance
image_id = self.glance_h.create_image(generic_image_name, image_path_real, **params)
File "/contrail-test/fixtures/glance_test.py", line 50, in create_image
self.upload_image(obj['id'], filename)
File "/contrail-test/fixtures/glance_test.py", line 54, in upload_image
self.obj.images.upload(uuid, open(filename, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: '/contrail-test/images/ubuntu-traffic-py3.qcow2'
2025-07-22 16:03:58,348 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 16:03:58,348 - INFO -
2025-07-22 16:03:58,348 - INFO - END TEST : test_policy_modify_vn_policy : FAILED[0:01:55]
2025-07-22 16:03:58,348 - INFO - --------------------------------------------------------------------------------
2025-07-22 16:03:59,609 - ERROR - TestFailed
Python 3.6.8: /usr/bin/python3
Tue Jul 22 16:03:58 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/policy/test_policy.py in test_policy_modify_vn_policy(self=)
639 @preposttest_wrapper
640 def test_policy_modify_vn_policy(self):
641 super(TestBasicPolicyModifyIpv4v6, self).test_policy_modify_vn_policy()
642
643 class TestBasicPolicyConfigIpv4v6(TestBasicPolicyConfig):
builtinsuper =
global TestBasicPolicyModifyIpv4v6 =
self =
).test_policy_modify_vn_policy = >
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
174 if 'ci_image' in list(os.environ.keys()):
175 os.environ['stop_execution_flag'] = 'set'
176 raise TestFailed("\n ".join(errmsg))
177 elif testskip:
178 log.info('')
global TestFailed =
"\n ".join undefined
errmsg = ["Test failed: Traceback (most recent call la...ail-test/images/ubuntu-traffic-py3.qcow2'\n
\n"]
TestFailed: Test failed: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/policy/test_policy_basic.py", line 296, in test_policy_modify_vn_policy
out = setup_obj.topo_setup()
File "/contrail-test/tcutils/topo/sdn_topo_setup.py", line 94, in topo_setup
topo_steps.createVMNova(self, config_option, vms_on_single_compute)
File "/contrail-test/tcutils/topo/topo_steps.py", line 516, in createVMNova
vm_name=vm))
File "/usr/local/lib/python3.6/site-packages/fixtures/fixture.py", line 257, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/vm_test.py", line 188, in setUp
self.create()
File "/contrail-test/fixtures/vm_test.py", line 240, in create
fixed_ips=self.fixed_ips)
File "/contrail-test/fixtures/openstack.py", line 118, in create_vm
return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs)
File "/contrail-test/fixtures/nova_test.py", line 577, in create_vm
image = self.get_image(image_name=image_name)
File "/contrail-test/fixtures/nova_test.py", line 198, in get_image
self._install_image(image_name=image_name)
File "/contrail-test/fixtures/nova_test.py", line 338, in _install_image
return self.copy_and_glance(build_path, image_name, params)
File "/contrail-test/fixtures/nova_test.py", line 407, in copy_and_glance
image_id = self.glance_h.create_image(generic_image_name, image_path_real, **params)
File "/contrail-test/fixtures/glance_test.py", line 50, in create_image
self.upload_image(obj['id'], filename)
File "/contrail-test/fixtures/glance_test.py", line 54, in upload_image
self.obj.images.upload(uuid, open(filename, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: '/contrail-test/images/ubuntu-traffic-py3.qcow2'
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = None
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__module__ = 'tcutils.cores'
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
__weakref__ = None
args = ("Test failed: Traceback (most recent call la...ail-test/images/ubuntu-traffic-py3.qcow2'\n
\n",)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/policy/test_policy.py", line 641, in test_policy_modify_vn_policy
super(TestBasicPolicyModifyIpv4v6, self).test_policy_modify_vn_policy()
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/policy/test_policy_basic.py", line 296, in test_policy_modify_vn_policy
out = setup_obj.topo_setup()
File "/contrail-test/tcutils/topo/sdn_topo_setup.py", line 94, in topo_setup
topo_steps.createVMNova(self, config_option, vms_on_single_compute)
File "/contrail-test/tcutils/topo/topo_steps.py", line 516, in createVMNova
vm_name=vm))
File "/usr/local/lib/python3.6/site-packages/fixtures/fixture.py", line 257, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/vm_test.py", line 188, in setUp
self.create()
File "/contrail-test/fixtures/vm_test.py", line 240, in create
fixed_ips=self.fixed_ips)
File "/contrail-test/fixtures/openstack.py", line 118, in create_vm
return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs)
File "/contrail-test/fixtures/nova_test.py", line 577, in create_vm
image = self.get_image(image_name=image_name)
File "/contrail-test/fixtures/nova_test.py", line 198, in get_image
self._install_image(image_name=image_name)
File "/contrail-test/fixtures/nova_test.py", line 338, in _install_image
return self.copy_and_glance(build_path, image_name, params)
File "/contrail-test/fixtures/nova_test.py", line 407, in copy_and_glance
image_id = self.glance_h.create_image(generic_image_name, image_path_real, **params)
File "/contrail-test/fixtures/glance_test.py", line 50, in create_image
self.upload_image(obj['id'], filename)
File "/contrail-test/fixtures/glance_test.py", line 54, in upload_image
self.obj.images.upload(uuid, open(filename, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: '/contrail-test/images/ubuntu-traffic-py3.qcow2'
2025-07-22 16:03:59,625 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 16:03:59,625 - INFO -
2025-07-22 16:03:59,625 - INFO - END TEST : test_policy_modify_vn_policy : FAILED[0:01:57]
2025-07-22 16:03:59,625 - INFO - --------------------------------------------------------------------------------
2025-07-22 16:04:00,859 - INFO - Deleted project: ctest-TestBasicPolicyModifyIpv4v6-65444052, ID : af75cc5f-ffdc-4c3d-9700-06fd0c2cc8d5