Skip to content
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

Try restarting chromedriver on timeout #6566

Merged
merged 10 commits into from
Mar 8, 2019
Merged

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Mar 7, 2019

Also added HEADLESS env var for local testing

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 16s 17s ⚠️ +5.83%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.77 kB
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 145 MB 145 MB -0.27%
Max Memory Usage 209 MB 209 MB -0.07%
Average CPU Usage 95.91% 95.83% -0.08%
Max CPU Usage 111.11% 111.11%
node_modules Size 42.9 MB 42.9 MB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 16.3s 16.5s ⚠️ +0.83%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.77 kB
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 147 MB 147 MB ⚠️ +0.26%
Max Memory Usage 208 MB 208 MB -0.12%
Average CPU Usage 95.29% 96.06% ⚠️ +0.81%
Max CPU Usage 122.22% 111.11% -9.09%
node_modules Size 42.9 MB 42.9 MB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 15.7s 15.5s -0.84%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.77 kB
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 145 MB 147 MB ⚠️ +1.84%
Max Memory Usage 210 MB 208 MB -0.69%
Average CPU Usage 93.24% 96% ⚠️ +2.96%
Max CPU Usage 122.22% 111.11% -9.09%
node_modules Size 42.9 MB 42.9 MB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 16.3s 16.5s ⚠️ +1.02%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.77 kB
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 147 MB 142 MB -3.5%
Max Memory Usage 208 MB 176 MB -15.29%
Average CPU Usage 94.74% 93.67% -1.13%
Max CPU Usage 111.11% 111.11%
node_modules Size 42.9 MB 42.9 MB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 16.8s 16.7s -0.87%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.77 kB
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 142 MB 143 MB ⚠️ +0.89%
Max Memory Usage 177 MB 176 MB -0.14%
Average CPU Usage 97.84% 98.05% ⚠️ +0.21%
Max CPU Usage 111.11% 111.11%
node_modules Size 42.9 MB 42.9 MB

driverPort = await getPort()
chromedriver.stop()
chromedriver.start([`--port=${driverPort}`])
// https://github.com/giggio/node-chromedriver/issues/117
Copy link
Contributor

@Janpot Janpot Mar 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at giggio/node-chromedriver#177 It seems like when you call it like

await chromedriver.start([`--port=${driverPort}`], true)

You can eliminate the wait-port dependency. Since you updated chromedriver, this PR should be included in the new version now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true, although it looks like the timeout is fixed that way and unfortunately I think we need to allow the timeout to be higher than 10 seconds. Thanks for looking

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 16.1s 15.5s -3.16%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.77 kB
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 147 MB 147 MB ⚠️ +0.18%
Max Memory Usage 207 MB 207 MB -0.16%
Average CPU Usage 95.69% 96% ⚠️ +0.32%
Max CPU Usage 110% 111.11% ⚠️ +1.01%
node_modules Size 42.9 MB 42.9 MB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 16.1s 16.3s ⚠️ +1.21%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.76 kB -0.01%
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 148 MB 147 MB -0.74%
Max Memory Usage 209 MB 208 MB -0.39%
Average CPU Usage 95.82% 95.79% -0.03%
Max CPU Usage 111.11% 111.11%
node_modules Size 42.9 MB 42.9 MB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 17.7s 18s ⚠️ +1.73%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.77 kB
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 148 MB 146 MB -1.78%
Max Memory Usage 210 MB 208 MB -0.9%
Average CPU Usage 94.36% 92.9% -1.55%
Max CPU Usage 122.22% 110% -10%
node_modules Size 42.9 MB 42.9 MB

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2019

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js windows-ci-test Change
Build Duration 16.7s 16.6s -0.83%
Client _app Size 2.67 kB 2.67 kB
Client _app gzip Size 1.12 kB 1.12 kB
Client _error Size 6.56 kB 6.56 kB
Client _error gzip Size 2.77 kB 2.77 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client main Size 20.2 kB 20.2 kB
Client main gzip Size 6.77 kB 6.77 kB
Client commons Size 190 kB 190 kB
Client commons gzip Size 61.2 kB 61.2 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.2 kB 1.2 kB
Build Dir Size 385 kB 385 kB
Average Memory Usage 147 MB 147 MB ⚠️ +0.13%
Max Memory Usage 207 MB 207 MB ⚠️ +0.15%
Average CPU Usage 95.33% 95.94% ⚠️ +0.64%
Max CPU Usage 111.11% 111.11%
node_modules Size 42.9 MB 42.9 MB

@oliviertassinari
Copy link
Contributor

oliviertassinari commented Mar 8, 2019

https://twitter.com/timneutkens/status/1103759973711003649

@ijjk To mitigate the github-actions comment noise, you might be interested in having a look at the React danger solution or mui/material-ui#14587.

@timneutkens timneutkens merged commit a3356c5 into vercel:canary Mar 8, 2019
@ijjk ijjk deleted the windows-ci-test branch March 8, 2019 16:00
@lock lock bot locked as resolved and limited conversation to collaborators Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants