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
Puppeteer tests fail when not on the Internet #12599
Comments
Hello @zulip/server-testing members, this issue was labeled with the "area: testing-infrastructure" label, so you may want to check it out! |
|
Oh, of course, that makes sense. (That's the hostname mapping to |
We disabled casper in CI in 1a8798d. We can at least drop the high priority label here? |
Yeah, we can close this; @chdinesh1089 @priyank-p FYI; we should fix the similar issue with puppeteer if present. |
This actually happens with puppeteer too. The problem is with the test server starting. As @andersk told, it is blocked on DNS request. Do you have any ideas on how to try fixing this? |
I think we could check We could try making it work at least in Vagrant and Droplets by adding DNS entries for |
Adding these to
(having Thought we'd write code to add those in provision.py script but we don't allow provision to be run as root. Is there a better way than doing it manually to add these? |
We should add these to Maybe we can call it |
That new script is also what we want for: |
Repurposed to discuss the new puppeteer tests with the same bug.
Apparently,
test-js-with-casper
fails when one is not on the Internet, fairly early.I have no idea why -- we don't have any intentional use of the Internet in our casper tests, so this is likely an accident of some sort.
(Structurally,
test-backend
is designed to block standard Python ways of accessing the Internet to ensure we never introduce use of the Internet in our tests there; we need to do the same thing here)The text was updated successfully, but these errors were encountered: