Skip to content

Commit b4bc846

Browse files
bkmgitdomoritz
authored andcommitted
ARROW-14452: [Release][JS] Update JavaScript testing
Error message: + yarn run-s clean:all lint build yarn run v1.22.17 $ /tmp/arrow-6.0.0.BDnN3/apache-arrow-6.0.0/js/node_modules/.bin/run-s clean:all lint build events.js:377 throw er; // Unhandled 'error' event ^ Error: EBADF: bad file descriptor, read Emitted 'error' event on ReadStream instance at: at internal/fs/streams.js:173:14 at FSReqCallback.wrapper [as oncomplete] (fs.js:562:5) { errno: -9, code: 'EBADF', syscall: 'read' } error Command failed with exit code 1. Closes apache#11529 from bkmgit/ARROW-14452 Lead-authored-by: Benson Muite <benson_muite@emailplus.org> Co-authored-by: Benson Muite <bkmgit@users.noreply.github.com> Signed-off-by: Dominik Moritz <domoritz@gmail.com>
1 parent be665ef commit b4bc846

4 files changed

Lines changed: 8 additions & 87 deletions

File tree

dev/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,6 @@ Studio 2015):
135135
dev/release/verify-release-candidate.bat apache-arrow-0.7.0.tar.gz
136136
```
137137

138-
### Verifying the JavaScript release
139-
140-
For JavaScript-specific releases, use a different verification script:
141-
142-
```shell
143-
bash dev/release/js-verify-release-candidate.sh 0.7.0 0
144-
```
145-
146138
# Integration testing
147139

148140
Build the following base image used by multiple tests:

dev/release/verify-release-candidate.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ test_js() {
414414
if [ "${INSTALL_NODE}" -gt 0 ]; then
415415
export NVM_DIR="`pwd`/.nvm"
416416
mkdir -p $NVM_DIR
417-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | \
417+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | \
418418
PROFILE=/dev/null bash
419419
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
420420

@@ -423,7 +423,9 @@ test_js() {
423423
fi
424424

425425
yarn --frozen-lockfile
426-
yarn run-s clean:all lint build
426+
yarn clean:all
427+
yarn lint
428+
yarn build
427429
yarn test
428430
popd
429431
}

js/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"perf": "ts-node-transpile-only ./perf/index.ts",
1414
"test:integration": "node ./bin/integration.js --mode validate",
1515
"release": "./npm-release.sh",
16-
"clean:all": "run-p clean clean:testdata",
16+
"clean:all": "yarn clean && yarn clean:testdata",
1717
"clean:testdata": "gulp clean:testdata",
1818
"create:testdata": "gulp create:testdata",
1919
"test:coverage": "gulp test -t src --coverage",
@@ -88,7 +88,6 @@
8888
"memfs": "3.2.2",
8989
"mkdirp": "1.0.4",
9090
"multistream": "4.1.0",
91-
"npm-run-all": "4.1.5",
9291
"randomatic": "3.1.1",
9392
"rxjs": "7.2.0",
9493
"ts-jest": "27.0.3",

js/yarn.lock

Lines changed: 3 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -2476,7 +2476,7 @@ caseless@~0.12.0:
24762476
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
24772477
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
24782478

2479-
chalk@2.x, chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2:
2479+
chalk@2.x, chalk@^2.0.0, chalk@^2.4.2:
24802480
version "2.4.2"
24812481
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
24822482
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
@@ -2950,17 +2950,6 @@ cross-env@7.0.3:
29502950
dependencies:
29512951
cross-spawn "^7.0.1"
29522952

2953-
cross-spawn@^6.0.5:
2954-
version "6.0.5"
2955-
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
2956-
integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==
2957-
dependencies:
2958-
nice-try "^1.0.4"
2959-
path-key "^2.0.1"
2960-
semver "^5.5.0"
2961-
shebang-command "^1.2.0"
2962-
which "^1.2.9"
2963-
29642953
cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
29652954
version "7.0.3"
29662955
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
@@ -6159,11 +6148,6 @@ memoizee@0.4.X:
61596148
next-tick "^1.1.0"
61606149
timers-ext "^0.1.7"
61616150

6162-
memorystream@^0.3.1:
6163-
version "0.3.1"
6164-
resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2"
6165-
integrity sha1-htcJCzDORV1j+64S3aUaR93K+bI=
6166-
61676151
meow@^10.1.0:
61686152
version "10.1.0"
61696153
resolved "https://registry.yarnpkg.com/meow/-/meow-10.1.0.tgz#43edce35b3c5b7056d74bd9d63897220d3c190a6"
@@ -6503,11 +6487,6 @@ next-tick@~1.0.0:
65036487
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
65046488
integrity sha1-yobR/ogoFpsBICCOPchCS524NCw=
65056489

6506-
nice-try@^1.0.4:
6507-
version "1.0.5"
6508-
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
6509-
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
6510-
65116490
node-fetch@^2.6.1:
65126491
version "2.6.1"
65136492
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
@@ -6708,21 +6687,6 @@ npm-registry-fetch@^9.0.0:
67086687
minizlib "^2.0.0"
67096688
npm-package-arg "^8.0.0"
67106689

6711-
npm-run-all@4.1.5:
6712-
version "4.1.5"
6713-
resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba"
6714-
integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==
6715-
dependencies:
6716-
ansi-styles "^3.2.1"
6717-
chalk "^2.4.1"
6718-
cross-spawn "^6.0.5"
6719-
memorystream "^0.3.1"
6720-
minimatch "^3.0.4"
6721-
pidtree "^0.3.0"
6722-
read-pkg "^3.0.0"
6723-
shell-quote "^1.6.1"
6724-
string.prototype.padend "^3.0.0"
6725-
67266690
npm-run-path@^4.0.1:
67276691
version "4.0.1"
67286692
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"
@@ -7194,11 +7158,6 @@ path-is-absolute@^1.0.0:
71947158
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
71957159
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
71967160

7197-
path-key@^2.0.1:
7198-
version "2.0.1"
7199-
resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
7200-
integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=
7201-
72027161
path-key@^3.0.0, path-key@^3.1.0:
72037162
version "3.1.1"
72047163
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
@@ -7252,11 +7211,6 @@ picomatch@^2.0.4, picomatch@^2.2.3:
72527211
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
72537212
integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==
72547213

7255-
pidtree@^0.3.0:
7256-
version "0.3.1"
7257-
resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a"
7258-
integrity sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==
7259-
72607214
pify@^2.0.0, pify@^2.3.0:
72617215
version "2.3.0"
72627216
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
@@ -7949,7 +7903,7 @@ semver-greatest-satisfied-range@^1.1.0:
79497903
dependencies:
79507904
sver-compat "^1.5.0"
79517905

7952-
"semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0, semver@^5.7.1:
7906+
"semver@2 || 3 || 4 || 5", semver@^5.6.0, semver@^5.7.1:
79537907
version "5.7.1"
79547908
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
79557909
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
@@ -7988,35 +7942,18 @@ shallow-clone@^3.0.0:
79887942
dependencies:
79897943
kind-of "^6.0.2"
79907944

7991-
shebang-command@^1.2.0:
7992-
version "1.2.0"
7993-
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
7994-
integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=
7995-
dependencies:
7996-
shebang-regex "^1.0.0"
7997-
79987945
shebang-command@^2.0.0:
79997946
version "2.0.0"
80007947
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
80017948
integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==
80027949
dependencies:
80037950
shebang-regex "^3.0.0"
80047951

8005-
shebang-regex@^1.0.0:
8006-
version "1.0.0"
8007-
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
8008-
integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=
8009-
80107952
shebang-regex@^3.0.0:
80117953
version "3.0.0"
80127954
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
80137955
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
80147956

8015-
shell-quote@^1.6.1:
8016-
version "1.7.2"
8017-
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
8018-
integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
8019-
80207957
shiki@^0.9.3:
80217958
version "0.9.5"
80227959
resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.5.tgz#c8da81a05fbfd1810729c6873901a729a72ec541"
@@ -8340,15 +8277,6 @@ string-width@^4.1.0, string-width@^4.2.0:
83408277
is-fullwidth-code-point "^3.0.0"
83418278
strip-ansi "^6.0.0"
83428279

8343-
string.prototype.padend@^3.0.0:
8344-
version "3.1.2"
8345-
resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.2.tgz#6858ca4f35c5268ebd5e8615e1327d55f59ee311"
8346-
integrity sha512-/AQFLdYvePENU3W5rgurfWSMU6n+Ww8n/3cUt7E+vPBB/D7YDG8x+qjoFs4M/alR2bW7Qg6xMjVwWUOvuQ0XpQ==
8347-
dependencies:
8348-
call-bind "^1.0.2"
8349-
define-properties "^1.1.3"
8350-
es-abstract "^1.18.0-next.2"
8351-
83528280
string.prototype.trimend@^1.0.4:
83538281
version "1.0.4"
83548282
resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz#e75ae90c2942c63504686c18b287b4a0b1a45f80"
@@ -9272,7 +9200,7 @@ which-module@^1.0.0:
92729200
resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f"
92739201
integrity sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=
92749202

9275-
which@^1.2.14, which@^1.2.9, which@^1.3.1:
9203+
which@^1.2.14, which@^1.3.1:
92769204
version "1.3.1"
92779205
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
92789206
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==

0 commit comments

Comments
 (0)