Open dwrobel opened 6 years ago
Internal reference: XRE2-1751
please share the repo,which I can download and repro the issue
Please just use the master branch from https://github.com/pxscene/pxCore.
Steps to reproduce:
cd ci/builds
./dw.sh
./0010-external-breakpad.sh
./0020-external-dukluv.sh
./0030-external-nanosvg.sh
To speed up running test and to avoid facing other failures:
a) remove all other tests from tests/pxScene2d/testRunner/tests.json
and keep only test_getFile.js
b) remove all tests from tests/pxScene2d/testRunner/testsDesktop.json
To clean from any previous build, compile using node 6 and execute test please run the following:
To clean from any previous build, compile using node 8 and execute test please run the following:
Please ignore known Spark crash on exit while executing tests/pxScene2d/testRunner/testsExit.json.
Thanks Damien, will try it. Could you please try once more , I have added logs in test_getFile to print the error code during failure.
Also, is it not possible to directly download node8 code as part of spark repo and try as replacement instead of ci build steps?.
Thanks Damien, will try it. Could you please try once more , I have added logs in test_getFile to print the error code during failure.
Here is the build: https://semaphoreci.com/dwrobel/pxcore/branches/master-next/builds/8. I see it failed.
To get a logs please open the above link and then click on the ./ci/builds/ci-semaphoreci.sh
entry.
Tail of the log will be shown on the screen, link to the full log is in the beginning (search for: 'Download complete log'). If you need you need to trigger any new build, please make PR against this branch.
Thanks Damien,I got the logs as you suggested and got the problem and looks some api inconsistency. Please let me know how to get the node v8 code you are using without ci builds steps, in the same way we are using with 6.9.0.
Please let me know how to get the node v8 code
You can download sources within docker using the following steps:
$ ./ci/builds/dw.sh
$ sudo dnf debuginfo-install node8-shared
Then you can start debugging the code:
$ DBG="gdb --args" examples/pxScene2d/src/Spark-testrunner.sh
Source code repository + patches can be found here. I hope you can build it on your machine. In case you have some problems please refer to the .spec used to build it or to the complete build log.
test_getFile
seems to be removed from test list, if it was removed permanently, can we close this?
Recently added test_getFile fails when run using node
v8.11.1
:./dw.sh ./0400-wayland-node8-gcc-tsan.sh ./dw.sh ./0410-test-testrunner.sh
while it still run fine when using node
v6.13.0
:./dw.sh ./0300-wayland-node6-gcc-tsan.sh ./dw.sh ./0310-test-testrunner.sh