Gaurav created this task. Gaurav added a project: Wikidata Query UI. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. |
TASK DESCRIPTION
I cloned wikidata-query-rdf by running:
git clone --recurse-submodules https://gerrit.wikimedia.org/r/wikidata/query/rdf wikidata-query-rdf cd wikidata-query-rdf mvn package
Everything seemed to be working fine until it got to testing wikidata-query-rdf/gui (https://gerrit.wikimedia.org/r/wikidata/query/gui), when I got the following output:
[INFO] --- frontend-maven-plugin:1.6:npm (npm test) @ gui --- [INFO] Running 'npm test' in /home/vaidyagi/code/wikidata/wikidata-query-rdf/gui [INFO] [INFO] > wikidata-query-gui@0.1.4 test /home/vaidyagi/code/wikidata/wikidata-query-rdf/gui [INFO] > grunt test [INFO] [INFO] Running "jshint:all" (jshint) task [INFO] >> 55 files lint free. [INFO] [INFO] Running "jscs:src" (jscs) task [INFO] >> 44 files without code style errors. [INFO] [INFO] Running "jsonlint:all" (jsonlint) task [INFO] >> 124 files lint free. [INFO] [INFO] Running "banana:all" (banana) task [INFO] >> 113 messages checked. [INFO] [INFO] Running "stylelint:all" (stylelint) task [INFO] >> Linted 1 files without errors [INFO] [INFO] Running "qunit:all" (qunit) task [INFO] Testing wikibase/tests/index.html [INFO] >> PhantomJS timed out, possibly due to: [INFO] >> - QUnit is not loaded correctly. [INFO] >> - A missing QUnit start() call. [INFO] >> - Or, a misconfiguration of this task. [INFO] Testing wikibase/tests/QueryHelper.html [INFO] >> PhantomJS timed out, possibly due to: [INFO] >> - QUnit is not loaded correctly. [INFO] >> - A missing QUnit start() call. [INFO] >> - Or, a misconfiguration of this task. [INFO] Warning: 2 tests completed with 2 failed, 0 skipped, and 0 todo. [INFO] 0 assertions (in 0ms), passed: 0, failed: 0 Use --force to continue. [INFO] [INFO] Aborted due to warnings.Changing into ./gui and running npm test results in the same output. I tried running node_modules/grunt/bin/grunt test -v directly, and got the following output:
[...] Running "qunit:all" (qunit) task Verifying property qunit.all exists in config...OK Files: wikibase/tests/index.html, wikibase/tests/QueryHelper.html -> all Options: timeout=5000, inject="/home/vaidyagi/code/wikidata/wikidata-query-rdf/gui/node_modules/grunt-contrib-qunit/phantomjs/bridge.js", urls=[], force=false, console, httpBase=false, summaryOnly=false Testing wikibase/tests/index.html >> PhantomJS timed out, possibly due to: >> - QUnit is not loaded correctly. >> - A missing QUnit start() call. >> - Or, a misconfiguration of this task. Testing wikibase/tests/QueryHelper.html >> PhantomJS timed out, possibly due to: >> - QUnit is not loaded correctly. >> - A missing QUnit start() call. >> - Or, a misconfiguration of this task. Warning: 2 tests completed with 2 failed, 0 skipped, and 0 todo. 0 assertions (in 0ms), passed: 0, failed: 0 Use --force to continue.I tried running the same commands on macOS, and they worked fine there with exactly the same Options as above, suggesting that this problem is specific to my Debian testing (buster) setup.
Any idea what I'm missing? I'll keep poking at it: I'd like to figure out what's going on and improve the documentation so it's clearer what's going on!
TASK DETAIL
EMAIL PREFERENCES
To: Gaurav
Cc: Aklapper, Gaurav, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, D3r1ck01, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
Cc: Aklapper, Gaurav, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, D3r1ck01, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs