ReleaseEngineering/Applications/BuildbotBridge: Difference between revisions

Jump to navigation Jump to search
Minor updates to BBB instructions.
(→‎How to restart the services: Update service names for buildbot_bridge2_reflector)
(Minor updates to BBB instructions.)
Line 1: Line 1:
== Buildbot Bridge (BBB) ==
== Buildbot Bridge (BBB) ==
The Buildbot Bridge is a set of services that allow us to schedule jobs in Taskcluster but run them in Buildbot. The Taskcluster Listener listens for pending Taskcluster Tasks and creates BuildRequests for them. The Buildbot Listener listens for Buildbot events for those jobs, and updates the Taskcluster Tasks accordingly. The Reflector reclaims Taskcluster Tasks and polls for changes that can't be detected by listening for Taskcluster on Buildbot events.
The Buildbot Bridge is a set of services that allow us to schedule jobs in Taskcluster but run them in Buildbot.
* '''Taskcluster Listener''': listens for pending Taskcluster Tasks and creates BuildRequests for them.
* '''Buildbot Listener''': listens for Buildbot events for those jobs, and updates the Taskcluster Tasks accordingly.
* '''Reflector''': reclaims Taskcluster Tasks and polls for changes that can't be detected by listening for Taskcluster on Buildbot events.


The source code is located at https://github.com/mozilla/buildbot-bridge
The source code is located at https://github.com/mozilla/buildbot-bridge
Line 100: Line 103:
=== What to expect in /builds/bbb ===
=== What to expect in /builds/bbb ===
<pre>
<pre>
root@buildbot-master70.bb.releng.use1.mozilla.com bbb]# ls -tlr
[root@buildbot-master86.bb.releng.scl3.mozilla.com bbb]# ls -lt
total 2756
total 16
drwxr-xr-x 3 cltbld cltbld    4096 May  5 08:18 lib
-rw------- 1 cltbld cltbld 1387 Oct  2 11:32 config.json
lrwxrwxrwx 1 cltbld cltbld      15 May  5 08:18 lib64 -> /builds/bbb/lib
drwxr-xr-x 2 cltbld cltbld 4096 Sep  6 16:02 bin
drwxr-xr-x 2 cltbld cltbld    4096 May  5 08:18 include
drwxr-xr-x 2 cltbld cltbld 4096 Mar 20  2017 include
-rw------- 1 cltbld cltbld   1241 May 21 05:41 config.json
lrwxrwxrwx 1 cltbld cltbld   15 Mar 20 2017 lib64 -> /builds/bbb/lib
drwxr-xr-x 2 cltbld cltbld   4096 May 25 07:07 bin
drwxr-xr-x 3 cltbld cltbld 4096 Mar 20  2017 lib
-rw-r--r-- 1 cltbld cltbld 2372446 May 25 10:55 reflector.log
-rw-r--r-- 1 cltbld cltbld  359635 May 25 11:48 bblistener.log
-rw-r--r-- 1 cltbld cltbld   56047 May 26 07:12 tclistener.log
</pre>
</pre>


As you can see, each service has its own log file. The supervisord logs sometimes have additional information in error cases, and can be found in /var/log/supervisord.
The logs for each service can be found in /var/log/messages and also in Papertrail, so they can be easily monitored.
The supervisord logs sometimes have additional information in error cases, and can be found in /var/log/supervisord.
148

edits

Navigation menu