Skip to content

Instantly share code, notes, and snippets.


Dave Hunt davehunt

View GitHub Profile
View marketplace-tests.rst


  • open home page
  • ✓ page title
  • search for free app
  • click first app in results
  • ✓ page title
import argparse
import logging
import re
import time
import sys
from BeautifulSoup import BeautifulSoup
import jenkins
import requests
View FLEA3.json
"properties": {
"absValue": 1.32196,
"autoManualMode": false,
"onOff": true,
"valueA": 480,
"valueB": 0
"GAIN": {
View gist:11400946
+ ./bin/ --output-screenshot=dimensions.png --wifi-settings=/home/mozilla/eideticker-ci/jenkins-master/jobs/b2g.tarako.mozilla-b2g28_v1_3t.tests/workspace/wifi.json
DeviceManager INFO | Stopping B2G
DeviceManager INFO | Starting B2G
DeviceManager INFO | Waiting for Marionette...
DeviceManager INFO | Marionette ready, starting session
DeviceManager INFO | Marionette ready!
Capturing to file ./bin/../captures/
Serving '/home/mozilla/eideticker-ci/jenkins-master/jobs/b2g.tarako.mozilla-b2g28_v1_3t.tests/workspace/src/tests' at
Using adb interface (type: b2g, host: None, port: None, debuglevel: 20)
Apr 29 14:25:44 Capture Controller | Starting capture...
davehunt /
Last active Aug 29, 2015
Full flash B2G for CI
#!/bin/bash -e
# This script is maintained at:
# Preconditions:
# 1. and sources.xml must be present for this script to work
# 2. the device also has to be oem unlocked so we have fastboot mode
function show_free_space() {
from marionette import Marionette
m = Marionette()
from gaiatest import GaiaApps
a = GaiaApps(m)
View gist:6bb2cefc42305dad4e8b
$ gaiatest --app=b2g --address=localhost:2828 --testvars=home.json gaiatest/tests/unit/
starting httpd
running webserver on
SUITE-START | Running 1 tests
SUITE-START | Running 0 tests
TEST-START | TestCrash.test_crash
removing /storage/sdcard0/.android_secure
removing /storage/sdcard0/LOST.DIR
PROCESS-CRASH | automation | application crashed [@ + 0x1c63c]
Crash dump filename: /var/folders/3y/wrsgzz095jb2dg7vk9wnd42r0000gn/T/tmpzX4Qpk/4eff1f0e-8e55-342a-0df8cb86-10178990.dmp
#!/bin/bash -e
echo -e "\n\033[1mResetting memory allocation\033[0m"
adb reboot bootloader
fastboot oem mem $DEVICE_MEMORY
fastboot reboot
sleep 60
View gist:5d445de55e7e58ebb386
+ make reference-workload-light
test_media/reference-workload/ light
Waiting for device to be connected...
Device connected
Populate Databases - light Workload
IndexedDB base dir: /data/local/storage/persistent
idb directory present
Starting gallery
Can't find remote dir
make: *** [reference-workload-light] Error 1
View job.js
"project": "b2g-inbound",
"job": {
"end_timestamp": "",
"submit_timestamp": 1407162708,
"start_timestamp": "",
"build_url": "",
"name": "Gaia Python Integration Test",
"option_collection": {},