Skip to content

Instantly share code, notes, and snippets.

@slobo
Created March 10, 2016 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slobo/509256dd40c1e99fbd88 to your computer and use it in GitHub Desktop.
Save slobo/509256dd40c1e99fbd88 to your computer and use it in GitHub Desktop.
➤ azk agent start --no-daemon --log=debug
debug: [askTermsOfUse] exit: terms_accepted: true
info: [agent] get agent status
info: [agent] agent is running: false
azk: Please wait, this process may take several minutes
azk: Loading settings and checking dependencies.
info: [tracker] sending (event_id:01773330e70511e): {"collection":"command","event_type":"agent","meta":{"agent_session_id":"agent_session_id:c8122a60e70311e","command_id":"command_id:0155ef90e70511e","user_id":"tracker_user_id:3c9887f3"}}
info: [tracker] event sendend (event_id:01773330e70511e) (send_in_background: true)
azk: Checking version...
azk: azk 0.17.0 detected
azk: Settings loaded successfully.
info: commands.vm.status.removing
azk: Removing virtual machine...
info: commands.vm.status.removed
azk: Virtual machine has been successfully removed.
info: [agent] get agent status
info: [agent] agent is running: true
azk: Agent is being started...
info: [agent] get agent status
info: [agent] agent is running: true
info: commands.agent.starting
debug: [api] starting server api
debug: [api] added api_ws to api
info: commands.vm.status.installing
azk: Installing virtual machine...
info: commands.vm.status.installed
azk: Virtual machine has been successfully installed.
azk: Setting the ssh key to vm...
debug: [vm] call to start vm azk-vm-dev.azk.io
info: commands.vm.status.starting
azk: Starting virtual machine...
debug: [vm] waiting for the vm `azk-vm-dev.azk.io` becomes available
info: commands.vm.status.waiting
azk: Waiting for virtual machine boot...
info: commands.vm.status.ready
azk: Virtual machine is ready to use.
azk: Mounting the shared folder in virtual machine...
debug:
{ log_label: '[vm_progress]',
data: { type: 'connected' } }
debug: agent vm ssh connected
debug: agent vm ssh cmd: if sudo modprobe vboxguest &> /dev/null && sudo modprobe vboxsf &> /dev/null; then [ -d "/media/sf_Root" ] || { sudo mkdir -p /media/sf_Root; } ; { mount | grep "/media/sf_Root\s" &>/dev/null || sudo mount -t vboxsf -o umask=0000,gid=vboxsf,uid=docker Root /media/sf_Root; } ; fi
debug:
{ log_label: '[vm_progress] [ssh]',
data:
{ type: 'ssh',
context: 'running',
cmd: 'if sudo modprobe vboxguest &> /dev/null && sudo modprobe vboxsf &> /dev/null; then [ -d "/media/sf_Root" ] || { sudo mkdir -p /media/sf_Root; } ; { mount | grep "/media/sf_Root\\s" &>/dev/null || sudo mount -t vboxsf -o umask=0000,gid=vboxsf,uid=docker Root /media/sf_Root; } ; fi' } }
azk: Shared folder has been successfully mounted.
info: Trying to connect to docker (http://192.168.57.4:2375) (timeout: 20s)...
azk: Trying to connect to docker (http://192.168.57.4:2375) (timeout: 20s)...
info: Connecting to http://192.168.57.4:2375
debug: [docker] connection options:
{ protocol: 'http',
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20' }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
info: commands.balancer.status.starting_dns
azk: Starting azk dns service...
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'scale',
from: 0,
to: 1,
system: 'dns' } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'action',
context: 'image',
action: 'check_image' } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'action',
context: 'image',
action: 'check_image',
system:
{ manifest:
{ cwd_search: '/usr/local/Cellar/azk/0.17.0/shared',
images: {},
systems:
{ 'azktcl-base':
{ manifest: { '$ref': '$["data"]["system"]["manifest"]' },
name: 'azktcl-base',
image:
{ system: { '$ref': '$["data"]["system"]["manifest"]["systems"]["azktcl-base"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2' },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: false } },
dns: { '$ref': '$["data"]["system"]' },
'balancer-redirect':
{ manifest: { '$ref': '$["data"]["system"]["manifest"]' },
name: 'balancer-redirect',
image:
{ system: { '$ref': '$["data"]["system"]["manifest"]["systems"]["balancer-redirect"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2' },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: 10,
extends: 'azktcl-base',
command: 'env; socat TCP4-LISTEN:$HTTP_PORT,fork TCP:$BALANCER_IP:$BALANCER_PORT',
ports: { '53': null, http: '80:80/tcp' } } } },
bins: {},
_default: 'azktcl-base',
cwd: '/usr/local/Cellar/azk/0.17.0/shared',
__file: '/usr/local/Cellar/azk/0.17.0/shared/Azkfile.js',
__cache_dir: '/Users/slobo/.azk/data/.azk/shared/Azkfile.js',
meta:
{ options: { '$ref': '$["data"]["system"]["manifest"]' },
__cache: null } },
name: 'dns',
image:
{ system: { '$ref': '$["data"]["system"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2',
builded: Thu Mar 10 2016 13:14:38 GMT-0800 (PST) },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: false,
extends: 'azktcl-base',
command: 'dnsmasq -p $DNS_PORT --no-daemon --address=/dev.azk.io/192.168.57.4',
ports: { '80': null, dns: '53:53/udp' } } } } }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'action',
context: 'image',
action: 'check_image' } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'action',
context: 'image',
action: 'check_image',
system:
{ manifest:
{ cwd_search: '/usr/local/Cellar/azk/0.17.0/shared',
images: {},
systems:
{ 'azktcl-base':
{ manifest: { '$ref': '$["data"]["system"]["manifest"]' },
name: 'azktcl-base',
image:
{ system: { '$ref': '$["data"]["system"]["manifest"]["systems"]["azktcl-base"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2' },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: false } },
dns: { '$ref': '$["data"]["system"]' },
'balancer-redirect':
{ manifest: { '$ref': '$["data"]["system"]["manifest"]' },
name: 'balancer-redirect',
image:
{ system: { '$ref': '$["data"]["system"]["manifest"]["systems"]["balancer-redirect"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2' },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: 10,
extends: 'azktcl-base',
command: 'env; socat TCP4-LISTEN:$HTTP_PORT,fork TCP:$BALANCER_IP:$BALANCER_PORT',
ports: { '53': null, http: '80:80/tcp' } } } },
bins: {},
_default: 'azktcl-base',
cwd: '/usr/local/Cellar/azk/0.17.0/shared',
__file: '/usr/local/Cellar/azk/0.17.0/shared/Azkfile.js',
__cache_dir: '/Users/slobo/.azk/data/.azk/shared/Azkfile.js',
meta:
{ options: { '$ref': '$["data"]["system"]["manifest"]' },
__cache: null } },
name: 'dns',
image:
{ system: { '$ref': '$["data"]["system"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2',
builded: Thu Mar 10 2016 13:14:38 GMT-0800 (PST) },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: false,
extends: 'azktcl-base',
command: 'dnsmasq -p $DNS_PORT --no-daemon --address=/dev.azk.io/192.168.57.4',
ports: { '80': null, dns: '53:53/udp' } } } } }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug: [docker] creating a container with
{ Image: 'azukiapp/azktcl:0.0.2',
Cmd:
[ '/bin/sh',
'-c',
'dnsmasq -p $DNS_PORT --no-daemon --address=/dev.azk.io/192.168.57.4' ],
AttachStdin: false,
AttachStdout: true,
AttachStderr: true,
Tty: false,
OpenStdin: false,
ExposedPorts: { '53/udp': {} },
Env:
[ 'AZK_TYPE=daemon',
'AZK_MID=78ce010a73',
'AZK_SYS=dns',
'AZK_SEQ=1',
'AZK_UID=19353bc0e7',
'AZK_NAME=dev.azk.io_type.daemon_mid.78ce010a73_sys.dns_seq.1_uid.19353bc0e7',
'AZK_ENV=azk',
'DNS_PORT=53' ],
WorkingDir: '/data',
name: 'dev.azk.io_type.daemon_mid.78ce010a73_sys.dns_seq.1_uid.19353bc0e7',
HostConfig:
{ Binds: [],
PortBindings: { '53/udp': [ { HostIp: '192.168.57.4', HostPort: '53' } ] },
Dns:
[ '192.168.57.4',
'10.10.0.254',
'75.153.176.9' ] } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'created',
context: 'container_run',
id: '128438ef3c9d03385e48b7735dc05442c93b7ad20299342b1afe396692029853',
data: [] } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'created',
id: '128438ef3c9d03385e48b7735dc05442c93b7ad20299342b1afe396692029853' } }
debug: [docker] attaching a container with
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'started',
context: 'container_run',
id: '128438ef3c9d03385e48b7735dc05442c93b7ad20299342b1afe396692029853',
data: [] } }
info: [tracker] sending (event_id:199a1810e70511e): {"collection":"container","event_type":"run","meta":{"agent_session_id":"agent_session_id:023be2c0e70511e","command_id":"command_id:0155ef90e70511e","user_id":"tracker_user_id:3c9887f3"}}
info: [tracker] sending (event_id:199ab450e70511e): {"collection":"image","event_type":"scale","meta":{"agent_session_id":"agent_session_id:023be2c0e70511e","command_id":"command_id:0155ef90e70511e","user_id":"tracker_user_id:3c9887f3"}}
info: [tracker] event sendend (event_id:199a1810e70511e) (send_in_background: true)
info: [tracker] event sendend (event_id:199ab450e70511e) (send_in_background: true)
info: commands.balancer.status.started_dns
azk: Dns service started.
info: Trying to connect to docker (http://192.168.57.4:2375) (timeout: 20s)...
azk: Trying to connect to docker (http://192.168.57.4:2375) (timeout: 20s)...
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
info: commands.balancer.status.starting_balancer-redirect
azk: Starting azk balancer redirect service...
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'scale',
from: 0,
to: 1,
system: 'balancer-redirect' } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'action',
context: 'image',
action: 'check_image' } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'action',
context: 'image',
action: 'check_image',
system:
{ manifest:
{ cwd_search: '/usr/local/Cellar/azk/0.17.0/shared',
images: {},
systems:
{ 'azktcl-base':
{ manifest: { '$ref': '$["data"]["system"]["manifest"]' },
name: 'azktcl-base',
image:
{ system: { '$ref': '$["data"]["system"]["manifest"]["systems"]["azktcl-base"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2' },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: false } },
dns:
{ manifest: { '$ref': '$["data"]["system"]["manifest"]' },
name: 'dns',
image:
{ system: { '$ref': '$["data"]["system"]["manifest"]["systems"]["dns"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2' },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: false,
extends: 'azktcl-base',
command: 'dnsmasq -p $DNS_PORT --no-daemon --address=/dev.azk.io/192.168.57.4',
ports: { '80': null, dns: '53:53/udp' } } },
'balancer-redirect': { '$ref': '$["data"]["system"]' } },
bins: {},
_default: 'azktcl-base',
cwd: '/usr/local/Cellar/azk/0.17.0/shared',
__file: '/usr/local/Cellar/azk/0.17.0/shared/Azkfile.js',
__cache_dir: '/Users/slobo/.azk/data/.azk/shared/Azkfile.js',
meta:
{ options: { '$ref': '$["data"]["system"]["manifest"]' },
__cache:
{ ttl: null,
dir: '/Users/slobo/.azk/data/.azk/shared/Azkfile.js' } } },
name: 'balancer-redirect',
image:
{ system: { '$ref': '$["data"]["system"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2',
builded: Thu Mar 10 2016 13:14:39 GMT-0800 (PST) },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: 10,
extends: 'azktcl-base',
command: 'env; socat TCP4-LISTEN:$HTTP_PORT,fork TCP:$BALANCER_IP:$BALANCER_PORT',
ports: { '53': null, http: '80:80/tcp' } } } } }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'action',
context: 'image',
action: 'check_image' } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'action',
context: 'image',
action: 'check_image',
system:
{ manifest:
{ cwd_search: '/usr/local/Cellar/azk/0.17.0/shared',
images: {},
systems:
{ 'azktcl-base':
{ manifest: { '$ref': '$["data"]["system"]["manifest"]' },
name: 'azktcl-base',
image:
{ system: { '$ref': '$["data"]["system"]["manifest"]["systems"]["azktcl-base"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2' },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: false } },
dns:
{ manifest: { '$ref': '$["data"]["system"]["manifest"]' },
name: 'dns',
image:
{ system: { '$ref': '$["data"]["system"]["manifest"]["systems"]["dns"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2' },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: false,
extends: 'azktcl-base',
command: 'dnsmasq -p $DNS_PORT --no-daemon --address=/dev.azk.io/192.168.57.4',
ports: { '80': null, dns: '53:53/udp' } } },
'balancer-redirect': { '$ref': '$["data"]["system"]' } },
bins: {},
_default: 'azktcl-base',
cwd: '/usr/local/Cellar/azk/0.17.0/shared',
__file: '/usr/local/Cellar/azk/0.17.0/shared/Azkfile.js',
__cache_dir: '/Users/slobo/.azk/data/.azk/shared/Azkfile.js',
meta:
{ options: { '$ref': '$["data"]["system"]["manifest"]' },
__cache:
{ ttl: null,
dir: '/Users/slobo/.azk/data/.azk/shared/Azkfile.js' } } },
name: 'balancer-redirect',
image:
{ system: { '$ref': '$["data"]["system"]' },
provider: 'docker',
repository: 'azukiapp/azktcl',
tag: '0.0.2',
builded: Thu Mar 10 2016 13:14:39 GMT-0800 (PST) },
__options:
{ shell: '/bin/bash',
depends: [],
envs: {},
scalable: false,
wait: 10,
extends: 'azktcl-base',
command: 'env; socat TCP4-LISTEN:$HTTP_PORT,fork TCP:$BALANCER_IP:$BALANCER_PORT',
ports: { '53': null, http: '80:80/tcp' } } } } }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
debug: [docker] creating a container with
{ Image: 'azukiapp/azktcl:0.0.2',
Cmd:
[ '/bin/sh',
'-c',
'env; socat TCP4-LISTEN:$HTTP_PORT,fork TCP:$BALANCER_IP:$BALANCER_PORT' ],
AttachStdin: false,
AttachStdout: true,
AttachStderr: true,
Tty: false,
OpenStdin: false,
ExposedPorts: { '80/tcp': {} },
Env:
[ 'AZK_TYPE=daemon',
'AZK_MID=78ce010a73',
'AZK_SYS=balancer-redirect',
'AZK_SEQ=1',
'AZK_UID=19abcb50e7',
'AZK_NAME=dev.azk.io_type.daemon_mid.78ce010a73_sys.balancer-redirect_seq.1_uid.19abcb50e7',
'AZK_ENV=azk',
'BALANCER_IP=192.168.57.1',
'BALANCER_PORT=11002',
'HTTP_PORT=80' ],
WorkingDir: '/data',
name: 'dev.azk.io_type.daemon_mid.78ce010a73_sys.balancer-redirect_seq.1_uid.19abcb50e7',
HostConfig:
{ Binds: [],
PortBindings: { '80/tcp': [ { HostIp: '192.168.57.4', HostPort: '80' } ] },
Dns:
[ '192.168.57.4',
'10.10.0.254',
'75.153.176.9' ] } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'created',
context: 'container_run',
id: 'e6b7bee3575e6a0225796db88262925a6b15b0333cf17c0210b872719a3f936d',
data: [] } }
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'created',
id: 'e6b7bee3575e6a0225796db88262925a6b15b0333cf17c0210b872719a3f936d' } }
debug: [docker] attaching a container with
debug:
{ log_label: '[vm_progress]',
data:
{ type: 'started',
context: 'container_run',
id: 'e6b7bee3575e6a0225796db88262925a6b15b0333cf17c0210b872719a3f936d',
data: [] } }
info: [tracker] sending (event_id:19fd94d0e70511e): {"collection":"container","event_type":"run","meta":{"agent_session_id":"agent_session_id:023be2c0e70511e","command_id":"command_id:0155ef90e70511e","user_id":"tracker_user_id:3c9887f3"}}
info: [tracker] event sendend (event_id:19fd94d0e70511e) (send_in_background: true)
info: Check if balancer redirect service is up (tcp://192.168.57.4:80) (timeout: 10000s)...
azk: Check if balancer redirect service is up (tcp://192.168.57.4:80) (timeout: 10000s)...
info: [tracker] sending (event_id:1a0005d0e70511e): {"collection":"image","event_type":"scale","meta":{"agent_session_id":"agent_session_id:023be2c0e70511e","command_id":"command_id:0155ef90e70511e","user_id":"tracker_user_id:3c9887f3"}}
info: [tracker] event sendend (event_id:1a0005d0e70511e) (send_in_background: true)
info: commands.balancer.status.started_balancer-redirect
azk: Balancer redirect started.
info: starting memcached
info: commands.balancer.status.starting_memcached
azk: Starting memcached service...
info: commands.balancer.status.started_memcached
azk: Memcached service started.
info: memcachedjs started in socket: /Users/slobo/.azk/data/run/memcachedjs.socket
info: starting hipache
info: commands.balancer.status.starting_hipache
azk: Starting http balancer service...
info: commands.balancer.status.started_hipache
azk: Http balancer service started.
info: hipache started in 11002 port with file config /Users/slobo/.azk/data/run/hipache.json
info: commands.agent.started
azk: Agent has been successfully started.
debug: [docker] connect:
{ modem:
{ socketPath: undefined,
host: 'http://192.168.57.4',
port: '2375',
version: 'v1.20',
key: undefined,
cert: undefined,
ca: undefined,
timeout: undefined,
checkServerIdentity: undefined,
protocol: 'http' },
c_regex: {} }
info: [azk] agent start with pid: 22522
info: [tracker] sending (event_id:1a1143e0e70511e): {"collection":"command","event_type":"agent","meta":{"agent_session_id":"agent_session_id:023be2c0e70511e","command_id":"command_id:0155ef90e70511e","user_id":"tracker_user_id:3c9887f3"}}
info: [tracker] event sendend (event_id:1a1143e0e70511e) (send_in_background: true)
info: memcached: memcached.js - v0.0.4-js
info: hipache: 10 Mar 13:14:40 - Loading config from /Users/slobo/.azk/data/run/hipache.json
info: hipache: 10 Mar 13:14:40 - Spawning worker #0
info: hipache: 10 Mar 13:14:40 - Spawning worker #1
info: hipache: 10 Mar 13:14:40 - Spawning worker #2
info: hipache: 10 Mar 13:14:40 - Server is running.
info: hipache: 10 Mar 13:14:40 - Loading config from /Users/slobo/.azk/data/run/hipache.json
info: hipache: 10 Mar 13:14:40 - Loading config from /Users/slobo/.azk/data/run/hipache.json
info: hipache: 10 Mar 13:14:40 - Loading config from /Users/slobo/.azk/data/run/hipache.json
info: hipache: 10 Mar 13:14:40 - (worker #22625) Started HTTP server on 127.0.0.1 11002
info: hipache: 10 Mar 13:14:40 - (worker #22625) Started HTTP server on ::1 11002
info: hipache: 10 Mar 13:14:40 - (worker #22625) Started HTTP server on 192.168.57.1 11002
info: hipache: 10 Mar 13:14:40 - (worker #22626) Started HTTP server on 127.0.0.1 11002
info: hipache: 10 Mar 13:14:40 - (worker #22626) Started HTTP server on ::1 11002
info: hipache: 10 Mar 13:14:40 - (worker #22626) Started HTTP server on 192.168.57.1 11002
info: hipache: 10 Mar 13:14:40 - (worker #22627) Started HTTP server on 127.0.0.1 11002
info: hipache: 10 Mar 13:14:40 - (worker #22627) Started HTTP server on ::1 11002
info: hipache: 10 Mar 13:14:40 - (worker #22627) Started HTTP server on 192.168.57.1 11002
info: hipache: 10 Mar 13:15:40 - (worker #22625) MemoryMonitor: Memory usage is OK (20MB)
info: hipache: 10 Mar 13:15:40 - (worker #22626) MemoryMonitor: Memory usage is OK (20MB)
info: hipache: 10 Mar 13:15:40 - (worker #22627) MemoryMonitor: Memory usage is OK (22MB)
debug: [api] user connected
debug: Adding watcher from folder /Users/slobo/Documents/project/project-ng/react-ui to /mnt/sda1/azk/sync_folders/d3a4508ee4/react-ui/Users/slobo/Documents/project/project-ng/react-ui
debug: [sync] process started with pid
{ silent: false,
killTree: true,
uid: '3wME',
id: false,
pidFile: undefined,
max: 3,
killTTL: 10000,
killSignal: 'SIGKILL',
childExists: true,
checkFile: true,
times: 0,
warn: [Function],
logFile: undefined,
outFile: undefined,
errFile: undefined,
append: undefined,
parser: [Function],
minUptime: 0,
spinSleepTime: null,
command: '/usr/local/Cellar/azk/0.17.0/lib/nvm/v0.10.40/bin/node',
args: [ '/usr/local/Cellar/azk/0.17.0/lib/azk/sync/worker.js' ],
spawnWith:
{ cwd: '/usr/local/Cellar/azk/0.17.0',
env:
{ AZK_AGENT_CONF_FILE: '/Users/slobo/.azk/data/run/agent.json',
AZK_BALANCER_HOST: 'dev.azk.io',
TERM_PROGRAM: 'iTerm.app',
TERM: 'xterm-256color',
SHELL: '/usr/local/bin/fish',
AZK_NAMESPACE: 'dev.azk.io',
TMPDIR: '/var/folders/tc/lrqyw1f509q61zcp59hvxtm40000gn/T/',
AZK_VM_SWAP_FACTOR: '0.1',
Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.1erFfvsurM/Render',
AZK_ROOT_PATH: '/usr/local/Cellar/azk/0.17.0',
AZK_AGENT_LOG_OUT_FILE: '/Users/slobo/.azk/data/logs/agent.log.out',
NVM_DIR: '/usr/local/Cellar/azk/0.17.0/lib/nvm',
USER: 'slobo',
AZK_ENV: 'production',
POSTGRES_HOME: '/Library/PostgreSQL/9.3',
SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.ExfPfdnIWj/Listeners',
PGUSER: 'postgres',
AZK_ISO_VERSION: '0.5.0',
AZK_NODE_PATH: '/usr/local/Cellar/azk/0.17.0/lib/nvm/v0.10.40/bin',
__CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x0',
DOCKER_TLS_VERIFY: '1',
PATH: '/usr/local/Cellar/azk/0.17.0/node_modules/.bin:/usr/local/Cellar/azk/0.17.0/lib/nvm/v0.10.40/bin:/usr/local/sbin:/usr/local/Cellar/azk/0.17.0/bin:/Users/slobo/.plenv/shims:/Users/slobo/Documents/project/project-ng:/Users/slobo/.rakudobrew/bin/:/Users/slobo/perl5/bin/:/usr/local/mysql-5.6.17-osx10.7-x86_64/bin:/Library/PostgreSQL/9.3/bin/:/Applications/Android Studio.app/sdk/platform-tools/:/opt/X11/bin:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin',
AZK_LIB_PATH: '/usr/local/Cellar/azk/0.17.0/lib',
AZK_NPM_PATH: '/usr/local/Cellar/azk/0.17.0/node_modules',
__fish_sysconfdir: '/usr/local/Cellar/fish/2.2.0/etc/fish',
PWD: '/Users/slobo/Documents/project/project-ng',
HOMEBREW_GITHUB_API_TOKEN: 'd46b840da621f2fcc923c44a2a80a41b50ebd299',
EDITOR: 'vim',
__fish_datadir: '/usr/local/Cellar/fish/2.2.0/share/fish',
LANG: 'en_CA.UTF-8',
ITERM_PROFILE: 'Default',
NODE_PATH: '/usr/local/Cellar/azk/0.17.0/lib:/usr/local/Cellar/azk/0.17.0/node_modules:/usr/local/Cellar/azk/0.17.0:/usr/local/Cellar/azk/0.17.0/lib/nvm/v0.10.40/node_modules',
XPC_FLAGS: '0x0',
RSYNC_MIN_VERSION: '2.6.9',
AZK_DOCKER_API_VERSION: '1.20',
AZK_DOCKER_MIN_VERSION: '1.8.0',
XPC_SERVICE_NAME: '0',
SHLVL: '1',
HOME: '/Users/slobo',
DOCKER_CERT_PATH: '/Users/slobo/.boot2docker/certs/boot2docker-vm',
COLORFGBG: '7;0',
AZK_DATA_PATH: '/Users/slobo/.azk/data',
PERL_LWP_SSL_VERIFY_HOSTNAME: '0',
DYLD_LIBRARY_PATH: '/usr/local/mysql-5.6.17-osx10.7-x86_64/lib/',
__fish_help_dir: '/usr/local/Cellar/fish/2.2.0/share/doc/fish',
ITERM_SESSION_ID: 'w1t2p1:D17217BA-1A84-497B-B472-1E2D50742DED',
LOGNAME: 'slobo',
LIBNSS_RESOLVER_VERSION: '0.3.0',
AZK_AGENT_LOG_ERR_FILE: '/Users/slobo/.azk/data/logs/agent.log.err',
AZK_AGENT_PING_FILE: '/Users/slobo/.azk/data/run/ping',
DISPLAY: '/private/tmp/com.apple.launchd.cCDNkpRYUZ/org.macosforge.xquartz:0',
__fish_bin_dir: '/usr/local/Cellar/fish/2.2.0/bin',
Z_SCRIPT_PATH: '/usr/local/etc/profile.d/z.sh',
AZK_VM_MEMORY: '8192',
NODE_ENV: 'production' },
stdio:
[ 'pipe',
'pipe',
'pipe',
'ipc' ] },
sourceDir: undefined,
fork: true,
cwd: '/usr/local/Cellar/azk/0.17.0',
hideEnv: [],
_env:
{ AZK_AGENT_CONF_FILE: '/Users/slobo/.azk/data/run/agent.json',
AZK_BALANCER_HOST: 'dev.azk.io',
TERM_PROGRAM: 'iTerm.app',
TERM: 'xterm-256color',
SHELL: '/usr/local/bin/fish',
AZK_NAMESPACE: 'dev.azk.io',
TMPDIR: '/var/folders/tc/lrqyw1f509q61zcp59hvxtm40000gn/T/',
AZK_VM_SWAP_FACTOR: '0.1',
Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.1erFfvsurM/Render',
AZK_ROOT_PATH: '/usr/local/Cellar/azk/0.17.0',
AZK_AGENT_LOG_OUT_FILE: '/Users/slobo/.azk/data/logs/agent.log.out',
NVM_DIR: '/usr/local/Cellar/azk/0.17.0/lib/nvm',
USER: 'slobo',
AZK_ENV: 'production',
POSTGRES_HOME: '/Library/PostgreSQL/9.3',
SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.ExfPfdnIWj/Listeners',
PGUSER: 'postgres',
AZK_ISO_VERSION: '0.5.0',
AZK_NODE_PATH: '/usr/local/Cellar/azk/0.17.0/lib/nvm/v0.10.40/bin',
__CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x0',
DOCKER_TLS_VERIFY: '1',
PATH: '/usr/local/Cellar/azk/0.17.0/node_modules/.bin:/usr/local/Cellar/azk/0.17.0/lib/nvm/v0.10.40/bin:/usr/local/sbin:/usr/local/Cellar/azk/0.17.0/bin:/Users/slobo/.plenv/shims:/Users/slobo/Documents/project/project-ng:/Users/slobo/.rakudobrew/bin/:/Users/slobo/perl5/bin/:/usr/local/mysql-5.6.17-osx10.7-x86_64/bin:/Library/PostgreSQL/9.3/bin/:/Applications/Android Studio.app/sdk/platform-tools/:/opt/X11/bin:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin',
AZK_LIB_PATH: '/usr/local/Cellar/azk/0.17.0/lib',
AZK_NPM_PATH: '/usr/local/Cellar/azk/0.17.0/node_modules',
__fish_sysconfdir: '/usr/local/Cellar/fish/2.2.0/etc/fish',
PWD: '/Users/slobo/Documents/project/project-ng',
HOMEBREW_GITHUB_API_TOKEN: 'd46b840da621f2fcc923c44a2a80a41b50ebd299',
EDITOR: 'vim',
__fish_datadir: '/usr/local/Cellar/fish/2.2.0/share/fish',
LANG: 'en_CA.UTF-8',
ITERM_PROFILE: 'Default',
NODE_PATH: '/usr/local/Cellar/azk/0.17.0/lib:/usr/local/Cellar/azk/0.17.0/node_modules:/usr/local/Cellar/azk/0.17.0:/usr/local/Cellar/azk/0.17.0/lib/nvm/v0.10.40/node_modules',
XPC_FLAGS: '0x0',
RSYNC_MIN_VERSION: '2.6.9',
AZK_DOCKER_API_VERSION: '1.20',
AZK_DOCKER_MIN_VERSION: '1.8.0',
XPC_SERVICE_NAME: '0',
SHLVL: '1',
HOME: '/Users/slobo',
DOCKER_CERT_PATH: '/Users/slobo/.boot2docker/certs/boot2docker-vm',
COLORFGBG: '7;0',
AZK_DATA_PATH: '/Users/slobo/.azk/data',
PERL_LWP_SSL_VERIFY_HOSTNAME: '0',
DYLD_LIBRARY_PATH: '/usr/local/mysql-5.6.17-osx10.7-x86_64/lib/',
__fish_help_dir: '/usr/local/Cellar/fish/2.2.0/share/doc/fish',
ITERM_SESSION_ID: 'w1t2p1:D17217BA-1A84-497B-B472-1E2D50742DED',
LOGNAME: 'slobo',
LIBNSS_RESOLVER_VERSION: '0.3.0',
AZK_AGENT_LOG_ERR_FILE: '/Users/slobo/.azk/data/logs/agent.log.err',
AZK_AGENT_PING_FILE: '/Users/slobo/.azk/data/run/ping',
DISPLAY: '/private/tmp/com.apple.launchd.cCDNkpRYUZ/org.macosforge.xquartz:0',
__fish_bin_dir: '/usr/local/Cellar/fish/2.2.0/bin',
Z_SCRIPT_PATH: '/usr/local/etc/profile.d/z.sh',
AZK_VM_MEMORY: '8192',
NODE_ENV: 'production' },
_hideEnv: {},
stdio: null,
watchIgnoreDotFiles: true,
watchIgnorePatterns: [],
watchDirectory: undefined,
root: undefined,
delimiter: '::',
_events: {},
newListener: false,
_conf: { delimiter: '::', wildcard: true },
wildcard: true,
listenerTree:
{ start: { _listeners: [ [Function: startLogs], [Function] ] },
restart: { _listeners: [ [Function: startLogs], [Function] ] },
exit: { _listeners: [Function: stopLogs] },
'exit:code': { _listeners: [Function] },
message: { _listeners: [Function] } },
options: { bootstrapper: { bootstrap: [Function: bootstrap] } },
env: 'production',
plugins: {},
initialized: false,
bootstrapper: { '$ref': '$["options"]["bootstrapper"]' },
initializers: {},
initlist: [],
ctime: 1457644542049,
child:
{ domain: null,
_events:
{ internalMessage: [Function],
message: [Function: onMessage],
exit: [Function] },
_maxListeners: 10,
_closesNeeded: 4,
_closesGot: 0,
connected: true,
signalCode: null,
exitCode: null,
killed: false,
_handle:
{ owner: { '$ref': '$["child"]' },
onexit: [Function],
pid: 22644 },
pid: 22644,
stdin:
{ _connecting: false,
_handle:
{ fd: 18,
writeQueueSize: 0,
owner: { '$ref': '$["child"]["stdin"]' },
onread: [Function: onread],
reading: true },
_readableState:
{ highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: true,
calledRead: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
objectMode: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: false,
domain: null,
_events:
{ end: { [Function: g] listener: [Function: onend] },
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd] },
_maxListeners: 10,
_writableState:
{ highWaterMark: 16384,
objectMode: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
sync: true,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
buffer: [],
errorEmitted: false },
writable: true,
allowHalfOpen: false,
onend: null,
destroyed: false,
bytesRead: 0,
_bytesDispatched: 0,
_pendingData: null,
_pendingEncoding: '' },
stdout:
{ _connecting: false,
_handle:
{ fd: 24,
writeQueueSize: 0,
owner: { '$ref': '$["child"]["stdout"]' },
onread: [Function: onread],
reading: true },
_readableState:
{ highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: true,
calledRead: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
objectMode: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: true,
domain: null,
_events:
{ end:
[ { [Function: g] listener: [Function: onend] },
[Function: cleanup] ],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
close: [ [Function], [Function: cleanup] ],
data: [ [Function: onStdout], [Function: ondata] ],
readable: [Function],
error: [Function: onerror] },
_maxListeners: 10,
_writableState:
{ highWaterMark: 16384,
objectMode: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
sync: true,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
buffer: [],
errorEmitted: false },
writable: false,
allowHalfOpen: false,
onend: null,
destroyed: false,
bytesRead: 0,
_bytesDispatched: 0,
_pendingData: null,
_pendingEncoding: '',
pipe: [Function],
addListener: [Function: addListener],
on: [Function: addListener],
pause: [Function],
resume: [Function],
read: [Function],
_consuming: true },
stderr:
{ _connecting: false,
_handle:
{ fd: 28,
writeQueueSize: 0,
owner: { '$ref': '$["child"]["stderr"]' },
onread: [Function: onread],
reading: true },
_readableState:
{ highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: true,
calledRead: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
objectMode: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null },
readable: true,
domain: null,
_events:
{ end:
[ { [Function: g] listener: [Function: onend] },
[Function: cleanup] ],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
close: [ [Function], [Function: cleanup] ],
data: [ [Function: onStderr], [Function: ondata] ],
readable: [Function],
error: [Function: onerror] },
_maxListeners: 10,
_writableState:
{ highWaterMark: 16384,
objectMode: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
sync: true,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
buffer: [],
errorEmitted: false },
writable: false,
allowHalfOpen: false,
onend: null,
destroyed: false,
bytesRead: 0,
_bytesDispatched: 0,
_pendingData: null,
_pendingEncoding: '',
pipe: [Function],
addListener: [Function: addListener],
on: [Function: addListener],
pause: [Function],
resume: [Function],
read: [Function],
_consuming: true },
stdio:
[ { '$ref': '$["child"]["stdin"]' },
{ '$ref': '$["child"]["stdout"]' },
{ '$ref': '$["child"]["stderr"]' },
null ],
_channel:
{ fd: 30,
writeQueueSize: 0,
buffering: false,
onread: [Function],
sockets: { got: {}, send: {} } },
_handleQueue: null,
send: [Function],
disconnect: [Function] },
running: true,
childData:
{ ctime: 1457644542049,
command: '/usr/local/Cellar/azk/0.17.0/lib/nvm/v0.10.40/bin/node',
file: '/usr/local/Cellar/azk/0.17.0/lib/azk/sync/worker.js',
foreverPid: 22522,
logFile: undefined,
args: [],
pid: 22644,
silent: false,
uid: '3wME',
id: false,
spawnWith: { '$ref': '$["spawnWith"]' },
running: true,
restarts: 0,
env: 'production',
cwd: '/usr/local/Cellar/azk/0.17.0' },
event: 'start' }
info: hipache: 10 Mar 13:16:40 - (worker #22625) MemoryMonitor: Memory usage is OK (21MB)
info: hipache: 10 Mar 13:16:40 - (worker #22626) MemoryMonitor: Memory usage is OK (20MB)
info: hipache: 10 Mar 13:16:40 - (worker #22627) MemoryMonitor: Memory usage is OK (24MB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment