-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building rules_webtesting for go tooling seems busted #147
Comments
(Also, I tried a |
Recent rules_go versions do not have a `url` parameter on `go_repository`, so rules_webtesting, unfortunately, has to be changed. This patch also upgrades the rules_go external in this WORKSPACE to its current HEAD. Fixes bazelbuild#147
Recent rules_go versions do not have a `url` parameter on `go_repository`, so rules_webtesting, unfortunately, has to be changed. There is also a new requirement that if a `urls` parameter is specified, than a `tag` parameter may not be. So, we fix up the gorilla mux dep. This patch also upgrades the rules_go external in this WORKSPACE to its current HEAD. Finally, it corrects the README's Go example as `go_test`'s `deps` parameter now rejects targets that are not go_library or similar targets. This does not address the noci tag problem discussed in bazelbuild#147. Updates bazelbuild#147
I got some distance on this but go_web_test_suite now breaks at run time with:
I posted a PR at #148 |
Recent rules_go versions do not have a `url` parameter on `go_repository`, so rules_webtesting, unfortunately, has to be changed. There is also a new requirement that if a `urls` parameter is specified, than a `tag` parameter may not be. So, we fix up the gorilla mux dep. This patch also upgrades the rules_go external in this WORKSPACE to its current HEAD. This does not address the noci tag problem discussed in bazelbuild#147. Updates bazelbuild#147
(That last error seems to be a problem with the chromium-native target given in the README) |
Recent rules_go versions do not have a `url` parameter on `go_repository`, so rules_webtesting, unfortunately, has to be changed. There is also a new requirement that if a `urls` parameter is specified, than a `tag` or `commit` parameter may not be. So, we fix up the gorilla/mux and selenium deps. This patch also upgrades the rules_go external in this WORKSPACE to its current HEAD. This does not address the noci tag problem discussed in bazelbuild#147. Updates bazelbuild#147
Well, that PR gets me all the way to this problem on MacOS 10.12.5:
This seems to be a bug in the expectations in |
Recent rules_go versions do not have a `url` parameter on `go_repository`, so rules_webtesting, unfortunately, has to be changed. There is also a new requirement that if a `urls` parameter is specified, than a `tag` or `commit` parameter may not be. So, we fix up the gorilla/mux and selenium deps. This patch also upgrades the rules_go external in this WORKSPACE to its current HEAD. This does not address the noci tag problem discussed in #147. Updates #147
It seems that my hostname is So, that's fun. Is the attempt here to boot up in such a way that we get a open-to-the-network interface to the proxy? If so, why do we want to do that? (Just curious, not furious!) |
The code was authored to support:
"localhost" worked for 1; os.hostname worked for 1 & 2; all that extra logic was added to support 3 as for our servers, os.hostname wasn't returning FQDN (for local executions, it was); I don't believe that throwing out os.hostname in favor of "localhost" would cause any issues for our VM stuff as I believe all that extra logic works fine on our Linux workstations ... but I'd have to check. So that's the history; we really haven't spent much effort yet looking into environments that we don't use ourselves. |
Totally fair! |
I believe there isn't anything else to do here at the moment; thanks for updating the version! Perhaps we should establish a process to do this periodically. |
I've getting errors when trying to build any go target including
go_web_test_suite
when I call the rules_webtesting*_repositories
functions in my WORKSPACE.The errors I get are
In my WORKSPACE is:
and
As soon as I comment out the
web_test_repositories
andbrowser_repositories
lines, all of my Go targets (that are not rules_webtesting ones, of course) work again.Both of the
rules_*
repos above are set to the current HEAD of their respective git repos. The current HEAD of rules_go I also tried this withtag = 0.5.0
for the rules_go repo and got the same errors but that's to be expected as that version had not yet combinednew_go_repository
withgo_repository
. I'm on bazel 0.5.1 on OS X.(I suspect the
rules_go
external that rules_webtesting defines is either incorrect or colliding with the ones defined in my own WORKSPACE somehow but this is all very strange to me.)The text was updated successfully, but these errors were encountered: