Page MenuHomePhabricator

`npm run selenium` fails on MW Vagrant (SyntaxError: Unexpected identifier; due to Node 6)
Closed, DuplicatePublic

Description

1~/Documents/gerrit/mediawiki/vagrant$ vagrant ssh
2...
3
4vagrant@vagrant:/vagrant/mediawiki$ node -v
5v6.17.1
6
7vagrant@vagrant:/vagrant/mediawiki$ npm -v
82.15.12
9
10vagrant@vagrant:~$ cd /vagrant/mediawiki/
11
12vagrant@vagrant:/vagrant/mediawiki$ rm -rf node_modules/
13
14vagrant@vagrant:/vagrant/mediawiki$ npm install
15...
16
17vagrant@vagrant:/vagrant/mediawiki$ npm run selenium
18
19> @ selenium /vagrant/mediawiki
20> wdio ./tests/selenium/wdio.conf.js
21
22/vagrant/mediawiki/node_modules/@wdio/cli/build/launcher.js:62
23 async run() {
24 ^^^
25
26SyntaxError: Unexpected identifier
27 at createScript (vm.js:56:10)
28 at Object.runInThisContext (vm.js:97:10)
29 at Module._compile (module.js:549:28)
30 at Object.Module._extensions..js (module.js:586:10)
31 at Module.load (module.js:494:32)
32 at tryModuleLoad (module.js:453:12)
33 at Function.Module._load (module.js:445:3)
34 at Module.require (module.js:504:17)
35 at require (internal/module.js:20:19)
36 at Object.<anonymous> (/vagrant/mediawiki/node_modules/@wdio/cli/build/index.js:14:40)
37
38npm ERR! Linux 4.9.0-9-amd64
39npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "selenium"
40npm ERR! node v6.17.1
41npm ERR! npm v2.15.12
42npm ERR! code ELIFECYCLE
43npm ERR! @ selenium: `wdio ./tests/selenium/wdio.conf.js`
44npm ERR! Exit status 1
45npm ERR!
46npm ERR! Failed at the @ selenium script 'wdio ./tests/selenium/wdio.conf.js'.
47npm ERR! This is most likely a problem with the package,
48npm ERR! not with npm itself.
49npm ERR! Tell the author that this fails on your system:
50npm ERR! wdio ./tests/selenium/wdio.conf.js
51npm ERR! You can get information on how to open an issue for this project with:
52npm ERR! npm bugs
53npm ERR! Or if that isn't available, you can get their info via:
54npm ERR!
55npm ERR! npm owner ls
56npm ERR! There is likely additional logging output above.
57
58npm ERR! Please include the following file with any support request:
59npm ERR! /vagrant/mediawiki/npm-debug.log

TODO

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptOct 23 2019, 2:45 PM

@Krinkle I guess that's caused by node v6 in mediawiki-vagrant?

zeljkofilipin triaged this task as Medium priority.Oct 23 2019, 2:49 PM
Krinkle added a comment.EditedOct 23 2019, 2:50 PM

Yes, all our CI requires Node 10 and npm 6.5+ as of a few months ago.

If you're personally blocked, perhaps use Fresh-node to run these tests. That should work even against MediaWiki-Vagrant.

zeljkofilipin updated the task description. (Show Details)
zeljkofilipin updated the task description. (Show Details)

@Krinkle thank for the quick reply. I'm not blocked. There are other ways of running tests, as you have said.

Jdforrester-WMF renamed this task from `npm run selenium` fails with `SyntaxError: Unexpected identifier` to `npm run selenium` fails with `SyntaxError: Unexpected identifier` when trying to run on node 6.Oct 23 2019, 5:34 PM
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

If you add npm::node_version: 10 to hieradata/common.yaml it should work.

Krinkle renamed this task from `npm run selenium` fails with `SyntaxError: Unexpected identifier` when trying to run on node 6 to `npm run selenium` fails on MW Vagrant (SyntaxError: Unexpected identifier; due to Node 6).Oct 23 2019, 5:38 PM

Change 545832 had a related patch set uploaded (by Zfilipin; owner: Zfilipin):
[mediawiki/vagrant@master] WIP Update Node.js to v10

https://gerrit.wikimedia.org/r/545832

Something is still wrong. :/

1vagrant@vagrant:/vagrant/mediawiki$ node -v
2v10.17.0
3
4vagrant@vagrant:/vagrant/mediawiki$ npm -v
52.15.12
6
7vagrant@vagrant:/vagrant/mediawiki$ rm -rf node_modules/
8
9vagrant@vagrant:/vagrant/mediawiki$ time npm i
10npm WARN peerDependencies The peer dependency eslint@>=2.3.0 included from eslint-plugin-mediawiki will no
11npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
12npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
13npm WARN peerDependencies The peer dependency stylelint@^11.0.0 included from grunt-stylelint will no
14npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
15npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
16npm WARN engine fibers_node_v8@3.1.5: wanted: {"node":">=8.0.0 <10.0.0"} (current: {"node":"10.17.0","npm":"2.15.12"})
17npm WARN optional dep failed, continuing fsevents@2.1.1
18
19> fibers_node_v8@3.1.5 preinstall /vagrant/mediawiki/node_modules/@wdio/sync/node_modules/fibers_node_v8
20> node preinstall.js
21
22
23> fibers_node_v8@3.1.5 install /vagrant/mediawiki/node_modules/@wdio/sync/node_modules/fibers_node_v8
24> node build.js
25
26ignore install
27npm WARN optional dep failed, continuing fsevents@1.2.9
28
29> fibers@4.0.2 install /vagrant/mediawiki/node_modules/@wdio/sync/node_modules/fibers
30> node build.js || nodejs build.js
31
32`linux-x64-64-glibc` exists; testing
33Binary is fine; exiting
34npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
35
36> puppeteer-core@1.20.0 install /vagrant/mediawiki/node_modules/@wdio/devtools-service/node_modules/puppeteer-core
37> node install.js
38
39|
40> chromedriver@73.0.0 install /vagrant/mediawiki/node_modules/chromedriver
41> node install.js
42
43ChromeDriver binary exists. Validating...
44Current existing ChromeDriver binary is unavailable, proceding with download and extraction.
45Downloading from file: https://chromedriver.storage.googleapis.com/73.0.3683.20/chromedriver_linux64.zip
46Saving to file: /tmp/73.0.3683.20/chromedriver/chromedriver_linux64.zip
47Received 781K...
48Received 1568K...
49Received 2352K...
50Received 3136K...
51Received 3920K...
52Received 4704K...
53Received 4892K total.
54Extracting zip contents
55Copying to target path /vagrant/mediawiki/node_modules/chromedriver/lib/chromedriver
56Fixing file permissions
57Done. ChromeDriver binary available at /vagrant/mediawiki/node_modules/chromedriver/lib/chromedriver/chromedriver
58\
59> sauce-connect-launcher@1.3.1 postinstall /vagrant/mediawiki/node_modules/@wdio/sauce-service/node_modules/sauce-connect-launcher
60> node scripts/install.js || nodejs scripts/install.js
61
62
63> core-js@2.6.10 postinstall /vagrant/mediawiki/node_modules/karma/node_modules/core-js
64> node postinstall || echo "ignore"
65
66
67> core-js@3.2.1 postinstall /vagrant/mediawiki/node_modules/@wdio/devtools-service/node_modules/core-js
68> node scripts/postinstall || echo "ignore"
69
70karma-qunit@2.1.0 node_modules/karma-qunit
71
72jpeg-js@0.3.5 node_modules/jpeg-js
73
74karma-firefox-launcher@1.1.0 node_modules/karma-firefox-launcher
75
76grunt-banana-checker@0.8.1 node_modules/grunt-banana-checker
77
78karma-chrome-launcher@2.2.0 node_modules/karma-chrome-launcher
79โ”œโ”€โ”€ fs-access@1.0.1 (null-check@1.0.0)
80โ””โ”€โ”€ which@1.3.1 (isexe@2.0.0)
81
82grunt-contrib-copy@1.0.0 node_modules/grunt-contrib-copy
83โ”œโ”€โ”€ file-sync-cmp@0.1.1
84โ””โ”€โ”€ chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, strip-ansi@3.0.1, has-ansi@2.0.0)
85
86karma-mocha-reporter@2.2.5 node_modules/karma-mocha-reporter
87โ”œโ”€โ”€ log-symbols@2.2.0
88โ”œโ”€โ”€ strip-ansi@4.0.0 (ansi-regex@3.0.0)
89โ””โ”€โ”€ chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
90
91@wdio/dot-reporter@5.13.2 node_modules/@wdio/dot-reporter
92โ”œโ”€โ”€ chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
93โ””โ”€โ”€ @wdio/reporter@5.13.2 (fs-extra@8.1.0)
94
95qunit@2.9.1 node_modules/qunit
96โ”œโ”€โ”€ commander@2.12.2
97โ”œโ”€โ”€ node-watch@0.6.0
98โ”œโ”€โ”€ minimatch@3.0.4 (brace-expansion@1.1.11)
99โ”œโ”€โ”€ js-reporters@1.2.1
100โ””โ”€โ”€ resolve@1.5.0 (path-parse@1.0.6)
101
102@wdio/sync@5.13.2 node_modules/@wdio/sync
103โ”œโ”€โ”€ @wdio/utils@5.13.2 (deepmerge@4.2.1)
104โ”œโ”€โ”€ fibers_node_v8@3.1.5 (detect-libc@1.0.3)
105โ”œโ”€โ”€ @wdio/logger@5.13.2 (loglevel-plugin-prefix@0.8.4, strip-ansi@5.2.0, loglevel@1.6.4, chalk@2.4.2)
106โ”œโ”€โ”€ @wdio/config@5.13.2 (deepmerge@4.2.1, glob@7.1.5)
107โ””โ”€โ”€ fibers@4.0.2 (detect-libc@1.0.3)
108
109wdio-chromedriver-service@5.0.2 node_modules/wdio-chromedriver-service
110โ””โ”€โ”€ fs-extra@0.30.0 (path-is-absolute@1.0.1, klaw@1.3.1, jsonfile@2.4.0, graceful-fs@4.2.3, rimraf@2.7.1)
111
112postcss-less@2.0.0 node_modules/postcss-less
113โ””โ”€โ”€ postcss@5.2.18 (supports-color@3.2.3, js-base64@2.5.1, source-map@0.5.7, chalk@1.1.3)
114
115chromedriver@73.0.0 node_modules/chromedriver
116โ”œโ”€โ”€ tcp-port-used@1.0.1 (debug@4.1.0, is2@2.0.1)
117โ”œโ”€โ”€ mkdirp@0.5.1 (minimist@0.0.8)
118โ”œโ”€โ”€ extract-zip@1.6.7 (debug@2.6.9, yauzl@2.4.1, concat-stream@1.6.2)
119โ”œโ”€โ”€ del@3.0.0 (is-path-cwd@1.0.0, pify@3.0.0, p-map@1.2.0, is-path-in-cwd@1.0.1, globby@6.1.0, rimraf@2.7.1)
120โ””โ”€โ”€ request@2.88.0 (aws-sign2@0.7.0, forever-agent@0.6.1, tunnel-agent@0.6.0, oauth-sign@0.9.0, caseless@0.12.0, is-typedarray@1.0.0, safe-buffer@5.2.0, aws4@1.8.0, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.2, performance-now@2.1.0, qs@6.5.2, uuid@3.3.3, combined-stream@1.0.8, mime-types@2.1.24, tough-cookie@2.4.3, form-data@2.3.3, http-signature@1.2.0, har-validator@5.1.3)
121
122grunt-svgmin@5.0.0 node_modules/grunt-svgmin
123โ”œโ”€โ”€ pretty-bytes@4.0.2
124โ”œโ”€โ”€ log-symbols@2.2.0
125โ”œโ”€โ”€ each-async@1.1.1 (set-immediate-shim@1.0.1, onetime@1.1.0)
126โ”œโ”€โ”€ chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
127โ””โ”€โ”€ svgo@1.3.0 (sax@1.2.4, unquote@1.1.1, stable@0.1.8, css-select-base-adapter@0.1.1, coa@2.0.2, mkdirp@0.5.1, css-select@2.0.2, js-yaml@3.13.1, object.values@1.1.0, util.promisify@1.0.0, css-tree@1.0.0-alpha.33, csso@3.5.1)
128
129wdio-mediawiki@0.5.0 node_modules/wdio-mediawiki
130โ””โ”€โ”€ mwbot@1.0.10 (bluebird@3.7.1, semlog@0.6.10, request@2.88.0)
131
132grunt-contrib-watch@1.1.0 node_modules/grunt-contrib-watch
133โ”œโ”€โ”€ gaze@1.1.3 (globule@1.2.1)
134โ”œโ”€โ”€ tiny-lr@1.1.1 (object-assign@4.1.1, livereload-js@2.4.0, qs@6.9.0, debug@3.2.6, body@5.1.0, faye-websocket@0.10.0)
135โ”œโ”€โ”€ async@2.6.3
136โ””โ”€โ”€ lodash@4.17.15
137
138grunt-karma@3.0.2 node_modules/grunt-karma
139โ””โ”€โ”€ lodash@4.17.15
140
141@wdio/junit-reporter@5.13.2 node_modules/@wdio/junit-reporter
142โ”œโ”€โ”€ json-stringify-safe@5.0.1
143โ”œโ”€โ”€ @wdio/reporter@5.13.2 (fs-extra@8.1.0)
144โ”œโ”€โ”€ validator@11.1.0
145โ””โ”€โ”€ junit-report-builder@1.3.3 (date-format@0.0.2, xmlbuilder@10.1.1, mkdirp@0.5.1, lodash@4.17.15)
146
147grunt@1.0.4 node_modules/grunt
148โ”œโ”€โ”€ grunt-known-options@1.1.1
149โ”œโ”€โ”€ path-is-absolute@1.0.1
150โ”œโ”€โ”€ eventemitter2@0.4.14
151โ”œโ”€โ”€ exit@0.1.2
152โ”œโ”€โ”€ nopt@3.0.6 (abbrev@1.1.1)
153โ”œโ”€โ”€ coffeescript@1.10.0
154โ”œโ”€โ”€ glob@7.0.6 (inherits@2.0.4, fs.realpath@1.0.0, once@1.4.0, inflight@1.0.6)
155โ”œโ”€โ”€ minimatch@3.0.4 (brace-expansion@1.1.11)
156โ”œโ”€โ”€ iconv-lite@0.4.24 (safer-buffer@2.1.2)
157โ”œโ”€โ”€ mkdirp@0.5.1 (minimist@0.0.8)
158โ”œโ”€โ”€ findup-sync@0.3.0 (glob@5.0.15)
159โ”œโ”€โ”€ rimraf@2.6.3 (glob@7.1.5)
160โ”œโ”€โ”€ grunt-cli@1.2.0 (resolve@1.1.7)
161โ”œโ”€โ”€ js-yaml@3.13.1 (esprima@4.0.1, argparse@1.0.10)
162โ”œโ”€โ”€ dateformat@1.0.12 (get-stdin@4.0.1, meow@3.7.0)
163โ”œโ”€โ”€ grunt-legacy-log@2.0.0 (hooker@0.2.3, colors@1.1.2, grunt-legacy-log-utils@2.0.1, lodash@4.17.15)
164โ””โ”€โ”€ grunt-legacy-util@1.1.1 (getobject@0.1.0, async@1.5.2, hooker@0.2.3, which@1.3.1, underscore.string@3.3.5, lodash@4.17.15)
165
166@wdio/sauce-service@5.13.2 node_modules/@wdio/sauce-service
167โ”œโ”€โ”€ @wdio/logger@5.13.2 (loglevel-plugin-prefix@0.8.4, strip-ansi@5.2.0, loglevel@1.6.4, chalk@2.4.2)
168โ”œโ”€โ”€ saucelabs@2.3.0 (change-case@3.1.0, hash.js@1.1.7, yargs@13.3.0, request@2.88.0)
169โ””โ”€โ”€ sauce-connect-launcher@1.3.1 (adm-zip@0.4.13, rimraf@2.7.1, https-proxy-agent@3.0.1, async@2.6.3, lodash@4.17.15)
170
171@wdio/local-runner@5.13.2 node_modules/@wdio/local-runner
172โ”œโ”€โ”€ async-exit-hook@2.0.1
173โ”œโ”€โ”€ stream-buffers@3.0.2
174โ”œโ”€โ”€ @wdio/logger@5.13.2 (loglevel-plugin-prefix@0.8.4, strip-ansi@5.2.0, loglevel@1.6.4, chalk@2.4.2)
175โ”œโ”€โ”€ @wdio/repl@5.13.2 (@wdio/config@5.13.2)
176โ””โ”€โ”€ @wdio/runner@5.13.2 (@wdio/utils@5.13.2, deepmerge@4.2.1, @wdio/config@5.13.2, gaze@1.1.3)
177
178@wdio/mocha-framework@5.13.2 node_modules/@wdio/mocha-framework
179โ”œโ”€โ”€ @wdio/config@5.13.2 (deepmerge@4.2.1, glob@7.1.5)
180โ”œโ”€โ”€ @wdio/logger@5.13.2 (loglevel-plugin-prefix@0.8.4, strip-ansi@5.2.0, loglevel@1.6.4, chalk@2.4.2)
181โ””โ”€โ”€ mocha@6.2.2 (browser-stdout@1.3.1, escape-string-regexp@1.0.5, strip-json-comments@2.0.1, ms@2.1.1, ansi-colors@3.2.3, he@1.2.0, growl@1.10.5, debug@3.2.6, supports-color@6.0.0, yargs-parser@13.1.1, which@1.3.1, diff@3.5.0, glob@7.1.3, minimatch@3.0.4, object.assign@4.1.0, wide-align@1.1.3, mkdirp@0.5.1, find-up@3.0.0, log-symbols@2.2.0, js-yaml@3.13.1, yargs@13.3.0, node-environment-flags@1.0.5, yargs-unparser@1.6.0)
182
183webdriverio@5.13.2 node_modules/webdriverio
184โ”œโ”€โ”€ lodash.isplainobject@4.0.6
185โ”œโ”€โ”€ lodash.zip@4.2.0
186โ”œโ”€โ”€ lodash.isobject@3.0.2
187โ”œโ”€โ”€ @wdio/repl@5.13.2
188โ”œโ”€โ”€ lodash.clonedeep@4.5.0
189โ”œโ”€โ”€ css-value@0.0.1
190โ”œโ”€โ”€ rgb2hex@0.1.9
191โ”œโ”€โ”€ grapheme-splitter@1.0.4
192โ”œโ”€โ”€ resq@1.6.1 (fast-deep-equal@2.0.1)
193โ”œโ”€โ”€ @wdio/utils@5.13.2 (deepmerge@4.2.1)
194โ”œโ”€โ”€ serialize-error@5.0.0 (type-fest@0.8.1)
195โ”œโ”€โ”€ @wdio/logger@5.13.2 (loglevel-plugin-prefix@0.8.4, strip-ansi@5.2.0, loglevel@1.6.4, chalk@2.4.2)
196โ”œโ”€โ”€ @wdio/config@5.13.2 (deepmerge@4.2.1, glob@7.1.5)
197โ”œโ”€โ”€ webdriver@5.13.2 (lodash.merge@4.6.2, @wdio/protocols@5.13.2, request@2.88.0)
198โ””โ”€โ”€ archiver@3.1.1 (buffer-crc32@0.2.13, tar-stream@2.1.0, glob@7.1.5, readable-stream@3.4.0, archiver-utils@2.1.0, zip-stream@2.1.2, async@2.6.3)
199
200karma@3.1.4 node_modules/karma
201โ”œโ”€โ”€ combine-lists@1.0.1
202โ”œโ”€โ”€ range-parser@1.2.1
203โ”œโ”€โ”€ safe-buffer@5.2.0
204โ”œโ”€โ”€ rimraf@2.7.1
205โ”œโ”€โ”€ graceful-fs@4.2.3
206โ”œโ”€โ”€ di@0.0.1
207โ”œโ”€โ”€ flatted@2.0.1
208โ”œโ”€โ”€ qjobs@1.2.0
209โ”œโ”€โ”€ tmp@0.0.33 (os-tmpdir@1.0.2)
210โ”œโ”€โ”€ mime@2.4.4
211โ”œโ”€โ”€ colors@1.4.0
212โ”œโ”€โ”€ source-map@0.6.1
213โ”œโ”€โ”€ isbinaryfile@3.0.3 (buffer-alloc@1.2.0)
214โ”œโ”€โ”€ dom-serialize@2.2.1 (void-elements@2.0.1, custom-event@1.0.1, extend@3.0.2, ent@2.2.0)
215โ”œโ”€โ”€ glob@7.1.5 (path-is-absolute@1.0.1, inherits@2.0.4, fs.realpath@1.0.0, inflight@1.0.6, once@1.4.0)
216โ”œโ”€โ”€ minimatch@3.0.4 (brace-expansion@1.1.11)
217โ”œโ”€โ”€ useragent@2.3.0 (lru-cache@4.1.5)
218โ”œโ”€โ”€ bluebird@3.7.1
219โ”œโ”€โ”€ optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
220โ”œโ”€โ”€ connect@3.7.0 (utils-merge@1.0.1, parseurl@1.3.3, debug@2.6.9, finalhandler@1.1.2)
221โ”œโ”€โ”€ body-parser@1.19.0 (content-type@1.0.4, bytes@3.1.0, depd@1.1.2, qs@6.7.0, on-finished@2.3.0, raw-body@2.4.0, http-errors@1.7.2, debug@2.6.9, type-is@1.6.18, iconv-lite@0.4.24)
222โ”œโ”€โ”€ http-proxy@1.18.0 (requires-port@1.0.0, eventemitter3@4.0.0, follow-redirects@1.9.0)
223โ”œโ”€โ”€ expand-braces@0.1.2 (array-unique@0.2.1, array-slice@0.2.3, braces@0.1.5)
224โ”œโ”€โ”€ log4js@3.0.6 (rfdc@1.1.4, date-format@1.2.0, circular-json@0.5.9, debug@3.2.6, streamroller@0.7.0)
225โ”œโ”€โ”€ socket.io@2.1.1 (socket.io-adapter@1.1.1, has-binary2@1.0.3, socket.io-parser@3.2.0, debug@3.1.0, engine.io@3.2.1, socket.io-client@2.1.1)
226โ”œโ”€โ”€ chokidar@2.1.8 (async-each@1.0.3, path-is-absolute@1.0.1, normalize-path@3.0.0, inherits@2.0.4, upath@1.2.0, is-glob@4.0.1, is-binary-path@1.0.1, glob-parent@3.1.0, braces@2.3.2, anymatch@2.0.0, readdirp@2.2.1)
227โ”œโ”€โ”€ lodash@4.17.15
228โ””โ”€โ”€ core-js@2.6.10
229
230stylelint-config-wikimedia@0.7.0 node_modules/stylelint-config-wikimedia
231โ””โ”€โ”€ stylelint@11.1.1 (postcss-resolve-nested-selector@0.1.1, imurmurhash@0.1.4, mathml-tag-names@2.1.1, slash@3.0.0, balanced-match@1.0.0, globjoin@0.1.4, leven@3.1.0, get-stdin@7.0.0, resolve-from@5.0.0, v8-compile-cache@2.1.0, svg-tags@1.0.0, import-lazy@4.0.0, log-symbols@3.0.0, signal-exit@3.0.2, postcss-safe-parser@4.0.1, postcss-media-query-parser@0.2.3, ignore@5.1.4, style-search@0.1.0, known-css-properties@0.16.0, normalize-selector@0.2.0, postcss-value-parser@4.0.2, html-tags@3.1.0, postcss-less@3.1.4, specificity@0.4.1, postcss-scss@2.0.0, sugarss@2.0.0, postcss-syntax@0.36.2, strip-ansi@5.2.0, postcss-reporter@6.0.1, string-width@4.1.0, debug@4.1.1, execall@2.0.0, global-modules@2.0.0, chalk@2.4.2, postcss-selector-parser@3.1.1, postcss-sass@0.4.1, micromatch@4.0.2, postcss@7.0.19, file-entry-cache@5.0.1, postcss-html@0.36.0, cosmiconfig@5.2.1, postcss-markdown@0.36.0, meow@5.0.0, postcss-jsx@0.36.3, globby@9.2.0, table@5.4.6, autoprefixer@9.7.0, lodash@4.17.15)
232
233stylelint@11.1.1 node_modules/stylelint
234โ”œโ”€โ”€ postcss-resolve-nested-selector@0.1.1
235โ”œโ”€โ”€ mathml-tag-names@2.1.1
236โ”œโ”€โ”€ imurmurhash@0.1.4
237โ”œโ”€โ”€ globjoin@0.1.4
238โ”œโ”€โ”€ balanced-match@1.0.0
239โ”œโ”€โ”€ leven@3.1.0
240โ”œโ”€โ”€ slash@3.0.0
241โ”œโ”€โ”€ resolve-from@5.0.0
242โ”œโ”€โ”€ get-stdin@7.0.0
243โ”œโ”€โ”€ import-lazy@4.0.0
244โ”œโ”€โ”€ svg-tags@1.0.0
245โ”œโ”€โ”€ v8-compile-cache@2.1.0
246โ”œโ”€โ”€ log-symbols@3.0.0
247โ”œโ”€โ”€ signal-exit@3.0.2
248โ”œโ”€โ”€ postcss-safe-parser@4.0.1
249โ”œโ”€โ”€ known-css-properties@0.16.0
250โ”œโ”€โ”€ postcss-media-query-parser@0.2.3
251โ”œโ”€โ”€ ignore@5.1.4
252โ”œโ”€โ”€ style-search@0.1.0
253โ”œโ”€โ”€ normalize-selector@0.2.0
254โ”œโ”€โ”€ postcss-value-parser@4.0.2
255โ”œโ”€โ”€ html-tags@3.1.0
256โ”œโ”€โ”€ postcss-less@3.1.4
257โ”œโ”€โ”€ specificity@0.4.1
258โ”œโ”€โ”€ postcss-scss@2.0.0
259โ”œโ”€โ”€ sugarss@2.0.0
260โ”œโ”€โ”€ postcss-syntax@0.36.2
261โ”œโ”€โ”€ strip-ansi@5.2.0 (ansi-regex@4.1.0)
262โ”œโ”€โ”€ postcss-reporter@6.0.1 (log-symbols@2.2.0)
263โ”œโ”€โ”€ string-width@4.1.0 (is-fullwidth-code-point@3.0.0, emoji-regex@8.0.0)
264โ”œโ”€โ”€ debug@4.1.1 (ms@2.1.2)
265โ”œโ”€โ”€ execall@2.0.0 (clone-regexp@2.2.0)
266โ”œโ”€โ”€ global-modules@2.0.0 (global-prefix@3.0.0)
267โ”œโ”€โ”€ chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
268โ”œโ”€โ”€ postcss-selector-parser@3.1.1 (indexes-of@1.0.1, uniq@1.0.1, dot-prop@4.2.0)
269โ”œโ”€โ”€ postcss-sass@0.4.1 (gonzales-pe@4.2.4)
270โ”œโ”€โ”€ micromatch@4.0.2 (picomatch@2.0.7, braces@3.0.2)
271โ”œโ”€โ”€ postcss@7.0.19 (supports-color@6.1.0, source-map@0.6.1)
272โ”œโ”€โ”€ file-entry-cache@5.0.1 (flat-cache@2.0.1)
273โ”œโ”€โ”€ postcss-html@0.36.0 (htmlparser2@3.10.1)
274โ”œโ”€โ”€ cosmiconfig@5.2.1 (is-directory@0.3.1, parse-json@4.0.0, import-fresh@2.0.0, js-yaml@3.13.1)
275โ”œโ”€โ”€ postcss-markdown@0.36.0 (unist-util-find-all-after@1.0.4, remark@10.0.1)
276โ”œโ”€โ”€ meow@5.0.0 (trim-newlines@2.0.0, minimist-options@3.0.2, redent@2.0.0, decamelize-keys@1.1.0, camelcase-keys@4.2.0, yargs-parser@10.1.0, loud-rejection@1.6.0, read-pkg-up@3.0.0, normalize-package-data@2.5.0)
277โ”œโ”€โ”€ postcss-jsx@0.36.3 (@babel/core@7.6.4)
278โ”œโ”€โ”€ globby@9.2.0 (slash@2.0.0, pify@4.0.1, ignore@4.0.6, array-union@1.0.2, dir-glob@2.2.2, glob@7.1.5, @types/glob@7.1.1, fast-glob@2.2.7)
279โ”œโ”€โ”€ table@5.4.6 (string-width@3.1.0, slice-ansi@2.1.0, ajv@6.10.2)
280โ”œโ”€โ”€ autoprefixer@9.7.0 (normalize-range@0.1.2, num2fraction@1.2.2, browserslist@4.7.2, caniuse-lite@1.0.30001004)
281โ””โ”€โ”€ lodash@4.17.15
282
283grunt-stylelint@0.12.0 node_modules/grunt-stylelint
284โ””โ”€โ”€ chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
285
286@wdio/devtools-service@5.13.2 node_modules/@wdio/devtools-service
287โ”œโ”€โ”€ stable@0.1.8
288โ”œโ”€โ”€ weighted-mean@1.0.2
289โ”œโ”€โ”€ @wdio/logger@5.13.2 (loglevel-plugin-prefix@0.8.4, strip-ansi@5.2.0, loglevel@1.6.4, chalk@2.4.2)
290โ”œโ”€โ”€ chrome-remote-interface@0.28.0 (commander@2.11.0, ws@6.2.1)
291โ”œโ”€โ”€ puppeteer-core@1.20.0 (progress@2.0.3, proxy-from-env@1.0.0, mime@2.4.4, debug@4.1.1, ws@6.2.1, rimraf@2.7.1, extract-zip@1.6.7, https-proxy-agent@2.2.3)
292โ”œโ”€โ”€ speedline@1.4.2 (image-ssim@0.2.0, babar@0.2.0, loud-rejection@1.6.0, @types/node@12.11.6, jpeg-js@0.1.2, meow@3.7.0)
293โ”œโ”€โ”€ core-js@3.2.1
294โ””โ”€โ”€ lighthouse@5.6.0 (lookup-closest-locale@6.0.4, details-element-polyfill@2.4.0, lodash.set@4.3.2, lodash.isequal@4.5.0, http-link-header@0.8.0, js-library-detector@5.5.0, parse-cache-control@1.0.1, robots-parser@2.1.1, metaviewport-parser@0.2.0, semver@5.7.1, open@6.4.0, yargs-parser@7.0.0, ws@3.3.2, intl-pluralrules@1.1.1, configstore@3.1.2, third-party-web@0.11.0, mkdirp@0.5.1, lighthouse-logger@1.2.0, raven@2.6.4, intl-messageformat@4.4.0, yargs@3.32.0, rimraf@2.7.1, jpeg-js@0.1.2, chrome-launcher@0.11.2, speedline-core@1.4.2, update-notifier@2.5.0, cssstyle@1.2.1, jsonlint-mod@1.7.5, jsonld@1.8.1, axe-core@3.3.0, intl@1.2.5, inquirer@3.3.0)
295
296@wdio/cli@5.13.2 node_modules/@wdio/cli
297โ”œโ”€โ”€ lodash.flattendeep@4.4.0
298โ”œโ”€โ”€ lodash.union@4.6.0
299โ”œโ”€โ”€ lodash.pickby@4.6.0
300โ”œโ”€โ”€ async-exit-hook@2.0.1
301โ”œโ”€โ”€ cli-spinners@2.2.0
302โ”œโ”€โ”€ ejs@2.7.1
303โ”œโ”€โ”€ @wdio/utils@5.13.2 (deepmerge@4.2.1)
304โ”œโ”€โ”€ @wdio/logger@5.13.2 (loglevel-plugin-prefix@0.8.4, strip-ansi@5.2.0, loglevel@1.6.4)
305โ”œโ”€โ”€ chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
306โ”œโ”€โ”€ fs-extra@8.1.0 (universalify@0.1.2, jsonfile@4.0.0, graceful-fs@4.2.3)
307โ”œโ”€โ”€ log-update@3.3.0 (ansi-escapes@3.2.0, cli-cursor@2.1.0, wrap-ansi@5.1.0)
308โ”œโ”€โ”€ @wdio/config@5.13.2 (deepmerge@4.2.1, glob@7.1.5)
309โ”œโ”€โ”€ chokidar@3.2.2 (glob-parent@5.1.0, normalize-path@3.0.0, is-glob@4.0.1, is-binary-path@2.1.0, readdirp@3.2.0, anymatch@3.1.1, braces@3.0.2)
310โ”œโ”€โ”€ yargs@14.2.0 (decamelize@1.2.0, require-main-filename@2.0.0, set-blocking@2.0.0, which-module@2.0.0, y18n@4.0.0, get-caller-file@2.0.5, require-directory@2.1.1, yargs-parser@15.0.0, string-width@3.1.0, find-up@3.0.0, cliui@5.0.0)
311โ”œโ”€โ”€ yarn-install@1.0.0 (chalk@1.1.3, cross-spawn@4.0.2, cac@3.0.4)
312โ””โ”€โ”€ inquirer@7.0.0 (mute-stream@0.0.8, cli-width@2.2.0, through@2.3.8, strip-ansi@5.2.0, figures@3.1.0, run-async@2.3.0, string-width@4.1.0, ansi-escapes@4.2.1, cli-cursor@3.1.0, external-editor@3.1.0, lodash@4.17.15, rxjs@6.5.3)
313
314eslint@6.5.1 node_modules/eslint
315โ”œโ”€โ”€ natural-compare@1.4.0
316โ”œโ”€โ”€ glob-parent@5.1.0
317โ”œโ”€โ”€ imurmurhash@0.1.4
318โ”œโ”€โ”€ strip-json-comments@3.0.1
319โ”œโ”€โ”€ v8-compile-cache@2.1.0
320โ”œโ”€โ”€ globals@11.12.0
321โ”œโ”€โ”€ eslint-visitor-keys@1.1.0
322โ”œโ”€โ”€ progress@2.0.3
323โ”œโ”€โ”€ ignore@4.0.6
324โ”œโ”€โ”€ functional-red-black-tree@1.0.1
325โ”œโ”€โ”€ esutils@2.0.3
326โ”œโ”€โ”€ semver@6.3.0
327โ”œโ”€โ”€ doctrine@3.0.0
328โ”œโ”€โ”€ eslint-utils@1.4.3
329โ”œโ”€โ”€ text-table@0.2.0
330โ”œโ”€โ”€ json-stable-stringify-without-jsonify@1.0.1
331โ”œโ”€โ”€ is-glob@4.0.1 (is-extglob@2.1.1)
332โ”œโ”€โ”€ strip-ansi@5.2.0 (ansi-regex@4.1.0)
333โ”œโ”€โ”€ esquery@1.0.1 (estraverse@4.3.0)
334โ”œโ”€โ”€ debug@4.1.1 (ms@2.1.2)
335โ”œโ”€โ”€ regexpp@2.0.1
336โ”œโ”€โ”€ levn@0.3.0 (type-check@0.3.2, prelude-ls@1.1.2)
337โ”œโ”€โ”€ optionator@0.8.2 (fast-levenshtein@2.0.6, type-check@0.3.2, wordwrap@1.0.0, deep-is@0.1.3, prelude-ls@1.1.2)
338โ”œโ”€โ”€ eslint-scope@5.0.0 (esrecurse@4.2.1, estraverse@4.3.0)
339โ”œโ”€โ”€ import-fresh@3.1.0 (resolve-from@4.0.0, parent-module@1.0.1)
340โ”œโ”€โ”€ @babel/code-frame@7.5.5 (@babel/highlight@7.5.0)
341โ”œโ”€โ”€ minimatch@3.0.4 (brace-expansion@1.1.11)
342โ”œโ”€โ”€ mkdirp@0.5.1 (minimist@0.0.8)
343โ”œโ”€โ”€ cross-spawn@6.0.5 (path-key@2.0.1, nice-try@1.0.5, semver@5.7.1, shebang-command@1.2.0, which@1.3.1)
344โ”œโ”€โ”€ espree@6.1.2 (acorn-jsx@5.1.0, acorn@7.1.0)
345โ”œโ”€โ”€ chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
346โ”œโ”€โ”€ file-entry-cache@5.0.1 (flat-cache@2.0.1)
347โ”œโ”€โ”€ js-yaml@3.13.1 (esprima@4.0.1, argparse@1.0.10)
348โ”œโ”€โ”€ table@5.4.6 (string-width@3.1.0, slice-ansi@2.1.0)
349โ”œโ”€โ”€ ajv@6.10.2 (fast-deep-equal@2.0.1, json-schema-traverse@0.4.1, fast-json-stable-stringify@2.0.0, uri-js@4.2.2)
350โ”œโ”€โ”€ lodash@4.17.15
351โ””โ”€โ”€ inquirer@6.5.2 (ansi-escapes@3.2.0, cli-width@2.2.0, through@2.3.8, figures@2.0.0, mute-stream@0.0.7, run-async@2.3.0, string-width@2.1.1, cli-cursor@2.1.0, external-editor@3.1.0, rxjs@6.5.3)
352
353eslint-plugin-mediawiki@0.1.0 node_modules/eslint-plugin-mediawiki
354
355grunt-eslint@22.0.0 node_modules/grunt-eslint
356โ”œโ”€โ”€ chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
357โ””โ”€โ”€ eslint@6.5.1 (natural-compare@1.4.0, glob-parent@5.1.0, imurmurhash@0.1.4, v8-compile-cache@2.1.0, strip-json-comments@3.0.1, globals@11.12.0, eslint-visitor-keys@1.1.0, progress@2.0.3, ignore@4.0.6, functional-red-black-tree@1.0.1, esutils@2.0.3, semver@6.3.0, doctrine@3.0.0, eslint-utils@1.4.3, text-table@0.2.0, json-stable-stringify-without-jsonify@1.0.1, is-glob@4.0.1, strip-ansi@5.2.0, esquery@1.0.1, debug@4.1.1, regexpp@2.0.1, levn@0.3.0, optionator@0.8.2, eslint-scope@5.0.0, import-fresh@3.1.0, @babel/code-frame@7.5.5, minimatch@3.0.4, cross-spawn@6.0.5, mkdirp@0.5.1, espree@6.1.2, file-entry-cache@5.0.1, js-yaml@3.13.1, table@5.4.6, ajv@6.10.2, lodash@4.17.15, inquirer@6.5.2)
358
359eslint-config-wikimedia@0.15.0 node_modules/eslint-config-wikimedia
360โ”œโ”€โ”€ eslint-plugin-qunit@4.0.0
361โ”œโ”€โ”€ eslint-plugin-no-jquery@2.3.0
362โ”œโ”€โ”€ eslint-plugin-json@1.4.0 (vscode-json-languageservice@3.3.5)
363โ””โ”€โ”€ eslint@6.5.1 (natural-compare@1.4.0, imurmurhash@0.1.4, glob-parent@5.1.0, strip-json-comments@3.0.1, v8-compile-cache@2.1.0, globals@11.12.0, eslint-visitor-keys@1.1.0, progress@2.0.3, ignore@4.0.6, functional-red-black-tree@1.0.1, esutils@2.0.3, semver@6.3.0, doctrine@3.0.0, eslint-utils@1.4.3, text-table@0.2.0, json-stable-stringify-without-jsonify@1.0.1, is-glob@4.0.1, strip-ansi@5.2.0, esquery@1.0.1, regexpp@2.0.1, debug@4.1.1, levn@0.3.0, optionator@0.8.2, eslint-scope@5.0.0, import-fresh@3.1.0, @babel/code-frame@7.5.5, minimatch@3.0.4, cross-spawn@6.0.5, mkdirp@0.5.1, espree@6.1.2, chalk@2.4.2, file-entry-cache@5.0.1, js-yaml@3.13.1, table@5.4.6, ajv@6.10.2, lodash@4.17.15, inquirer@6.5.2)
364
365real 17m57.283s
366user 3m10.928s
367sys 19m11.556s

