Deduplication of traces doesn't work for UserRPCRequest

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      https://github.com/jenkinsci/jenkins/blob/55c31c892c224b7bd12714ec1c20dbeae68defde/core/src/main/java/jenkins/telemetry/impl/SlaveToMasterFileCallableUsage.java#L72 is an attempt to deduplicate traces with object identities.

      Unfortunately, this doesn't work with traces from UserRPCRequest, that include a counter:

      Command UserRequest:UserRPCRequest:hudson.maven.MavenBuildProxy2.end[](26) created at
      …
      
      Command UserRequest:UserRPCRequest:hudson.maven.MavenBuildProxy2.end[](27) created at
      …
      
      Command UserRequest:UserRPCRequest:hudson.maven.MavenBuildProxy2.end[](28) created at 
      …

      Another source for duplication is proxies:

      	at com.sun.proxy.$Proxy5.end(Unknown Source)
      
      	at com.sun.proxy.$Proxy6.end(Unknown Source) 

            Assignee:
            Daniel Beck
            Reporter:
            Daniel Beck
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: