phodal/chapi

View on GitHub
test(protobuf): add test case for parsing real-world proto file #534
Phodal Huang authored c5d6d35a
complete00:00:30
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-10-25T08:23:29.978473 #1]  WARN -- : Skipping chapi-ast-protobuf/src/main/kotlin/chapi/ast/protobuf/ProtobufFullIdentListener.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:29.978863 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:31.408859 #1]  WARN -- : Skipping chapi-ast-typescript/src/test/kotlin/chapi/ast/typescriptast/TSIdentifyTest.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:31.408921 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:32.862567 #1]  WARN -- : Skipping chapi-ast-rust/src/main/kotlin/chapi/ast/rustast/RustAstBaseListener.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:32.862616 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:33.374825 #1]  WARN -- : Skipping chapi-ast-go/src/test/kotlin/chapi/ast/goast/GoAnalyserTest.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:33.374870 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.445093 #1]  WARN -- : Skipping chapi-ast-kotlin/src/main/kotlin/chapi/ast/kotlinast/KotlinBasicIdentListener.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.445141 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.453564 #1]  WARN -- : Skipping chapi-ast-kotlin/src/main/kotlin/chapi/ast/kotlinast/KotlinFullIdentListener.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.453610 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.478576 #1]  WARN -- : Skipping chapi-domain/src/test/kotlin/chapi/domain/expr/ExpressionTest.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.478625 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.724606 #1]  WARN -- : Skipping chapi-domain/src/main/kotlin/chapi/domain/core/CodeAnnotation.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.724656 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.730680 #1]  WARN -- : Skipping chapi-domain/src/main/kotlin/chapi/domain/core/CodeCall.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.730729 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.749902 #1]  WARN -- : Skipping chapi-domain/src/main/kotlin/chapi/domain/core/CodeField.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.749947 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.775713 #1]  WARN -- : Skipping chapi-domain/src/main/kotlin/chapi/domain/core/CodeDataStruct.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.775761 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.808417 #1]  WARN -- : Skipping chapi-domain/src/main/kotlin/chapi/domain/core/CodeFunction.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.808465 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.812958 #1]  WARN -- : Skipping chapi-domain/src/main/kotlin/chapi/domain/core/CodeProperty.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.813002 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:34.840810 #1]  WARN -- : Skipping chapi-domain/src/main/kotlin/chapi/domain/core/CodeContainer.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:34.840855 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-10-25T08:23:39.041330 #1]  WARN -- : Skipping ./chapi-ast-protobuf/src/main/kotlin/chapi/ast/protobuf/ProtobufFullIdentListener.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:39.041612 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:40.514420 #1]  WARN -- : Skipping ./chapi-ast-typescript/src/test/kotlin/chapi/ast/typescriptast/TSIdentifyTest.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:40.614347 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:42.974969 #1]  WARN -- : Skipping ./chapi-ast-rust/src/main/kotlin/chapi/ast/rustast/RustAstBaseListener.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:42.975351 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:43.658203 #1]  WARN -- : Skipping ./chapi-ast-go/src/test/kotlin/chapi/ast/goast/GoAnalyserTest.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:43.658250 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:45.910627 #1]  WARN -- : Skipping ./chapi-ast-kotlin/src/main/kotlin/chapi/ast/kotlinast/KotlinBasicIdentListener.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:45.910673 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:45.919718 #1]  WARN -- : Skipping ./chapi-ast-kotlin/src/main/kotlin/chapi/ast/kotlinast/KotlinFullIdentListener.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:45.919757 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:45.949934 #1]  WARN -- : Skipping ./chapi-domain/src/test/kotlin/chapi/domain/expr/ExpressionTest.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:45.950215 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:46.288314 #1]  WARN -- : Skipping ./chapi-domain/src/main/kotlin/chapi/domain/core/CodeAnnotation.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:46.288600 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:46.293814 #1]  WARN -- : Skipping ./chapi-domain/src/main/kotlin/chapi/domain/core/CodeCall.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:46.293848 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:46.305492 #1]  WARN -- : Skipping ./chapi-domain/src/main/kotlin/chapi/domain/core/CodeField.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:46.305537 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:46.325401 #1]  WARN -- : Skipping ./chapi-domain/src/main/kotlin/chapi/domain/core/CodeDataStruct.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:46.325449 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:46.361007 #1]  WARN -- : Skipping ./chapi-domain/src/main/kotlin/chapi/domain/core/CodeFunction.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:46.361208 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:46.365296 #1]  WARN -- : Skipping ./chapi-domain/src/main/kotlin/chapi/domain/core/CodeProperty.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:46.365343 #1]  WARN -- : Response status: 422
W, [2024-10-25T08:23:46.401619 #1]  WARN -- : Skipping ./chapi-domain/src/main/kotlin/chapi/domain/core/CodeContainer.kt due to CC::Parser::Client::HTTPError
W, [2024-10-25T08:23:46.401938 #1]  WARN -- : Response status: 422