Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stefanhp opened this issue Feb 13, 2015 · 4 comments
Open

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

stefanhp opened this issue Feb 13, 2015 · 4 comments

Comments

@stefanhp
Copy link

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:

  • Is there a documentation for the API ? (/api/bots, /api/integrations, what else ?)
  • Is there a web UI to manage server based bots ? (Xcode on the development machine does not see bots created by XBotBuilder)

Any info would be helpful!
Thanks

@lumaxis
Copy link

lumaxis commented Mar 23, 2015

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

@sjapps
Copy link

sjapps commented Mar 31, 2015

Same here...

@stefanhp
Copy link
Author

@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
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants