{"action":"created","issue":{"url":"https://api.github.com/repos/pxscene/pxCore/issues/1474","repository_url":"https://api.github.com/repos/pxscene/pxCore","labels_url":"https://api.github.com/repos/pxscene/pxCore/issues/1474/labels{/name}","comments_url":"https://api.github.com/repos/pxscene/pxCore/issues/1474/comments","events_url":"https://api.github.com/repos/pxscene/pxCore/issues/1474/events","html_url":"https://github.com/pxscene/pxCore/issues/1474","id":362504260,"node_id":"MDU6SXNzdWUzNjI1MDQyNjA=","number":1474,"title":" testRunner_v7.js - test failures - test_getFile.testHttpAccessAllowed","user":{"login":"dwrobel","id":228873,"node_id":"MDQ6VXNlcjIyODg3Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/228873?v=4","gravatar_id":"","url":"https://api.github.com/users/dwrobel","html_url":"https://github.com/dwrobel","followers_url":"https://api.github.com/users/dwrobel/followers","following_url":"https://api.github.com/users/dwrobel/following{/other_user}","gists_url":"https://api.github.com/users/dwrobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dwrobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwrobel/subscriptions","organizations_url":"https://api.github.com/users/dwrobel/orgs","repos_url":"https://api.github.com/users/dwrobel/repos","events_url":"https://api.github.com/users/dwrobel/events{/privacy}","received_events_url":"https://api.github.com/users/dwrobel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-21T08:17:12Z","updated_at":"2018-09-25T17:46:58Z","closed_at":null,"author_association":"MEMBER","body":"Recently added [test_getFile](https://github.com/pxscene/pxCore/pull/1439/files#diff-e682628adb2182f630df185959e2959cR45) fails when run using node `v8.11.1`:\r\n\r\n[./dw.sh ./0400-wayland-node8-gcc-tsan.sh](https://github.com/pxscene/pxCore/blob/master/ci/builds/0400-wayland-node8-gcc-tsan.sh)\r\n[./dw.sh ./0410-test-testrunner.sh](https://github.com/pxscene/pxCore/blob/master/ci/builds/0410-test-testrunner.sh)\r\n\r\n```\r\n[Fri Sep 21 2018 09:50:00 GMT+0200 (CEST)] Creating new scene for test test_getFile url='https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js'\r\n[Fri Sep 21 2018 09:50:00 GMT+0200 (CEST)] test \"test_getFile\" >>>> SET TIMEOUT FOR SCENE LOAD FOR https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js\r\nin loadFileWithSparkPermissionsCheck package.json\r\nlocal file access allowed for current file !!!\r\nAppSceneContext#loadScenePackage0\r\nenabling pxscene require support\r\nMain Module: readyPromise=[object Promise]\r\nAppSceneContext#loadScenePackage0 done\r\n-----------------> Ready after third\r\nMain module[https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js] about to notify. xModule.exports:object\r\nMain module[https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js] about to notify done\r\nGet ready for testScene https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js\r\n[Fri Sep 21 2018 09:50:02 GMT+0200 (CEST)] test \"test_getFile\" is ready. url=https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js\r\n>>>> CLEAR TIMEOUT FOR SCENE LOAD FOR https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js\r\n[Fri Sep 21 2018 09:50:02 GMT+0200 (CEST)] About to remove() scene for url='https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_textWithoutParent.js?manualTest=0'\r\nset testScene focus for testName test_getFile\r\ntest_getFile beforeStart()!\r\n[Fri Sep 21 2018 09:50:02 GMT+0200 (CEST)] >>>>>>>>>>>STARTING HANG PREVENTION TIMEOUT for url:../tests/test_getFile.js\r\nDone executing beforeStart for scene test_getFile\r\n[Fri Sep 21 2018 09:50:02 GMT+0200 (CEST)] test_getFile.testlocalAccessAllowed\r\nin loadFileWithSparkPermissionsCheck browser.js\r\nlocal file access allowed for current file !!!\r\nlocal file download succeeded .....\r\n[Fri Sep 21 2018 09:50:02 GMT+0200 (CEST)] test_getFile.testHttpAccessAllowed\r\nin loadFileWithSparkPermissionsCheck http://www.pxscene.org/examples/px-reference/gallery/fancy.js\r\n[Fri Sep 21 2018 09:50:02 GMT+0200 (CEST)] >>>>>>>>>>>CLEARING HANG TIMEOUT FOR TESTS ../tests/test_getFile.js\r\n[Fri Sep 21 2018 09:50:02 GMT+0200 (CEST)] Creating new scene for test test_importResources url='https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_import_resources.js'\r\n[Fri Sep 21 2018 09:50:02 GMT+0200 (CEST)] test \"test_importResources\" >>>> SET TIMEOUT FOR SCENE LOAD FOR https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_import_resources.js\r\nin loadFileWithSparkPermissionsCheck package.json\r\nlocal file access allowed for current file !!!\r\nAppSceneContext#loadScenePackage0\r\nenabling pxscene require support\r\nMain Module: readyPromise=[object Promise]\r\nAppSceneContext#loadScenePackage0 done\r\n-----------------> Ready after fourth\r\n-----------------> progressAnimation\r\n-----------------> Entering progressAnimation\r\nMain module[https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_import_resources.js] about to notify. xModule.exports:object\r\nMain module[https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_import_resources.js] about to notify done\r\nGet ready for testScene https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_import_resources.js\r\n[Fri Sep 21 2018 09:50:04 GMT+0200 (CEST)] test \"test_importResources\" is ready. url=https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_import_resources.js\r\n>>>> CLEAR TIMEOUT FOR SCENE LOAD FOR https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_import_resources.js\r\n[Fri Sep 21 2018 09:50:04 GMT+0200 (CEST)] About to remove() scene for url='https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js?manualTest=0'\r\n```\r\n```\r\ntest_getFile.testlocalAccessAllowed: SUCCESS\r\n\r\ntest_getFile.testHttpAccessAllowed: FAILURE\r\n```\r\n\r\nwhile it still run fine when using node `v6.13.0`:\r\n\r\n[./dw.sh ./0300-wayland-node6-gcc-tsan.sh](https://github.com/pxscene/pxCore/blob/master/ci/builds/0300-wayland-node6-gcc-tsan.sh)\r\n[./dw.sh ./0310-test-testrunner.sh](https://github.com/pxscene/pxCore/blob/master/ci/builds/0310-test-testrunner.sh)\r\n\r\n```\r\n[Fri Sep 21 2018 10:12:28 GMT+0200 (CEST)] Creating new scene for test test_getFile url='https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js'\r\n[Fri Sep 21 2018 10:12:28 GMT+0200 (CEST)] test \"test_getFile\" >>>> SET TIMEOUT FOR SCENE LOAD FOR https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js\r\nin loadFileWithSparkPermissionsCheck package.json\r\nlocal file access allowed for current file !!!\r\nAppSceneContext#loadScenePackage0\r\nenabling pxscene require support\r\nMain Module: readyPromise=[object Promise]\r\nAppSceneContext#loadScenePackage0 done\r\nMain module[https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js] about to notify. xModule.exports:object\r\nMain module[https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js] about to notify done\r\nGet ready for testScene https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js\r\n[Fri Sep 21 2018 10:12:30 GMT+0200 (CEST)] test \"test_getFile\" is ready. url=https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js\r\n>>>> CLEAR TIMEOUT FOR SCENE LOAD FOR https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js\r\nset testScene focus for testName test_getFile\r\ntest_getFile beforeStart()!\r\n[Fri Sep 21 2018 10:12:30 GMT+0200 (CEST)] >>>>>>>>>>>STARTING HANG PREVENTION TIMEOUT for url:../tests/test_getFile.js\r\nDone executing beforeStart for scene test_getFile\r\n[Fri Sep 21 2018 10:12:30 GMT+0200 (CEST)] test_getFile.testlocalAccessAllowed\r\nin loadFileWithSparkPermissionsCheck browser.js\r\nlocal file access allowed for current file !!!\r\nlocal file download succeeded .....\r\n[Fri Sep 21 2018 10:12:30 GMT+0200 (CEST)] test_getFile.testHttpAccessAllowed\r\nin loadFileWithSparkPermissionsCheck http://www.pxscene.org/examples/px-reference/gallery/fancy.js\r\nReceived data\r\nremote file download success\r\n[Fri Sep 21 2018 10:12:30 GMT+0200 (CEST)] >>>>>>>>>>>CLEARING HANG TIMEOUT FOR TESTS ../tests/test_getFile.js\r\n[Fri Sep 21 2018 10:12:30 GMT+0200 (CEST)] Creating new scene for test exit test url='https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_exit.js'\r\n[Fri Sep 21 2018 10:12:30 GMT+0200 (CEST)] test \"exit test\" >>>> SET TIMEOUT FOR SCENE LOAD FOR https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_exit.js\r\n-----------------> Ready after first\r\nin loadFileWithSparkPermissionsCheck package.json\r\nlocal file access allowed for current file !!!\r\nAppSceneContext#loadScenePackage0\r\nenabling pxscene require support\r\nMain Module: readyPromise=[object Promise]\r\nAppSceneContext#loadScenePackage0 done\r\nMain module[https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_exit.js] about to notify. xModule.exports:object\r\nMain module[https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_exit.js] about to notify done\r\nGet ready for testScene https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_exit.js\r\n[Fri Sep 21 2018 10:12:32 GMT+0200 (CEST)] test \"exit test\" is ready. url=https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_exit.js\r\n>>>> CLEAR TIMEOUT FOR SCENE LOAD FOR https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_exit.js\r\n[Fri Sep 21 2018 10:12:32 GMT+0200 (CEST)] About to remove() scene for url='https://px-apps.sys.comcast.net/pxscene-samples/examples/px-reference/test-run/../tests/test_getFile.js?manualTest=0'\r\n```\r\n```\r\ntest_getFile.testlocalAccessAllowed: SUCCESS\r\ntest_getFile.testHttpAccessAllowed: SUCCESS\r\n```"},"comment":{"url":"https://api.github.com/repos/pxscene/pxCore/issues/comments/424437715","html_url":"https://github.com/pxscene/pxCore/issues/1474#issuecomment-424437715","issue_url":"https://api.github.com/repos/pxscene/pxCore/issues/1474","id":424437715,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDQzNzcxNQ==","user":{"login":"dwrobel","id":228873,"node_id":"MDQ6VXNlcjIyODg3Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/228873?v=4","gravatar_id":"","url":"https://api.github.com/users/dwrobel","html_url":"https://github.com/dwrobel","followers_url":"https://api.github.com/users/dwrobel/followers","following_url":"https://api.github.com/users/dwrobel/following{/other_user}","gists_url":"https://api.github.com/users/dwrobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dwrobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwrobel/subscriptions","organizations_url":"https://api.github.com/users/dwrobel/orgs","repos_url":"https://api.github.com/users/dwrobel/repos","events_url":"https://api.github.com/users/dwrobel/events{/privacy}","received_events_url":"https://api.github.com/users/dwrobel/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T17:46:58Z","updated_at":"2018-09-25T17:46:58Z","author_association":"MEMBER","body":"> Please let me know how to get the node v8 code\r\n\r\nYou can download sources within docker using the following steps:\r\n` $ ./ci/builds/dw.sh`\r\n` $ sudo dnf debuginfo-install node8-shared`\r\nThen you can start debugging the code:\r\n`$ DBG=\"gdb --args\" examples/pxScene2d/src/Spark-testrunner.sh`\r\n\r\nSource code repository + patches can be found [here](https://github.com/dwrobel/node-shared). I hope you can build it on your machine. In case you have some problems please refer to the [.spec](https://copr-be.cloud.fedoraproject.org/results/dwrobel/node-shared/fedora-28-x86_64/00741448-node8-shared/node8-shared.spec) used to build it or to the complete build [log](https://copr-be.cloud.fedoraproject.org/results/dwrobel/node-shared/fedora-28-x86_64/00741448-node8-shared/build.log.gz)."}}
{"actor":{"display_login":"dwrobel"}}