Comment 60 for bug 1779863

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Verification for bionic-proposed is successful.

Changing verification-needed{-bionic} tags to done.

The last autopkgtest failure in nodejs rdeps for bionic
(node-tap) had a patch submitted in LP #1793612, and
since it's a test-server problem, not code/runtime,
Steve kindly marked it as non-blocking for this SRU.

Procedure:
=========

Enabled 'bionic-proposed universe' in apt sources.list.

$ sudo apt install nodejs npm

$ dpkg -s nodejs npm | grep Version
Version: 8.10.0~dfsg-2ubuntu0.3
Version: 3.5.2-0ubuntu4

$ mkdir /tmp/lp.1779863
$ cd /tmp/lp.1779863

Test 1)
------

$ npm install grpc
...
[grpc] Success: "/tmp/lp.1779863/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote
...

$ echo $?
0

$ node
> const grpc = require('grpc')
undefined
> const creds = grpc.ServerCredentials.createSsl(null, [])
undefined
> const server = new grpc.Server()
undefined
> server.bind('0.0.0.0:8080', creds)
E0921 13:06:16.712298391 29233 security_connector.cc:1160] Handshaker factory creation failed with TSI_INVALID_ARGUMENT.
E0921 13:06:16.712493281 29233 server_secure_chttp2.cc:84] {"created":"@1537535176.712464610","description":"Unable to create secure server with credentials of type Ssl.","file":"../deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc","file_line":63,"security_status":1}
0
<Ctrl-D>

This did not fail with symbol lookup error for SSL_library_init (reported in bug description).
It fails in an expected manner, for not passing SSL certificates to the constructor (comment #51).

Test 2)
------

> $ npm install node-webcrypto-ossl
...
make: Entering directory '/tmp/lp.1779863/node_modules/node-webcrypto-ossl/build'
...
  SOLINK_MODULE(target) Release/obj.target/nodessl.node
  COPY Release/nodessl.node
make: Leaving directory '/tmp/lp.1779863/node_modules/node-webcrypto-ossl/build'
...
└─┬ node-webcrypto-ossl@1.0.38
  ├─┬ mkdirp@0.5.1
  │ └── minimist@0.0.8
  ├── tslib@1.9.3
  └── webcrypto-core@0.1.22
...

$ echo $?
0

The build succeeds, without any compilation errors (reported in bug description).