-
Notifications
You must be signed in to change notification settings - Fork 687
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
[functional testing] Determine how to handle users when testing external server #3488
Comments
I have a branch under my github account named A few notes:
Current my workstation laptop is not allow me to
|
Today I found out the cause behind our python script failing to download any message/file from the server. The torsocks available in the Ubuntu Trusty is too old, and can not have a custom port as proxy port. To solve that I have a modified copy of the |
It seems we still need the latest |
@kushaldas Can you clarify a bit the steps necessary to use the TBB-based tests? Some step-by-step instructions would be quite helpful. I've consulted the README at
Here are some questions to kickstart discussion:
You commented separately that using the Bionic torsocks package resolved the issue. That's one way to go, but I would prefer using |
Yes, the dev container currently do not start a server locally. I was working on that when I got into this mess.
No, those came in from the old branch of mine, right now everything is done inside of the Docker container.
Yes (inside the container), as I said above that README is from the old branch. |
To test the current branch, create an
|
Running against a separate prod instance helped somewhat, so thanks for clarifying, @kushaldas. For others testing, when I tried to run the tests against the local dev containers, I got a segfault each and every time. Tested on two different kernels, These are the steps I took to test locally:
On step 9, no segfaults, but the test still fails. I do see output including several successful interactions with the remote server, so at a networking level the calls appear to be successful. If I edit the As a next step, it would be helpful for collaboration, @kushaldas, if you edited the file at I'll continue to tinker with the setup locally, and see if I can get any of the functional tests to pass on my machine. If you have any tips, @kushaldas, happy to hear them! Also, if you're still blocked on any aspect of this work, please be explicit, so we can team up to finish it up. |
I have updated the README with the latest Dockerfile based tests. I tried in two remote vms, one with Fedora 28, and the other (on DigitalOcean) Debian stretch. On both machines I checked out the branch, and filled up the instance_information.json with the prod vm details (prod vms are running on my laptop). The I am currently working to get a local test instance running for the functional tests (inside of the container). |
There is also now a |
During review of #3628, we've focused on debugging the test logic against local containers. No progress has been made recently regarding managing users in the app-staging database. @kushaldas yesterday suggested we can perhaps use Given that we already have the |
@kushaldas just opened #3671 to handle the creation of users in the staging db. Beyond that, we'll also need to run the command that @kushaldas proposes. For the CI use case, it should be sufficient to modify |
Description
In a release QA situation, the users credentials must be provided to the functional tests, such that logins can occur. This is done via a config file. We should document this for pre-release QA. We should fall back to the existing pattern if we are not using an external server.
Epic: #3659
The text was updated successfully, but these errors were encountered: