Page MenuHomePhabricator
Feed Advanced Search

Mar 4 2016

michaeljs1990 added a comment to T10497: Allow for better monitoring of Drydock Blueprints.

Didn't see that ticket but just read over this and that would be what I would need. I think I am also seeing a very rare edge case as the specific issue I am seeing every day or so is that git clean -ffxd fails with warning: failed to remove /something but every time I go in to look around after everything looks completely normal and then running git clean -ffxd runs successfully.

Mar 4 2016, 8:26 PM · Drydock, Feature Request

Mar 2 2016

epriestley added a comment to T10497: Allow for better monitoring of Drydock Blueprints.

T8153 possibly also related (detect someone broke the resource and destroy it so it gets recreated).

Mar 2 2016, 4:47 PM · Drydock, Feature Request
michaeljs1990 updated subscribers of T10497: Allow for better monitoring of Drydock Blueprints.
Mar 2 2016, 4:00 PM · Drydock, Feature Request
michaeljs1990 created T10497: Allow for better monitoring of Drydock Blueprints.
Mar 2 2016, 8:13 AM · Drydock, Feature Request

Mar 1 2016

epriestley removed a member for Drydock: joshuaspence.
Mar 1 2016, 2:56 PM

Feb 26 2016

epriestley added a subtask for T10457: Improve Harbomaster/Drydock UI/UX before release: T10024: Can't remove blueprint limit.
Feb 26 2016, 3:01 PM · Harbormaster (v3), Drydock (v3), Phacility
epriestley added a parent task for T10024: Can't remove blueprint limit: T10457: Improve Harbomaster/Drydock UI/UX before release.
Feb 26 2016, 3:01 PM · Drydock (v3), Bug Report
epriestley moved T9493: Formalize attributes on Drydock resources and leases from v2 to Future on the Drydock board.
Feb 26 2016, 3:01 PM · Restricted Project, Drydock (v3)
epriestley moved T9492: Make WorkingCopy resources more powerful and flexible from v2 to Future on the Drydock board.
Feb 26 2016, 3:01 PM · Restricted Project, Drydock
epriestley moved T8153: Improve detection and recovery when resources are mangled outside of Drydock's control from v2 to Future on the Drydock board.
Feb 26 2016, 3:01 PM · Prioritized, Drydock
epriestley created T10457: Improve Harbomaster/Drydock UI/UX before release.
Feb 26 2016, 2:59 PM · Harbormaster (v3), Drydock (v3), Phacility
epriestley added a comment to T10246: Deploy Drydock in the Phacility cluster.

New APIs are going out tomorrow morning (Saturday, February 27). I expect to unprototype Almanac shortly after that, provided things go relatively smoothly, so it will become available the following week (Saturday, March 5).

Feb 26 2016, 2:56 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley closed T9762: Removing devices from Almanac services, a subtask of T10246: Deploy Drydock in the Phacility cluster, as Resolved.
Feb 26 2016, 2:21 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility

Feb 25 2016

nickz added a comment to T10447: When the push phase of "Land Revision" fails, show the error in the UI.

When I put var_dump() in other parts of the code, I can see the output from /var/log/apache/error.log, but just can't see any output for the ones I mentioned above.

Feb 25 2016, 3:26 PM · Drydock (v3)
epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 25 2016, 12:56 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley closed T6741: Lock Almanac networks, and allow Almanac domain namespaces to be locked, a subtask of T10246: Deploy Drydock in the Phacility cluster, as Resolved.
Feb 25 2016, 11:38 AM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added a comment to T10447: When the push phase of "Land Revision" fails, show the error in the UI.

I think var_dump() will normally be hard to observe, since it will go to stdout but that isn't connected to anything by default so it will just vanish (we don't write stdout to the daemon log). My guess is that the code is running, you just aren't seeing the var_dump() output.

Feb 25 2016, 11:20 AM · Drydock (v3)

Feb 24 2016

nickz added a comment to T10447: When the push phase of "Land Revision" fails, show the error in the UI.

