New issue
Advanced search Search tips

Issue 783366 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

chrome bisect retry fails file not found

Reported by term...@gmail.com, Nov 9 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.0; rv:52.0) Gecko/20100101 Firefox/52.0

Steps to reproduce the problem:
1. python chrome-bisect-builds.py -a win -g 486062 -b 486073 --use-local-cache --verify-range -- --no-first-run --disable-default-apps --force-device-scale-factor=1 --start-maximized youtube.com regex101.com
2. Close the browser window that opens
3. Now back at the command prompt choose 'r' for retry

What is the expected behavior?

What went wrong?
It looks like the bisect script is marking the zip file for deletion so that when it is closed it is deleted and can't be re-opened. See the process monitor attachment that shows that happening.

There may be a second bug because if I attempt to retry 486073 it for some reason looks for the 486062 zip.

Trying revision 486062...
Revision 486062 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: r
Unexpected result at a range boundary! Your range is not correct.
Cleaning up...
Traceback (most recent call last):
  File "chrome-bisect-builds.py", line 1174, in <module>
    sys.exit(main())
  File "chrome-bisect-builds.py", line 1135, in main
    evaluator, opts.verify_range)
  File "chrome-bisect-builds.py", line 771, in Bisect
    minrev_fetch.Stop()
  File "chrome-bisect-builds.py", line 658, in Stop
    os.unlink(self.zip_file)
WindowsError: [Error 2] The system cannot find the file specified: 'C:\\j\\Chrome\\486062-chrome-win32.zip'

The same thing happens if I do it the next build, for example if I say 486062 is good and then it starts up 486073, and I close that window and ask for a retry it tells me it can't find 486062 zip.

Revision 486062 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
Downloading revision 486073...
Trying revision 486073...
Revision 486073 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: r
Unexpected result at a range boundary! Your range is not correct.
Cleaning up...
Traceback (most recent call last):
  File "chrome-bisect-builds.py", line 1174, in <module>
    sys.exit(main())
  File "chrome-bisect-builds.py", line 1135, in main
    evaluator, opts.verify_range)
  File "chrome-bisect-builds.py", line 771, in Bisect
    minrev_fetch.Stop()
  File "chrome-bisect-builds.py", line 658, in Stop
    os.unlink(self.zip_file)
WindowsError: [Error 2] The system cannot find the file specified: 'C:\\j\\Chrome\\486062-chrome-win32.zip'

Did this work before? N/A 

Chrome version:   Channel: stable
OS Version: 6.1
Flash Version: 

Possibly related, I just filed 783353 because I would like to cache the download builds. Often times I have a bisect and I would like to run it again with certain switches just to see if it behaves the same. The initial two builds being downloaded usually holds things up for me.
 
bisect retry fails.PNG
23.6 KB View Download
Components: Speed>Bisection
Labels: OS-Linux
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Windows and Ubuntu 14.04 as well. After typing 'r' in the command prompt observed the browser is not invoked instead '[Error 2] The system cannot find the file specified' is displayed.

Note: Unable to perform the bisect in Mac due to value error, the builds are not invoked even for the first time.

Thanks!

Sign in to add a comment