Skip to content

Instantly share code, notes, and snippets.

View misterdjules's full-sized avatar

Julien Gilli misterdjules

View GitHub Profile

Provisioning job's tasks' results:

[root@headnode (nightly-1) ~]# sdc-workflow /jobs/9a2caf14-958f-4218-bc55-207511997ccd | json -H chain_results
[
  {
    "result": "All parameters OK!",
    "error": "",
    "name": "common.validate_params",
    "started_at": "2017-09-25T09:29:02.763Z",
#!/usr/sbin/dtrace -s
#pragma D option quiet
bunyan*:::log-debug
/json(copyinstr(arg0), "msg") == "pinging moray..."/
{
this->profiling_enabled = 1;
}
#!/usr/sbin/dtrace -s
#pragma D option quiet
moray*:::query-start
/copyinstr(arg1) == "SELECT name FROM buckets_config LIMIT 1"/
{
printf("arg1: %s\n", copyinstr(arg1));
starts[copyinstr(arg0)] = timestamp;
}
diff --git a/lib/imgapi.js b/lib/imgapi.js
index 8d362a1..6e542f4 100644
--- a/lib/imgapi.js
+++ b/lib/imgapi.js
@@ -1058,7 +1058,7 @@ function adminImportRemoteImageAndWait(uuid, source, options, callback) {
delay: delay
}, 'retry ready');
- self.client.post(reqOpts, function (err, req, res, obj) {
+ self.client.post(reqOpts, {}, function (err, req, res, obj) {

Introduction of JSReceiver's raw_properties_or_hash

See https://chromium-review.googlesource.com/574761.

This change was first relased with V8 6.1.532 (after node 8.4.0, not in master yet):

➜  v8 git:(master) git remote -v
origin	git@github.com:v8/v8.git (fetch)
origin	git@github.com:v8/v8.git (push)
diff --git a/src/mdb_v8.c b/src/mdb_v8.c
index 7a50fcb..91a3a25 100644
--- a/src/mdb_v8.c
+++ b/src/mdb_v8.c
@@ -81,7 +81,7 @@ static v8_class_t *v8_classes;
static v8_enum_t v8_types[128];
static int v8_next_type;
-static v8_enum_t v8_frametypes[16];
+static v8_enum_t v8_frametypes[32];
```
[root@headnode (coal) ~]# mdb /zones/a0f777cd-17e0-4e2c-9216-89d269c40c61/root/opt/smartdc/sdc/build/node/bin/node /zones/global/cores/core.node.31174
mdb: core file data for mapping at 8050000 not saved: I/O error
mdb: core file data for mapping at 8e96000 not saved: I/O error
mdb: core file data for mapping at fe6e0000 not saved: I/O error
mdb: core file data for mapping at fe740000 not saved: I/O error
mdb: core file data for mapping at fec30000 not saved: I/O error
Loading modules: [ libumem.so.1 libc.so.1 ld.so.1 ]
> ::load v8
mdb_v8 version: 1.1.4 (release, from 3a6fad0)
NET 92852: setupListenHandle 127.0.0.1 0 4 false undefined
NET 92852: setupListenHandle: create a handle
NET 92852: bind to 127.0.0.1
NET 92852: onconnection
NET 92852: _read
NET 92852: Socket._read readStart
NET 92852: SERVER _emitCloseIfDrained
NET 92852: SERVER handle? false connections? 1
NET 92852: onread 65536
NET 92852: got data
NET 73754: setupListenHandle 127.0.0.1 0 4 false undefined
NET 73754: setupListenHandle: create a handle
NET 73754: bind to 127.0.0.1
NET 73754: SERVER _emitCloseIfDrained
NET 73754: SERVER: emit close
Mismatched <anonymous> function calls. Expected exactly 1, actual 0.
at Object.exports.mustCall (/root/node/test/common/index.js:481:10)
at Object.<anonymous> (/root/node/test/parallel/test-async-wrap-getasyncid.js:162:42)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
mount -F nfs 192.168.128.5:/exports/data /var/tmp/data/

From the container mounting the NFS filesystem:

[root@6823ef52-00a3-4c12-990e-90b08923f110 ~]# pstack 86456
86456:  vi /var/tmp/data/bar.txt
[root@6823ef52-00a3-4c12-990e-90b08923f110 ~]#