• busybox 需要root才行

  • Jenkins 构建 Allure Report at 2018年12月19日
    仅楼主可见
  • 仅楼主可见
  • 仅楼主可见
  • MDM(Mobile Device Managment)

  • Jenkins + Slack 配置 at 2018年03月06日

    创建了webhook,但custom Integrations依旧显示 “doesn't have any custom integrations yet.”

  • 需要让rd给你一个.app的包,不能是ipa的

  • Mac OSX 布署 Reliable at 2017年09月25日

    命令行没报错,但也没有执行任务,输出信息中port: undefined。
    有两个问题请教:
    1、Git上有app,下载会出现超时情况?如果删除app,Git clone的时候回因为没有app而运行不起来;
    2、Git clone的代码存放在哪个地方?

    flow.js:99:12 [worker:1] pid:33862 Task 59c8b432fcec181e00801c9f start git clone...
    flow.js:116:12 [worker:1] pid:33862 Task 59c8b432fcec181e00801c9f start git clone success!
    flow.js:127:14 [worker:1] pid:33862 Sending 59c8b432fcec181e00801c9f data ...
    channel.js:69:16 [worker:1] pid:33862
    <--- zmq message
    { type: 'task',
    taskId: '59c8b432fcec181e00801c9f',
    sysInfo:
    { cpus:
    [ { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 13184630, nice: 0, sys: 13457990, idle: 133796490, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 4510840, nice: 0, sys: 3650390, idle: 152267460, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 11846810, nice: 0, sys: 10018990, idle: 138562930, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 4584800, nice: 0, sys: 3636000, idle: 152207840, irq: 0 } },
    [length]: 4 ],
    memory: 0.011448860168457031,
    type: 'Darwin',
    platform: 'darwin',
    uptime: '5d 22h 55m',
    release: '16.7.0',
    hostname: 'bogon',
    port: undefined },
    status: 'busy',
    body: 'done! your test case exited with code \n\n' }
    flow.js:72:12 [worker:1] pid:33862 Task is end with 59c8b432fcec181e00801c9f data...
    channel.js:69:16 [worker:1] pid:33862
    <--- zmq message
    { type: 'task',
    taskId: '59c8b432fcec181e00801c9f',
    sysInfo:
    { cpus:
    [ { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 13184630, nice: 0, sys: 13457990, idle: 133796490, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 4510840, nice: 0, sys: 3650390, idle: 152267460, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 11846810, nice: 0, sys: 10018990, idle: 138562930, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 4584800, nice: 0, sys: 3636000, idle: 152207840, irq: 0 } },
    [length]: 4 ],
    memory: 0.011448860168457031,
    type: 'Darwin',
    platform: 'darwin',
    uptime: '5d 22h 55m',
    release: '16.7.0',
    hostname: 'bogon',
    port: undefined },
    status: 'available',
    body: 'false',
    bodyStatus: 2,
    extra: {} }
    @sencho

  • Mac OSX 布署 Reliable at 2017年09月25日

    命令行没报错,但也没有执行任务,输出信息中port: undefined。
    有两个问题请教:

    flow.js:99:12 [worker:1] pid:33862 Task 59c8b432fcec181e00801c9f start git clone...
    flow.js:116:12 [worker:1] pid:33862 Task 59c8b432fcec181e00801c9f start git clone success!
    flow.js:127:14 [worker:1] pid:33862 Sending 59c8b432fcec181e00801c9f data ...
    channel.js:69:16 [worker:1] pid:33862
    <--- zmq message
    { type: 'task',
    taskId: '59c8b432fcec181e00801c9f',
    sysInfo:
    { cpus:
    [ { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 13184630, nice: 0, sys: 13457990, idle: 133796490, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 4510840, nice: 0, sys: 3650390, idle: 152267460, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 11846810, nice: 0, sys: 10018990, idle: 138562930, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 4584800, nice: 0, sys: 3636000, idle: 152207840, irq: 0 } },
    [length]: 4 ],
    memory: 0.011448860168457031,
    type: 'Darwin',
    platform: 'darwin',
    uptime: '5d 22h 55m',
    release: '16.7.0',
    hostname: 'bogon',
    port: undefined },
    status: 'busy',
    body: 'done! your test case exited with code \n\n' }
    flow.js:72:12 [worker:1] pid:33862 Task is end with 59c8b432fcec181e00801c9f data...
    channel.js:69:16 [worker:1] pid:33862
    <--- zmq message
    { type: 'task',
    taskId: '59c8b432fcec181e00801c9f',
    sysInfo:
    { cpus:
    [ { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 13184630, nice: 0, sys: 13457990, idle: 133796490, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 4510840, nice: 0, sys: 3650390, idle: 152267460, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 11846810, nice: 0, sys: 10018990, idle: 138562930, irq: 0 } },
    { model: 'Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz',
    speed: 2700,
    times: { user: 4584800, nice: 0, sys: 3636000, idle: 152207840, irq: 0 } },
    [length]: 4 ],
    memory: 0.011448860168457031,
    type: 'Darwin',
    platform: 'darwin',
    uptime: '5d 22h 55m',
    release: '16.7.0',
    hostname: 'bogon',
    port: undefined },
    status: 'available',
    body: 'false',
    bodyStatus: 2,
    extra: {} }

  • Mac OSX 布署 Reliable at 2017年09月23日

    请教下,使用make adduser命令创建管理员账号,成功后登录 http://localhost:8080/dashboard,提示没有此用户。
    然后通过web注册普通用户,可以登录,之后查找数据库也没有找到。
    请问通过命令和web注册的用户在哪个db里面存呢?

    db.createUser(
    ... {
    ... user: "admin",
    ... pwd: "admin",
    ... roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
    ... }
    ... )
    Successfully added user: {
     "user" : "admin",
     "roles" : [
      {
       "role" : "userAdminAnyDatabase",
       "db" : "admin"
      }
     ]
    }

    登录的时候提示没有此用户?

    show collections
    admin
    system.users
    system.version

    db.admin.find().count();
    0

About Me (赵海洋)
程序员,年二十有二,始从文,连考而不中。遂习武,练武场上发一矢,中鼓吏,逐之出。改学IT,自撰一函数,用之,堆栈溢出。

诸葛亮是一个优秀的程序猿,每一个锦囊都是应对不同的case而编写的!

但是优秀的程序猿也敌不过更优秀的bug!

六出祈山,七进中原,鞠躬尽瘁,死而后已的诸葛亮只因为有一个错误的case-马谡,整个结构就被break了!