Skip to content

Instantly share code, notes, and snippets.

View gregarndt's full-sized avatar

Greg Arndt gregarndt

  • Redox
  • Chicago, IL
View GitHub Profile
# This file contains the list of "job flags"/"try flags" for tests and builds.
---
# List of all possible flags for each category of tests used in the case where
# "all" is specified.
flags:
builds:
- emulator
- emulator-jb
- emulator-kk
{
"provisionerId": "no-provisioning-nope",
"retries": 1,
"payload": {
"image": "taskcluster/test-ubuntu",
"maxRunTime": 600,
"command": [
"/bin/bash",
"-c",
"echo $PRIVATE_VAR"
suite('Invalid payload schema', function() {
var co = require('co');
var testworker = require('../post_task');
var cmd = require('./helper/cmd');
test('invalid schema', co(function* () {
var result = yield testworker({
payload: {
image: 'taskcluster/test-ubuntu',
// No command is an invalid schema.
@gregarndt
gregarndt / gist:1fa147fc9146fde9a9ec
Created May 14, 2015 15:46
testdroid device task
{
"provisionerId": "aws-provisioner-v1",
"workerType": "testdroid-device",
"schedulerId": "task-graph-scheduler",
"taskGroupId": "-jkXrNuZSDaxUOTJAonaBA",
"routes": [
"tc-treeherder-stage.b2g-inbound.8ffeb1702fd76f8752ece76b3ab0dde36b54f08f"
],
"retries": 5,
"created": "2015-05-14T11:06:06.261Z",
Container ID: d43c0e72caf7af1eb750065d9532d11a6402d34dd68627bf91e24024d4b40a06
IP: 172.17.0.40
Port: 49167
Trying with token...
404 page not found
Trying without token...
test
import assert from 'assert';
import DockerWorker from '../dockerworker';
import TestWorker from '../testworker';
let worker;
suite('use dind-service', () => {
setup(async () => {
worker = new TestWorker(DockerWorker);
await worker.launch();
$ mach taskcluster-jobs
[
"linux64_gecko alder opt build",
"linux64_gecko alder opt test gaia-build-unit",
"linux64_gecko alder opt test gaia-unit",
"linux64_gecko alder opt test gaia-linter",
"linux64_gecko alder opt test gaia-build",
"linux64_gecko alder opt test gaia-js-integration",
"linux64_gecko alder opt test gaia-js-integration-1",
"linux64_gecko alder opt test gaia-js-integration-2",
import request from 'superagent-promise';
import taskcluster from 'taskcluster-client';
import slugid from 'slugid';
import fs from 'mz/fs';
async () => {
let queue = new taskcluster.Queue();
let taskDef = {
import request from 'superagent-promise';
import taskcluster from 'taskcluster-client';
import slugid from 'slugid';
import fs from 'mz/fs';
async () => {
let queue = new taskcluster.Queue();
let taskDef = {
provisionerId: 'no-provisioner',
diff --git a/test/integration/device_link_test.js b/test/integration/device_link_test.js
index 1fd98ae..b3c5ff8 100644
--- a/test/integration/device_link_test.js
+++ b/test/integration/device_link_test.js
@@ -82,24 +82,25 @@ suite('device linking within containers', () => {
let result = await worker.postToQueue(task);
assert.equal(result.status.state, 'completed', 'Task state is not marked as completed');
assert.equal(
result.run.reasonResolved,