test_ci_buildd
authorDebian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Thu, 31 Jan 2019 14:17:56 +0000 (14:17 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 31 Jan 2019 14:17:56 +0000 (14:17 +0000)
Gbp-Pq: Name test_ci_buildd.patch

Makefile
test/common/index.js
test/parallel/parallel.status
test/sequential/sequential.status
tools/test.py

index 9fd641cf63e1939d8bddd46d7c3eebd957a81520..086200fc03005b89f03a62514dfdb682a25b2f52 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -442,7 +442,7 @@ test-ci-native: | test/addons/.buildstamp test/addons-napi/.buildstamp
 # This target should not use a native compiler at all
 # Related CI job: node-test-commit-arm-fanned
 test-ci-js: | clear-stalled
-       $(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
+       $(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap \
                --mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \
                $(TEST_CI_ARGS) $(CI_JS_SUITES) --skip-tests=sequential/test-benchmark-napi
        @echo "Clean up any leftover processes, error if found."
index 53c06035bf6204a6d60e0eb933b39aec5c3a0ae8..0fdde70a9ace4ac8f06e3cd6bc81aa94aff2b93a 100644 (file)
@@ -187,6 +187,7 @@ const pwdCommand = isWindows ?
 
 
 function platformTimeout(ms) {
+  return 20 * ms; // for debian build servers
   if (process.features.debug)
     ms = 2 * ms;
 
index b45e4448d97c06be808da6cdc1dd91b226f940d9..edd44eb94d92bb6b57e09aa9a90de91777d68695 100644 (file)
@@ -8,6 +8,29 @@ prefix parallel
 # https://github.com/nodejs/node/issues/23207
 test-net-connect-options-port: PASS,FLAKY
 
+test-process-config                  : PASS,FLAKY
+test-regress-GH-746                  : PASS,FLAKY
+test-stdout-close-unref              : PASS,FLAKY
+test-npm-install                     : FAIL
+# skip tests accessing network
+test-dns                             : SKIP
+test-net-connect-immediate-finish    : SKIP
+test-net-better-error-messages-port-hostname : SKIP
+
+# in debian build env, skip because it somehow tries to access network
+test-https-connect-address-family : SKIP 
+test-tls-connect-address-family : SKIP
+test-dns-cancel-reverse-lookup: SKIP
+
+# should have been disabled 'cause openssl 1.1.0
+test-tls-ecdh-disable : SKIP
+
+# only works with zlib >= 1.2.11
+test-zlib-failed-init: SKIP
+
+# might fail, see https://github.com/nodejs/node/issues/17909
+test-fs-utimes: PASS,FLAKY
+
 [$system==win32]
 test-http2-pipe: PASS,FLAKY
 test-worker-syntax-error: PASS,FLAKY
@@ -19,6 +42,10 @@ test-worker-syntax-error-file: PASS,FLAKY
 
 [$arch==arm || $arch==arm64]
 
+[$arch==mips64el]
+# the debug flag is for hacking v8 internals
+test-debug-args: PASS,FLAKY
+
 [$system==solaris] # Also applies to SmartOS
 
 [$system==freebsd]
index 89f639777b5ca9dec5aee4d72c59b4176e16f512..55b4c98d4b34e66234d83ec562c64f0b3a119e08 100644 (file)
@@ -7,6 +7,11 @@ prefix sequential
 [true] # This section applies to all platforms
 # https://github.com/nodejs/node/issues/22336
 test-gc-http-client: PASS,FLAKY
+# flaky or failing at least on debian build servers
+test-fs-watch                                   : PASS,FLAKY
+test-force-repl                                 : SKIP
+test-performance                                : SKIP
+test-http2-session-timeout                      : PASS,FLAKY
 
 [$system==win32]
 # https://github.com/nodejs/node/issues/22327
index cd36119665304350c9d3c3a346b2d42418f8d30a..9005ae3a86aa19ac4d3a52e1c8955240d9aadb2b 100755 (executable)
@@ -909,10 +909,7 @@ class Context(object):
     self.v8_enable_inspector = True
 
   def GetVm(self, arch, mode):
-    if arch == 'none':
-      name = 'out/Debug/node' if mode == 'debug' else 'out/Release/node'
-    else:
-      name = 'out/%s.%s/node' % (arch, mode)
+    name = './node'
 
     # Currently GYP does not support output_dir for MSVS.
     # http://code.google.com/p/gyp/issues/detail?id=40