-
Notifications
You must be signed in to change notification settings - Fork 68
Error building on Linux: The process '/usr/bin/gpg' failed with exit code 2 #694
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
Comments
Experiencing the same issue, only in our case the action seems to always fail with that same error. |
Is there any workaround for this? |
same |
FYI, I have attached the additional logs.
|
I'll check back on this later and see if we can get other versions working. A bit out of scope rn. Anyway see: [setup-swift](swift-actions/setup-swift#694)
* ci(github): first pass at github actions to test I was planning on getting CI setup before merging into main anyway but wasn't hella worried about it. Then I did the thing with the package being broken on release and decided to make this priority. I've not used actions with swifft before though so this is an attempt based on past experience and the GitHub swift actions guide: https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-swift * fix(ci): gotta use the correct tag syntax babe * deps(ci:setup-swift): current version is broken for linux I'll check back on this later and see if we can get other versions working. A bit out of scope rn. Anyway see: [setup-swift](swift-actions/setup-swift#694)
Is this issue still there for 2.3.0? |
Yes, it is still there |
Assuming |
But if you retry to run it several times — it works! |
I'm adding a setting for skipping gpg in the 3.0 rewrite, I'll se if I can patch 2.x until then... |
The tests try to instantiate a parser with language = robot in each of the supported programming languages. The workflow reuses jobs from tree-sitter/parser-test-action [1]. Following tests work - bindings/python/tests - bindings/go/binding_test.go - bindings/node/binding_test.js Following tests don't work yet and are skipped for now. - bindings/rust/lib.rs - bindings/swift/TreeSitterRobotTests, failing due to known bug in swift-actions/setup-swift#694 [1] https://github.com/tree-sitter/parser-test-action.git [2] swift-actions/setup-swift#694
The tests try to instantiate a parser with language = robot in each of the supported programming languages. The workflow reuses jobs from tree-sitter/parser-test-action [1]. Following tests work - bindings/python/tests - bindings/go/binding_test.go - bindings/node/binding_test.js Following tests don't work yet and are skipped for now. - bindings/rust/lib.rs - bindings/swift/TreeSitterRobotTests, failing due to known bug in swift-actions/setup-swift#694 [1] https://github.com/tree-sitter/parser-test-action.git [2] swift-actions/setup-swift#694
The tests try to instantiate a parser with language = robot in each of the supported programming languages. The workflow reuses jobs from tree-sitter/parser-test-action [1]. Following tests work - bindings/python/tests - bindings/go/binding_test.go - bindings/node/binding_test.js Following tests don't work yet and are skipped for now. - bindings/rust/lib.rs - bindings/swift/TreeSitterRobotTests, failing due to known bug in swift-actions/setup-swift#694 [1] https://github.com/tree-sitter/parser-test-action.git [2] swift-actions/setup-swift#694
The tests try to instantiate a parser with language = robot in each of the supported programming languages. The workflow reuses jobs from tree-sitter/parser-test-action [1]. Following tests work - bindings/python/tests - bindings/go/binding_test.go - bindings/node/binding_test.js Following tests don't work yet and are skipped for now. - bindings/rust/lib.rs - bindings/swift/TreeSitterRobotTests, failing due to known bug in swift-actions/setup-swift#694 [1] https://github.com/tree-sitter/parser-test-action.git [2] swift-actions/setup-swift#694
The tests try to instantiate a parser with language = robot in each of the supported programming languages. The workflow reuses jobs from tree-sitter/parser-test-action [1]. Following tests work - bindings/python/tests - bindings/go/binding_test.go - bindings/node/binding_test.js Following tests don't work yet and are skipped for now. - bindings/rust/lib.rs - bindings/swift/TreeSitterRobotTests, failing due to known bug in swift-actions/setup-swift#694 [1] https://github.com/tree-sitter/parser-test-action.git [2] swift-actions/setup-swift#694
This workflow reuses jobs from tree-sitter/parser-test-action [1]. The tests try to instantiate a parser with language = robot in each of the supported programming languages. Executed tests: - bindings/go/binding_test.go - bindings/node/binding_test.js - bindings/rust/lib.rs - bindings/python/tests Skipped: - bindings/swift/TreeSitterRobotTests, failing due to known bug in swift-actions/setup-swift#694 [1] https://github.com/tree-sitter/parser-test-action.git [2] swift-actions/setup-swift#694
This workflow reuses jobs from tree-sitter/parser-test-action [1]. The tests try to instantiate a parser with language = robot in each of the supported programming languages. Executed tests: - bindings/go/binding_test.go - bindings/node/binding_test.js - bindings/rust/lib.rs - bindings/python/tests Skipped: - bindings/swift/TreeSitterRobotTests, failing due to known bug in swift-actions/setup-swift#694 [1] https://github.com/tree-sitter/parser-test-action.git [2] swift-actions/setup-swift#694
This workflow reuses jobs from tree-sitter/parser-test-action [1], as it's done by other tree-sitter hosted bindings. See tree-sitter-rust for example [2]. The tests try to instantiate a parser with language = robot in each of the supported programming languages. Executed tests: - tree-sitter generate - tree-sitter test - bindings/go/binding_test.go - bindings/node/binding_test.js - bindings/rust/lib.rs - bindings/python/tests Skipped: - bindings/swift/TreeSitterRobotTests, failing due to known bug in swift-actions/setup-swift#694 [3] [1] https://github.com/tree-sitter/parser-test-action.git [2] https://github.com/tree-sitter/tree-sitter-rust/blob/v0.24.0/.github/workflows/ci.yml [3] swift-actions/setup-swift#694
Due to swift-actions/setup-swift#694 and swiftlang/swift-package-manager#8436 respectively.
I also encountered this issue in one of the https://github.com/TootSDK/TootSDK pipelines. However, I noticed that Swift 6.1 is currently included in the So if the default version is suitable for a use case, the work-around would be to remove the cf. https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md |
Describe the bug
Action randomly (sometimes it works, sometimes it fails) fails by producing this error (+log):
Workflow configuration (please complete the following information):
uses
):swift-actions/setup-swift@v2
runs-on
):ubuntu-24.04
swift-version
):"6.0"
The text was updated successfully, but these errors were encountered: