If so, please talk to me, I can't get this to work.
![]() |
0 |
![]() |
On Tuesday, September 10, 2013 7:42:23 PM UTC+2, Jan Jongboom wrote: > If so, please talk to me, I can't get this to work. (_virtualenv)52:mochitest janjongboom$ source ../../../_virtualenv/bin/acti= vate && python runtestsb2g.py --desktop --console-level INFO --profile ~/re= pos/gaia/profile --test-path ./obj-b2g/_tests/testing/mochitest/tests/dom/p= ermission/tests/test_keyboard.html --app ../../../dist/B2G.app/Contents/Ma= cOS/b2g INFO | automation.py | Launching: /Users/janjongboom/repos/mozilla-central-= b2g/obj-b2g/dist/bin/ssltunnel /var/folders/t8/pz9nttjd4yq8_j60t67g_5th0000= gn/T/tmpp0M4Ho/ssltunnel.cfg INFO | automation.py | SSL tunnel pid: 74298 INFO | automation.py | Launching: /Users/janjongboom/repos/mozilla-central-= b2g/obj-b2g/dist/B2G.app/Contents/MacOS/b2g -foreground -profile /var/folde= rs/t8/pz9nttjd4yq8_j60t67g_5th0000gn/T/tmpp0M4Ho/ INFO | automation.py | Application pid: 74299 failed to bind socket Shutting down... 1378835175751 Marionette INFO MarionetteComponent loaded
![]() |
0 |
![]() |
If you figure this out, can you post back here?
![]() |
0 |
![]() |
Yes, I can. :) What problems are you having? Jonathan On 9/10/13 9:57 PM, Dietrich Ayala wrote: > If you figure this out, can you post back here? > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g
![]() |
0 |
![]() |
Late response but... On 10/09/2013 19:46, Jan Jongboom wrote: > (_virtualenv)52:mochitest janjongboom$ source ../../../_virtualenv/bin/activate && python runtestsb2g.py --desktop --console-level INFO --profile ~/repos/gaia/profile --test-path ./obj-b2g/_tests/testing/mochitest/tests/dom/permission/tests/test_keyboard.html --app ../../../dist/B2G.app/Contents/MacOS/b2g > > INFO | automation.py | Launching: /Users/janjongboom/repos/mozilla-central-b2g/obj-b2g/dist/bin/ssltunnel /var/folders/t8/pz9nttjd4yq8_j60t67g_5th0000gn/T/tmpp0M4Ho/ssltunnel.cfg > INFO | automation.py | SSL tunnel pid: 74298 > INFO | automation.py | Launching: /Users/janjongboom/repos/mozilla-central-b2g/obj-b2g/dist/B2G.app/Contents/MacOS/b2g -foreground -profile /var/folders/t8/pz9nttjd4yq8_j60t67g_5th0000gn/T/tmpp0M4Ho/ > INFO | automation.py | Application pid: 74299 > failed to bind socket did you guys get around fixing this? The last time I hit this problem it happened on a network where the DNS would return a search page instead of an error when a non-existing domain was provided. The code creating the server would try to look up its own address before binding the socket and would get the webpage address instead of an error at a certain stage. Later it would try to bind a listening socket to this address causing the error above. If you haven't fixed the problem already I'll open a bug and fix it because it's fairly straightforward. Gabriele
![]() |
0 |
![]() |
We did resolve this. It turns out a copy of ssltunnel from an earlier (failed) invocation was still running, so the (new) copy of ssltunnel couldn't bind to its port. There were some other issues we had to sort out as well, but eventually we got them going. Jonathan On 9/16/2013 12:19 PM, Gabriele Svelto wrote: > Late response but... > > On 10/09/2013 19:46, Jan Jongboom wrote: >> (_virtualenv)52:mochitest janjongboom$ source >> ../../../_virtualenv/bin/activate && python runtestsb2g.py --desktop >> --console-level INFO --profile ~/repos/gaia/profile --test-path >> ./obj-b2g/_tests/testing/mochitest/tests/dom/permission/tests/test_keyboard.html >> --app ../../../dist/B2G.app/Contents/MacOS/b2g >> >> INFO | automation.py | Launching: >> /Users/janjongboom/repos/mozilla-central-b2g/obj-b2g/dist/bin/ssltunnel >> /var/folders/t8/pz9nttjd4yq8_j60t67g_5th0000gn/T/tmpp0M4Ho/ssltunnel.cfg >> INFO | automation.py | SSL tunnel pid: 74298 >> INFO | automation.py | Launching: >> /Users/janjongboom/repos/mozilla-central-b2g/obj-b2g/dist/B2G.app/Contents/MacOS/b2g >> -foreground -profile >> /var/folders/t8/pz9nttjd4yq8_j60t67g_5th0000gn/T/tmpp0M4Ho/ >> INFO | automation.py | Application pid: 74299 >> failed to bind socket > > did you guys get around fixing this? The last time I hit this problem > it happened on a network where the DNS would return a search page > instead of an error when a non-existing domain was provided. The code > creating the server would try to look up its own address before > binding the socket and would get the webpage address instead of an > error at a certain stage. Later it would try to bind a listening > socket to this address causing the error above. If you haven't fixed > the problem already I'll open a bug and fix it because it's fairly > straightforward. > > Gabriele > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g
![]() |
0 |
![]() |
On 16/09/2013 21:29, Jonathan Griffin wrote: > We did resolve this. It turns out a copy of ssltunnel from an earlier > (failed) invocation was still running, so the (new) copy of ssltunnel > couldn't bind to its port. There were some other issues we had to sort > out as well, but eventually we got them going. I see, it was a different problem then, thanks :) Gabriele
![]() |
0 |
![]() |
Hi, Yeah in the end it was a combination of stuff but mainly a wrong mozconfig file. 2013/9/16 Gabriele Svelto <gsvelto@mozilla.com> > Late response but... > > > On 10/09/2013 19:46, Jan Jongboom wrote: > >> (_virtualenv)52:mochitest janjongboom$ source ../../../_virtualenv/bin/**activate >> && python runtestsb2g.py --desktop --console-level INFO --profile >> ~/repos/gaia/profile --test-path ./obj-b2g/_tests/testing/** >> mochitest/tests/dom/**permission/tests/test_**keyboard.html --app >> ../../../dist/B2G.app/**Contents/MacOS/b2g >> >> INFO | automation.py | Launching: /Users/janjongboom/repos/** >> mozilla-central-b2g/obj-b2g/**dist/bin/ssltunnel >> /var/folders/t8/pz9nttjd4yq8_**j60t67g_5th0000gn/T/tmpp0M4Ho/** >> ssltunnel.cfg >> INFO | automation.py | SSL tunnel pid: 74298 >> INFO | automation.py | Launching: /Users/janjongboom/repos/** >> mozilla-central-b2g/obj-b2g/**dist/B2G.app/Contents/MacOS/**b2g >> -foreground -profile /var/folders/t8/pz9nttjd4yq8_** >> j60t67g_5th0000gn/T/tmpp0M4Ho/ >> INFO | automation.py | Application pid: 74299 >> failed to bind socket >> > > did you guys get around fixing this? The last time I hit this problem it > happened on a network where the DNS would return a search page instead of > an error when a non-existing domain was provided. The code creating the > server would try to look up its own address before binding the socket and > would get the webpage address instead of an error at a certain stage. Later > it would try to bind a listening socket to this address causing the error > above. If you haven't fixed the problem already I'll open a bug and fix it > because it's fairly straightforward. > > Gabriele >
![]() |
0 |
![]() |
It doesn't seem like a rare thing to have trouble getting B2G desktop up-and-running. And the build time messages often aren't helping. I'd love to hear ideas for how to make the system less fragile. / Jonas On Mon, Sep 16, 2013 at 2:11 PM, Jan Jongboom <janjongboom@gmail.com> wrote: > Hi, > > Yeah in the end it was a combination of stuff but mainly a wrong mozconfig > file. > > > 2013/9/16 Gabriele Svelto <gsvelto@mozilla.com> > >> Late response but... >> >> >> On 10/09/2013 19:46, Jan Jongboom wrote: >> >>> (_virtualenv)52:mochitest janjongboom$ source ../../../_virtualenv/bin/**activate >>> && python runtestsb2g.py --desktop --console-level INFO --profile >>> ~/repos/gaia/profile --test-path ./obj-b2g/_tests/testing/** >>> mochitest/tests/dom/**permission/tests/test_**keyboard.html --app >>> ../../../dist/B2G.app/**Contents/MacOS/b2g >>> >>> INFO | automation.py | Launching: /Users/janjongboom/repos/** >>> mozilla-central-b2g/obj-b2g/**dist/bin/ssltunnel >>> /var/folders/t8/pz9nttjd4yq8_**j60t67g_5th0000gn/T/tmpp0M4Ho/** >>> ssltunnel.cfg >>> INFO | automation.py | SSL tunnel pid: 74298 >>> INFO | automation.py | Launching: /Users/janjongboom/repos/** >>> mozilla-central-b2g/obj-b2g/**dist/B2G.app/Contents/MacOS/**b2g >>> -foreground -profile /var/folders/t8/pz9nttjd4yq8_** >>> j60t67g_5th0000gn/T/tmpp0M4Ho/ >>> INFO | automation.py | Application pid: 74299 >>> failed to bind socket >>> >> >> did you guys get around fixing this? The last time I hit this problem it >> happened on a network where the DNS would return a search page instead of >> an error when a non-existing domain was provided. The code creating the >> server would try to look up its own address before binding the socket and >> would get the webpage address instead of an error at a certain stage. Later >> it would try to bind a listening socket to this address causing the error >> above. If you haven't fixed the problem already I'll open a bug and fix it >> because it's fairly straightforward. >> >> Gabriele >> > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g
![]() |
0 |
![]() |
On 09/16/2013 08:02 PM, Jonas Sicking wrote: > It doesn't seem like a rare thing to have trouble getting B2G desktop > up-and-running. And the build time messages often aren't helping. I don't think that getting b2g desktop to build and run has ever been hard. It's basically a gecko configured with --enable-application=b2g and running with -profile $GAIA/profile. What has always been harder is to run tests... Fabrice -- Fabrice Desr� b2g team Mozilla Corporation
![]() |
0 |
![]() |
He we are talking about mochitest on B2G desktop, but are we really running them on b2g desktop? Last time I looked at mochitest for b2g, the only way was to run them on the emulator. Running them on the emulator better match the devices behavior but make it hard to run as you need a b2g emulator build. 2013/9/17 Fabrice Desre <fabrice@mozilla.com> > On 09/16/2013 08:02 PM, Jonas Sicking wrote: > > It doesn't seem like a rare thing to have trouble getting B2G desktop > > up-and-running. And the build time messages often aren't helping. > > I don't think that getting b2g desktop to build and run has ever been > hard. It's basically a gecko configured with --enable-application=3Db2g > and running with -profile $GAIA/profile. What has always been harder is > to run tests... > > Fabrice > -- > Fabrice Desr=E9 > b2g team > Mozilla Corporation > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g >
![]() |
0 |
![]() |
We're currently running the tests on TBPL on emulators, but we decided at Oslo to start running them (as well as many other tests) on b2g desktop builds as well, since it's important to prevent that platform from breaking. So, we will be turning mochitests on for b2g desktop builds in the near future, and will keep running them on emulator as well. > I don't think that getting b2g desktop to build and run has ever been > hard. It's basically a gecko configured with --enable-application=b2g > and running with -profile $GAIA/profile. What has always been harder is > to run tests... I think the hard part is whatever you have the least experience with. We're going to add a mach target for mochitests on b2g desktop builds (as we've recently added for the emulator) which should help things considerably. Jonathan On 9/17/2013 7:56 AM, Alexandre poirot wrote: > He we are talking about mochitest on B2G desktop, but are we really running > them on b2g desktop? > Last time I looked at mochitest for b2g, the only way was to run them on > the emulator. > > Running them on the emulator better match the devices behavior but make it > hard to run as you need a b2g emulator build. > > > 2013/9/17 Fabrice Desre <fabrice@mozilla.com> > >> On 09/16/2013 08:02 PM, Jonas Sicking wrote: >>> It doesn't seem like a rare thing to have trouble getting B2G desktop >>> up-and-running. And the build time messages often aren't helping. >> I don't think that getting b2g desktop to build and run has ever been >> hard. It's basically a gecko configured with --enable-application=b2g >> and running with -profile $GAIA/profile. What has always been harder is >> to run tests... >> >> Fabrice >> -- >> Fabrice Desr� >> b2g team >> Mozilla Corporation >> _______________________________________________ >> dev-b2g mailing list >> dev-b2g@lists.mozilla.org >> https://lists.mozilla.org/listinfo/dev-b2g >> > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g
![]() |
0 |
![]() |
Oh I'm so happy to hear we will run tests on b2g desktop, as of today I fixed two bugs that prevent it from starting gaia... +1 on mach target, that's a really good way to help developers who don't know about these tests/platform to run and fix them! 2013/9/17 Jonathan Griffin <jgriffin@mozilla.com> > We're currently running the tests on TBPL on emulators, but we decided at > Oslo to start running them (as well as many other tests) on b2g desktop > builds as well, since it's important to prevent that platform from > breaking. So, we will be turning mochitests on for b2g desktop builds in > the near future, and will keep running them on emulator as well. > > > I don't think that getting b2g desktop to build and run has ever been >> hard. It's basically a gecko configured with --enable-application=3Db2g >> and running with -profile $GAIA/profile. What has always been harder is >> to run tests... >> > > I think the hard part is whatever you have the least experience with. > We're going to add a mach target for mochitests on b2g desktop builds (a= s > we've recently added for the emulator) which should help things > considerably. > > Jonathan > > > > On 9/17/2013 7:56 AM, Alexandre poirot wrote: > >> He we are talking about mochitest on B2G desktop, but are we really >> running >> them on b2g desktop? >> Last time I looked at mochitest for b2g, the only way was to run them on >> the emulator. >> >> Running them on the emulator better match the devices behavior but make = it >> hard to run as you need a b2g emulator build. >> >> >> 2013/9/17 Fabrice Desre <fabrice@mozilla.com> >> >> On 09/16/2013 08:02 PM, Jonas Sicking wrote: >>> >>>> It doesn't seem like a rare thing to have trouble getting B2G desktop >>>> up-and-running. And the build time messages often aren't helping. >>>> >>> I don't think that getting b2g desktop to build and run has ever been >>> hard. It's basically a gecko configured with --enable-application=3Db2g >>> and running with -profile $GAIA/profile. What has always been harder is >>> to run tests... >>> >>> Fabrice >>> -- >>> Fabrice Desr=E9 >>> b2g team >>> Mozilla Corporation >>> ______________________________**_________________ >>> dev-b2g mailing list >>> dev-b2g@lists.mozilla.org >>> https://lists.mozilla.org/**listinfo/dev-b2g<https://lists.mozilla.org/= listinfo/dev-b2g> >>> >>> ______________________________**_________________ >> dev-b2g mailing list >> dev-b2g@lists.mozilla.org >> https://lists.mozilla.org/**listinfo/dev-b2g<https://lists.mozilla.org/l= istinfo/dev-b2g> >> > > ______________________________**_________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/**listinfo/dev-b2g<https://lists.mozilla.org/li= stinfo/dev-b2g> >
![]() |
0 |
![]() |