Hello community, here is the log from the commit of package nodejs8 for openSUSE:Factory checked in at 2019-01-15 09:13:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs8 (Old) and /work/SRC/openSUSE:Factory/.nodejs8.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs8" Tue Jan 15 09:13:48 2019 rev:22 rq:664390 version:8.15.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs8/nodejs8.changes 2018-11-06 13:54:45.676222011 +0100 +++ /work/SRC/openSUSE:Factory/.nodejs8.new.28833/nodejs8.changes 2019-01-15 09:13:58.986368817 +0100 @@ -1,0 +2,56 @@ +Mon Jan 7 15:37:20 UTC 2019 - [email protected] + +- New upstream LTS release 8.15.0: + * cli: add --max-http-header-size flag + * http: add maxHeaderSize property + +- Changes in LTS release 8.14.1: + * http2: fix sequence of error/close events + +- Changes in LTS release 8.14.0: + * http: + + Headers received by HTTP servers must not exceed 8192 bytes + in total to prevent possible Denial of Service attacks. + (CVE-2018-12121, bsc#1117626) + + A timeout of 40 seconds now applies to servers receiving HTTP + headers. This value can be adjusted with server.headersTimeout. + Where headers are not completely received within this period, + the socket is destroyed on the next received chunk. In + conjunction with server.setTimeout(), this aids in protecting + against excessive resource retention and possible + Denial of Service. (CVE-2018-12122, bsc#1117627) + + Two-byte characters are now strictly disallowed for the path + option in HTTP client requests. Paths containing characters + outside of the range \u0021 - \u00ff will now be rejected + with a TypeError. This behavior can be reverted if necessary + by supplying the --security-revert=CVE-2018-12116 command + line argument (this is not recommended). + (CVE-2018-12116, bsc#1117630) + * url: Fix a bug that would allow a hostname being spoofed when + parsing URLs with url.parse() with the 'javascript:' protocol. + (CVE-2018-12123, bsc#1117629) + +- Changes in LTS release 8.13.0: + * assert: backport some assert commits + * deps: + + upgrade to libuv 1.23.2 + + V8: cherry-pick 64-bit hash seed commits + * http: added aborted property to request + * http2: no longer experimental + + bump dependency of nghttp2 to 1.34.0 + +- fix_ci_tests.patch: Reduce timeout for test-http2-session-timeout +- skip_test_on_lowmem.patch: skip test on low-memory build machine +- env_shebang.patch: dropped in favour of programmatic update + +------------------------------------------------------------------- +Mon Dec 24 10:13:43 UTC 2018 - Guillaume GARDET <[email protected]> + +- Enable armv6 build + +------------------------------------------------------------------- +Mon Nov 26 14:06:57 UTC 2018 - [email protected] + +- flaky_test_rerun.patch: Rerun failing tests in case of flakiness + +------------------------------------------------------------------- Old: ---- env_shebang.patch node-v8.12.0.tar.xz New: ---- flaky_test_rerun.patch node-v8.15.0.tar.xz skip_test_on_lowmem.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs8.spec ++++++ --- /var/tmp/diff_new_pack.E9DIQQ/_old 2019-01-15 09:13:59.674368180 +0100 +++ /var/tmp/diff_new_pack.E9DIQQ/_new 2019-01-15 09:13:59.674368180 +0100 @@ -1,7 +1,7 @@ # # spec file for package nodejs8 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ ########################################################### Name: nodejs8 -Version: 8.12.0 +Version: 8.15.0 Release: 0 %define node_version_number 8 @@ -61,7 +61,7 @@ %bcond_without intree_icu %endif -%if 0%{suse_version} >= 1500 +%if 0%{suse_version} >= 1550 %bcond_with intree_nghttp2 %else %bcond_without intree_nghttp2 @@ -128,12 +128,13 @@ # PATCH-FIX-OPENSUSE -- install user global npm packages to /usr/local # instead of /usr Patch104: npm_search_paths.patch +Patch105: skip_test_on_lowmem.patch + +Patch120: flaky_test_rerun.patch # Use versioned binaries and paths Patch200: versioned.patch -Patch201: env_shebang.patch - %if 0%{with binutils_gold} BuildRequires: binutils-gold %endif @@ -210,7 +211,7 @@ %endif %if ! 0%{with intree_nghttp2} -BuildRequires: libnghttp2-devel >= 1.31.0 +BuildRequires: libnghttp2-devel >= 1.34.0 %endif %if 0%{with valgrind_tests} @@ -244,7 +245,7 @@ %endif # Building Node.js only makes sense on V8 architectures. -ExclusiveArch: %{ix86} x86_64 armv7hl aarch64 ppc ppc64 ppc64le s390 s390x +ExclusiveArch: %{ix86} x86_64 armv6hl armv7hl aarch64 ppc ppc64 ppc64le s390 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -315,13 +316,19 @@ %patch103 -p1 %endif %patch104 -p1 +%patch105 -p1 +%patch120 -p1 %patch200 -p1 -%patch201 -p1 # abnormalities from patching find -name configure.js.orig -delete %build +# normalize shebang +find -name \*.py -perm -1 -type f -exec sed -i '1 s,^#!\s\?/usr/bin/env python$,#!/usr/bin/python,' {} + +find deps/npm -type f -exec sed -i '1 s,^#!\s\?/usr/bin/env node$,#!/usr/bin/node%{node_version_number},' {} + +find deps/npm -type f -exec sed -i '1 s,^#!\s\?/usr/bin/env \(bash\|sh\)\?$,#!/bin/bash,' {} + + . %{SOURCE20} # Make sure nothing gets included from bundled deps: # We only delete the source and header files, because @@ -420,7 +427,7 @@ # clean # hidden files and directories -find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number} -name ".*" -print0 | xargs -r0 -0 rm -rf -- +find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number} -name ".*" -exec rm -Rf -- {} + # windows stuff find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number} -name "*.bat" -delete find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number} -name "*.cmd" -delete @@ -430,13 +437,11 @@ find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules -name "*.sh" -delete rm -rf %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules/node-gyp/src # remove examples/tests/benchmark stuff -find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules -name "example*" -print0 | xargs -0 rm -rf -- -find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/NODE_MODULES -name "test*" -print0 | xargs -0 rm -rf -- +find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules -name "example*" -exec rm -Rf -- {} + find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules -name "*_test.*" -delete -find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules -type d -name "benchmark" -print0 | xargs -0 rm -rf -- +find %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules -type d -name "benchmark" -exec rm -Rf -- {} + # fix permissions -find %{buildroot}%{_libdir}/node_modules -type f -exec chmod 0644 {} + chmod 0755 %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/bin/np*-cli.js chmod 0755 %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/bin/node-gyp-bin/node-gyp chmod 0755 %{buildroot}%{_libdir}/node_modules/npm%{node_version_number}/node_modules/node-gyp/bin/node-gyp.js ++++++ SHASUMS256.txt ++++++ --- /var/tmp/diff_new_pack.E9DIQQ/_old 2019-01-15 09:13:59.694368161 +0100 +++ /var/tmp/diff_new_pack.E9DIQQ/_new 2019-01-15 09:13:59.698368157 +0100 @@ -1,40 +1,40 @@ -6a514208421b0643769fb7064d2edaadedd10c6eef4647b645907481e575fca6 node-v8.12.0-aix-ppc64.tar.gz -ca131b84dfcf2b6f653a6521d31f7a108ad7d83f4d7e781945b2eca8172064aa node-v8.12.0-darwin-x64.tar.gz -2d8b162cfc568d3d585c459fa0ded25b6d64e5f984a73bc0f89f2d6e5461baa3 node-v8.12.0-darwin-x64.tar.xz -68768e555161e54795fb61ac3de3de0933638f6356a8cead097b34eab16a1aa3 node-v8.12.0-headers.tar.gz -a5a8b2bdc0e202dfd8a0d2ee3667e28ec828b1c06f62d0c627cfbe262f173b51 node-v8.12.0-headers.tar.xz -781ecf1ecb14b4c671ef0732988636282d6fb7071c4bd52567f663b008796bc9 node-v8.12.0-linux-arm64.tar.gz -0fbdcfd8cf0cb5e8f5beff84ba091fd47126ba44c628e3a351501419b211aa1a node-v8.12.0-linux-arm64.tar.xz -d7e9d6666075fa210767215b333bf9fb45f2e049b80e01208054749cd782d47e node-v8.12.0-linux-armv6l.tar.gz -699ff3799f1b6374be342b1ae0e71b69507cc431cd3094d791f00a10d7673fdb node-v8.12.0-linux-armv6l.tar.xz -9c564069c5c9f0c9062cb399db02670c79fc4a2a079e67edcc5785a73a663f6e node-v8.12.0-linux-armv7l.tar.gz -a437f347e12d499f72edea97ebd127abe403417316a3f23cba7e1db6fcf770d1 node-v8.12.0-linux-armv7l.tar.xz -a0c52c8f175566b1b6664ea9bbb82ba93c17c0178d2148368ed070d7a54da291 node-v8.12.0-linux-ppc64le.tar.gz -3070989b41045faea4a923ea9d290ab9ac0983e462fc435e645b002ead05de68 node-v8.12.0-linux-ppc64le.tar.xz -7e13da69c0932800ba1d6d96c95ebaf520cc220d6ff61ca1d0b544c61ee84628 node-v8.12.0-linux-s390x.tar.gz -ac5d0645af733d5f9eb49caf27d2cb72f9ed0858806af2c967aff23c7ad40ede node-v8.12.0-linux-s390x.tar.xz -3df19b748ee2b6dfe3a03448ebc6186a3a86aeab557018d77a0f7f3314594ef6 node-v8.12.0-linux-x64.tar.gz -29a20479cd1e3a03396a4e74a1784ccdd1cf2f96928b56f6ffa4c8dae40c88f2 node-v8.12.0-linux-x64.tar.xz -56ecffbd8a656991f71e4b53ab00af333c97453062cadc20a2103b933088d24d node-v8.12.0-linux-x86.tar.gz -2f9820411c5d53a19daf85d575f01f99664d2aff1c85c281c7b12d8086b83b31 node-v8.12.0-linux-x86.tar.xz -c11b745e28628a89eaf667031541ab58c2c2f0baf03f7aecf36d668463a59c62 node-v8.12.0.pkg -74664b84c571c608943dc1dfff53d3eb058f929f5dba763d779b830cddef3331 node-v8.12.0-sunos-x64.tar.gz -69aa7141050924079ffc9b1c8d76fe22b2801e6a71ac57a473c3553e2a91e38c node-v8.12.0-sunos-x64.tar.xz -05ac84818d45e64b0958f7bd81e073c5b8ca7bd9d7f71569ae8e511aeefaae09 node-v8.12.0-sunos-x86.tar.gz -cca30c21f932d13ca4b31ccfbe57711c6c52006ac49fd53c90c8ba7d8ff4e09b node-v8.12.0-sunos-x86.tar.xz -b4797843136edd9195c28221a1680ae52c29d867fc5fc1c99f7d6e2f2126a67b node-v8.12.0.tar.gz -5a9dff58016c18fb4bf902d963b124ff058a550ebcd9840c677757387bce419a node-v8.12.0.tar.xz -c1fb949ca07542b491b896d73e9606bd26501bbaae8deb8b1e3dd8652349a6b6 node-v8.12.0-win-x64.7z -9b22c9b23148b61ea0052826b3ac0255b8a3a542c125272b8f014f15bf11b091 node-v8.12.0-win-x64.zip -4516c85c7b353fb6b8c5116f72c553c7ff52fe6801119cf0afc8d7d3a11c08f1 node-v8.12.0-win-x86.7z -f3c7f4b06c1252137ad5bc416bc5b347c58c271d32cd6e6030a624aa21b1bdfd node-v8.12.0-win-x86.zip -e359b26b8ba52eb24c49af6222c4bf9e454d3d266290897b492e13fc2f06e316 node-v8.12.0-x64.msi -0e7b5601c6819d5fd042f21dc375c9cf067fa43c7ecb84ca8ce3646ae9624e73 node-v8.12.0-x86.msi -b270192df4ebc036b8ce1898244c28bfeb89992ac89c8f73c60a458faf57d93a win-x64/node.exe -9206d0c000a2ea83e41bfaa00ac001b8b3cd9e6c6ba8f5f6826bf26dbedf396a win-x64/node.lib -0d0687170293f839e2a0bcf97e38163bb68a1043b29b7609e75dbc9bbe53b5fc win-x64/node_pdb.7z -47897e35f3316f9271e7a26ac6d81d22b1a43a7319a2aacc4304b45e0296cf5b win-x64/node_pdb.zip -4ce2168afe0f7c5bfe070b3d4741c1d492d6d00a6076c6903f9097b8ab061036 win-x86/node.exe -d042cab5ef26cec479fb001bf7cfea2aa14570efae3b7edecd8dde5e7ae01747 win-x86/node.lib -350c96042bfc6106eb78e60c270239c51c89697eb5c3f242eea5e3f90aa53654 win-x86/node_pdb.7z -98db5e9cb1b36be698b91b964fd4c3353075f4de650deb20deb4043a11aa94e3 win-x86/node_pdb.zip +ef9db73a1c84129b0549db54299569eb308e5992a1459fe27f5c4c8c7184b382 node-v8.15.0-aix-ppc64.tar.gz +a393971136408f837fbc0f7d71a63754f91cfb1851d48bd612d8219eb61956f1 node-v8.15.0-darwin-x64.tar.gz +7a2662d95d5e89874035233035d56ec067e5798b512f8d0393e805a3d742bd58 node-v8.15.0-darwin-x64.tar.xz +5918d8f4da6c8aed5d27be1c5d318517fd175983ca3514592e3cdbf364d8d316 node-v8.15.0-headers.tar.gz +cb252b265e7f8ee795f0c83b39a4d27988838efa9f28acaf9f9bf906fbca01b7 node-v8.15.0-headers.tar.xz +02ce5c6551c0252c74b12c217d4e4f331147dc605990d6bbfb2fa247f356b5b0 node-v8.15.0-linux-arm64.tar.gz +5985c6dce65b1161ff41253da5aa4e64b8f10eb010a5d2712ea9b659f70179d7 node-v8.15.0-linux-arm64.tar.xz +6b56540492f7b4107dc9ee94ee170f9d26364fa7c55572b70d0aa39c13a0513f node-v8.15.0-linux-armv6l.tar.gz +fd0a06bb084742e84c502684c0aed2e9bac95a5c3962073c3dbfb739768c3d32 node-v8.15.0-linux-armv6l.tar.xz +a19b38d89f87c357569ee6ec99e767789a97c1a053e073676cfb0d68945d584e node-v8.15.0-linux-armv7l.tar.gz +8cad5b17d90e7e3aaea6c723f0608de502738641e88c2e8406c93d7cd031ac54 node-v8.15.0-linux-armv7l.tar.xz +0a82cd81f13e59811c02dd12b7446fb2d5be86182dd9a6e96bf4fa32296a192a node-v8.15.0-linux-ppc64le.tar.gz +c7ea47b9c16dc383d859d0abe201d25e25d90fedd64759ea22775eac39937690 node-v8.15.0-linux-ppc64le.tar.xz +c68bf544c3998cfa7803811e3c03ec74077a5a57c15ef487ff847c395c6a35fc node-v8.15.0-linux-s390x.tar.gz +560620a4e061b94f2ff28bcc42582c15b23f1796ae5892f24daf32003f555740 node-v8.15.0-linux-s390x.tar.xz +dc004e5c0f39c6534232a73100c194bc1446f25e3a6a39b29e2000bb3d139d52 node-v8.15.0-linux-x64.tar.gz +c1f0c5facdba78b5dec5136aec40dcb00b5c7cf404d9236a99c955994f91d969 node-v8.15.0-linux-x64.tar.xz +cb20139da17c6805af5e3e04b4414c8f92cf3369cd1dd7aca3a58e1ad6b806a9 node-v8.15.0-linux-x86.tar.gz +c43e992e1967310091c8f700dbe537559849c7b5c8436f48aba161fa987645fc node-v8.15.0-linux-x86.tar.xz +c260dd072480208cc4bd8df1a5a022e82d21d685ebdbbf1421a6ebe3c023a566 node-v8.15.0.pkg +ff5ed2508f073cef892992285a21608463054be059d25155618a94099a53df31 node-v8.15.0-sunos-x64.tar.gz +20b3e5798e51406d3d03c6199d4fac573ba58812bad379e30dd799319a63ce7f node-v8.15.0-sunos-x64.tar.xz +08ed85feac66ae0e5cad2dfb78d85fa3ac1ef681eb4b0aeb885c08dc4fa9ded2 node-v8.15.0-sunos-x86.tar.gz +eed3d477213a5efd1831b1fb8d172f4b5addc0b94a256b10ef3ac37556f1d34d node-v8.15.0-sunos-x86.tar.xz +590fc8b09c2466f8f7854ce3342ae1d0ba421c104999b7bd54ec0c690321d2aa node-v8.15.0.tar.gz +968523333947cc3f769d73dedc6c9c60580826d8714bc0e62ca4589de6a7c633 node-v8.15.0.tar.xz +5317b304111f29c274a6c03375f65b9a2229397d0cd0152c79d32c24ede89f8d node-v8.15.0-win-x64.7z +13d8eab29c191bd16c69a70a556178a5adc988b243a036aaf3d5158861b60d8e node-v8.15.0-win-x64.zip +0a88b05dd281ce0af7b4cc5237cfd065f2ba54df700c9e3bff334832c7b24387 node-v8.15.0-win-x86.7z +2c9626cff11b476de178e9357ba26808dacbe26b26f34fd74adfb77c998ef022 node-v8.15.0-win-x86.zip +e672b938c8e32872d54352245bfe86dd088e05bb8598d633c487af7af0d3e4e4 node-v8.15.0-x64.msi +161f72c163df147448473d8326cd5f673503e8944ba70f7fd787f1dc5b5c723d node-v8.15.0-x86.msi +f0cd491948c4a23fe93ea9db694ffff66e20298552f00268d009e25e96cd3482 win-x64/node.exe +069e96dfbe8a55825118705a5acaa941d9e6d4f1d529d89e8f88c20a647dccee win-x64/node.lib +e6ea656be0c9c3fb86b77b3bdd5f16e9c39d8e55c4b6c4d0da572c0a17385530 win-x64/node_pdb.7z +326b66b69a531eacbcf0bb0c90dd5b540e9f1b2146f0ab1670ede97dde34766a win-x64/node_pdb.zip +94ee364516cd3603b0673afee7f190a38439e797136fa425aa593ce2d0ef48c2 win-x86/node.exe +2fcc826d69e00d25cb3e373742398fb7d4c6c882fdf2463cb0a8a3ae99a6a9d5 win-x86/node.lib +8f80034574fcf60ffafe17f644ec709491fc6bdd6fde73c500648b7db11d4a12 win-x86/node_pdb.7z +5edeb2b2f748399b008baeefd54e160815f001a1f233176a81e122f5480e60cc win-x86/node_pdb.zip ++++++ SHASUMS256.txt.sig ++++++ Binary files /var/tmp/diff_new_pack.E9DIQQ/_old and /var/tmp/diff_new_pack.E9DIQQ/_new differ ++++++ fix_ci_tests.patch ++++++ --- /var/tmp/diff_new_pack.E9DIQQ/_old 2019-01-15 09:13:59.714368143 +0100 +++ /var/tmp/diff_new_pack.E9DIQQ/_new 2019-01-15 09:13:59.718368139 +0100 @@ -2,10 +2,10 @@ Date: Dec 20 09:18:49 UTC 2017 Summary: Fix CI unit tests framework for OBS building -Index: node-v8.12.0/test/parallel/test-module-loading-globalpaths.js +Index: node-v8.15.0/test/parallel/test-module-loading-globalpaths.js =================================================================== ---- node-v8.12.0.orig/test/parallel/test-module-loading-globalpaths.js -+++ node-v8.12.0/test/parallel/test-module-loading-globalpaths.js +--- node-v8.15.0.orig/test/parallel/test-module-loading-globalpaths.js ++++ node-v8.15.0/test/parallel/test-module-loading-globalpaths.js @@ -10,6 +10,9 @@ const { addLibraryPath } = require('../c addLibraryPath(process.env); @@ -16,10 +16,10 @@ if (process.argv[2] === 'child') { console.log(require(pkgName).string); } else { -Index: node-v8.12.0/Makefile +Index: node-v8.15.0/Makefile =================================================================== ---- node-v8.12.0.orig/Makefile -+++ node-v8.12.0/Makefile +--- node-v8.15.0.orig/Makefile ++++ node-v8.15.0/Makefile @@ -420,7 +420,7 @@ test-ci-js: | clear-stalled fi @@ -29,10 +29,10 @@ out/Release/cctest --gtest_output=tap:cctest.tap $(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \ --mode=release --flaky-tests=$(FLAKY_TESTS) \ -Index: node-v8.12.0/test/doctool/test-make-doc.js +Index: node-v8.15.0/test/doctool/test-make-doc.js =================================================================== ---- node-v8.12.0.orig/test/doctool/test-make-doc.js -+++ node-v8.12.0/test/doctool/test-make-doc.js +--- node-v8.15.0.orig/test/doctool/test-make-doc.js ++++ node-v8.15.0/test/doctool/test-make-doc.js @@ -11,7 +11,7 @@ const assert = require('assert'); const fs = require('fs'); const path = require('path'); @@ -42,10 +42,10 @@ const docs = fs.readdirSync(apiPath); assert.ok(docs.includes('_toc.html')); -Index: node-v8.12.0/test/parallel/test-tls-passphrase.js +Index: node-v8.15.0/test/parallel/test-tls-passphrase.js =================================================================== ---- node-v8.12.0.orig/test/parallel/test-tls-passphrase.js -+++ node-v8.12.0/test/parallel/test-tls-passphrase.js +--- node-v8.15.0.orig/test/parallel/test-tls-passphrase.js ++++ node-v8.15.0/test/parallel/test-tls-passphrase.js @@ -221,7 +221,7 @@ server.listen(0, common.mustCall(functio }, common.mustCall()); })).unref(); @@ -55,10 +55,10 @@ // Missing passphrase assert.throws(function() { -Index: node-v8.12.0/test/parallel/test-tls-env-bad-extra-ca.js +Index: node-v8.15.0/test/parallel/test-tls-env-bad-extra-ca.js =================================================================== ---- node-v8.12.0.orig/test/parallel/test-tls-env-bad-extra-ca.js -+++ node-v8.12.0/test/parallel/test-tls-env-bad-extra-ca.js +--- node-v8.15.0.orig/test/parallel/test-tls-env-bad-extra-ca.js ++++ node-v8.15.0/test/parallel/test-tls-env-bad-extra-ca.js @@ -32,7 +32,7 @@ fork(__filename, opts) assert.strictEqual(status, 0, 'client did not succeed in connecting'); })) @@ -68,10 +68,10 @@ assert(re.test(stderr), stderr); })) .stderr.setEncoding('utf8').on('data', function(str) { -Index: node-v8.12.0/test/sequential/test-inspector-async-call-stack.js +Index: node-v8.15.0/test/sequential/test-inspector-async-call-stack.js =================================================================== ---- node-v8.12.0.orig/test/sequential/test-inspector-async-call-stack.js -+++ node-v8.12.0/test/sequential/test-inspector-async-call-stack.js +--- node-v8.15.0.orig/test/sequential/test-inspector-async-call-stack.js ++++ node-v8.15.0/test/sequential/test-inspector-async-call-stack.js @@ -69,9 +69,10 @@ function runTestSet2(session) { session.post(setDepth, { maxDepth: 64 }, () => { verifyAsyncHookEnabled('valid message should enable async hooks'); @@ -86,10 +86,10 @@ }); }); }); -Index: node-v8.12.0/test/parallel/test-repl-envvars.js +Index: node-v8.15.0/test/parallel/test-repl-envvars.js =================================================================== ---- node-v8.12.0.orig/test/parallel/test-repl-envvars.js -+++ node-v8.12.0/test/parallel/test-repl-envvars.js +--- node-v8.15.0.orig/test/parallel/test-repl-envvars.js ++++ node-v8.15.0/test/parallel/test-repl-envvars.js @@ -8,6 +8,9 @@ const REPL = require('internal/repl'); const assert = require('assert'); const inspect = require('util').inspect; @@ -100,10 +100,10 @@ const tests = [ { env: {}, -Index: node-v8.12.0/test/parallel/test-tls-ecdh-disable.js +Index: node-v8.15.0/test/parallel/test-tls-ecdh-disable.js =================================================================== ---- node-v8.12.0.orig/test/parallel/test-tls-ecdh-disable.js -+++ node-v8.12.0/test/parallel/test-tls-ecdh-disable.js +--- node-v8.15.0.orig/test/parallel/test-tls-ecdh-disable.js ++++ node-v8.15.0/test/parallel/test-tls-ecdh-disable.js @@ -31,10 +31,14 @@ if (!common.hasCrypto) if (!common.opensslCli) common.skip('missing openssl-cli'); @@ -119,10 +119,10 @@ const options = { key: readKey('agent2-key.pem'), cert: readKey('agent2-cert.pem'), -Index: node-v8.12.0/test/parallel/test-fs-utimes.js +Index: node-v8.15.0/test/parallel/test-fs-utimes.js =================================================================== ---- node-v8.12.0.orig/test/parallel/test-fs-utimes.js -+++ node-v8.12.0/test/parallel/test-fs-utimes.js +--- node-v8.15.0.orig/test/parallel/test-fs-utimes.js ++++ node-v8.15.0/test/parallel/test-fs-utimes.js @@ -172,8 +172,8 @@ process.on('exit', function() { const path = `${tmpdir.path}/test-utimes-precision`; fs.writeFileSync(path, ''); @@ -134,11 +134,11 @@ // because 2 ** 31 doesn't look right // eslint-disable-next-line space-infix-ops const Y2K38_mtime = 2**31; -Index: node-v8.12.0/test/common/index.js +Index: node-v8.15.0/test/common/index.js =================================================================== ---- node-v8.12.0.orig/test/common/index.js -+++ node-v8.12.0/test/common/index.js -@@ -277,6 +277,8 @@ exports.spawnSyncPwd = function(options) +--- node-v8.15.0.orig/test/common/index.js ++++ node-v8.15.0/test/common/index.js +@@ -278,6 +278,8 @@ exports.spawnSyncPwd = function(options) }; exports.platformTimeout = function(ms) { @@ -147,3 +147,16 @@ if (process.features.debug) ms = 2 * ms; +Index: node-v8.15.0/test/sequential/test-http2-session-timeout.js +=================================================================== +--- node-v8.15.0.orig/test/sequential/test-http2-session-timeout.js ++++ node-v8.15.0/test/sequential/test-http2-session-timeout.js +@@ -6,7 +6,7 @@ if (!common.hasCrypto) + const assert = require('assert'); + const http2 = require('http2'); + +-const serverTimeout = common.platformTimeout(200); ++const serverTimeout = common.platformTimeout(50); + + let requests = 0; + const mustNotCall = () => { ++++++ flaky_test_rerun.patch ++++++ Index: node-v8.12.0/tools/test.py =================================================================== --- node-v8.12.0.orig/tools/test.py +++ node-v8.12.0/tools/test.py @@ -512,11 +512,17 @@ class TestCase(object): def RunCommand(self, command, env): full_command = self.context.processor(command) - output = Execute(full_command, + reruns = 0 + while(reruns < 5): + reruns += 1 + output = Execute(full_command, self.context, self.context.GetTimeout(self.mode), env, disable_core_files = self.disable_core_files) + if output.exit_code == 0: + break; + print("FLAKY rerun: ", command) self.Cleanup() return TestOutput(self, full_command, ++++++ node-v8.12.0.tar.xz -> node-v8.15.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs8/node-v8.12.0.tar.xz /work/SRC/openSUSE:Factory/.nodejs8.new.28833/node-v8.15.0.tar.xz differ: char 26, line 1 ++++++ skip_test_on_lowmem.patch ++++++ Index: node-git.96a986d675/test/sequential/test-buffer-creation-regression.js =================================================================== --- node-git.96a986d675.orig/test/sequential/test-buffer-creation-regression.js +++ node-git.96a986d675/test/sequential/test-buffer-creation-regression.js @@ -2,6 +2,7 @@ const common = require('../common'); const assert = require('assert'); +const os = require('os'); function test(arrayBuffer, offset, length) { const uint8Array = new Uint8Array(arrayBuffer, offset, length); @@ -25,6 +26,10 @@ const offset = 4294967296; /* 1 << 32 */ const size = offset + length; let arrayBuffer; +if (os.totalmem()/(1<<30) < 7) { + common.skip('Skipping test on low-memory build machine'); +} + try { arrayBuffer = new ArrayBuffer(size); } catch (e) {
