-
Notifications
You must be signed in to change notification settings - Fork 16
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
Stalling out on CI with Xcode 10 #14
Comments
On a subsequent run, the CircleCI log ended one line earlier:
Note that this time, the final line ended mid-word. |
@erikstrottmann thanks for opening this issue – no solution comes to mind, so let's dig into this. Is there a way in Circle to get a raw log file? I've seen CI providers cut off text like this before but it does get written. If you could try running the commands locally to verify they work, that'd be great too 👍 |
@ashfurrow, there’s no native support for raw log files on CircleCI. I tried using https://github.com/artemv/circleci-step-outputter to download the output of the Danger step, which consisted of the same log messages I pasted above, split into two I had the same result when running against my Swift 4.2 branch locally with However, I can successfully run Danger SwiftLint against a different PR that’s still using Swift 4.1, even when my local machine is using the Xcode 10 Command Line Tools to run Danger Swift. That makes it look like the failure isn’t being caused by Xcode 10 itself, but by something I’ve changed in my Swift 4.2 branch. Is there any way to run Danger against a specific commit? That would help me narrow down which change breaks Danger SwiftLint. |
@erikstrottmann you should be able to run |
@ashfurrow, does Danger JS’s When I pass |
Oh yikes, I'm not sure. Hmm, if I were diving into this, I'd focus on reproducing the issue locally. I'd probably use the Circle CI CLI tool to run the CI image locally and get it to stall so I could figure out what was going on. I'd prefer to dive into this with you but I'm short on time – let me know what questions I can answer, and good luck. |
Heyo folks, I'm monitoring this issue here: danger/swift#108 |
If someone is still seeing this, can you try add |
We’re no longer seeing this issue. We’ve updated to Danger Swift 1.0.0, changed the command to |
Thanks for following up @erikstrottmann! This issue is safe to close then? |
Yep, should be safe to close! |
After updating our app to Xcode 10 and Swift 4.2, danger-swiftlint stalls out on CircleCI. After linting some of our files, it eventually stops printing to STDOUT, and after 10 minutes of inactivity, CircleCI terminates it.
This behavior did not occur with Xcode 9 and Swift 4.1.
This is the relevant portion of our
Dangerfile.swift
:This is the (abridged) log from CircleCI:
I notice that the final
swiftlint lint
line doesn’t end with-- reporter json
. Additionally,ClutterStyleKit.swift
is a 3005-line, PaintCode-generated file. Not sure if either of those is relevant.The text was updated successfully, but these errors were encountered: