RE: something broken in wpt run

On a different machine, I just did a fetch && merge and now get the same error on there.

Does this make sense? I’m not great at git yet:

git reflog
9b10724c89 (HEAD -> master, origin/master, origin/HEAD) HEAD@{0}: merge origin/master: Fast-forward
b7034cfdba (tag: merge_pr_8926) HEAD@{1}: clone: from https://github.com/w3c/web-platform-tests.git


From: John Jansen
Sent: Tuesday, January 16, 2018 12:54 PM
To: Philip Jägenstedt <foolip@google.com>; me@gsnedders.com
Cc: public-test-infra@w3.org
Subject: RE: something broken in wpt run

Thanks for the quick responses.

I nuked the repo from orbit. Deleted the directory and did a new clone; unfortunately, that means I cannot see what commit I was on that worked.
I do have the _venv folder, but the only thing in there is a Lib directory

From: Philip Jägenstedt [mailto:foolip@google.com]
Sent: Tuesday, January 16, 2018 12:48 PM
To: John Jansen <John.Jansen@microsoft.com<mailto:John.Jansen@microsoft.com>>; me@gsnedders.com<mailto:me@gsnedders.com>
Cc: public-test-infra@w3.org<mailto:public-test-infra@w3.org>
Subject: Re: something broken in wpt run

Hi John, can you tell from git reflog what commit you were on when you know this was working?

+Geoffrey Sneddon<mailto:me@gsnedders.com>, you've made two recent changes to virtualenv.py, does the error look like it could be caused by those?

On Tue, Jan 16, 2018 at 9:10 PM John Jansen <John.Jansen@microsoft.com<mailto:John.Jansen@microsoft.com>> wrote:
I just did a brand-new clone of web-platform-tests, and now when I try to run the tests:

Python wpt run edge weddriver

I get an error:

Traceback (most recent call last):
  File "wpt", line 5, in <module>
    wpt.main()
  File "C:\users\johnjan\documents\github\web-platform-tests\tools\wpt\wpt.py", line 111, in main
    venv = setup_virtualenv(main_args.venv, props)
  File "C:\users\johnjan\documents\github\web-platform-tests\tools\wpt\wpt.py", line 84, in setup_virtualenv
    venv.start()
  File "C:\users\johnjan\documents\github\web-platform-tests\tools\wpt\virtualenv.py", line 47, in start
    self.activate()
  File "C:\users\johnjan\documents\github\web-platform-tests\tools\wpt\virtualenv.py", line 42, in activate
    execfile(path, {"__file__": path})
IOError: [Errno 2] No such file or directory: 'C:\\users\\johnjan\\documents\\github\\web-platform-tests\\_venv\\Scripts\\activate_this.py'

Is there some new step I need to take to force the Scripts directory to get created?

This worked last night before I got the changes from this weekend.

Can you help?

Received on Tuesday, 16 January 2018 20:58:23 UTC