Closed Bug 1082560 Opened 10 years ago Closed 10 years ago

Completed job with mixture of try and non-try branch names for the same buildjson entry

Categories

(Release Engineering :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1080855

People

(Reporter: emorley, Unassigned)

References

Details

(Whiteboard: [treeherder])

Noticed as part of bug 1077136.

1) Download and extract https://secure.pub.build.mozilla.org/builddata/buildjson/builds-2014-10-10.js.gz
2) Search for '471195f2397d'

Result:
    {
      "builder_id": 310816, 
      "buildnumber": 113, 
      "endtime": 1412980305, 
      "id": 49996033, 
      "master_id": 142, 
      "properties": {
        "basedir": "/builds/slave/test", 
        "branch": "mozilla-inbound", 
        "build_url": "https://ftp-ssl.mozilla.org/pub/mozilla.org/firefox/try-builds/async.processingjs@yahoo.com-471195f2397d/try-win32/firefox-35.0a1.en-US.win32.zip", 
        "buildername": "Ubuntu ASAN VM 12.04 x64 mozilla-inbound opt test mochitest-e10s-browser-chrome-1", 
        "buildid": "20141009124809", 
        "buildnumber": 113, 
        "builduid": "98360a2f5bad4886ba027dd954a97a67", 
        "log_url": "http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-linux64-asan/1412884089/mozilla-inbound_ubuntu64-asan_vm_test-mochitest-e10s-browser-chrome-1-bm116-tests1-linux64-build113.txt.gz", 
        "master": "http://buildbot-master116.srv.releng.usw2.mozilla.com:8201/", 
        "platform": "linux64-asan", 
        "product": "firefox", 
        "project": "", 
        "repo_path": "integration/mozilla-inbound", 
        "repository": "", 
        "request_ids": [
          52289942
        ], 
        "request_times": {
          "52289942": 1412886912
        }, 
        "revision": "471195f2397d", 
        "scheduler": "tests-mozilla-inbound-ubuntu64-asan_vm-opt-unittest", 
        "script_repo_revision": "ab0bba6d3be2", 
        "slavebuilddir": "test", 
        "slavename": "tst-linux64-spot-730", 
        "stage_platform": "linux64-asan"
      }, 
      "reason": "scheduler", 
      "request_ids": [
        52289942
      ], 
      "requesttime": 1412886912, 
      "result": 4, 
      "slave_id": 7893, 
      "starttime": 1412980160
    }, 


Note how some of the properties are what you would expect for a try job, and some for a mozilla-inbound job.

Was this related to bug 1080855, or are we setting the branch name incorrectly somewhere? :-s
Flags: needinfo?(coop)
(In reply to Ed Morley [:edmorley] from comment #0)
> Was this related to bug 1080855?

Almost assuredly, yes. 

In order to fix the inconsistent state between the master and slave dbs, sheeri needed to perform a hot copy from the slave to the master. Since both dbs were live, if we happened to have identical request ids in both dbs (highly likely, since they're just incrementing ints), you would end up with properties from two builds munged together. 

Luckily the trees were closed at the time or we probably would have seen more of this.

If there are any entries like this that are *not* from Oct 9th, then we have serious problems.
Flags: needinfo?(coop)
Ah that make sense - in which case, let's close this out for now - we can reopen if we find jobs from another timeframe with the same problem.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.