0 silly input [ 'full-test' ]
1 silly flags { _: [ 'run' ],
1 silly flags   'reject-cycles': false,
1 silly flags   rejectCycles: false,
1 silly flags   script: 'full-test',
1 silly flags   args: [] }
2 verbose rootPath /home/stephen/workspace/speed-measure-webpack-plugin
3 info version 2.9.0
4 silly existsSync /home/stephen/workspace/speed-measure-webpack-plugin/VERSION
5 silly initialize attempt
6 silly initialize success
7 silly execute attempt
8 silly runScriptInDir full-test [] v1-plain
9 silly getExecOpts { cwd:
9 silly getExecOpts    '/home/stephen/workspace/speed-measure-webpack-plugin/__tests__/setups/v1-plain' }
10 silly runScriptInDir full-test [] v2-plain
11 silly getExecOpts { cwd:
11 silly getExecOpts    '/home/stephen/workspace/speed-measure-webpack-plugin/__tests__/setups/v2-plain' }
12 silly runScriptInDir full-test [] v3-circular-plugin
13 silly getExecOpts { cwd:
13 silly getExecOpts    '/home/stephen/workspace/speed-measure-webpack-plugin/__tests__/setups/v3-circular-plugin' }
14 silly runScriptInDir full-test [] v3-hard-source-webpack-plugin
15 silly getExecOpts { cwd:
15 silly getExecOpts    '/home/stephen/workspace/speed-measure-webpack-plugin/__tests__/setups/v3-hard-source-webpack-plugin' }
16 error full-test Errored while running script in 'v1-plain'
17 error execute callback with error
18 error Error: Command failed: npm run full-test
18 error FAIL ./smp.test.js
18 error   smp
18 error     v1-plain
18 error       ✕ should generate the same app.js content (5ms)
18 error       ✕ should generate the same app.js content after 2 runs (38ms)
18 error       ✕ should state the time taken overall (2ms)
18 error       ✕ should state the time taken by the plugins (2ms)
18 error       ✕ should state the time taken by the loaders (4ms)
18 error
18 error   ● smp › v1-plain › should generate the same app.js content
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544493,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544417,
18 error         },
18 error       ],
18 error     }
18 error
18 error       46 |
18 error       47 | describe("smp", () => {
18 error     > 48 |   beforeAll(() =>
18 error          |   ^
18 error       49 |     runWebpack(webpackConfig).then(file => (testRef.distApp = file))
18 error       50 |   );
18 error       51 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:48:3)
18 error       at Object.describe (smp.test.js:47:1)
18 error
18 error   ● smp › v1-plain › should generate the same app.js content
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544514,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544502,
18 error         },
18 error       ],
18 error     }
18 error
18 error       56 |     const smpWebpackConfig = genSmpWebpackConfig(smp);
18 error       57 |
18 error     > 58 |     beforeAll(() =>
18 error          |     ^
18 error       59 |       runWebpack(smpWebpackConfig).then(file => (testRef.smpDistApp = file))
18 error       60 |     );
18 error       61 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:58:5)
18 error       at Suite.describe (smp.test.js:52:3)
18 error
18 error   ● smp › v1-plain › should generate the same app.js content after 2 runs
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544493,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544417,
18 error         },
18 error       ],
18 error     }
18 error
18 error       46 |
18 error       47 | describe("smp", () => {
18 error     > 48 |   beforeAll(() =>
18 error          |   ^
18 error       49 |     runWebpack(webpackConfig).then(file => (testRef.distApp = file))
18 error       50 |   );
18 error       51 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:48:3)
18 error       at Object.describe (smp.test.js:47:1)
18 error
18 error   ● smp › v1-plain › should generate the same app.js content after 2 runs
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544514,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544502,
18 error         },
18 error       ],
18 error     }
18 error
18 error       56 |     const smpWebpackConfig = genSmpWebpackConfig(smp);
18 error       57 |
18 error     > 58 |     beforeAll(() =>
18 error          |     ^
18 error       59 |       runWebpack(smpWebpackConfig).then(file => (testRef.smpDistApp = file))
18 error       60 |     );
18 error       61 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:58:5)
18 error       at Suite.describe (smp.test.js:52:3)
18 error
18 error   ● smp › v1-plain › should generate the same app.js content after 2 runs
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544552,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544525,
18 error         },
18 error       ],
18 error     }
18 error
18 error       64 |     });
18 error       65 |
18 error     > 66 |     it("should generate the same app.js content after 2 runs", () => {
18 error          |     ^
18 error       67 |       const dupSmpWebpackConfig = genSmpWebpackConfig(smp);
18 error       68 |
18 error       69 |       return runWebpack(dupSmpWebpackConfig).then(dupSmpDistApp => {
18 error
18 error       at Env.it (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:91:24)
18 error       at Suite.it (smp.test.js:66:5)
18 error       at Suite.describe (smp.test.js:52:3)
18 error
18 error   ● smp › v1-plain › should state the time taken overall
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544493,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544417,
18 error         },
18 error       ],
18 error     }
18 error
18 error       46 |
18 error       47 | describe("smp", () => {
18 error     > 48 |   beforeAll(() =>
18 error          |   ^
18 error       49 |     runWebpack(webpackConfig).then(file => (testRef.distApp = file))
18 error       50 |   );
18 error       51 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:48:3)
18 error       at Object.describe (smp.test.js:47:1)
18 error
18 error   ● smp › v1-plain › should state the time taken overall
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544514,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544502,
18 error         },
18 error       ],
18 error     }
18 error
18 error       56 |     const smpWebpackConfig = genSmpWebpackConfig(smp);
18 error       57 |
18 error     > 58 |     beforeAll(() =>
18 error          |     ^
18 error       59 |       runWebpack(smpWebpackConfig).then(file => (testRef.smpDistApp = file))
18 error       60 |     );
18 error       61 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:58:5)
18 error       at Suite.describe (smp.test.js:52:3)
18 error
18 error   ● smp › v1-plain › should state the time taken by the plugins
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544493,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544417,
18 error         },
18 error       ],
18 error     }
18 error
18 error       46 |
18 error       47 | describe("smp", () => {
18 error     > 48 |   beforeAll(() =>
18 error          |   ^
18 error       49 |     runWebpack(webpackConfig).then(file => (testRef.distApp = file))
18 error       50 |   );
18 error       51 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:48:3)
18 error       at Object.describe (smp.test.js:47:1)
18 error
18 error   ● smp › v1-plain › should state the time taken by the plugins
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544514,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544502,
18 error         },
18 error       ],
18 error     }
18 error
18 error       56 |     const smpWebpackConfig = genSmpWebpackConfig(smp);
18 error       57 |
18 error     > 58 |     beforeAll(() =>
18 error          |     ^
18 error       59 |       runWebpack(smpWebpackConfig).then(file => (testRef.smpDistApp = file))
18 error       60 |     );
18 error       61 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:58:5)
18 error       at Suite.describe (smp.test.js:52:3)
18 error
18 error   ● smp › v1-plain › should state the time taken by the loaders
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544493,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544417,
18 error         },
18 error       ],
18 error     }
18 error
18 error       46 |
18 error       47 | describe("smp", () => {
18 error     > 48 |   beforeAll(() =>
18 error          |   ^
18 error       49 |     runWebpack(webpackConfig).then(file => (testRef.distApp = file))
18 error       50 |   );
18 error       51 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:48:3)
18 error       at Object.describe (smp.test.js:47:1)
18 error
18 error   ● smp › v1-plain › should state the time taken by the loaders
18 error
18 error     Failed: MultiStats {
18 error       "hash": "a769593a497bae45dbae",
18 error       "stats": Array [
18 error         Stats {
18 error           "compilation": [Compilation],
18 error           "endTime": 1552986544514,
18 error           "hash": "a769593a497bae45dbae",
18 error           "startTime": 1552986544502,
18 error         },
18 error       ],
18 error     }
18 error
18 error       56 |     const smpWebpackConfig = genSmpWebpackConfig(smp);
18 error       57 |
18 error     > 58 |     beforeAll(() =>
18 error          |     ^
18 error       59 |       runWebpack(smpWebpackConfig).then(file => (testRef.smpDistApp = file))
18 error       60 |     );
18 error       61 |
18 error
18 error       at Env.beforeAll (../../../node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:41:24)
18 error       at Suite.beforeAll (smp.test.js:58:5)
18 error       at Suite.describe (smp.test.js:52:3)
18 error
18 error   ● smp › v1-plain › should state the time taken by the loaders
18 error
18 error     expect(received).toMatch(expected)
18 error
18 error     Expected pattern: /babel-loader.* took .*([0-9]+ mins? )?[0-9]+(\.[0-9]+)? secs.*\n\s+module count\s+= [0-9]+/
18 error     Received string:  "
18 error
18 error      SMP  ⏱
18 error     General output time took 0.012 secs
18 error
18 error      SMP  ⏱  Plugins
18 error     DefinePlugin took 0 secs
18 error
18 error      SMP  ⏱  Loaders
18 error     babel-loader took NaNNaN secs
18 error       module count = 1
18 error
18 error
18 error     "
18 error
18 error       86 |
18 error       87 |     it("should state the time taken by the loaders", () => {
18 error     > 88 |       expect(testRef.smpOutput).toMatch(
18 error          |                                 ^
18 error       89 |         /babel-loader.* took .*([0-9]+ mins? )?[0-9]+(\.[0-9]+)? secs.*\n\s+module count\s+= [0-9]+/
18 error       90 |       );
18 error       91 |     });
18 error
18 error       at Object.toMatch (smp.test.js:88:33)
18 error
18 error Test Suites: 1 failed, 1 total
18 error Tests:       5 failed, 5 total
18 error Snapshots:   0 total
18 error Time:        0.964s, estimated 2s
18 error Ran all test suites matching /.\/smp.test.js/i.
18 error npm ERR! code ELIFECYCLE
18 error npm ERR! errno 1
18 error npm ERR! v1-plain@0.0.1 test: `jest ./smp.test.js`
18 error npm ERR! Exit status 1
18 error npm ERR!
18 error npm ERR! Failed at the v1-plain@0.0.1 test script.
18 error npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
18 error
18 error npm ERR! A complete log of this run can be found in:
18 error npm ERR!     /home/stephen/.npm/_logs/2019-03-19T09_09_05_616Z-debug.log
18 error npm ERR! code ELIFECYCLE
18 error npm ERR! errno 1
18 error npm ERR! v1-plain@0.0.1 full-test: `npm run prepare && npm run test && npm run cleanup`
18 error npm ERR! Exit status 1
18 error npm ERR!
18 error npm ERR! Failed at the v1-plain@0.0.1 full-test script.
18 error npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
18 error
18 error npm ERR! A complete log of this run can be found in:
18 error npm ERR!     /home/stephen/.npm/_logs/2019-03-19T09_09_05_644Z-debug.log
18 error
18 error > v1-plain@0.0.1 full-test /home/stephen/workspace/speed-measure-webpack-plugin/__tests__/setups/v1-plain
18 error > npm run prepare && npm run test && npm run cleanup
18 error
18 error
18 error > v1-plain@0.0.1 prepare /home/stephen/workspace/speed-measure-webpack-plugin/__tests__/setups/v1-plain
18 error > cp -r ../../common/* .
18 error
18 error
18 error > v1-plain@0.0.1 test /home/stephen/workspace/speed-measure-webpack-plugin/__tests__/setups/v1-plain
18 error > jest ./smp.test.js
18 error
18 error
18 error     at Promise.all.then.arr (/home/stephen/workspace/speed-measure-webpack-plugin/node_modules/lerna/node_modules/execa/index.js:236:11)