Ok, it turns out that while the emulator is still running during the mochitest run and I close it, then trying to run the b2g mochitests again, doesn't work. Instead, I have to do ./build.sh (apparently to fix the emulator profile or something) and then I can do the b2g mochitests again.
Regards, Martijn On Tue, Jul 1, 2014 at 1:28 PM, Martijn <martijn.mart...@gmail.com> wrote: > Never mind, it seems to work again. > I think this happened because the wireless network connection wasn't > really working well (however, not sure). > > Regards, > Martijn > > On Tue, Jul 1, 2014 at 11:58 AM, Martijn <martijn.mart...@gmail.com> wrote: >> Ok, I got things to work fine. >> >> However, during a mochitest run (using ./mach mochitest-remote >> content/media/test ), I had to cancel the run, so I pressed ctrl-c in >> the terminal to close the mochitest emulator run. >> But when I tried to rerun the mochitest emulator run, I get nothing >> but a black screen and the mochitest run times out: >> self.marionette = Marionette(**self.marionette_args) >> File >> "/home/mwargers/B2G/gecko/testing/marionette/client/marionette/marionette.py", >> line 513, in __init__ >> assert(self.emulator.wait_for_port(self.port)), "Timed out waiting >> for port!" >> AssertionError: Timed out waiting for port! >> Mochitest ERROR | Automation Error: Received unexpected exception >> while running application >> >> Mochitest INFO | runtestsb2g.py | Running tests: end. >> >> How can I solve this? What is the proper way of cancelling a running >> mochitest run (if there is one)? >> >> Also, it doesn't seem to be possible to only run 1 single test? >> >> Regards, >> Martijn >> >> On Fri, Jun 27, 2014 at 1:33 AM, Martijn <martijn.mart...@gmail.com> wrote: >>> Ok, I fixex my issues by using a Ubuntu14 image. >>> Now it seems to work just fine. >>> >>> Regards, >>> Martijn >>> >>> On Wed, Jun 25, 2014 at 7:54 PM, Martijn <martijn.mart...@gmail.com> wrote: >>>> Hi Armen, >>>> >>>> Thanks for your answer. >>>> I'm on Ubuntu 12.04. >>>> Trying to update to the NVidia drivers gets me into an Ubuntu that >>>> won't start up anymore. >>>> Trying to update to Ubuntu 13 also gets me into an Ubuntu that won't >>>> start up anymore. >>>> >>>> I guess I should just set up an emulator environment with an Unbuntu 13 >>>> image. >>>> >>>> Regards, >>>> Martijn >>>> >>>> On Wed, Jun 25, 2014 at 5:17 PM, Armen Zambrano G. <arme...@mozilla.com> >>>> wrote: >>>>> I think I had this same issue a while ago. >>>>> I'm not sure that this is what it fixed it but what I did is to switch >>>>> from the open source drivers to the Nvidia proprietary drivers. >>>>> >>>>> To get there (on Ubuntu 13.10): >>>>> * System Settings >>>>> * Software & Updates >>>>> * Additional drivers >>>>> >>>>> I hope it was this what I did to make it work and it helps you. >>>>> >>>>> cheers, >>>>> Armen >>>>> >>>>> On 14-06-25 10:20 AM, Martijn wrote: >>>>>> I'm still having this problem, after updating. >>>>>> Anyone has an idea? >>>>>> >>>>>> Regards, >>>>>> Martijn >>>>>> >>>>>> On Fri, Jun 20, 2014 at 4:00 PM, Martijn <martijn.mart...@gmail.com> >>>>>> wrote: >>>>>>> Finally managed to build the emulator again after several issues when >>>>>>> following the instructions at: >>>>>>> https://developer.mozilla.org/en-US/Firefox_OS/Building >>>>>>> >>>>>>> Now I'm stuck with the black screen again after ./run-emulator.sh. >>>>>>> This is the output from the console: >>>>>>> mwargers@ubuntu:~/B2G$ ./run-emulator.sh >>>>>>> Creating sdcard image file with size: 512M ... >>>>>>> emulator: autoconfig: -system >>>>>>> /home/mwargers/B2G/out/target/product/generic//system.img >>>>>>> emulator: autoconfig: -ramdisk >>>>>>> /home/mwargers/B2G/out/target/product/generic//ramdisk.img >>>>>>> emulator: autoconfig: -datadir >>>>>>> /home/mwargers/B2G/out/target/product/generic/ >>>>>>> emulator: Found target ABI=armeabi-v7a, architecture=arm >>>>>>> emulator: Found target API level: 15 >>>>>>> emulator: using core hw config path: >>>>>>> /home/mwargers/B2G/out/target/product/generic//hardware-qemu.ini >>>>>>> emulator: writing default keyset file to >>>>>>> /home/mwargers/.android/default.keyset >>>>>>> emulator: write_default_keyset: could not create file: No such file or >>>>>>> directory >>>>>>> emulator: trying to load skin file >>>>>>> '/home/mwargers/B2G/development/tools/emulator/skins/HVGA/layout' >>>>>>> emulator: skin network speed: 'full' >>>>>>> emulator: skin network delay: 'none' >>>>>>> emulator: Using initial system image: >>>>>>> /home/mwargers/B2G/out/target/product/generic//system.img >>>>>>> emulator: autoconfig: -initdata >>>>>>> /home/mwargers/B2G/out/target/product/generic//userdata.img >>>>>>> emulator: Physical RAM size: 512MB >>>>>>> >>>>>>> emulator: Auto-config: -qemu -cpu cortex-a8 >>>>>>> Content of hardware configuration file: >>>>>>> hw.cpu.arch = arm >>>>>>> hw.cpu.model = cortex-a8 >>>>>>> hw.ramSize = 512 >>>>>>> hw.screen = touch >>>>>>> hw.mainKeys = yes >>>>>>> hw.trackBall = yes >>>>>>> hw.keyboard = no >>>>>>> hw.keyboard.lid = no >>>>>>> hw.keyboard.charmap = qwerty2 >>>>>>> hw.dPad = yes >>>>>>> hw.gsmModem = yes >>>>>>> hw.gps = yes >>>>>>> hw.battery = yes >>>>>>> hw.accelerometer = yes >>>>>>> hw.audioInput = yes >>>>>>> hw.audioOutput = yes >>>>>>> hw.sdCard = yes >>>>>>> hw.sdCard.path = >>>>>>> /home/mwargers/B2G/out/target/product/generic/sdcard.img >>>>>>> disk.cachePartition = yes >>>>>>> disk.cachePartition.size = 66m >>>>>>> hw.lcd.width = 320 >>>>>>> hw.lcd.height = 480 >>>>>>> hw.lcd.depth = 16 >>>>>>> hw.lcd.density = 160 >>>>>>> hw.lcd.backlight = yes >>>>>>> hw.gpu.enabled = yes >>>>>>> hw.camera.back = webcam0 >>>>>>> hw.camera.front = none >>>>>>> vm.heapSize = 48 >>>>>>> hw.sensors.proximity = yes >>>>>>> hw.sensors.magnetic_field = yes >>>>>>> hw.sensors.orientation = yes >>>>>>> hw.sensors.temperature = yes >>>>>>> hw.bluetooth = yes >>>>>>> kernel.path = >>>>>>> /home/mwargers/B2G/prebuilts/qemu-kernel/arm/kernel-qemu-armv7 >>>>>>> kernel.parameters = android.checkjni=1 >>>>>>> disk.ramdisk.path = >>>>>>> /home/mwargers/B2G/out/target/product/generic//ramdisk.img >>>>>>> disk.systemPartition.initPath = >>>>>>> /home/mwargers/B2G/out/target/product/generic//system.img >>>>>>> disk.systemPartition.size = 512m >>>>>>> disk.dataPartition.path = >>>>>>> /home/mwargers/B2G/out/target/product/generic/userdata.img >>>>>>> disk.dataPartition.size = 512m >>>>>>> avd.name = <build> >>>>>>> . >>>>>>> QEMU options list: >>>>>>> emulator: argv[00] = >>>>>>> "/home/mwargers/B2G/out/host/linux-x86/bin/emulator64-arm" >>>>>>> emulator: argv[01] = "-cpu" >>>>>>> emulator: argv[02] = "cortex-a8" >>>>>>> emulator: argv[03] = "-android-hw" >>>>>>> emulator: argv[04] = >>>>>>> "/home/mwargers/B2G/out/target/product/generic//hardware-qemu.ini" >>>>>>> Concatenated QEMU options: >>>>>>> /home/mwargers/B2G/out/host/linux-x86/bin/emulator64-arm -cpu >>>>>>> cortex-a8 -android-hw >>>>>>> /home/mwargers/B2G/out/target/product/generic//hardware-qemu.ini >>>>>>> emulator: registered 'boot-properties' qemud service >>>>>>> emulator: nand_add_dev: >>>>>>> system,size=0x20000000,initfile=/home/mwargers/B2G/out/target/product/generic//system.img >>>>>>> emulator: mapping 'system' NAND image to >>>>>>> /tmp/android-mwargers/emulator-miQ8sP >>>>>>> emulator: rounding devsize up to a full eraseunit, now 20004000 >>>>>>> >>>>>>> emulator: nand_add_dev: >>>>>>> userdata,size=0x20000000,file=/home/mwargers/B2G/out/target/product/generic/userdata.img >>>>>>> emulator: rounding devsize up to a full eraseunit, now 20004000 >>>>>>> >>>>>>> emulator: registered 'boot-properties' qemud service >>>>>>> emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m' >>>>>>> emulator: Adding boot property: 'qemu.sf.lcd_density' = '160' >>>>>>> emulator: Adding boot property: 'qemu.hw.mainkeys' = '1' >>>>>>> emulator: Adding boot property: 'qemu.sf.fake_camera' = 'none' >>>>>>> emulator: nand_add_dev: cache,size=0x4200000 >>>>>>> emulator: mapping 'cache' NAND image to >>>>>>> /tmp/android-mwargers/emulator-ZbtP4R >>>>>>> emulator: Initializing hardware OpenGLES emulation support >>>>>>> emulator: Kernel parameters: qemu.gles=1 qemu=1 console=ttyS0 >>>>>>> android.qemud=ttyS1 android.ifrename=eth1:rmnet0 >>>>>>> android.ifrename=eth2:rmnet1 android.ifrename=eth3:rmnet2 >>>>>>> android.ifrename=eth4:rmnet3 android.ifrename=eth5:wlan0 >>>>>>> android.bluetooth=ttyS2 android.checkjni=1 ndns=1 >>>>>>> emulator: Trace file name is not set >>>>>>> >>>>>>> emulator: autoconfig: -scale 0.960809 >>>>>>> eglMakeCurrent failed >>>>>>> emulator: emulator window was out of view and was recentered >>>>>>> >>>>>>> emulator: Found ro.adb.qemud build property: 1 >>>>>>> emulator: control console listening on port 5554, ADB on port 5555 >>>>>>> emulator: can't connect to ADB server: Connection refused >>>>>>> emulator: ping program: /home/mwargers/B2G/out/host/linux-x86/bin/ddms >>>>>>> emulator: ping command: /home/mwargers/B2G/out/host/linux-x86/bin/ddms >>>>>>> ping emulator 20.0 "VMware, Inc." "Gallium 0.4 on llvmpipe (LLVM 3.3, >>>>>>> 256 bits)" "1.4 (2.1 Mesa 9.2.1)" >>>>>>> goldfish_fb_get_pixel_format:167: display surface,pixel format: >>>>>>> bits/pixel: 16 >>>>>>> bytes/pixel: 2 >>>>>>> depth: 16 >>>>>>> red: bits=5 mask=0xf800 shift=11 max=0x1f >>>>>>> green: bits=6 mask=0x7e0 shift=5 max=0x3f >>>>>>> blue: bits=5 mask=0x1f shift=0 max=0x1f >>>>>>> alpha: bits=0 mask=0x0 shift=0 max=0x0 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glCompileShader:351 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderiv:1215 >>>>>>> error 0x501 >>>>>>> sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetShaderInfoLog:1238 >>>>>>> error 0x501 >>>>>>> >>>>>>> >>>>>>> There is an opengl issue or something? >>>>>>> >>>>>>> In the end, I'm trying to run the mochitests on emulator, which are >>>>>>> failing too (which makes sense, I guess). >>>>>>> >>>>>>> Regards, >>>>>>> Martijn >>>>> >>>>> _______________________________________________ >>>>> 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