Closed Bug 1000997 Opened 10 years ago Closed 10 years ago

27 linter errors when linter tests run on TBPL

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Unassigned)

References

Details

We have the gaia linter tests running on TBPL on cedar right now, but there are 27 linter failures reported, that don't seem to be reported by Travis:

https://tbpl.mozilla.org/php/getParsedLog.php?id=38360549&tree=Cedar&full=1

All of these seem valid but trivial.  I propose we fix them all with one patch.
Jonathan, can you confirm the gjslint version you use?

Also, can you show which command you run?

Thanks !
closure-linter 2.3.10; the command is just 'make lint'
Ok, it's not the latest; can you try with the latest version ? (2.3.13 currently, see http://code.google.com/p/closure-linter/downloads/list) 

Travis always downloads the latest version: https://github.com/mozilla-b2g/gaia/blob/master/tests/travis_ci/linters/install
Yep that seems to be the issue; I'll update the version we use in TBPL.
To be clear, we disable these errors in "make lint" but only newer versions of gjslint recognize the error numbers when disabling them...
Depends on: 1001092
Pushed a mozharness change to use 2.3.13:  https://hg.mozilla.org/build/mozharness/rev/310f2b4da4ad
Blocks: 1001201
This update fixed it..thanks julienw!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
mozharness patch is in production: http://hg.mozilla.org/build/mozharness/rev/2947d4bd1276 :)
You need to log in before you can comment on or make changes to this bug.