new ubuntu hardware talos slaves are not showing data on graph server

RESOLVED FIXED

Status

Webtools Graveyard
Graph Server
RESOLVED FIXED
5 years ago
2 years ago

People

(Reporter: jmaher, Unassigned)

Tracking

Dependency tree / graph

Details

(Reporter)

Description

5 years ago
In bug 858728, we added definitions for 2 new operating systems.  I mention this because the staging and production have different values.

When we defined the new machines in bug 859411, they used different values to match staging and production for the os_id.  

For the specifics of this bug, I am looking at ubuntu 32:
staging: os_id=30
production: os_id=33

When we run tests on mozilla-inbound, we upload to graph server and it returns back a link to view the results:
http://graphs.mozilla.org/graph.html#tests=[[255,131,30]]

note that we are in production (i.e. graphs.mozilla.org) and we are using the staging os_id to reference the machine.  When I click on the above link, I get a TypeError.  

There is no easy way to debug what that error means, although I suspect it is related to getting the wrong os_id.  I have attempted to change the id, but I getting undefined.  There is one difference in the way these machines where added and in the sql file we used a string to define the cpu instead of a float:
http://hg.mozilla.org/graphs/file/tip/sql/data.sql#l3903
Blocks: 820235
(In reply to Joel Maher (:jmaher) from comment #0)
> but I getting undefined.  There is one difference in the way these machines
> where added and in the sql file we used a string to define the cpu instead
> of a float:
> http://hg.mozilla.org/graphs/file/tip/sql/data.sql#l3903

That column is VARCHAR, see http://hg.mozilla.org/graphs/file/ebf42ba304f8/sql/schema.sql#l5.
(In reply to Joel Maher (:jmaher) from comment #0)
> There is no easy way to debug what that error means, although I suspect it
> is related to getting the wrong os_id.  I have attempted to change the id,
> but I getting undefined.  There is one difference in the way these machines
> where added and in the sql file we used a string to define the cpu instead
> of a float:
> http://hg.mozilla.org/graphs/file/tip/sql/data.sql#l3903

Looking at the console will show the actual exception:

[10:44:56.436] TypeError: manifest.platformMap[platformid] is undefined @ http://graphs.mozilla.org/js/graph-2.js:553
(Reporter)

Comment 3

5 years ago
thanks for the tip there.  I suspect manifest.platformMap[30] is undefined in the production db, but not in the staging db.
Depends on: 859411
I can see the results now, fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=859411#c4
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

2 years ago
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.