As seen in OOPS-1869BUILDMASTER1, https://launchpad.net/~leenx-leet/+archive/drupal-mercury/+buildjob/2188875 managed to get into MANUALDEPWAIT without any of the other fields set (dependencies, datebuilt, builder, etc.). It looked like this:
{"pocket": "Release", "current_source_publication_link": "https://launchpad.net/api/devel/~leenx-leet/+archive/drupal-mercury/+sourcepub/1451976", "can_be_rescored": false, "build_log_url": null, "datebuilt": null, "datecreated": "2011-01-22T17:15:34.099091+00:00", "title": "i386 build of php-uploadprogress 1.0.1-4 in ubuntu lucid RELEASE", "distribution_link": "https://launchpad.net/api/devel/ubuntu", "changesfile_url": null, "upload_log_url": null, "web_link": "https://launchpad.net/~leenx-leet/+archive/drupal-mercury/+buildjob/2188875", "buildstate": "Dependency wait", "can_be_retried": true, "archive_link": "https://launchpad.net/api/devel/~leenx-leet/+archive/drupal-mercury", "dependencies": null, "date_first_dispatched": "2011-01-22T17:15:52.945725+00:00", "http_etag": "\"38bdc23b64d668d910687c720f6595894f372a05-4475179bff1d73327284e8ad797f57f42a81d7d6\"", "self_link": "https://launchpad.net/api/devel/~leenx-leet/+archive/drupal-mercury/+buildjob/2188875", "arch_tag": "i386", "score": null, "resource_type_link": "https://launchpad.net/api/devel/#build"}
buildd-manager.log-20110123.bz2 shows that it was dispatched and depwaited on kutjera. _handleStatus_DEPFAIL's build_info_stored was clearly run, which very strongly suggests that storeBuildInfo was too. Yet none of the attributes that it sets are set.
Is there a commit missing somewhere after storeBuildInfo's got_log callback?
I concur that it's probably a missing commit(), we need to figure out where. It's also worth working out why the buildd-manager has not recovered the bad build, and fix that too.