It looks like "git push" in DrydockLandRepositoryOperation.php doesn't get executed.
I put some var_dump as the following, and click "Land Revision", but no related log printed out.

Feb 24 2016, 11:51 PM · Drydock (v3)
epriestley added a comment to T10447: When the push phase of "Land Revision" fails, show the error in the UI.

Oh, this is probably actually $operation->setWorkingCopyVCSError(...);

Feb 24 2016, 5:23 PM · Drydock (v3)
epriestley updated subscribers of T10447: When the push phase of "Land Revision" fails, show the error in the UI.

To fix this:

Feb 24 2016, 5:22 PM · Drydock (v3)
epriestley created T10447: When the push phase of "Land Revision" fails, show the error in the UI.
Feb 24 2016, 4:26 PM · Drydock (v3)
epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 24 2016, 12:59 AM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility

Feb 23 2016

epriestley closed T10411: Modernize Almanac to support EditEngine, a subtask of T10246: Deploy Drydock in the Phacility cluster, as Resolved.
Feb 23 2016, 4:21 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility

Feb 22 2016

epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 22 2016, 10:51 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley closed T10410: Deleting Almanac properties does not work, a subtask of T10246: Deploy Drydock in the Phacility cluster, as Resolved.
Feb 22 2016, 7:28 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added a comment to T10246: Deploy Drydock in the Phacility cluster.

Quick summary here:

Feb 22 2016, 1:19 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added subtasks for T10246: Deploy Drydock in the Phacility cluster: T6741: Lock Almanac networks, and allow Almanac domain namespaces to be locked, T9762: Removing devices from Almanac services, T10410: Deleting Almanac properties does not work.
Feb 22 2016, 1:13 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility

Feb 21 2016

epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 21 2016, 10:43 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 21 2016, 10:06 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 21 2016, 7:16 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 21 2016, 7:02 PM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 21 2016, 11:25 AM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley moved T10246: Deploy Drydock in the Phacility cluster from Backlog to v2 on the Almanac board.
Feb 21 2016, 11:22 AM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added a revision to T10246: Deploy Drydock in the Phacility cluster: Restricted Differential Revision.
Feb 21 2016, 10:59 AM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley added projects to T10246: Deploy Drydock in the Phacility cluster: Almanac, Harbormaster.
Feb 21 2016, 10:55 AM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility

Feb 1 2016

epriestley updated the task description for T10246: Deploy Drydock in the Phacility cluster.
Feb 1 2016, 12:12 AM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility
epriestley closed T10092: User reports Drydock not parallelizing working copy builds as Resolved.
Feb 1 2016, 12:06 AM · Drydock

Jan 30 2016

epriestley created T10246: Deploy Drydock in the Phacility cluster.
Jan 30 2016, 1:13 AM · Harbormaster (v3), Drydock (v3), Almanac (v2), Phacility

Jan 26 2016

dotti added a watcher for Drydock: dotti.
Jan 26 2016, 9:01 PM

Jan 22 2016

epriestley moved T10203: Support Windows hosts in Drydock from Backlog to Far Future on the Harbormaster board.
Jan 22 2016, 12:04 PM · Haskell.org, Harbormaster, Feature Request, Drydock
hach-que updated the task description for T10203: Support Windows hosts in Drydock.
Jan 22 2016, 10:17 AM · Haskell.org, Harbormaster, Feature Request, Drydock
hach-que renamed T10203: Support Windows hosts in Drydock from Support Windows hosts over WinRM to Support Windows hosts over WinRM in Drydock.
Jan 22 2016, 10:14 AM · Haskell.org, Harbormaster, Feature Request, Drydock
hach-que created T10203: Support Windows hosts in Drydock.
Jan 22 2016, 10:14 AM · Haskell.org, Harbormaster, Feature Request, Drydock

Jan 13 2016

nickz added a comment to T10092: User reports Drydock not parallelizing working copy builds.

Okay, I am able to expand further by adding more requests. Thanks for the explaining!

Jan 13 2016, 11:00 PM · Drydock

Jan 12 2016

epriestley added a comment to T10092: User reports Drydock not parallelizing working copy builds.

(And, obviously, all of this could be way more clear in the UI.)

Jan 12 2016, 4:05 PM · Drydock
epriestley added a comment to T10092: User reports Drydock not parallelizing working copy builds.

Sorry, this actually is expected, if the resource pool is totally empty to begin with. Here's why:

Jan 12 2016, 4:04 PM · Drydock

Jan 9 2016

epriestley added a comment to T5544: Implement EC2 blueprint for Drydock.

Not at this time. This is far afield from our roadmap and we've seen little interest in it outside of your use case.

Jan 9 2016, 5:03 PM · Drydock

Jan 8 2016

chad added a project to Q258: Documentation for Drydock working copy git/ssh clone?: Drydock.
Jan 8 2016, 4:01 AM · Drydock

Jan 6 2016

epriestley created T10092: User reports Drydock not parallelizing working copy builds.
Jan 6 2016, 9:43 PM · Drydock
nickz added a comment to T9994: Merge conflicts causes resources not being able to be released.

This looks much better! Thanks!

Jan 6 2016, 12:34 AM · Drydock, Differential, Bug Report

Jan 5 2016

hach-que added a comment to T5544: Implement EC2 blueprint for Drydock.

@epriestley Is there any capacity to get this Prioritized?

Jan 5 2016, 10:30 PM · Drydock

Jan 3 2016

joshuaspence added projects to T10081: Deadlock when a build plan leases multiple working copies: Drydock, Harbormaster.
Jan 3 2016, 9:31 PM · Harbormaster, Drydock, Feature Request

Dec 26 2015

epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

I don't want the error messages to just disappear since I worry that might be confusing, but I've added an option to dismiss errors once you're done with them in D14886:

Dec 26 2015, 8:40 PM · Drydock, Differential, Bug Report
epriestley added a revision to T9994: Merge conflicts causes resources not being able to be released: Restricted Differential Revision.
Dec 26 2015, 8:35 PM · Drydock, Differential, Bug Report

Dec 24 2015

nickz added a comment to T9994: Merge conflicts causes resources not being able to be released.

This works for me now! Thanks!

Dec 24 2015, 12:58 AM · Drydock, Differential, Bug Report

Dec 22 2015

chad removed a revision from T10023: Waiting for available resources, but no resources are being created: Restricted Differential Revision.
Dec 22 2015, 8:15 PM · Drydock, Bug Report
chad added a revision to T10023: Waiting for available resources, but no resources are being created: Restricted Differential Revision.
Dec 22 2015, 8:08 PM · Drydock, Bug Report
epriestley closed T10037: Branch names are not correct in Drydock working copies as Resolved by committing Restricted Diffusion Commit.
Dec 22 2015, 2:47 PM · Drydock, Bug Report
hach-que added a comment to T10037: Branch names are not correct in Drydock working copies.

Right, but that's because to me master being incorrect is a symptom of all branches being incorrect, which is what the task title and reproduction steps demonstrate.

Dec 22 2015, 2:22 PM · Drydock, Bug Report
epriestley added a revision to T10037: Branch names are not correct in Drydock working copies: Restricted Differential Revision.
Dec 22 2015, 2:19 PM · Drydock, Bug Report
epriestley reopened T10037: Branch names are not correct in Drydock working copies as "Open".

That's entirely reasonable, but completely unclear from the task title, reproduction steps, description, or other context here. Here's an example of how you could have filed this task instead to make the root issue more clear:

Dec 22 2015, 2:07 PM · Drydock, Bug Report
hach-que added a comment to T10037: Branch names are not correct in Drydock working copies.

You don't need to examine the remote branches beyond git fetch, which I'm assuming has already been done when the working copy is fetched. You just need to map the local branches to the remote ones (you can actually just do this cp .git/refs/remotes/origin/* .git/refs/heads).

Dec 22 2015, 1:53 PM · Drydock, Bug Report
epriestley closed T10037: Branch names are not correct in Drydock working copies as Wontfix.

That would needlessly slow down working copy construction in the common case, by adding extra unnecessary steps. Have your build tools examine remote branches instead of local branches, or do this synchronization yourself at the beginning of your build, or wait for T9492 and use "one-time" working copies in exchange for inefficient working copy construction.

Dec 22 2015, 1:21 PM · Drydock, Bug Report
hach-que reopened T10037: Branch names are not correct in Drydock working copies as "Open".

I'm not actually after a "current branch"; I know that there's potentially unlimited branches for the current commit. What I'm interested in is actually having the branches from the remote fetched down as the local branch names, so that "master" locally is the same as "origin/master" and "abcdef" is the same as "origin/abcdef", or to put it another way, as if the repository had been freshly cloned with "git clone".

Dec 22 2015, 1:09 PM · Drydock, Bug Report
epriestley closed T10037: Branch names are not correct in Drydock working copies as Invalid.

There is no such thing as a "current branch" in this sense in the general case. Harbormaster builds commits, and a commit may be on anything between zero and infinity branches, and may be the head of any equal or smaller number of branches.

Dec 22 2015, 11:39 AM · Drydock, Bug Report
hach-que created T10037: Branch names are not correct in Drydock working copies.
Dec 22 2015, 7:51 AM · Drydock, Bug Report
hach-que added a comment to T10017: Allow "Lease Working Copy" to just provide an empty folder.

Well my point is that I need some equivalent of "Lease Working Copy" that just provides an empty folder to work in.

Dec 22 2015, 12:56 AM · Drydock, Harbormaster, Feature Request
hach-que added a comment to T10023: Waiting for available resources, but no resources are being created.

I don't know what reliable reproduction steps you expect here. Drydock doesn't really give me any indication as to what it's doing or why it's doing nothing. The screenshots clearly indicate the issue at hand, and the accompanying text indicates what I did to reproduce the issue on my install.

Dec 22 2015, 12:51 AM · Drydock, Bug Report

Dec 21 2015

epriestley closed T10023: Waiting for available resources, but no resources are being created as Invalid.

This report does not include reproduction steps that we can use to reproduce the problem. See Contributing Bug Reports.

Dec 21 2015, 11:55 PM · Drydock, Bug Report
epriestley closed T10017: Allow "Lease Working Copy" to just provide an empty folder as Wontfix.

It doesn't make sense for "Lease Working Copy" to not provide a working copy.

Dec 21 2015, 11:53 PM · Drydock, Harbormaster, Feature Request
epriestley moved T10024: Can't remove blueprint limit from Backlog to v2 on the Drydock board.
Dec 21 2015, 11:53 PM · Drydock (v3), Bug Report
epriestley added a comment to T10024: Can't remove blueprint limit.

You can probably set it to "0" to achieve the same effect, but this is a bug and I can reproduce it locally.

Dec 21 2015, 11:53 PM · Drydock (v3), Bug Report
• mirago removed a member for Drydock: • mirago.
Dec 21 2015, 2:48 PM
• mirago added a member for Drydock: • mirago.
Dec 21 2015, 2:47 PM
hach-que added a comment to T10023: Waiting for available resources, but no resources are being created.

So I managed to workaround this issue. First I reset all the attributes of the blueprint with:

Dec 21 2015, 3:20 AM · Drydock, Bug Report
hach-que added a comment to T10023: Waiting for available resources, but no resources are being created.

I just restarted the first build and looked at the lease that was trying to be obtained:

Dec 21 2015, 3:12 AM · Drydock, Bug Report
hach-que added a comment to T10023: Waiting for available resources, but no resources are being created.

This is what I see in the daemon page (there are two builds trying to get a lease on this working copy blueprint):

Dec 21 2015, 3:09 AM · Drydock, Bug Report
hach-que added a comment to T10023: Waiting for available resources, but no resources are being created.

Apparently even new builds that are trying to use this blueprint are now stalling.

Dec 21 2015, 3:08 AM · Drydock, Bug Report
hach-que created T10024: Can't remove blueprint limit.
Dec 21 2015, 3:06 AM · Drydock (v3), Bug Report
hach-que created T10023: Waiting for available resources, but no resources are being created.
Dec 21 2015, 3:03 AM · Drydock, Bug Report

Dec 20 2015

hach-que added projects to T10017: Allow "Lease Working Copy" to just provide an empty folder: Harbormaster, Drydock.
Dec 20 2015, 2:37 AM · Drydock, Harbormaster, Feature Request

Dec 18 2015

nickz added a comment to T9994: Merge conflicts causes resources not being able to be released.

Thanks @epriestley! I'll try it out.

Dec 18 2015, 8:45 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

@nickz I believe both issues are now fixed at HEAD. Let me know if you run into anything else.

Dec 18 2015, 8:20 PM · Drydock, Differential, Bug Report
epriestley closed T9994: Merge conflicts causes resources not being able to be released as Resolved by committing Restricted Diffusion Commit.
Dec 18 2015, 7:55 PM · Drydock, Differential, Bug Report
epriestley claimed T9994: Merge conflicts causes resources not being able to be released.
Dec 18 2015, 6:55 PM · Drydock, Differential, Bug Report
epriestley added a revision to T9994: Merge conflicts causes resources not being able to be released: Restricted Differential Revision.
Dec 18 2015, 5:59 PM · Drydock, Differential, Bug Report
epriestley added a revision to T9994: Merge conflicts causes resources not being able to be released: Restricted Differential Revision.
Dec 18 2015, 3:24 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

Okay. You can implement the behavior you want like this:

Dec 18 2015, 3:17 PM · Drydock, Differential, Bug Report
hach-que added a comment to T9994: Merge conflicts causes resources not being able to be released.

In case the case of a limit being set, then yes, I expect it to fail immediately (and I expect them to fail until the resources drop below the limit).

Dec 18 2015, 3:07 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

I would expect 4 of the builds to fail as they can't allocate more resources.

Dec 18 2015, 3:03 PM · Drydock, Differential, Bug Report
hach-que added a comment to T9994: Merge conflicts causes resources not being able to be released.

I would expect 4 of the builds to fail as they can't allocate more resources.

Dec 18 2015, 2:58 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

How would you propose Drydock detect that it should fail if the situation is a legitimate deadlock that can not be alleviated by cleaning up resources?

Dec 18 2015, 2:55 PM · Drydock, Differential, Bug Report
hach-que added a comment to T9994: Merge conflicts causes resources not being able to be released.

No, I'd suggest that Drydock fail (and clean up resources used by failed builds immediately) instead of deadlocking.

Dec 18 2015, 2:52 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

So you'd suggest that we encourage Drydock users to configure limits in excess of available resources ("not wear a seatbelt") to improve error behavior when they configure a deadlock ("fall in the ocean")? If so, wouldn't it be better to simply remove the limits entirely ("uninstall seatbelts from cars") so that they can't accidentally configure a limit with bad behavior?

Dec 18 2015, 2:47 PM · Drydock, Differential, Bug Report
hach-que added a comment to T9994: Merge conflicts causes resources not being able to be released.

If you drive without a seatbelt, it will be easier to escape from your vehicle when it becomes submerged in the ocean.

Dec 18 2015, 2:39 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

I've reproduced the first issue with the lease breaking but not being released. Here's what I did:

Dec 18 2015, 2:23 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

If you drive without a seatbelt, it will be easier to escape from your vehicle when it becomes submerged in the ocean.

Dec 18 2015, 2:10 PM · Drydock, Differential, Bug Report
hach-que added a comment to T9994: Merge conflicts causes resources not being able to be released.

I believe there's another deadlock issue here as well though, say 10 builds start with the following plan:

Dec 18 2015, 1:56 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

For example, suppose we have perfect resource reclamation and reuse algorithms which always instantly destroy a resource the moment it is no longer in use.

Dec 18 2015, 1:49 PM · Drydock, Differential, Bug Report
epriestley added a comment to T9994: Merge conflicts causes resources not being able to be released.

The recommended solution for T9875 is to set a limit lower than "available disk space / size of largest repository", which reduces it to this deadlock issue.

Dec 18 2015, 1:42 PM · Drydock, Differential, Bug Report