-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Invalid value for [project] and failed to make bucket #1792
Comments
Hey! Thanks for reporting that issue!
You are absolutely right, tbh we have another issue open because of misleading documentation.
Flank does not process Flank fetches lists of buckets for given ID and searches for the one provided in configuration ( Do you see the same error when using gcloud? |
@CityTransit @pawelpasterz EDIT: |
Updated Flank to the latest and tried with the argument (both id and number) and received the same errors. I installed gcloud cli and also received similar issues:
But setting the project via the argument The bit about "failed to make bucket" was a red herring I believe. I can delete the bucket and then I do not get this error for one run. Everything seems to write correctly either way. |
@CityTransit |
Fixes #1792 These changes fix bad information that flank requires project name instead of project id
Thanks for updating the documentation. I believe that we may still be some small issue somewhere, but we have a workaround to use in the meantime. To anyone reading in the future, look to try |
Fixes #1792 #1831 This pr contains changes requested in #1831 and may fix #1792. ## Test Plan > How do we know the code works? 1. Flank firstly should try to use credentials from env variable ```GOOGLE_APPLICATION_CREDENTIALS``` [here](https://github.com/Flank/flank/blob/c643f859e053dfdb890170a087d783c23eacbb11/test_runner/src/main/kotlin/ftl/client/google/Credentials.kt#L22) 1. If this method fails Flank should try to load credentials from ```./user_home/.flank``` directory [here](https://github.com/Flank/flank/blob/c643f859e053dfdb890170a087d783c23eacbb11/test_runner/src/main/kotlin/ftl/client/google/Credentials.kt#L26) or if it's windows from ```%USER_HOME%/.config/gcloud/application_default_credentials.json``` [here](https://github.com/Flank/flank/blob/c643f859e053dfdb890170a087d783c23eacbb11/test_runner/src/main/kotlin/ftl/client/google/Credentials.kt#L34)
Reopening based on user feedback that the issue is still occurring. |
We have prepared a fix in this pr #2060 The problem occurs when Flank trying to send usage statistics. In this step Flank comparing default args and user-defined args to send args only changed by the user. When default android args returns null in project id Flank fails. We currently removed comparing with default args now everything should be fine. |
Describe the bug
I believe that Flank may be having trouble with our legacy project-id. Our project is very old and our Firebase ID is of the format
company.com:appname
. Does it seem as if Flank might not like our project ID as it contains a colon and a dot?I've tried with the project number as well which gives the same error.
To Reproduce
Running
$ flank android run
giveswith flank.yml:
(the first time it was run, or if I delete the bucket, the warning does not appear)
Expected behavior
I expect the tests to run, or to provide output that helps to solve the issue.
Also, I've noticed in the documentation yaml samples are references to "project name". This undoubtedly should be changed to project id, correct?
Details (please complete the following information):
The text was updated successfully, but these errors were encountered: