Closed Bug 932478 Opened 11 years ago Closed 11 years ago

Graphserver doesn't know what the b2g26 branch is

Categories

(Release Engineering :: General, defect)

defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RyanVM, Assigned: catlee)

References

Details

Also contributing to the current tree closure.

https://tbpl-dev.allizom.org/php/getParsedLog.php?id=29852897&tree=Mozilla-B2g26-v1.2

Rev4 MacOSX Snow Leopard 10.6 mozilla-b2g26_v1_2 talos chromez on 2013-10-29 13:15:14 PDT for push 4fbe1b01ed63
slave: talos-r4-snow-075

13:33:28     INFO -  DEBUG : Working with test: tresize
13:33:28     INFO -  Generating results file: tresize:
13:33:28     INFO -  		Started Tue, 29 Oct 2013 13:33:28
13:33:28     INFO -  Generating results file: tresize:
13:33:28     INFO -  		Stopped Tue, 29 Oct 2013 13:33:28
13:33:28     INFO -  DEBUG : Working with test: tcanvasmark
13:33:28     INFO -  Generating results file: tcanvasmark:
13:33:28     INFO -  		Started Tue, 29 Oct 2013 13:33:28
13:33:28     INFO -  INFO : CanvasMark benchmark
13:33:28     INFO -  Generating results file: tcanvasmark:
13:33:28     INFO -  		Stopped Tue, 29 Oct 2013 13:33:28
13:33:28 CRITICAL -  FAIL: Graph server unreachable (5 attempts)
13:33:28     INFO -  RETURN:send failed, graph server says:
13:33:28     INFO -  RETURN:No branch_id for a branch_name 'Mozilla-B2g26-v1.2' can be found
13:33:28     INFO -  RETURN:  File "/var/www/html/graphs/server/pyfomatic/collect.py", line 271, in handleRequest
13:33:28     INFO -  RETURN:    metadata = MetaDataFromTalos(databaseCursor, databaseModule, inputStream)
13:33:28     INFO -  RETURN:  File "/var/www/html/graphs/server/pyfomatic/collect.py", line 63, in __init__
13:33:28     INFO -  RETURN:    self.doDatabaseThings(databaseCursor)
13:33:28     INFO -  RETURN:  File "/var/www/html/graphs/server/pyfomatic/collect.py", line 113, in doDatabaseThings
13:33:28     INFO -  RETURN:    raise DatabaseException("No branch_id for a branch_name '%s' can be found" % self.branch_name)
13:33:28     INFO -  RETURN:
13:33:28     INFO -  RETURN:
13:33:28    ERROR -  Traceback (most recent call last):
13:33:28     INFO -    File "/builds/slave/talos-slave/test/build/venv/bin/talos", line 9, in <module>
13:33:28     INFO -      load_entry_point('talos==0.0', 'console_scripts', 'talos')()
13:33:28     INFO -    File "/builds/slave/talos-slave/test/build/venv/lib/python2.7/site-packages/talos/run_tests.py", line 337, in main
13:33:28     INFO -      sys.exit(run_tests(parser))
13:33:28     INFO -    File "/builds/slave/talos-slave/test/build/venv/lib/python2.7/site-packages/talos/run_tests.py", line 313, in run_tests
13:33:28     INFO -      talos_results.output(results_urls, **results_options)
13:33:28     INFO -    File "/builds/slave/talos-slave/test/build/venv/lib/python2.7/site-packages/talos/results.py", line 95, in output
13:33:28     INFO -      raise e
13:33:28 CRITICAL -  talos.utils.talosError: 'Graph server unreachable (5 attempts)\nsend failed, graph server says:\nNo branch_id for a branch_name \'Mozilla-B2g26-v1.2\' can be found\n  File "/var/www/html/graphs/server/pyfomatic/collect.py", line 271, in handleRequest\n    metadata = MetaDataFromTalos(databaseCursor, databaseModule, inputStream)\n  File "/var/www/html/graphs/server/pyfomatic/collect.py", line 63, in __init__\n    self.doDatabaseThings(databaseCursor)\n  File "/var/www/html/graphs/server/pyfomatic/collect.py", line 113, in doDatabaseThings\n    raise DatabaseException("No branch_id for a branch_name \'%s\' can be found" % self.branch_name)\n\n'
13:33:28    ERROR - Return code: 1
This is part of the setup of a branch.
Moving to General Automation.
Component: Buildduty → General Automation
QA Contact: armenzg → catlee
Ran this on the production DB:

mysql> insert into branches (`name`) values ('Mozilla-B2g26-v1.2');
Query OK, 1 row affected (0.00 sec)

mysql> select * from branches where name = 'Mozilla-B2g26-v1.2';
+-----+--------------------+
| id  | name               |
+-----+--------------------+
| 209 | Mozilla-B2g26-v1.2 |
+-----+--------------------+
Also ran this:
INSERT INTO machines (os_id, is_throttling, cpu_speed, name, is_active, date_added) VALUES 
(  6,             0, NULL, 'Linux_mozilla-b2g26_v1_2',         1, 1383082593),
(  6,             0, NULL, 'Linux_mozilla-b2g26_v1_2_leak_test',         1, 1383082593),
(  8,             0, NULL, 'WINNT_5.2_mozilla-b2g26_v1_2',         1, 1383082593),
(  8,             0, NULL, 'WINNT_5.2_mozilla-b2g26_v1_2_leak_test',         1, 1383082593),
( 19,             0, NULL, 'WINNT_6.1_mozilla-b2g26_v1_2',         1, 1383082593),
( 19,             0, NULL, 'WINNT_6.1_mozilla-b2g26_v1_2_leak_test',         1, 1383082593),
( 17,             0, NULL, 'OS_X_10.6.2_mozilla-b2g26_v1_2',         1, 1383082593),
( 17,             0, NULL, 'OS_X_10.6.2_mozilla-b2g26_v1_2_leak_test',         1, 1383082593),
( 18,             0, NULL, 'Linux_x86-64_mozilla-b2g26_v1_2',         1, 1383082593),
( 18,             0, NULL, 'Linux_x86-64_mozilla-b2g26_v1_2_leak_test',         1, 1383082593),
( 22,             0, NULL, 'OS_X_10.7_mozilla-b2g26_v1_2',         1, 1383082593),
( 22,             0, NULL, 'OS_X_10.7_32-bit_mozilla-b2g26_v1_2_leak_test',         1, 1383082593),
( 22,             0, NULL, 'OS_X_10.7_64-bit_mozilla-b2g26_v1_2_leak_test',         1, 1383082593)
Assignee: nobody → catlee
added to staging db as well
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
This looks good, but I'm going to hold off on resolving this until bug 932373 is fixed and Windows builds attempt to talk to graphserver :)
Well, Hal already did and in fact Windows appears to be working fine :)
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.