Mandatory HTTPS TLDs fail performance auto devops task
Summary
.app TLD's cause performance to fail as it uses chrome and chrome respects it's strict https requirement
Steps to reproduce
- setup auto devops on a .app domain
- deploy
- watch performance fail with the following output
What is the current bug behavior?
[2019-03-27 15:15:39] INFO: Versions OS: linux 4.19.23-coreos-r1 nodejs: v8.9.4 sitespeed.io: 6.3.1 browsertime: 2.1.4 coach: 1.2.0
[2019-03-27 15:15:39] INFO: Starting chrome for analysing http://mein-schnitzel-admin.mein.app 3 time(s)
[2019-03-27 15:15:39] INFO: Testing url http://mein-schnitzel-admin.mein.app run 1
[2019-03-27 15:16:03] INFO: Testing url http://mein-schnitzel-admin.mein.app run 2
[2019-03-27 15:16:23] INFO: Testing url http://mein-schnitzel-admin.mein.app run 3
[2019-03-27 15:16:43] INFO: 10 requests, 2260.44 kb, backEndTime: 219ms (±2.83ms), firstPaint: 1.68s (±75.88ms), firstVisualChange: 1.79s (±64.36ms), DOMContentLoaded: 1.70s (±76.55ms), Load: 1.86s (±122.97ms), speedIndex: 2661 (±101.46), visualComplete85: 2.79s (±130.70ms), lastVisualChange: 2.85s (±132.10ms), rumSpeedIndex: 2029 (±76.70) (3 runs)
[2019-03-27 15:16:43] ERROR: TypeError: Cannot read property 'response' of undefined
What is the expected correct behavior?
Performance should work on .app, .bank and other tld's
Output of checks
This bug happens on GitLab.com
Possible fixes
Make performance check the tld and use https instead on those strict https tlds
.dev, .app, .ads, .here, .meme, .ing, .rsvp, .fly, .gle .prod .docs .cal .soy .how .chrome .ads .mov .youtube .channel .nexus .goog .boo .dad .drive .hangout .new .eat .app .moto .ing .meme .here .zip .guge .car .foo .day .dev .play .gmail .fly .gbiz .rsvp .android .map .page .google .dclk .search .prof .phd .esq .みんな .谷歌 .グーグル
Workaround: PERFORMANCE_DISABLED Environment variable
Edited by 🤖 GitLab Bot 🤖