New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 768307 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug



Sign in to add a comment

Installation of Beta or Canary builds in iOS 11 devices is very slow

Project Member Reported by rakurati@chromium.org, Sep 25 2017

Issue description

App Version: 62.0.3202.31, 63.0.3222.0
iOS Version: 11.0 
Device: iPhone 6 Plus and iPad Air

Steps to reproduce:
Try to install either 62 or 63 latest build through iTunes

https://pantheon.corp.google.com/storage/browser/chrome-signed/ios-G1N/62.0.3202.16/iphoneos11.0/ios/1759/

Observed results: 
Notice that the app is taking very long time to install

Expected results:
The app should get installed

Number of times you were able to reproduce: 5/5
Bug reproducible after clean install: Yes
Bug reproducible after clearing cache and cookies: Yes
Bug reproducible on Chrome Mobile on Android: NA
Bug reproducible on Safari/Firefox: Firefox: NA, Safari: NA
Bug reproducible on current stable build (App Version, iOS Version): NA
Bug reproducible on the current beta channel build (App Version, iOS Version): Yes on M62


 

Comment 1 by sczs@chromium.org, Sep 27 2017

Cc: sergeybe...@chromium.org
Owner: baxley@chromium.org
Status: Assigned (was: Untriaged)
baxley@, sergey@ do you know who would be a good person to take a look at this?
Cc: linds...@chromium.org
+lindsayw@ FYI. I'm guessing baxley's team is closer to this layer, as it may also affect our device tests on bots.

rakurati: how long does it actually take to install? Could you give at least a ballpark? And ideally time it more accurately.

And what's the expected time to install? (I'm guessing within a few seconds?)

Is it only slow if installing through iTunes, or it's also slow e.g. when installing through Franky or other automated script?
Cc: rakurati@chromium.org srikanthg@chromium.org
Labels: Needs-Feedback
This is not related to franky. 

Ramesh, is there a build in 62 that starts installing slower than the previous on iOS11? Can you bisect? Also, implied by the hotlist-ios label but please do confirm if this is iOS11 only.
I have few info bits from my observations:
This we noticed only on iOS11 devices (Especially I noticed on iOS11 iPad only).
I tried to install using XCode Devices window. Time for Installation and for first Launch took me more than 30sec. Launching the app especially took me more time.

Like Lindsay mentioned haven't tried with Franky.

If we install the app say from AppStore or Testflight and lunch the app it is very responsive.
I am not sure if this is a regression in M62, but I will wait for Ramesh to confirm. I will also wait for Ramesh update on approximate time delays as he was able to consistency repro on his devices.
Labels: -Needs-Feedback -Type-Bug-Regression Type-Bug
Thanks for looking in to it Srikanth.

This is only happening in iOS11 devices and also the installation of app is slow only when installing through iTunes or Xcode 

Below is approximate time delays I found

iPhone 6plus-- 2min 10sec(iTunes) and 1min 20sec(Xcode)
iPad Air2-- 2min 30sec(iTunes) and 1min 20sec(Xcode)

App first launch is taking close to 13 sec(approx) in both devices

Additional information: 
In iOS10 device iPhone 7-- 12sec(iTunes) and 7sec(Xcode), first launch time(less than a second)

As Srikanth mentioned, app launch for the first time is responsive when install through Appstore or Testflight.

Removing issue as regression since the issue not related to only M62 
Cc: baxley@chromium.org
Labels: Needs-Feedback
Owner: olivierrobin@chromium.org
Can you bisect? 
  Is it present for all of 62? 
  Does it repro in 61, for all of 61?
How many provisioning profiles do either of these 2 devices used have? (xcode>device>right click>show provisioning profiles)

2 things are concerning with this bug:
- install time increasing
- But monstly, start up time increase

Olivier please add if you think there are any other repro's you want the test team to try.
Hi

This is *usually* due to too many provisioning profiles on the device, so I think this would be the first thing to check.

Second thing (specially for the startup): The first launch of enterprise builds require certificate validation. You can validate it manually via ios settings/general/profiles & device management/Google Inc (Ent) and make sure the application is "verified".

And if there is a difference between 61, 62 and 63, we can investigate more.
AFAICT, there is no change in the startup sequence in M62.
+rohit

Yeah, it may be the provisioning profiles. Ramesh, please do check that first for both devices. 

How many provisioning profiles is too many? I have about 60 :) and Rohit have about 80 and neither of us are seeing a slow down that is this noticeable.
It depends on how much they overlap.
If you have 80 but only one about Chrome, it should be fine.
If you have 10 different version of Chrome Canary, this may be an issue.
Thanks for the details. I have closed to 30 and ~20+ are all related to Chrome iOS. I noticed a long delay after the app installation and launching. But now I deleted all of the profiles. Installed Chrome again via xcode, and the app launched immediately. I can confirm on my device its the problem with the provisioning profiles.

I don't have any issues with installations from Xcode8 and Xcode9. So I will wait for Ramesh confirmation.
There are no provisioning files on the device.  Please check the installation video links:

Through iTunes:
https://drive.google.com/a/google.com/file/d/0Bz2uwV55gGwDTlJrM1FOYTRUVXc/view?usp=sharing

Through xcode:  
https://drive.google.com/a/google.com/file/d/0Bz2uwV55gGwDTmluUmZmdVVBMTQ/view?usp=sharing

with xcode the installation is complete by 1:15 minutes, but the app is responsive on the device only at 2:20 minutes

Other factors that can influence are the USB cable that you are using, and specially if it is not connected directly to the desktop computer.
Also, when timing, do you have screen recording?
This may slow startup.
I have reset the device and the installation process is complete in 1:05 minutes.  Thanks!
Status: Fixed (was: Assigned)
Mark as fixed.
Please reopen if problem appears again.

Sign in to add a comment