Conduit call is generating phd log error message


#1

Observed Behavior:
When posting back to a buildable the state of the buildable doesn’t change.

Expected Behavior:
Buildable’s unit test state to change to pass.

Phabricator Version:
37a40d82726b31d45446306b9306b9cd48b219b4 (stable) Promote 2018 Week 36

Reproduction Steps:
Unknown why this buildable is in this state but the action trying to be performed is:

echo '{ "buildTargetPHID": "'PHIDHERE'",  "type": "fail" }' | arc call-conduit --conduit-uri https://phabricator.example.com/ harbormaster.sendmessage; done

The result that comes back is

{"error":null,"errorMessage":null,"response":null}

but the status for that buildable is shown as “Waiting for Message” on its web page.

Additional information

Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000] [2019-02-09 10:42:45] EXCEPTION: (PhutilProxyException) Error while executing Task ID 13051871. {>} (PhabricatorDataNotAttachedException) Attempting to access attached data on DifferentialDiff (via getRevision()), but the data is not actually attached. Before accessing attachable data on an object, you must load and attach it.
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000] 
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000] Data is normally attached by calling the corresponding needX() method on the Query class when the object is loaded. You can also call the corresponding attachX() method explicitly. at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:254]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000] arcanist(), phabricator(), phutil()
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #0 <#2> PhabricatorLiskDAO::assertAttached(string) called at [<phabricator>/src/applications/differential/storage/DifferentialDiff.php:327]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #1 <#2> DifferentialDiff::getRevision() called at [<phabricator>/src/applications/differential/harbormaster/DifferentialBuildableEngine.php:10]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #2 <#2> DifferentialBuildableEngine::getPublishableObject() called at [<phabricator>/src/applications/differential/harbormaster/DifferentialBuildableEngine.php:22]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #3 <#2> DifferentialBuildableEngine::publishBuildable(HarbormasterBuildable, HarbormasterBuildable) called at [<phabricator>/src/applications/harbormaster/engine/HarbormasterBuildEngine.php:572]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #4 <#2> HarbormasterBuildEngine::publishBuildable(HarbormasterBuildable, HarbormasterBuildable) called at [<phabricator>/src/applications/harbormaster/engine/HarbormasterBuildEngine.php:534]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #5 <#2> HarbormasterBuildEngine::updateBuildable(HarbormasterBuildable) called at [<phabricator>/src/applications/harbormaster/engine/HarbormasterBuildEngine.php:95]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #6 <#2> HarbormasterBuildEngine::continueBuild() called at [<phabricator>/src/applications/harbormaster/worker/HarbormasterBuildWorker.php:30]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #7 <#2> HarbormasterBuildWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:123]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #8 <#2> PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:171]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #9 <#2> PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #10 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:219]
Daemon 41780 STDE [Sat, 09 Feb 2019 10:42:45 +0000]   #11 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:131]
Daemon 41780 FAIL [Sat, 09 Feb 2019 10:42:45 +0000] Process exited with error 255.

#2

Please see the bug submission guidelines here: Guide: Reporting a Bug

Your reproduction steps are for an older version of Phabricator. Please upgrade your installation before reporting a bug to the upstream.


[SOLVED] "Ending" stuck lint only/orphaned buildables
closed #3

#4

See https://secure.phabricator.com/D20156.


Importing libphutil repository on fresh Phabricator triggers an error