1vagrant@vagrant:/vagrant/mediawiki$ npm run selenium
2
3> @ selenium /vagrant/mediawiki
4> wdio ./tests/selenium/wdio.conf.js
5
6
7Execution of 6 spec files started at 2019-10-24T12:48:09.892Z
8
9/vagrant/mediawiki/node_modules/chromedriver/lib/chromedriver/chromedriver: 1: /vagrant/mediawiki/node_modules/chromedriver/lib/chromedriver/chromedriver: Syntax error: Unterminated quoted string
102019-10-24T12:48:21.377Z ERROR @wdio/cli:utils: A service failed in the 'onPrepare' hook
11Error: timeout
12 at Timeout.timeoutFunc (/vagrant/mediawiki/node_modules/tcp-port-used/index.js:204:25)
13 at ontimeout (timers.js:436:11)
14 at tryOnTimeout (timers.js:300:5)
15 at listOnTimeout (timers.js:263:5)
16 at Timer.processTimers (timers.js:223:10)
17
18Continue...
19[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
20[0-0] 2019-10-24T12:48:30.127Z ERROR webdriver: Request failed due to Error: connect ECONNREFUSED 127.0.0.1:4444
21 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
22[0-0] 2019-10-24T12:48:30.129Z ERROR @wdio/runner: Error: connect ECONNREFUSED 127.0.0.1:4444
23 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
240-0 worker error { name: 'Error',
25 message: 'connect ECONNREFUSED 127.0.0.1:4444',
26 stack:
27 'Error: connect ECONNREFUSED 127.0.0.1:4444\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)' }
28[0-0] 2019-10-24T12:48:30.130Z ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot read property 'capabilities' of null
29 at Runner.run (/vagrant/mediawiki/node_modules/@wdio/runner/build/index.js:68:74)
30 at process._tickCallback (internal/process/next_tick.js:68:7)
31[0-0] FAILED in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
32[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
33[0-1] 2019-10-24T12:48:38.694Z ERROR webdriver: Request failed due to Error: connect ECONNREFUSED 127.0.0.1:4444
34 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
35[0-1] 2019-10-24T12:48:38.698Z ERROR @wdio/runner: Error: connect ECONNREFUSED 127.0.0.1:4444
36 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
370-1 worker error { name: 'Error',
38 message: 'connect ECONNREFUSED 127.0.0.1:4444',
39 stack:
40 'Error: connect ECONNREFUSED 127.0.0.1:4444\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)' }
41[0-1] 2019-10-24T12:48:38.701Z ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot read property 'capabilities' of null
42 at Runner.run (/vagrant/mediawiki/node_modules/@wdio/runner/build/index.js:68:74)
43 at process._tickCallback (internal/process/next_tick.js:68:7)
44[0-1] FAILED in chrome - /tests/selenium/specs/page.js
45[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
46[0-2] 2019-10-24T12:48:47.736Z ERROR webdriver: Request failed due to Error: connect ECONNREFUSED 127.0.0.1:4444
47 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
48[0-2] 2019-10-24T12:48:47.739Z ERROR @wdio/runner: Error: connect ECONNREFUSED 127.0.0.1:4444
49 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
500-2 worker error { name: 'Error',
51 message: 'connect ECONNREFUSED 127.0.0.1:4444',
52 stack:
53 'Error: connect ECONNREFUSED 127.0.0.1:4444\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)' }
54[0-2] 2019-10-24T12:48:47.742Z ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot read property 'capabilities' of null
55 at Runner.run (/vagrant/mediawiki/node_modules/@wdio/runner/build/index.js:68:74)
56 at process._tickCallback (internal/process/next_tick.js:68:7)
57[0-2] FAILED in chrome - /tests/selenium/specs/rollback.js
58[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
59[0-3] 2019-10-24T12:48:56.695Z ERROR webdriver: Request failed due to Error: connect ECONNREFUSED 127.0.0.1:4444
60 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
61[0-3] 2019-10-24T12:48:56.699Z ERROR @wdio/runner: Error: connect ECONNREFUSED 127.0.0.1:4444
62 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
630-3 worker error { name: 'Error',
64 message: 'connect ECONNREFUSED 127.0.0.1:4444',
65 stack:
66 'Error: connect ECONNREFUSED 127.0.0.1:4444\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)' }
67[0-3] 2019-10-24T12:48:56.700Z ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot read property 'capabilities' of null
68 at Runner.run (/vagrant/mediawiki/node_modules/@wdio/runner/build/index.js:68:74)
69 at process._tickCallback (internal/process/next_tick.js:68:7)
70[0-3] FAILED in chrome - /tests/selenium/specs/specialrecentchanges.js
71[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
72[0-4] 2019-10-24T12:49:05.503Z ERROR webdriver: Request failed due to Error: connect ECONNREFUSED 127.0.0.1:4444
73 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
74[0-4] 2019-10-24T12:49:05.506Z ERROR @wdio/runner: Error: connect ECONNREFUSED 127.0.0.1:4444
75 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
760-4 worker error { name: 'Error',
77 message: 'connect ECONNREFUSED 127.0.0.1:4444',
78 stack:
79 'Error: connect ECONNREFUSED 127.0.0.1:4444\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)' }
80[0-4] 2019-10-24T12:49:05.507Z ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot read property 'capabilities' of null
81 at Runner.run (/vagrant/mediawiki/node_modules/@wdio/runner/build/index.js:68:74)
82 at process._tickCallback (internal/process/next_tick.js:68:7)
83[0-4] FAILED in chrome - /tests/selenium/specs/specialwatchlist.js
84[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
85[0-5] 2019-10-24T12:49:14.665Z ERROR webdriver: Request failed due to Error: connect ECONNREFUSED 127.0.0.1:4444
86 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
87[0-5] 2019-10-24T12:49:14.668Z ERROR @wdio/runner: Error: connect ECONNREFUSED 127.0.0.1:4444
88 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
890-5 worker error { name: 'Error',
90 message: 'connect ECONNREFUSED 127.0.0.1:4444',
91 stack:
92 'Error: connect ECONNREFUSED 127.0.0.1:4444\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)' }
93[0-5] 2019-10-24T12:49:14.669Z ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot read property 'capabilities' of null
94 at Runner.run (/vagrant/mediawiki/node_modules/@wdio/runner/build/index.js:68:74)
95 at process._tickCallback (internal/process/next_tick.js:68:7)
96[0-5] FAILED in chrome - /tests/selenium/specs/user.js
97
98Spec Files: 0 passed, 6 failed, 6 total (100% completed) in 00:01:04
99
100
101npm ERR! Linux 4.9.0-9-amd64
102npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "selenium"
103npm ERR! node v10.17.0
104npm ERR! npm v2.15.12
105npm ERR! code ELIFECYCLE
106npm ERR! @ selenium: `wdio ./tests/selenium/wdio.conf.js`
107npm ERR! Exit status 1
108npm ERR!
109npm ERR! Failed at the @ selenium script 'wdio ./tests/selenium/wdio.conf.js'.
110npm ERR! This is most likely a problem with the package,
111npm ERR! not with npm itself.
112npm ERR! Tell the author that this fails on your system:
113npm ERR! wdio ./tests/selenium/wdio.conf.js
114npm ERR! You can get information on how to open an issue for this project with:
115npm ERR! npm bugs
116npm ERR! Or if that isn't available, you can get their info via:
117npm ERR!
118npm ERR! npm owner ls
119npm ERR! There is likely additional logging output above.
120
121npm ERR! Please include the following file with any support request:
122npm ERR! /vagrant/mediawiki/npm-debug.log

zeljkofilipin removed zeljkofilipin as the assignee of this task.Oct 24 2019, 1:15 PM
zeljkofilipin moved this task from Doing to INBOX on the Release-Engineering-Team-TODO (201910) board.
zeljkofilipin removed a project: User-zeljkofilipin.

That is an exact duplicate of T217113 : namely upgrade MediaWiki Vagrant to use NodeJS 10 :]

We had / have the same issue with Cindy the Browser Bot, see also T229033