Skip to content

Instantly share code, notes, and snippets.

FROM ubuntu:xenial
ENV DEBIAN_FRONTEND noninteractive
# install the OpenJDK 8 java runtime environment and curl
RUN apt update; \
apt upgrade -y; \
apt install -y default-jdk curl wget git nano; \
apt-get clean
2016-12-18T01:49:42.328-08:00 HTTP: #1266: GET /db/_all_docs
unexpected fault address 0x5fc6438912ff
fatal error: fault
[signal 0xb code=0x1 addr=0x5fc6438912ff pc=0x41187b5]
goroutine 1655 [running]:
runtime.throw(0x49c2af0, 0x5)
/usr/local/go/1.6.3/go/src/runtime/panic.go:547 +0x90 fp=0xc820b6ae50 sp=0xc820b6ae38
runtime.sigpanic()
/usr/local/go/1.6.3/go/src/runtime/sigpanic_unix.go:27 +0x2ba fp=0xc820b6aea0 sp=0xc820b6ae50
macbuild:DiagnosticReports relax$ cat LiteServ_2016-07-18-020234_macbuild.crash
Process: LiteServ [57684]
Path: /Users/USER/*/LiteServ
Identifier: LiteServ
Version: 0
Code Type: X86-64 (Native)
Parent Process: node [57683]
User ID: 501
Date/Time: 2016-07-18 02:02:33.731 -0700
V/Listener( 7301): remoteURL() addr=127.0.0.1
W/Router ( 7301): Cannot add Content-Type header because getResHeader() returned null
V/Listener( 7301): RouterCallbackBlock.onResponseReady() START
V/Listener( 7301): RouterCallbackBlock.onResponseReady() END
V/Listener( 7301): CountDownLatch.await() START
V/Listener( 7301): CountDownLatch.await() END
D/Listener( 7301): authHeader is null
V/Listener( 7301): Not enforcing basic auth -- allowedCredentials null or empty
V/Listener( 7301): remoteURL() addr=127.0.0.1
V/Database( 7301): DELETE _id=cbl_views_9, _rev=1-aaa6c063924b64a141c98820efcc0022 (allowConflict=false)
(venv)Andreis-MacBook-Pro:tests andrei$ node cbl-document.js
{ [Error: Cannot find module './build/Release/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/default/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/Debug/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
>>>>>>>>>>>>>>>>>>>cbl-document.js Tue Jun 28 2016 17:10:56 GMT+0300 (MSK)
TAP version 13
# kill LiteServ
http server started on: http://127.0.0.1:8189
var launcher = require("../lib/launcher"),
spawn = require('child_process').spawn,
coax = require("coax"),
async = require("async"),
common = require("../tests/common"),
conf_file = process.env.CONF_FILE || 'local',
config = require('../config/' + conf_file),
utils = common.utils,
ee = common.ee,
test = require("tap").test,
[root@centos-64-x64 tmp]# cat /tmp/iptraf.log | grep 'FIN sent' | grep "from" | grep "172.23.106.28:11210"
Sun Feb 21 22:30:19 2016; TCP; eth0; 52 bytes; from 172.23.106.55:56990 to 172.23.106.28:11210; FIN sent; 8103 packets, 9722396 bytes, avg flow rate 5983.00 kbits/s
Sun Feb 21 22:30:19 2016; TCP; eth0; 52 bytes; from 172.23.106.28:11210 to 172.23.106.55:56990; FIN sent; 7995 packets, 519930 bytes, avg flow rate 319.92 kbits/s
Sun Feb 21 22:30:19 2016; TCP; eth0; 52 bytes; from 172.23.106.55:56989 to 172.23.106.28:11210; FIN sent; 8072 packets, 9698642 bytes, avg flow rate 5968.38 kbits/s
Sun Feb 21 22:30:19 2016; TCP; eth0; 52 bytes; from 172.23.106.28:11210 to 172.23.106.55:56989; FIN sent; 7753 packets, 504970 bytes, avg flow rate 310.69 kbits/s
Sun Feb 21 22:30:19 2016; TCP; eth0; 52 bytes; from 172.23.106.55:56988 to 172.23.106.28:11210; FIN sent; 8075 packets, 9694355 bytes, avg flow rate 5965.69 kbits/s
Sun Feb 21 22:30:19 2016; TCP; eth0; 52 bytes; from 172.23.106.28:11210 to 172.23.106.55:56988;
#!/usr/bin/env python
import cProfile
import pstats
import StringIO
import json
from spring.docgen import NewDocument, NewKey
# http://qa.sc.couchbase.com/view/mobile/job/centos-sync-gateway-mobile-functional-tests-android-cb/
import unittest
import sys
import argparse
import os
import urllib2
class TestSequense(unittest.TestCase):
pass
[clusters]
secondary =
172.23.106.87:8091
172.23.106.88:8091
[clients]
hosts =
172.23.105.194
credentials = root:couchbase