Kreya
Kreya copied to clipboard
importing .proto file sometimes fails when running the tests with the docker image
Describe the bug We are running some Kreya grpc tests using Azure pipelines. Sometimes the pipeline fails with "Importing proto files failed." We are using the 1.15 docker image of kreyac We downgraded to the 1.14 docker image of kreyac and it works without issue
To Reproduce Steps to reproduce the behavior:
- Have the kreya tests and all dependencies (proto file) committed in a Azure git repo
- Have a Azure Pipeline that: deploys the docker image in the k8s aks cluster, clones the repo in the deployed images, runs the tests
- The tests execute => "Importing proto files failed."
Expected behavior The tests need to run consistently each and every time
Environment (if possible, copy the information from the error dialog or the About menu):
- Azure aks environemnt the kreyac docker image
- Kreya Version 1.15
Additional context Using version 1.14 the tests execute without issue. The tests are executed using the following commande: kreyac operation invoke --scripting-timeout 60 -p /home/tests/Kreya/ ./com/**
The proto file is part of the project folder and defined in the project file as such:
"importStreams": [ { "id": "0b63a0d5-5a47-425e-a5e1-05c3d5cfa78d", "name": "ADP native", "importerName": "ProtoFile", "createMissingOperations": true, "options": { "files": [ "adp_service.proto" ], "importPaths": [] } } ],