Closed Bug 1199877 Opened 9 years ago Closed 7 years ago

Talos reports platform_type w8_ for win10

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Callek, Unassigned)

References

Details

(Whiteboard: [talos_wishlist])

Saw in a log:

16:28:40     INFO -  DEBUG : operating with platform_type : w8_

And noticed https://github.com/mozilla/build-talos/blob/52a748a5d74786ba80c1d3363a27ff58b7b6360d/talos/ttest.py#L40

See https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1193033&attachment=8646883 for a similar issue that was hit in this same type of issue (python doesn't report the win version due to a change in win8.1's cycle)

And from py2.7's source you can see why that is not "good enough" when coupled with what we found out in Bug 1193033.  
https://hg.python.org/cpython/file/2.7/Lib/platform.py#l553
what is used to determine the version on other platforms?  is it mozinfo?
It varies on other platforms, mozinfo for some jobs, navigator.oscpu for others, and the actual user agent for still others. mozinfo was just recently updated to support w10 for this, with that attachment I linked to above (windows OS level api doesn't return >8.0 anymore, while only the kernel level API does)
Blocks: 1088251
Whiteboard: [talos_wishlist]
This bug was from 2015 and has been superseeded by the migration we've already done for talos tests to w10 and the taskcluster work that's ongoing.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.