code: func populateMetadata(testInfo *TestInfo, testTime *TestTime, labels map[string]string) error {
  	test := labels["test"]
  
  	// Populate testInfo with the test description.
  	testInfo.Info[test] = labels["desc"]
  
  	// Populate testTime with the test end timestamp.
  	t, err := strconv.ParseInt(labels["timestamp"], 10, 64)
  	if err != nil {
  		return fmt.Errorf("failed to convert timestamp %q to an int64: %v", labels["timestamp"], err)
  	}
  	timestamp := time.Unix(t, 0).UTC().Format(testLogTimeFormat)
  	testTime.Add(test, labels["node"], timestamp)
  
  	return nil
  }
docs: // populateMetadata populates the test description in testInfo and the test end
  // timestamp in testTime using the information in the given labels.