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

CircleCI MacOS builds Inop #27

Closed
ciband opened this issue Nov 21, 2018 · 8 comments
Closed

CircleCI MacOS builds Inop #27

ciband opened this issue Nov 21, 2018 · 8 comments
Labels
Environment: Continuous Integration The issue or pull request affects the continuous integration environment. Status: Needs Investigation The issue needs more investigation before it can be verified and resolved.

Comments

@ciband
Copy link
Contributor

ciband commented Nov 21, 2018

Describe the bug
When CircleCI builds are triggered by PRs, the MacOS builds are not firing.

To Reproduce
Steps to reproduce the behavior:

  1. Submit any PR to the repo
  2. Observe that the macOS builds do not work and prompt to choose a macOS plan (paid plan)

Expected behavior
I would expect the macOS builds to work like they did in TravisCI.

Screenshots
N/A

Server (please complete the following information):
N/A

Additional context
cpp-client does not seem to have this issue. I assume it is something administrative.

@sleepdefic1t
Copy link
Contributor

@faustbrian any ideas why this could be?
You can see it in #31
Shouldn't matter if he has a paid plan or not, right?

@faustbrian faustbrian added Status: Needs Investigation The issue needs more investigation before it can be verified and resolved. Environment: Continuous Integration The issue or pull request affects the continuous integration environment. labels Jan 4, 2019
@sleepdefic1t
Copy link
Contributor

Related Issue also discussed in ArkEcosystemArchive/cpp-client#55

@sleepdefic1t
Copy link
Contributor

#46, and #47 (submitted myself) builds and passes all tests including macOS.

The following three PR's (also submitted by me) in Cpp-Client trigger macOS builds which pass all tests including macOS:

The following PR from @ciband did not trigger macOS builds:

Overall, macOS builds seem to fail sporadically.
That could just be something funky on CircleCI's end.

PR's from other users continue to not trigger macOS builds.
PR's from myself continue to trigger macOS builds.

@faustbrian
Copy link
Contributor

The issue is simply that @ciband is not on a paid plain on CircleCI and because he works on a fork the tests won't run for macOS.

I've added him as a contributor 1-2 weeks ago so he could work in branches so the macOS tests would work.

@ciband
Copy link
Contributor Author

ciband commented Jan 15, 2019

@faustbrian

I would think that circleci should run all PRs against the ArkEcosystem repo with the ArkEcosystem account, not the Github user who may or may not have a circleci account. This is how TravisCI worked (I believe).

Are we sure there isn't some circleci config that we might be missing?

As far as working directly in ArkEcosystem branches, I don't like that idea. The beauty of the GitHub workflow is the PR system from forks. We do a similar work flow in my day job with Gerrit.

Obviously, I can work in the Ark repo and still do PRs, but we shouldn't have/need to.

Ideal state should be full PR checks to run for any PR for anyone who wants to contribute.

Not trying stir anything up, but that is my 2 sats. If I had the rights, I would attempt to investigate.

@faustbrian
Copy link
Contributor

Once you fork the repository you get your own CircleCI repository for which you have no paid macOS plan which results in those tests not running/failing.

We use CircleCI instead of TravisCI because we had tons of timeout issues, even on the paid plan, and the performance of TravisCI is a joke compared to CircleCI which in a lot of repositories results in saving several minutes of runtime.

@sleepdefic1t
Copy link
Contributor

@faustbrian I don't have a paid plan and am able to trigger macOS builds though.
I also do not have write access to manually rerun workflows 🤷‍♂️

Am I added anywhere in CI that allows this?
Or are there organizational settings that permit accounts with the @ark.io domain to trigger macOS?

@faustbrian
Copy link
Contributor

faustbrian commented Jan 16, 2019

Probably because you are a member of the ArkEcosystem organisation.

You can go to any of cibands failed test macOS runs and it will have a big, fat yellow banner that says Sorry! Your build didn't run because it looks like you haven't selected a macOS plan yet. If you have any questions, please feel free to contact us in support..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Environment: Continuous Integration The issue or pull request affects the continuous integration environment. Status: Needs Investigation The issue needs more investigation before it can be verified and resolved.
Projects
None yet
Development

No branches or pull requests

3 participants