Skip to content

Carthage build fails in CircleCI #1656

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

Closed
4 tasks done
mtrezza opened this issue Jul 24, 2022 · 7 comments · Fixed by #1657
Closed
4 tasks done

Carthage build fails in CircleCI #1656

mtrezza opened this issue Jul 24, 2022 · 7 comments · Fixed by #1657
Labels
type:ci CI related issue

Comments

@mtrezza
Copy link
Member

mtrezza commented Jul 24, 2022

New Issue Checklist

Issue Description

Carthage build fails in CircleCI with error:

*** Building scheme "ParseFacebookUtilsV4-tvOS" in Parse.xcworkspace
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -workspace /Users/distiller/project/Parse.xcworkspace -scheme ParseFacebookUtilsV4-tvOS -configuration Release -sdk appletvos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/bl/wbxjgtzx7j5_mjsmfr3ynlc00000gp/T/project SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/distiller/project)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/bl/wbxjgtzx7j5_mjsmfr3ynlc00000gp/T/carthage-xcodebuild.iAhzZv.log
Carthage Tests Failed!

Exited with code exit status 1

Steps to reproduce

See https://app.circleci.com/pipelines/github/parse-community/Parse-SDK-iOS-OSX/1328/workflows/78eee610-8187-4bda-9532-b1cd33142354/jobs/7471

Actual Outcome

Fails

Expected Outcome

Passes

Environment

Current master branch

@parse-github-assistant
Copy link

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:ci CI related issue label Jul 24, 2022
@mtrezza
Copy link
Member Author

mtrezza commented Jul 24, 2022

@cbaker6 do you remember why we run carthage still on CircleCI instead of GitHub Actions? I vaguely remember that it was about the resources because it takes a lot of time?

@mtrezza mtrezza pinned this issue Jul 24, 2022
@cbaker6
Copy link
Contributor

cbaker6 commented Jul 24, 2022

Yes, Carthage and some of the other obj-c builds take long time to finish, so it was left on circle

@mtrezza
Copy link
Member Author

mtrezza commented Jul 25, 2022

Got it. Maybe we should move this to Github Actions anyway; we don't see many CI runs here but it may be easier to debug in a single CI environment.

@parse-community/ios-sdk could anyone look into why carthage fails in CircleCI?

@drdaz
Copy link
Member

drdaz commented Jul 26, 2022

@mtrezza Not 100% sure about this, but IIRC, it times out.

@mtrezza mtrezza linked a pull request Jul 26, 2022 that will close this issue
2 tasks
@mtrezza
Copy link
Member Author

mtrezza commented Jul 26, 2022

I increased the no_output_timeout to 30min in #1657, let's see if that works

@mtrezza
Copy link
Member Author

mtrezza commented Jul 27, 2022

You were spot on, it requires a timeout of 1h, 30min even was too short. Carthage needs ~1h in total on CircleCI. It would be interesting to test this on GitHub Actions, because I suspect that CircleCI gives us little resources on the free plan and that may be one reason why it takes so long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:ci CI related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants