forked from nodejs/node
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest_runner_output.out
652 lines (650 loc) · 13.8 KB
/
test_runner_output.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
TAP version 13
# Subtest: sync pass todo
ok 1 - sync pass todo # TODO
---
duration_ms: *
...
# Subtest: sync pass todo with message
ok 2 - sync pass todo with message # TODO this is a passing todo
---
duration_ms: *
...
# Subtest: sync fail todo
not ok 3 - sync fail todo # TODO
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from sync fail todo'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
...
# Subtest: sync fail todo with message
not ok 4 - sync fail todo with message # TODO this is a failing todo
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from sync fail todo with message'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
*
*
...
# Subtest: sync skip pass
ok 5 - sync skip pass # SKIP
---
duration_ms: *
...
# Subtest: sync skip pass with message
ok 6 - sync skip pass with message # SKIP this is skipped
---
duration_ms: *
...
# Subtest: sync pass
ok 7 - sync pass
---
duration_ms: *
...
# this test should pass
# Subtest: sync throw fail
not ok 8 - sync throw fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from sync throw fail'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
...
# Subtest: async skip pass
ok 9 - async skip pass # SKIP
---
duration_ms: *
...
# Subtest: async pass
ok 10 - async pass
---
duration_ms: *
...
# Subtest: async throw fail
not ok 11 - async throw fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from async throw fail'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
...
# Subtest: async skip fail
not ok 12 - async skip fail # SKIP
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from async throw fail'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
...
# Subtest: async assertion fail
not ok 13 - async assertion fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:
true !== false
code: 'ERR_ASSERTION'
stack: |-
*
*
*
*
*
*
*
*
...
# Subtest: resolve pass
ok 14 - resolve pass
---
duration_ms: *
...
# Subtest: reject fail
not ok 15 - reject fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'rejected from reject fail'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
...
# Subtest: unhandled rejection - passes but warns
ok 16 - unhandled rejection - passes but warns
---
duration_ms: *
...
# Subtest: async unhandled rejection - passes but warns
ok 17 - async unhandled rejection - passes but warns
---
duration_ms: *
...
# Subtest: immediate throw - passes but warns
ok 18 - immediate throw - passes but warns
---
duration_ms: *
...
# Subtest: immediate reject - passes but warns
ok 19 - immediate reject - passes but warns
---
duration_ms: *
...
# Subtest: immediate resolve pass
ok 20 - immediate resolve pass
---
duration_ms: *
...
# Subtest: subtest sync throw fail
# Subtest: +sync throw fail
not ok 1 - +sync throw fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from subtest sync throw fail'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
*
*
...
# this subtest should make its parent test fail
1..1
not ok 21 - subtest sync throw fail
---
duration_ms: *
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
# Subtest: sync throw non-error fail
not ok 22 - sync throw non-error fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'Symbol(thrown symbol from sync throw non-error fail)'
code: 'ERR_TEST_FAILURE'
...
# Subtest: level 0a
# Subtest: level 1a
ok 1 - level 1a
---
duration_ms: *
...
# Subtest: level 1b
ok 2 - level 1b
---
duration_ms: *
...
# Subtest: level 1c
ok 3 - level 1c
---
duration_ms: *
...
# Subtest: level 1d
ok 4 - level 1d
---
duration_ms: *
...
1..4
ok 23 - level 0a
---
duration_ms: *
...
# Subtest: top level
# Subtest: +long running
not ok 1 - +long running
---
duration_ms: *
failureType: 'cancelledByParent'
error: 'test did not finish before its parent and was cancelled'
code: 'ERR_TEST_FAILURE'
...
# Subtest: +short running
# Subtest: ++short running
ok 1 - ++short running
---
duration_ms: *
...
1..1
ok 2 - +short running
---
duration_ms: *
...
1..2
not ok 24 - top level
---
duration_ms: *
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
# Subtest: invalid subtest - pass but subtest fails
ok 25 - invalid subtest - pass but subtest fails
---
duration_ms: *
...
# Subtest: sync skip option
ok 26 - sync skip option # SKIP
---
duration_ms: *
...
# Subtest: sync skip option with message
ok 27 - sync skip option with message # SKIP this is skipped
---
duration_ms: *
...
# Subtest: sync skip option is false fail
not ok 28 - sync skip option is false fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'this should be executed'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
...
# Subtest: <anonymous>
ok 29 - <anonymous>
---
duration_ms: *
...
# Subtest: functionOnly
ok 30 - functionOnly
---
duration_ms: *
...
# Subtest: <anonymous>
ok 31 - <anonymous>
---
duration_ms: *
...
# Subtest: test with only a name provided
ok 32 - test with only a name provided
---
duration_ms: *
...
# Subtest: <anonymous>
ok 33 - <anonymous>
---
duration_ms: *
...
# Subtest: <anonymous>
ok 34 - <anonymous> # SKIP
---
duration_ms: *
...
# Subtest: test with a name and options provided
ok 35 - test with a name and options provided # SKIP
---
duration_ms: *
...
# Subtest: functionAndOptions
ok 36 - functionAndOptions # SKIP
---
duration_ms: *
...
# Subtest: escaped description \\ \# \\\#\\
ok 37 - escaped description \\ \# \\\#\\
---
duration_ms: *
...
# Subtest: escaped skip message
ok 38 - escaped skip message # SKIP \#skip
---
duration_ms: *
...
# Subtest: escaped todo message
ok 39 - escaped todo message # TODO \#todo
---
duration_ms: *
...
# Subtest: escaped diagnostic
ok 40 - escaped diagnostic
---
duration_ms: *
...
# \#diagnostic
# Subtest: callback pass
ok 41 - callback pass
---
duration_ms: *
...
# Subtest: callback fail
not ok 42 - callback fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'callback failure'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
...
# Subtest: sync t is this in test
ok 43 - sync t is this in test
---
duration_ms: *
...
# Subtest: async t is this in test
ok 44 - async t is this in test
---
duration_ms: *
...
# Subtest: callback t is this in test
ok 45 - callback t is this in test
---
duration_ms: *
...
# Subtest: callback also returns a Promise
not ok 46 - callback also returns a Promise
---
duration_ms: *
failureType: 'callbackAndPromisePresent'
error: 'passed a callback but also returned a Promise'
code: 'ERR_TEST_FAILURE'
...
# Subtest: callback throw
not ok 47 - callback throw
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from callback throw'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
...
# Subtest: callback called twice
not ok 48 - callback called twice
---
duration_ms: *
failureType: 'multipleCallbackInvocations'
error: 'callback invoked multiple times'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
...
# Subtest: callback called twice in different ticks
ok 49 - callback called twice in different ticks
---
duration_ms: *
...
# Subtest: callback called twice in future tick
not ok 50 - callback called twice in future tick
---
duration_ms: *
failureType: 'uncaughtException'
error: 'callback invoked multiple times'
code: 'ERR_TEST_FAILURE'
stack: |-
*
...
# Subtest: callback async throw
not ok 51 - callback async throw
---
duration_ms: *
failureType: 'uncaughtException'
error: 'thrown from callback async throw'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
...
# Subtest: callback async throw after done
ok 52 - callback async throw after done
---
duration_ms: *
...
# Subtest: only is set but not in only mode
# Subtest: running subtest 1
ok 1 - running subtest 1
---
duration_ms: *
...
# Subtest: running subtest 2
ok 2 - running subtest 2
---
duration_ms: *
...
# Subtest: running subtest 3
ok 3 - running subtest 3
---
duration_ms: *
...
# Subtest: running subtest 4
ok 4 - running subtest 4
---
duration_ms: *
...
1..4
ok 53 - only is set but not in only mode
---
duration_ms: *
...
# Subtest: custom inspect symbol fail
not ok 54 - custom inspect symbol fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'customized'
code: 'ERR_TEST_FAILURE'
...
# Subtest: custom inspect symbol that throws fail
not ok 55 - custom inspect symbol that throws fail
---
duration_ms: *
failureType: 'testCodeFailure'
error: |-
{
foo: 1,
[Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]]
}
code: 'ERR_TEST_FAILURE'
...
# Subtest: subtest sync throw fails
# Subtest: sync throw fails at first
not ok 1 - sync throw fails at first
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from subtest sync throw fails at first'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
*
*
...
# Subtest: sync throw fails at second
not ok 2 - sync throw fails at second
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'thrown from subtest sync throw fails at second'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
*
*
*
*
*
*
*
...
1..2
not ok 56 - subtest sync throw fails
---
duration_ms: *
failureType: 'subtestsFailed'
error: '2 subtests failed'
code: 'ERR_TEST_FAILURE'
...
# Subtest: timed out async test
not ok 57 - timed out async test
---
duration_ms: *
failureType: 'testTimeoutFailure'
error: 'test timed out after 5ms'
code: 'ERR_TEST_FAILURE'
...
# Subtest: timed out callback test
not ok 58 - timed out callback test
---
duration_ms: *
failureType: 'testTimeoutFailure'
error: 'test timed out after 5ms'
code: 'ERR_TEST_FAILURE'
...
# Subtest: large timeout async test is ok
ok 59 - large timeout async test is ok
---
duration_ms: *
...
# Subtest: large timeout callback test is ok
ok 60 - large timeout callback test is ok
---
duration_ms: *
...
# Subtest: successful thenable
ok 61 - successful thenable
---
duration_ms: *
...
# Subtest: rejected thenable
not ok 62 - rejected thenable
---
duration_ms: *
failureType: 'testCodeFailure'
error: 'custom error'
code: 'ERR_TEST_FAILURE'
...
# Subtest: unfinished test with uncaughtException
not ok 63 - unfinished test with uncaughtException
---
duration_ms: *
failureType: 'uncaughtException'
error: 'foo'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
...
# Subtest: unfinished test with unhandledRejection
not ok 64 - unfinished test with unhandledRejection
---
duration_ms: *
failureType: 'unhandledRejection'
error: 'bar'
code: 'ERR_TEST_FAILURE'
stack: |-
*
*
*
...
# Subtest: invalid subtest fail
not ok 65 - invalid subtest fail
---
duration_ms: *
failureType: 'parentAlreadyFinished'
error: 'test could not be started because its parent finished'
code: 'ERR_TEST_FAILURE'
stack: |-
*
...
1..65
# Warning: Test "unhandled rejection - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from unhandled rejection fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
# Warning: Test "async unhandled rejection - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from async unhandled rejection fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
# Warning: Test "immediate throw - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from immediate throw fail" and would have caused the test to fail, but instead triggered an uncaughtException event.
# Warning: Test "immediate reject - passes but warns" generated asynchronous activity after the test ended. This activity created the error "Error: rejected from immediate reject fail" and would have caused the test to fail, but instead triggered an unhandledRejection event.
# Warning: Test "callback called twice in different ticks" generated asynchronous activity after the test ended. This activity created the error "Error [ERR_TEST_FAILURE]: callback invoked multiple times" and would have caused the test to fail, but instead triggered an uncaughtException event.
# Warning: Test "callback async throw after done" generated asynchronous activity after the test ended. This activity created the error "Error: thrown from callback async throw after done" and would have caused the test to fail, but instead triggered an uncaughtException event.
# tests 65
# pass 27
# fail 21
# cancelled 2
# skipped 10
# todo 5
# duration_ms *