Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No source files found in results file #63

Open
ishan-agarwal opened this issue Jun 10, 2020 · 0 comments
Open

No source files found in results file #63

ishan-agarwal opened this issue Jun 10, 2020 · 0 comments

Comments

@ishan-agarwal
Copy link

ishan-agarwal commented Jun 10, 2020

The test site we used (stackoverflow) was downloaded and hosted locally (/var/www/html/) on the BLeak artifact, and the following config file was run, the bleak result viewer shows "No source files found in results file"

exports.url = "http://localhost/stackoverflow/"
exports.loop = [
  // First state
  {

    check: function() {

      return true;
    },

    next: function() {

      window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
    }
  },

{
    // Return 'true' if the web application is ready for `next` to be run.
    check: function() {
      // Example: `group-listing` must be on the webpage
      return true;
    },
    // Transitions to the next state.
    next: function() {
      // Example: Navigate to the first thread
      window.scrollTo({ top: 0, behavior: 'smooth' });
    }
  }

];
exports.iterations = 5;
exports.postNextSleep = 5000;

bleak@bleakartifact:~/Desktop/My$ bleak run --config stackoverflow.config.js --out stackoverflow --snapshot true
http://localhost/stackoverflow/js/integrator.js:0:0 Uncaught ReferenceError: processGoogleToken is not defined
at http://localhost/stackoverflow/js/integrator.js:1:1
undefined
http://localhost/stackoverflow/js/integrator.js:0:0

http://localhost/stackoverflow/js/integrator_1.js:0:0 Uncaught ReferenceError: processGoogleToken is not defined
at http://localhost/stackoverflow/js/integrator_1.js:1:1
undefined
http://localhost/stackoverflow/js/integrator_1.js:0:0

http://localhost/stackoverflow/js/pubads_impl_2020060103.js:7910:5 Uncaught TypeError: Cannot read property 'length' of undefined
at Ot (http://localhost/stackoverflow/js/pubads_impl_2020060103.js:7911:6)
at au (http://localhost/stackoverflow/js/pubads_impl_2020060103.js:8035:40)
at http://localhost/stackoverflow/js/pubads_impl_2020060103.js:12272:3
at http://localhost/stackoverflow/js/pubads_impl_2020060103.js:12275:4
undefined
Ot at http://localhost/stackoverflow/js/pubads_impl_2020060103.js:7910:5
au at http://localhost/stackoverflow/js/pubads_impl_2020060103.js:8034:39
http://localhost/stackoverflow/js/pubads_impl_2020060103.js:12271:2
http://localhost/stackoverflow/js/pubads_impl_2020060103.js:12274:3

[====================] 100% [116/116] 85.9s (ETA 0.0s) Diagnosing leaks
Results can be found in stackoverflow
(node:2218) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: socket disconnect
Error: socket disconnect
at DebuggingProtocol.onClose (/home/bleak/Desktop/bleak/node_modules/chrome-debugging-client/dist/lib/create-debugging-protocol-client.js:47:27)
at Promise.then (/home/bleak/Desktop/bleak/node_modules/chrome-debugging-client/dist/lib/open-web-socket.js:33:22)
at
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
[====================] 100% [116/116] 85.9s (ETA 0.0s) Diagnosing leaks(node:2218) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
at emitWarning (internal/process/promises.js:78:15)
at emitPendingUnhandledRejections (internal/process/promises.js:95:11)
at process._tickDomainCallback (internal/process/next_tick.js:229:7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant