Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Bug 1274507 - mozci believes certain pgo builders are invalid #476

Merged
merged 2 commits into from
May 20, 2016

Conversation

armenzg
Copy link
Contributor

@armenzg armenzg commented May 20, 2016

We've recently made some changes to get_buildername_metadata() to
consider 'pgo' buildes. Unfortunately, I believe somewhat is producing
certain pgo builders to be considered invalid.

This change attempts to make get_buildername_metadata() easier to
understand. It also makes some tests follow py.test syntax plus disable
the test for building graphs. To be enabled in a follow up.

An easy test was to run this command:

import logging

from mozci.mozci import valid_builder
from mozci.utils.log_util import setup_logging

setup_logging(logging.DEBUG)

valid_builder('Windows XP 32-bit mozilla-inbound pgo test mochitest-browser-chrome-1')

[1]
593c629#diff-080760856cfeb3690166d07dd9636fdfL266


This change is Reviewable

We've recently made some changes to get_buildername_metadata() to
consider 'pgo' buildes. Unfortunately, I believe somewhat is producing
certain pgo builders to be considered invalid.

This change attempts to make get_buildername_metadata() easier to
understand. It also makes some tests follow py.test syntax plus disable
the test for building graphs. To be enabled in a follow up.

An easy test was to run this command:
```python
import logging

from mozci.mozci import valid_builder
from mozci.utils.log_util import setup_logging

setup_logging(logging.DEBUG)

valid_builder('Windows XP 32-bit mozilla-inbound pgo test mochitest-browser-chrome-1')
```

[1]
mozilla@593c629#diff-080760856cfeb3690166d07dd9636fdfL266
@armenzg armenzg self-assigned this May 20, 2016
@armenzg armenzg merged commit 9f14aeb into mozilla:master May 20, 2016
@armenzg armenzg deleted the fix_invalid_builder branch May 20, 2016 21:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant