modcloth-labs / XBotBuilder

Mac OSX app to manage Xcode bots for github pull requests
MIT License
29 stars 11 forks source link

Integration stuck at "pending" with Xcode 6.2 beta 5 #12

Open stefanhp opened 9 years ago

stefanhp commented 9 years ago

I've been trying to make this work with Yosemite + Server 4.0.3 + Xcode 6.2 beta 5.

The bot is created (after detecting a pull request) but no integration starts. Trying to reverse-engineer the API, it seems the newly created bot/integration is stuck in pending mode (currentStep = pending):

{
   _id: "ac164426ea9d34158dfc7a302d039c32",
   _rev: "3-e1de544fe47f5fc25e5948e0b57ed706",
   bot: - {
      _id: "ac164426ea9d34158dfc7a302d0378ba",
      _rev: "3-f7ccb8fa60fa119a912de75a85816459",
      type: 1,
      configuration: + {... },
      requiresUpgrade: false,
      group: - {
         name: "C6935089-B8D9-4425-9CF3-F0C035B2F04C"
      },
      name: "Xbot epyx-src/ios-html-editor-tests PR#1 - Dummy changes for pull request",
      integration_counter: 1,
      doc_type: "bot",
      tinyID: "412ED80"
      },
   shouldClean: false,
   currentStep: "pending",
   number: 1,
   queuedDate: "2015-02-13T15:53:27.744Z",
   success_streak: 0,
   doc_type: "integration",
   tinyID: "C1C313C"
},

I'd love to resolve this myself, but I'm lacking some basic info I cannot find Googling around:

Any info would be helpful! Thanks

lumaxis commented 9 years ago

I'm currently experiencing the same thing. Did you solve this @stefanhp?

sjapps commented 9 years ago

Same here...

stefanhp commented 9 years ago

@lumaxis : unfortunately I had to drop my investigation of this to work on other things.

It seems that if a bot is somewhat malformed or the server cannot run it for some reason, you get stuck in this state. I ended up creating a virtual machine that I could roll-back to a clean state to be able to experiment.

I might give it another try sometime soon, now that Xcode 6.3, OS X 10.10.3 and Server 4.1 are out. Maybe it's working better now...

czechboy0 commented 9 years ago

@stefanhp You might want to check out https://github.com/czechboy0/Buildasaur/ (disclaimer: written by me). I know about XBotBuilder, unfortunately it doesn't seem to be maintained any more.