We're updating the issue view to help you get more done. 

IllegalArgumentException: A metric named process_cpu_time-total already exists when deploy a pu.

Description

Using version 12.1 M18 the customer is getting:
"IllegalArgumentException: A metric named process_cpu_time-total already exists"
exception when trying to deploy some PUs.

For the same PU this error is happening intermittently. Sometimes recycling the GSCs help in the sense the PU gets deployed without errors, but the next PU will fail with the same error.
To put it better, when we have 2 PUs (A and B), we might get the error while deploying PU A. If we recycle the GSC and re-try the deployments again, PU A might get deployed ok, but PU B will fail with "A metric named process_cpu_time-total already exists".

Kobi has a reproduction.

Workaround

None

Acceptance Test

None

Status

Assignee

Unassigned

Reporter

Yuval Dori

Labels

None

Priority

Critical

SalesForce Case ID

None

Fix versions

None

Commitment Version/s

None

Due date

None

Product

None

Edition

None

Platform

All