Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

go //py:firefox_test:run fails because of missing folders and files. #5853

Closed
lukeis opened this issue Mar 4, 2016 · 6 comments
Closed

go //py:firefox_test:run fails because of missing folders and files. #5853

lukeis opened this issue Mar 4, 2016 · 6 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 4, 2016

Originally reported on Google Code with ID 5853

What steps will reproduce the problem?
1. Clone the repository.
2. Run "./go //py:firefox_test:run"


What is the expected output?

I expect to see tests for Firefox's Python bindings to run.


What do you see instead?

error: can't copy 'py\selenium\webdriver\firefox\x86\x_ignore_nofocus.so': doesn't
exist or not a regular file
go aborted!

(full output at http://pastebin.com/bZB1ZCJg and attached below)


Please provide any additional information below.
Existing comitters will not be able to reproduce the bug, because their folders do
exist. These folders are not included in source control, as seen in .gitignore:

...
dist/
py/selenium/webdriver/firefox/amd64/
...
py/selenium/webdriver/firefox/x86/
...


I was able to locate these files in build/java:
rob:~/git/selenium$ find . -iname 'x_ignore_nofocus.so'
./build/java/client/src/org/openqa/selenium/firefox/amd64/x_ignore_nofocus.so
./build/java/client/src/org/openqa/selenium/firefox/tmp_x86/x_ignore_nofocus.so
./build/java/client/src/org/openqa/selenium/firefox/x86/x_ignore_nofocus.so
./build/java/client/src/org/openqa/selenium/firefox/tmp_amd64/x_ignore_nofocus.so


After copying these two folders (amd64 and x86), the tests run fine.

Reported by robwu759 on 2013-06-28 16:13:11


- _Attachment: [go-py-firefox-test-run.txt](https://storage.googleapis.com/google-code-attachments/selenium/issue-5853/comment-0/go-py-firefox-test-run.txt)_
@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by a.u.savchuk on 2013-07-02 23:06:57

  • Labels added: Lang-Python, Component-Build

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reproduced.

As workaround 'go.bat py_prep_for_install_release' couldbe used.
It creates all necessary folders and copies prebuilt x_ignore_nofocus.so and built
webdriver.xpi
After this python tests executed.

Reported by a.u.savchuk on 2013-07-17 20:24:07

  • Status changed: Accepted

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by barancev on 2013-10-22 10:26:11

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

easier repro steps than cloning a fresh repo:

git clean -xdf
./go test_py

Reported by luke.semerau on 2013-10-22 15:27:39

  • Labels removed: Status-Untriaged

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

to run the python tests against firefox one needs to 'build' firefox in the selenium
project first.

`./go test_py` works from a clean checkout (builds first and then runs the  `//py:firefox_test:run`
target) please use this target instead.

Reported by luke.semerau on 2014-01-29 19:30:13

  • Status changed: WorkingAsIntended

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2015-09-17 18:17:27

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 4, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant