Closed Bug 1700700 Opened 3 years ago Closed 3 years ago

mach try pushes with --gecko-profile have broken vismet tasks

Categories

(Core :: Gecko Profiler, defect, P2)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox-esr78 --- wontfix
firefox87 --- wontfix
firefox88 --- wontfix
firefox89 --- fixed

People

(Reporter: sfink, Assigned: sfink)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

I did a push with --gecko-profile containing a vismet task that failed with

jsonschema.exceptions.ValidationError: 'gecko_profile' does not match '^[a-zA-Z0-9-]{1,24}$' 
Severity: -- → S3
Priority: -- → P2

It looks to me like this has been broken since bug 1631784 added "gecko_profile" to the extra_options in testing/raptor/raptor/results.py. The schema disallows underscores.

I don't know if the schema should be relaxed, or if the tag should be changed to what the schema seems to expect. I have a patch for the latter.

Regressed by: 1631784
Has Regression Range: --- → yes
Assignee: nobody → sphink
Status: NEW → ASSIGNED

Given that this would need to change in 3 places, would it be better to add '_' to the schema?

Flags: needinfo?(gmierz2)

(In reply to Steve Fink [:sfink] [:s:] from comment #3)

Given that this would need to change in 3 places, would it be better to add '_' to the schema?

That sounds good to me, I'm fine with us modifying the tags schema to include _. We could also add : at the same time since there has been at least one case where we wanted to use that.

Flags: needinfo?(gmierz2)
Attachment #9213313 - Attachment description: Bug 1700700 - Rename gecko_profile -> gecko-profile in KNOWN_TEST_MODIFIERS/extra_options to satisfy schema validator → Bug 1700700 - Allow underscore and colon in tag names
Attachment #9213313 - Attachment description: Bug 1700700 - Allow underscore and colon in tag names → Bug 1700700 - Rename gecko_profile -> gecko-profile in KNOWN_TEST_MODIFIERS/extra_options to satisfy schema validator
Depends on: 1703717

Er, I'm not sure why I made this be blocked by bug 1703717 just because testing this feature is how I found it. This is unrelated, except that if you try to use it then there's a good chance bug 1703717 will prevent you from getting a profile.

Pushed by sfink@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0a53a86ee4b7
Rename gecko_profile -> gecko-profile in KNOWN_TEST_MODIFIERS/extra_options to satisfy schema validator r=perftest-reviewers,sparky
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: