Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-17781

Timing metadata sometimes stringly typed

    XMLWordPrintable

Details

    • Bug
    • Status: Invalid
    • Resolution: Done
    • None
    • ap_verify, pipe_base
    • None

    Description

      While testing ap_verify.measurements.TimingMetricTask for DM-16536, I found that I could not safely extract the "StartCpuTime" and "EndCpuTime" metadata values using PropertySet.getScalar, because the times were sometimes stored as floats and sometimes as strings:

      Key = 'fringe.runStartCpuTime' -> 5.947655 ('Double')
      Key = 'fringe.runEndCpuTime' -> '6.232034' ('String')
      

      I've confirmed that even PropertySet.typeOf thinks that EndCpuTime should be a string in this example.

      Find out what causes some keys to be stored as strings, and fix it.

      Attachments

        Issue Links

          Activity

            Never mind, I misunderstood which test case was being run. There is no bug.

            krzys Krzysztof Findeisen added a comment - Never mind, I misunderstood which test case was being run. There is no bug.

            People

              krzys Krzysztof Findeisen
              krzys Krzysztof Findeisen
              Krzysztof Findeisen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.