test_ci_buildd
authorDebian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Mon, 8 Apr 2019 13:06:40 +0000 (14:06 +0100)
committerJérémy Lal <kapouer@melix.org>
Mon, 8 Apr 2019 13:06:40 +0000 (14:06 +0100)
Gbp-Pq: Name test_ci_buildd.patch

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

index e4b592c8cc464f81d070d53ee7bc0d3d718e281f..7b14310b7301bbb8c373f8fabde916fa8e784a3d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -431,7 +431,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 208fe2e8ca8ba3fd7344ecdf217ae76f2fcef465..eb3c4c093ca25a080db223c06a84b9e2115ea62a 100644 (file)
@@ -8,6 +8,35 @@ 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
+
+# https://bugs.debian.org/919588
+## flaky on some user environments
+test-net-listen-after-destroying-stdin: PASS,FLAKY
+## fails when running with eatmydata
+test-fs-error-messages: PASS,FLAKY
+
 [$system==win32]
 test-http2-pipe: PASS,FLAKY
 test-worker-syntax-error: PASS,FLAKY
@@ -21,6 +50,10 @@ test-worker-syntax-error-file: PASS,FLAKY
 # https://github.com/nodejs/node/issues/25028
 test-cli-node-options: PASS,FLAKY
 
+[$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 67b8cb917e0db6ee24ceb0df7ed505b2e9af50d0..0d4409f5755313d901792358be18072ba43cc5d9 100755 (executable)
@@ -910,10 +910,7 @@ class Context(object):
     self.node_has_crypto = 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