[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16354403#comment-16354403
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10269:
---------------------------------------------

blueorangutan commented on issue #2444: CLOUDSTACK-10269: On deletion of role 
set name to null
URL: https://github.com/apache/cloudstack/pull/2444#issuecomment-363187630
 
 
   <b>Trillian test result (tid-2230)</b>
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 17400 seconds
   Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2444-t2230-kvm-centos7.zip
   Intermitten failure detected: /marvin/tests/smoke/test_accounts.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_affinity_groups_projects.py
   Intermitten failure detected: /marvin/tests/smoke/test_affinity_groups.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
   Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_iso.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_vm_root_resize.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_vms_with_varied_deploymentplanners.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_vm_with_userdata.py
   Intermitten failure detected: /marvin/tests/smoke/test_internal_lb.py
   Intermitten failure detected: /marvin/tests/smoke/test_iso.py
   Intermitten failure detected: /marvin/tests/smoke/test_list_ids_parameter.py
   Intermitten failure detected: /marvin/tests/smoke/test_loadbalance.py
   Intermitten failure detected: /marvin/tests/smoke/test_metrics_api.py
   Intermitten failure detected: /marvin/tests/smoke/test_migration.py
   Intermitten failure detected: /marvin/tests/smoke/test_multipleips_per_nic.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_nested_virtualization.py
   Intermitten failure detected: /marvin/tests/smoke/test_network_acl.py
   Intermitten failure detected: /marvin/tests/smoke/test_network.py
   Intermitten failure detected: /marvin/tests/smoke/test_nic.py
   Intermitten failure detected: /marvin/tests/smoke/test_over_provisioning.py
   Intermitten failure detected: /marvin/tests/smoke/test_password_server.py
   Intermitten failure detected: /marvin/tests/smoke/test_portforwardingrules.py
   Intermitten failure detected: /marvin/tests/smoke/test_primary_storage.py
   Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
   Intermitten failure detected: /marvin/tests/smoke/test_projects.py
   Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
   Intermitten failure detected: /marvin/tests/smoke/test_reset_vm_on_reboot.py
   Intermitten failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
   Intermitten failure detected: /marvin/tests/smoke/test_router_dns.py
   Intermitten failure detected: /marvin/tests/smoke/test_router_dnsservice.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_routers_iptables_default_policy.py
   Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
   Intermitten failure detected: /marvin/tests/smoke/test_routers.py
   Intermitten failure detected: /marvin/tests/smoke/test_secondary_storage.py
   Intermitten failure detected: /marvin/tests/smoke/test_service_offerings.py
   Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
   Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
   Intermitten failure detected: /marvin/tests/smoke/test_templates.py
   Intermitten failure detected: /marvin/tests/smoke/test_usage.py
   Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
   Intermitten failure detected: /marvin/tests/smoke/test_vm_snapshots.py
   Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
   Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
   Intermitten failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
   Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
   Intermitten failure detected: /marvin/tests/smoke/test_host_maintenance.py
   Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
   Smoke tests completed. 21 look OK, 46 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_01_create_iso_with_checksum_sha1 | `Error` | 65.36 | test_iso.py
   test_02_create_iso_with_checksum_sha256 | `Error` | 65.36 | test_iso.py
   test_03_create_iso_with_checksum_md5 | `Error` | 65.34 | test_iso.py
   test_04_create_iso_with_no_checksum | `Error` | 65.33 | test_iso.py
   test_01_create_iso | `Failure` | 1511.92 | test_iso.py
   ContextSuite context=TestISO>:setup | `Error` | 3024.80 | test_iso.py
   ContextSuite context=TestAccounts>:setup | `Error` | 0.00 | test_accounts.py
   ContextSuite context=TestAddVmToSubDomain>:setup | `Error` | 0.00 | 
test_accounts.py
   test_DeleteDomain | `Error` | 0.99 | test_accounts.py
   test_forceDeleteDomain | `Error` | 1.01 | test_accounts.py
   ContextSuite context=TestRemoveUserFromAccount>:setup | `Error` | 5.25 | 
test_accounts.py
   ContextSuite context=TestTemplateHierarchy>:setup | `Error` | 5.32 | 
test_accounts.py
   ContextSuite context=TestInternalLb>:setup | `Error` | 0.00 | 
test_internal_lb.py
   ContextSuite context=TestDeployVmWithAffinityGroup>:setup | `Error` | 0.00 | 
test_affinity_groups_projects.py
   test_list_infrastructure_metrics | `Error` | 0.18 | test_metrics_api.py
   test_list_pstorage_metrics | `Error` | 0.12 | test_metrics_api.py
   test_list_vms_metrics | `Error` | 0.11 | test_metrics_api.py
   ContextSuite context=TestDeployVmWithAffinityGroup>:setup | `Error` | 0.00 | 
test_affinity_groups.py
   ContextSuite context=TestNetworkMigration>:setup | `Error` | 0.00 | 
test_migration.py
   ContextSuite context=TestDeployVirtioSCSIVM>:setup | `Error` | 0.00 | 
test_deploy_virtio_scsi_vm.py
   test_deploy_vm_from_iso | `Error` | 0.00 | test_deploy_vm_iso.py
   ContextSuite context=TestNetworkACL>:setup | `Error` | 0.00 | 
test_network_acl.py
   ContextSuite context=TestDeployVmRootSize>:setup | `Error` | 0.00 | 
test_deploy_vm_root_resize.py
   ContextSuite context=TestDeployVmWithVariedPlanners>:setup | `Error` | 0.00 
| test_deploy_vms_with_varied_deploymentplanners.py
   test_delete_account | `Error` | 0.56 | test_network.py
   test_delete_network_while_vm_on_it | `Error` | 0.05 | test_network.py
   test_deploy_vm_l2network | `Error` | 0.05 | test_network.py
   test_l2network_restart | `Error` | 1.15 | test_network.py
   ContextSuite context=TestPortForwarding>:setup | `Error` | 3.40 | 
test_network.py
   test_reboot_router | `Error` | 0.06 | test_network.py
   test_releaseIP | `Error` | 0.54 | test_network.py
   ContextSuite context=TestRouterRules>:setup | `Error` | 0.61 | 
test_network.py
   ContextSuite context=TestDeployVmWithUserData>:setup | `Error` | 0.00 | 
test_deploy_vm_with_userdata.py
   test_01_nic | `Error` | 0.06 | test_nic.py
   ContextSuite context=TestLoadBalance>:setup | `Error` | 0.00 | 
test_loadbalance.py
   test_UpdateStorageOverProvisioningFactor | `Failure` | 0.02 | 
test_over_provisioning.py
   test_UpdateStorageOverProvisioningFactor | `Error` | 0.02 | 
test_over_provisioning.py
   ContextSuite context=TestListIdsParams>:setup | `Error` | 0.00 | 
test_list_ids_parameter.py
   test_nic_secondaryip_add_remove | `Error` | 0.06 | 
test_multipleips_per_nic.py
   ContextSuite context=TestNestedVirtualization>:setup | `Error` | 0.00 | 
test_nested_virtualization.py
   ContextSuite context=TestIsolatedNetworksPasswdServer>:setup | `Error` | 
0.00 | test_password_server.py
   ContextSuite context=TestPortForwardingRules>:setup | `Error` | 0.00 | 
test_portforwardingrules.py
   test_01_add_primary_storage_disabled_host | `Error` | 32.33 | 
test_primary_storage.py
   ContextSuite context=TestStorageTags>:setup | `Error` | 31.84 | 
test_primary_storage.py
   ContextSuite context=TestPrivateGwACL>:setup | `Error` | 0.00 | 
test_privategw_acl.py
   test_09_project_suspend | `Error` | 1.09 | test_projects.py
   test_10_project_activation | `Error` | 1.06 | test_projects.py
   test_02_create_template_with_checksum_sha1 | `Error` | 65.37 | 
test_templates.py
   test_03_create_template_with_checksum_sha256 | `Error` | 65.37 | 
test_templates.py
   test_04_create_template_with_checksum_md5 | `Error` | 65.40 | 
test_templates.py
   test_05_create_template_with_no_checksum | `Error` | 65.37 | 
test_templates.py
   test_02_deploy_vm_from_direct_download_template | `Error` | 0.09 | 
test_templates.py
   test_03_deploy_vm_wrong_checksum | `Error` | 0.10 | test_templates.py
   ContextSuite context=TestTemplates>:setup | `Error` | 3.45 | 
test_templates.py
   ContextSuite context=TestResetVmOnReboot>:setup | `Error` | 0.00 | 
test_reset_vm_on_reboot.py
   ContextSuite context=TestRouterDHCPHosts>:setup | `Error` | 0.00 | 
test_router_dhcphosts.py
   ContextSuite context=TestRouterDHCPOpts>:setup | `Error` | 0.00 | 
test_router_dhcphosts.py
   ContextSuite context=TestRouterDns>:setup | `Error` | 0.00 | 
test_router_dns.py
   ContextSuite context=TestRouterDnsService>:setup | `Error` | 0.00 | 
test_router_dnsservice.py
   ContextSuite context=TestRouterIpTablesPolicies>:setup | `Error` | 0.00 | 
test_routers_iptables_default_policy.py
   ContextSuite context=TestVPCIpTablesPolicies>:setup | `Error` | 0.00 | 
test_routers_iptables_default_policy.py
   test_01_isolate_network_FW_PF_default_routes_egress_true | `Error` | 0.12 | 
test_routers_network_ops.py
   test_02_isolate_network_FW_PF_default_routes_egress_false | `Error` | 0.12 | 
test_routers_network_ops.py
   ContextSuite context=TestRedundantIsolateNetworks>:setup | `Error` | 1.28 | 
test_routers_network_ops.py
   ContextSuite context=TestISOUsage>:setup | `Error` | 0.00 | test_usage.py
   ContextSuite context=TestLBRuleUsage>:setup | `Error` | 0.00 | test_usage.py
   ContextSuite context=TestNatRuleUsage>:setup | `Error` | 0.00 | test_usage.py
   ContextSuite context=TestPublicIPUsage>:setup | `Error` | 0.00 | 
test_usage.py
   ContextSuite context=TestSnapshotUsage>:setup | `Error` | 0.00 | 
test_usage.py
   ContextSuite context=TestVmUsage>:setup | `Error` | 0.00 | test_usage.py
   ContextSuite context=TestVolumeUsage>:setup | `Error` | 0.00 | test_usage.py
   ContextSuite context=TestVpnUsage>:setup | `Error` | 0.00 | test_usage.py
   ContextSuite context=TestRouterServices>:setup | `Error` | 0.00 | 
test_routers.py
   test_01_sys_vm_start | `Failure` | 0.07 | test_secondary_storage.py
   test_02_sys_template_ready | `Failure` | 0.07 | test_secondary_storage.py
   ContextSuite context=TestServiceOfferings>:setup | `Error` | 0.18 | 
test_service_offerings.py
   ContextSuite context=TestSnapshotRootDisk>:setup | `Error` | 0.00 | 
test_snapshots.py
   test_01_list_sec_storage_vm | `Failure` | 0.03 | test_ssvm.py
   test_02_list_cpvm_vm | `Failure` | 0.03 | test_ssvm.py
   test_03_ssvm_internals | `Failure` | 0.03 | test_ssvm.py
   test_04_cpvm_internals | `Failure` | 0.03 | test_ssvm.py
   test_05_stop_ssvm | `Failure` | 0.03 | test_ssvm.py
   test_06_stop_cpvm | `Failure` | 0.03 | test_ssvm.py
   test_07_reboot_ssvm | `Failure` | 0.03 | test_ssvm.py
   test_08_reboot_cpvm | `Failure` | 0.03 | test_ssvm.py
   test_09_destroy_ssvm | `Failure` | 0.03 | test_ssvm.py
   test_10_destroy_cpvm | `Failure` | 0.03 | test_ssvm.py
   ContextSuite context=TestDeployVM>:setup | `Error` | 0.00 | 
test_vm_life_cycle.py
   ContextSuite context=TestVMLifeCycle>:setup | `Error` | 0.00 | 
test_vm_life_cycle.py
   ContextSuite context=TestVmSnapshot>:setup | `Error` | 0.08 | 
test_vm_snapshots.py
   ContextSuite context=TestCreateVolume>:setup | `Error` | 0.00 | 
test_volumes.py
   ContextSuite context=TestVolumes>:setup | `Error` | 0.00 | test_volumes.py
   test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | `Error` | 6.79 | 
test_vpc_redundant.py
   test_02_redundant_VPC_default_routes | `Error` | 6.78 | test_vpc_redundant.py
   test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
`Error` | 7.82 | test_vpc_redundant.py
   test_04_rvpc_network_garbage_collector_nics | `Error` | 7.82 | 
test_vpc_redundant.py
   test_05_rvpc_multi_tiers | `Error` | 5.77 | test_vpc_redundant.py
   test_01_VPC_nics_after_destroy | `Error` | 4.75 | test_vpc_router_nics.py
   test_02_VPC_default_routes | `Error` | 4.73 | test_vpc_router_nics.py
   test_01_redundant_vpc_site2site_vpn | `Failure` | 6.35 | test_vpc_vpn.py
   test_01_vpc_site2site_vpn_multiple_options | `Failure` | 4.29 | 
test_vpc_vpn.py
   test_01_vpc_remote_access_vpn | `Failure` | 3.17 | test_vpc_vpn.py
   test_01_vpc_site2site_vpn | `Failure` | 4.30 | test_vpc_vpn.py
   test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 0.18 | 
test_host_maintenance.py
   test_hostha_enable_ha_when_host_in_maintenance | `Error` | 1.46 | 
test_hostha_kvm.py
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Allow deletion of roles without causing concurrent exception
> ------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10269
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10269
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>            Priority: Major
>             Fix For: Future, 4.11.1.1, 4.12.0.0
>
>
> Deletion of a role renames the role with a timestamp, when roles are 
> created/deleted aggresively it may cause concurrent exceptions. The fix is to 
> follow how other cloudstack entities are removed where name uniqueness need 
> to be honoured, i.e. by setting the field to null. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to