-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathbuild.log
More file actions
2929 lines (2926 loc) · 189 KB
/
build.log
File metadata and controls
2929 lines (2926 loc) · 189 KB
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
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2026-02-25 11:21:02 INFO [BrazilMakeGo-3.0/runtime] Resolving dependencies
2026-02-25 11:21:02 INFO [GoLang-1.x/runtime] Resolving dependencies
2026-02-25 11:21:02 INFO [Go3p-Github-Golangci-GolangciLint-V2-2.x/runtime] Resolving dependencies
2026-02-25 11:21:02 INFO [Go3p-Github-Vektra-Mockery-V2-2.x/runtime] Resolving dependencies
2026-02-25 11:21:02 INFO [Go3p-Github-Vektra-Mockery-V2-2.x/runtime] Building symlink farm of 1 packages from package cache
2026-02-25 11:21:02 INFO [GoLang-1.x/runtime] Building symlink farm of 1 packages from package cache
2026-02-25 11:21:02 INFO [Go3p-Github-Golangci-GolangciLint-V2-2.x/runtime] Building symlink farm of 1 packages from package cache
2026-02-25 11:21:02 INFO [Go3p-Github-Vektra-Mockery-V2-2.x/runtime] Caching runtime components of dependencies
2026-02-25 11:21:02 INFO [GoLang-1.x/runtime] Caching runtime components of dependencies
2026-02-25 11:21:02 INFO [Go3p-Github-Golangci-GolangciLint-V2-2.x/runtime] Caching runtime components of dependencies
2026-02-25 11:21:02 INFO [BrazilMakeGo-3.0/runtime] Building symlink farm of 38 packages from package cache
2026-02-25 11:21:02 INFO [BrazilMakeGo-3.0/runtime] Caching runtime components of dependencies
2026-02-25 11:21:02 INFO [BrazilMakeGo-3.0/runtime] Successfully created environment at /workplace/siyuliao/LambdaRIEGithubSource_ws/env/BrazilMakeGo-3.0/runtime
2026-02-25 11:21:02 INFO [Go3p-Github-Vektra-Mockery-V2-2.x/runtime] Successfully created environment at /workplace/siyuliao/LambdaRIEGithubSource_ws/env/Go3p-Github-Vektra-Mockery-V2-2.x/runtime
2026-02-25 11:21:04 INFO [GoLang-1.x/runtime] Successfully created environment at /workplace/siyuliao/LambdaRIEGithubSource_ws/env/GoLang-1.x/runtime
2026-02-25 11:21:04 INFO [Go3p-Github-Golangci-GolangciLint-V2-2.x/runtime] Successfully created environment at /workplace/siyuliao/LambdaRIEGithubSource_ws/env/Go3p-Github-Golangci-GolangciLint-V2-2.x/runtime
Running build command 'bgo-wrap-make'
bgo-dirsync --ignore --src configuration/brazil-config --dst build/private/tmp/brazil-path/run.configfarm.brazil-config/brazil-config
bgo-dirsync --ignore --src configuration --dst build
goimports -w .
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/go-chi/chi/v5 v5.2.2
go: downloading github.com/jessevdk/go-flags v1.5.0
go: downloading github.com/go-chi/chi v1.5.5
go: downloading github.com/stretchr/testify v1.9.0
go: downloading github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
go: downloading github.com/orcaman/concurrent-map v1.0.0
go: downloading golang.org/x/sys v0.14.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/stretchr/objx v0.5.2
go: downloading gopkg.in/yaml.v3 v3.0.1
bgo-test-json test -shuffle on -tags test ./... -cover -covermode=atomic -coverprofile=build/brazil-documentation/coverage/coverage.out
go: downloading golang.org/x/sync v0.6.0
go: downloading github.com/aws/aws-lambda-go v1.46.0
golang.a2z.com/LambdaRIEGithubSource/cmd/aws-lambda-rie coverage: 0.0% of statements
-test.shuffle 1772018499932568252
=== RUN TestBaseNotExist
time="2026-02-25T11:21:39Z" level=info msg="The extension's directory \"/path/which/does/not/exist\" does not exist, assuming no extensions to be loaded."
--- PASS: TestBaseNotExist (0.00s)
=== RUN TestBaseEmpty
--- PASS: TestBaseEmpty (0.00s)
=== RUN TestBaseNotDir
time="2026-02-25T11:21:39Z" level=error msg="Cannot list external agents" error="open /tmp/ext-3530450847/opt/extensions: not a directory"
--- PASS: TestBaseNotDir (0.00s)
=== RUN TestFindAgentMixedInChroot
--- PASS: TestFindAgentMixedInChroot (0.00s)
=== RUN TestChrootNotExist
time="2026-02-25T11:21:39Z" level=info msg="The extension's directory \"/does/not/exist/bin\" does not exist, assuming no extensions to be loaded."
--- PASS: TestChrootNotExist (0.00s)
=== RUN TestFindAgentMixed
--- PASS: TestFindAgentMixed (0.00s)
PASS
coverage: 88.9% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/agents 0.007s coverage: 88.9% of statements
-test.shuffle 1772018500218886781
=== RUN TestStoreLoadInitType
--- PASS: TestStoreLoadInitType (0.00s)
=== RUN TestUpdateAppCtxWithRuntimeRelease
--- PASS: TestUpdateAppCtxWithRuntimeRelease (0.00s)
=== RUN TestUpdateAppCtxWithRuntimeReleaseWithBlankUserAgent
--- PASS: TestUpdateAppCtxWithRuntimeReleaseWithBlankUserAgent (0.00s)
=== RUN TestCreateRuntimeReleaseFromRequest
--- PASS: TestCreateRuntimeReleaseFromRequest (0.00s)
=== RUN TestUpdateAppCtxWithRuntimeReleaseWithoutUserAgent
--- PASS: TestUpdateAppCtxWithRuntimeReleaseWithoutUserAgent (0.00s)
=== RUN TestUpdateAppCtxWithRuntimeReleaseMultipleTimes
--- PASS: TestUpdateAppCtxWithRuntimeReleaseMultipleTimes (0.00s)
=== RUN TestFirstFatalError
time="2026-02-25T11:21:40Z" level=warning msg="First fatal error stored in appctx: Extension.Crash"
time="2026-02-25T11:21:40Z" level=warning msg="Omitting fatal error Extension.ExitError: Extension.Crash already stored"
--- PASS: TestFirstFatalError (0.00s)
=== RUN TestUpdateAppCtxWithRuntimeReleaseWithLambdaRuntimeFeatures
--- PASS: TestUpdateAppCtxWithRuntimeReleaseWithLambdaRuntimeFeatures (0.00s)
=== RUN TestStoreLoadSandboxType
--- PASS: TestStoreLoadSandboxType (0.00s)
PASS
coverage: 74.7% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/appctx 0.032s coverage: 74.7% of statements
-test.shuffle 1772018500618351309
=== RUN TestWalkThrough
-test.shuffle 1772018500618454646
--- PASS: TestWalkThrough (0.00s)
=== RUN TestUseAfterCancel
--- PASS: TestUseAfterCancel (0.00s)
=== RUN TestRegistrationServiceHappyPathDuringInit
=== RUN TestNewBandwidthLimitingWriter
--- PASS: TestRegistrationServiceHappyPathDuringInit (0.00s)
=== RUN TestInternalAgentStateTransitionsFromRunningState
--- PASS: TestInternalAgentStateTransitionsFromRunningState (0.00s)
=== RUN TestRuntimeInitErrorAfterReady
--- PASS: TestRuntimeInitErrorAfterReady (0.00s)
=== RUN TestRuntimeStateTransitionsFromRestoringState
--- PASS: TestRuntimeStateTransitionsFromRestoringState (0.00s)
=== RUN TestCancel
--- PASS: TestCancel (0.00s)
=== RUN TestRuntimeStateTransitionsFromRestoreReadyState
--- PASS: TestRuntimeStateTransitionsFromRestoreReadyState (0.00s)
=== RUN TestRuntimeStateTransitionsFromInvocationErrorResponseState
--- PASS: TestRuntimeStateTransitionsFromInvocationErrorResponseState (0.00s)
=== RUN TestExternalAgentStateTransitionsFromReadyState
--- PASS: TestExternalAgentStateTransitionsFromReadyState (0.00s)
=== RUN TestInternalAgentsMapInsertIDCollision
--- PASS: TestInternalAgentsMapInsertIDCollision (0.00s)
=== RUN TestInternalAgentsMapLookupByID
--- PASS: TestInternalAgentsMapLookupByID (0.00s)
=== RUN TestGetSetCredentialsHappy
--- PASS: TestGetSetCredentialsHappy (0.00s)
=== RUN TestInternalAgentsMapLookupByName
--- PASS: TestInternalAgentsMapLookupByName (0.00s)
=== RUN TestInternalAgentStateTransitionsFromExitErrorState
--- PASS: TestInternalAgentStateTransitionsFromExitErrorState (0.00s)
=== RUN TestRuntimeStateTransitionsFromRestoreErrorState
--- PASS: TestRuntimeStateTransitionsFromRestoreErrorState (0.00s)
=== RUN TestExternalAgentStateTransitionsFromRunningState
--- PASS: TestExternalAgentStateTransitionsFromRunningState (0.00s)
=== RUN TestInternalAgentStateUnknownEventType
--- PASS: TestInternalAgentStateUnknownEventType (0.00s)
=== RUN TestExternalAgentStateTransitionsFromRegisteredState
--- PASS: TestExternalAgentStateTransitionsFromRegisteredState (0.00s)
=== RUN TestInternalAgentsMapInsertNameCollision
--- PASS: TestInternalAgentsMapInsertNameCollision (0.00s)
=== RUN TestRuntimeStateTransitionsFromRunningState
--- PASS: TestRuntimeStateTransitionsFromRunningState (0.00s)
=== RUN TestReset
--- PASS: TestReset (0.00s)
=== RUN TestRuntimeStateTransitionsFromResponseSentState
--- PASS: TestRuntimeStateTransitionsFromResponseSentState (0.00s)
=== RUN TestGetCredentialsFail
--- PASS: TestGetCredentialsFail (0.00s)
=== RUN TestExternalAgentsMapInsertNameCollision
--- PASS: TestExternalAgentsMapInsertNameCollision (0.00s)
=== RUN TestCancelWithError
--- PASS: TestCancelWithError (0.00s)
=== RUN TestInternalAgentStateInvalidEventType
--- PASS: TestInternalAgentStateInvalidEventType (0.00s)
=== RUN TestInternalAgentStateTransitionsFromReadyState
--- PASS: TestInternalAgentStateTransitionsFromReadyState (0.00s)
=== RUN TestRuntimeStateTransitionsFromInvocationResponseState
--- PASS: TestRuntimeStateTransitionsFromInvocationResponseState (0.00s)
=== RUN TestUpdateCredentialsHappy
--- PASS: TestUpdateCredentialsHappy (0.00s)
=== RUN TestExternalAgentStateTransitionsFromShutdownFailedState
--- PASS: TestExternalAgentStateTransitionsFromShutdownFailedState (0.00s)
=== RUN TestRuntimeStateTransitionsFromReadyState
--- PASS: TestRuntimeStateTransitionsFromReadyState (0.00s)
=== RUN TestExternalAgentStateTransitionsFromLaunchErrorState
--- PASS: TestExternalAgentStateTransitionsFromLaunchErrorState (0.00s)
=== RUN TestExternalAgentsMapLookupByID
--- PASS: TestExternalAgentsMapLookupByID (0.00s)
=== RUN TestExternalAgentStateUnknownEventType
--- PASS: TestExternalAgentStateUnknownEventType (0.00s)
=== RUN TestInternalAgentStateTransitionsFromRegisteredState
--- PASS: TestInternalAgentStateTransitionsFromRegisteredState (0.00s)
=== RUN TestInternalAgentStateTransitionsFromStartedState
--- PASS: TestInternalAgentStateTransitionsFromStartedState (0.00s)
=== RUN TestExternalAgentStateTransitionsFromExitedState
--- PASS: TestExternalAgentStateTransitionsFromExitedState (0.00s)
=== RUN TestSetCount
--- PASS: TestSetCount (0.00s)
=== RUN TestExternalAgentsMapLookupByName
--- PASS: TestExternalAgentsMapLookupByName (0.00s)
=== RUN TestRuntimeStateTransitionsFromInitErrorState
--- PASS: TestRuntimeStateTransitionsFromInitErrorState (0.00s)
=== RUN TestUpdateCredentialsFail
--- PASS: TestUpdateCredentialsFail (0.00s)
=== RUN TestRuntimeStateTransitionsFromStartedState
--- PASS: TestRuntimeStateTransitionsFromStartedState (0.00s)
=== RUN TestExternalAgentsMapInsertIDCollision
--- PASS: TestExternalAgentsMapInsertIDCollision (0.00s)
=== RUN TestExternalAgentStateTransitionsFromStartedState
--- PASS: TestExternalAgentStateTransitionsFromStartedState (0.00s)
=== RUN TestExternalAgentStateTransitionsFromExitErrorState
--- PASS: TestExternalAgentStateTransitionsFromExitErrorState (0.00s)
=== RUN TestInternalAgentStateTransitionsFromInitErrorState
--- PASS: TestInternalAgentStateTransitionsFromInitErrorState (0.00s)
=== RUN TestWalkThroughTwice
--- PASS: TestWalkThroughTwice (0.00s)
=== RUN TestExternalAgentStateTransitionsFromInitErrorState
--- PASS: TestExternalAgentStateTransitionsFromInitErrorState (0.00s)
PASS
coverage: 70.6% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/core 0.010s coverage: 70.6% of statements
-test.shuffle 1772018500738113061
=== RUN TestAsyncPayloadCopyWhenPayloadSizeBelowMaxAllowed
--- PASS: TestAsyncPayloadCopyWhenPayloadSizeBelowMaxAllowed (0.00s)
=== RUN TestCustomerHeaders
--- PASS: TestCustomerHeaders (0.00s)
=== RUN TestSendStreamingInvokeResponseSuccessWithTrailers
--- PASS: TestSendStreamingInvokeResponseSuccessWithTrailers (0.00s)
=== RUN TestIsStreamingInvokeTrue
--- PASS: TestIsStreamingInvokeTrue (0.00s)
=== RUN TestSendStreamingInvokeErrorResponseSuccess
--- PASS: TestSendStreamingInvokeErrorResponseSuccess (0.00s)
=== RUN TestSendStreamingInvokeResponseOversizedRuntimesWithoutErrorTypeTrailer
golang.a2z.com/LambdaRIEGithubSource/internal/lambda/extensions coverage: 0.0% of statements
golang.a2z.com/LambdaRIEGithubSource/internal/lambda/core/statejson coverage: 0.0% of statements
time="2026-02-25T11:21:40Z" level=error msg="Error while streaming response payload: Response payload size (6291557 bytes) exceeded maximum allowed payload size (6291556 bytes)."
--- PASS: TestSendStreamingInvokeResponseOversizedRuntimesWithoutErrorTypeTrailer (0.13s)
=== RUN TestMapCopyDoneResultErrorToErrorType
--- PASS: TestMapCopyDoneResultErrorToErrorType (0.00s)
=== RUN TestSendStreamingInvokeResponseSuccess
--- PASS: TestSendStreamingInvokeResponseSuccess (0.00s)
=== RUN TestSendStreamingInvokeResponseReset
time="2026-02-25T11:21:40Z" level=warning msg="Cannot close underlying connection. Request object is nil"
time="2026-02-25T11:21:40Z" level=error msg="Error while streaming response payload: ErrTruncatedResponse"
--- PASS: TestSendStreamingInvokeResponseReset (0.01s)
=== RUN TestSendStreamingInvokeResponseOversizedRuntimesWithTrailers
-test.shuffle 1772018501015950175
=== RUN TestValidRuntimeAndFunctionErrors
=== RUN TestValidRuntimeAndFunctionErrors/Runtime.TruncatedResponse
--- PASS: TestValidRuntimeAndFunctionErrors/Runtime.TruncatedResponse (0.00s)
=== RUN TestValidRuntimeAndFunctionErrors/Runtime.ExitError
--- PASS: TestValidRuntimeAndFunctionErrors/Runtime.ExitError (0.00s)
=== RUN TestValidRuntimeAndFunctionErrors/Runtime.InvalidEntrypoint
--- PASS: TestValidRuntimeAndFunctionErrors/Runtime.InvalidEntrypoint (0.00s)
=== RUN TestValidRuntimeAndFunctionErrors/Runtime.InvalidWorkingDir
--- PASS: TestValidRuntimeAndFunctionErrors/Runtime.InvalidWorkingDir (0.00s)
=== RUN TestValidRuntimeAndFunctionErrors/Runtime.InvalidTaskConfig
--- PASS: TestValidRuntimeAndFunctionErrors/Runtime.InvalidTaskConfig (0.00s)
=== RUN TestValidRuntimeAndFunctionErrors/Runtime.InvalidResponseModeHeader
--- PASS: TestValidRuntimeAndFunctionErrors/Runtime.InvalidResponseModeHeader (0.00s)
=== RUN TestValidRuntimeAndFunctionErrors/Runtime.Unknown
--- PASS: TestValidRuntimeAndFunctionErrors/Runtime.Unknown (0.00s)
=== RUN TestValidRuntimeAndFunctionErrors/Function.ResponseSizeTooLarge
--- PASS: TestValidRuntimeAndFunctionErrors/Function.ResponseSizeTooLarge (0.00s)
=== RUN TestValidRuntimeAndFunctionErrors/Function.Unknown
--- PASS: TestValidRuntimeAndFunctionErrors/Function.Unknown (0.00s)
--- PASS: TestValidRuntimeAndFunctionErrors (0.00s)
=== RUN TestGetValidRuntimeOrFunctionErrorType
=== RUN TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_
--- PASS: TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_ (0.00s)
time="2026-02-25T11:21:41Z" level=error msg="Error while streaming response payload: Response payload size (6291557 bytes) exceeded maximum allowed payload size (6291556 bytes)."
--- PASS: TestSendStreamingInvokeResponseOversizedRuntimesWithTrailers (0.14s)
=== RUN TestSendPayloadLimitedResponseAboveThresholdWithStreamingFunction
=== RUN TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_MyCustomError
--- PASS: TestSendPayloadLimitedResponseAboveThresholdWithStreamingFunction (0.00s)
=== RUN TestSendPayloadLimitedResponseWithinThresholdWithStreamingFunction
--- PASS: TestSendPayloadLimitedResponseWithinThresholdWithStreamingFunction (0.00s)
=== RUN TestReceiveDirectInvoke_TenantIDHeader
time="2026-02-25T11:21:41Z" level=info msg="Received Invoke(invokeID: invoke_id) Request"
--- PASS: TestReceiveDirectInvoke_TenantIDHeader (0.00s)
=== RUN TestCustomerHeadersEmpty
--- PASS: TestCustomerHeadersEmpty (0.00s)
=== RUN TestAsyncPayloadCopySuccessAfterCancel
--- PASS: TestAsyncPayloadCopySuccessAfterCancel (0.00s)
=== RUN TestSendStreamingInvokeErrorResponseReset
--- PASS: TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_MyCustomError (0.00s)
=== RUN TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_MyCustomError.Error
--- PASS: TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_MyCustomError.Error (0.00s)
=== RUN TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_Runtime.MyCustomErrorTypeHere
--- PASS: TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_Runtime.MyCustomErrorTypeHere (0.00s)
=== RUN TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_Function.MyCustomErrorTypeHere
--- PASS: TestGetValidRuntimeOrFunctionErrorType/TestGetValidRuntimeOrFunctionErrorType_with_Function.MyCustomErrorTypeHere (0.00s)
--- PASS: TestGetValidRuntimeOrFunctionErrorType (0.00s)
PASS
coverage: 83.3% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/fatalerror 0.010s coverage: 83.3% of statements
time="2026-02-25T11:21:41Z" level=error msg="Error while streaming error response payload: ErrTruncatedResponse"
--- PASS: TestSendStreamingInvokeErrorResponseReset (0.01s)
=== RUN TestAsyncPayloadCopyWhenPayloadSizeEqualMaxAllowed
--- PASS: TestAsyncPayloadCopyWhenPayloadSizeEqualMaxAllowed (0.00s)
=== RUN TestAsyncPayloadCopyWithIncompatibleResponseWriter
time="2026-02-25T11:21:41Z" level=error msg="expected http.ResponseWriter to be an http.Flusher"
--- PASS: TestAsyncPayloadCopyWithIncompatibleResponseWriter (0.00s)
=== RUN TestConvertToInvokeResponseMode
time="2026-02-25T11:21:41Z" level=error msg="Unable to map foo-bar to Buffered, Streaming."
--- PASS: TestConvertToInvokeResponseMode (0.00s)
=== RUN TestIsStreamingInvokeFalse
--- PASS: TestIsStreamingInvokeFalse (0.00s)
=== RUN TestAsyncPayloadCopyWhenUnlimitedPayloadSizeAllowed
--- PASS: TestAsyncPayloadCopyWhenUnlimitedPayloadSizeAllowed (0.14s)
=== RUN TestAsyncPayloadCopyWhenPayloadSizeAboveMaxAllowed
--- PASS: TestAsyncPayloadCopyWhenPayloadSizeAboveMaxAllowed (0.00s)
=== RUN TestAsyncPayloadCopyWhenResponseIsTruncated
directinvoke_test.go:223: Pending injection of bandwidthlimiter as a dependency of asyncPayloadCopy.
--- SKIP: TestAsyncPayloadCopyWhenResponseIsTruncated (0.00s)
=== RUN FuzzReceiveDirectInvoke
=== RUN FuzzReceiveDirectInvoke/seed#0
time="2026-02-25T11:21:41Z" level=info msg="Received Invoke(invokeID: invoke_id) Request"
--- PASS: FuzzReceiveDirectInvoke/seed#0 (0.00s)
=== RUN FuzzReceiveDirectInvoke/seed#1
time="2026-02-25T11:21:41Z" level=info msg="Received Invoke(invokeID: invoke_id) Request"
--- PASS: FuzzReceiveDirectInvoke/seed#1 (0.00s)
=== RUN FuzzReceiveDirectInvoke/seed#2
time="2026-02-25T11:21:41Z" level=info msg="Received Invoke(invokeID: invoke_id) Request"
time="2026-02-25T11:21:41Z" level=error msg="Unable to map 0 to Buffered, Streaming."
time="2026-02-25T11:21:41Z" level=error msg="InvokeResponseMode header is not a valid string. Was: \"0\", Allowed: \"Buffered, Streaming\"."
time="2026-02-25T11:21:41Z" level=error msg="Unable to map 0 to Buffered, Streaming."
--- PASS: FuzzReceiveDirectInvoke/seed#2 (0.00s)
--- PASS: FuzzReceiveDirectInvoke (0.00s)
PASS
coverage: 76.3% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/core/directinvoke 0.441s coverage: 76.3% of statements
-test.shuffle 1772018501265588522
=== RUN TestGetErrorResponseWithFormattedErrorMessageWithInvokeRequestId
--- PASS: TestGetErrorResponseWithFormattedErrorMessageWithInvokeRequestId (0.00s)
=== RUN TestMergeSubscriptionMetrics
--- PASS: TestMergeSubscriptionMetrics (0.00s)
=== RUN TestJsonMarshalInitRuntimeDoneError
--- PASS: TestJsonMarshalInitRuntimeDoneError (0.00s)
=== RUN TestJsonMarshalReportWithTracing
--- PASS: TestJsonMarshalReportWithTracing (0.00s)
=== RUN TestJsonMarshalRestoreRuntimeDoneSuccess
--- PASS: TestJsonMarshalRestoreRuntimeDoneSuccess (0.00s)
=== RUN TestJsonMarshalRestoreRuntimeDoneError
--- PASS: TestJsonMarshalRestoreRuntimeDoneError (0.00s)
=== RUN TestJsonMarshalRestoreRuntimeDoneErrorWithEmptyErrorType
--- PASS: TestJsonMarshalRestoreRuntimeDoneErrorWithEmptyErrorType (0.00s)
=== RUN TestJsonMarshalExtensionInit
--- PASS: TestJsonMarshalExtensionInit (0.00s)
=== RUN TestJsonMarshalInitRuntimeDoneFailureWithEmptyErrorType
--- PASS: TestJsonMarshalInitRuntimeDoneFailureWithEmptyErrorType (0.00s)
=== RUN TestJsonMarshalInvokeRuntimeDoneFailure
--- PASS: TestJsonMarshalInvokeRuntimeDoneFailure (0.00s)
=== RUN TestJsonMarshalInvokeRuntimeDoneNoMetrics
--- PASS: TestJsonMarshalInvokeRuntimeDoneNoMetrics (0.00s)
=== RUN TestJsonMarshalInvokeRuntimeDoneTimeout
--- PASS: TestJsonMarshalInvokeRuntimeDoneTimeout (0.00s)
=== RUN TestJsonMarshalExtensionInitEmptyEvents
--- PASS: TestJsonMarshalExtensionInitEmptyEvents (0.00s)
=== RUN TestJsonMarshalInvokeRuntimeDone
--- PASS: TestJsonMarshalInvokeRuntimeDone (0.00s)
=== RUN TestJsonMarshalInitRuntimeDoneSuccess
--- PASS: TestJsonMarshalInitRuntimeDoneSuccess (0.00s)
=== RUN TestDoneMetadataMetricsDimensionsStringWhenEmpty
--- PASS: TestDoneMetadataMetricsDimensionsStringWhenEmpty (0.00s)
=== RUN TestJsonMarshalExtensionInitWithError
--- PASS: TestJsonMarshalExtensionInitWithError (0.00s)
=== RUN TestJsonMarshalInvokeRuntimeDoneWithEmptyErrorType
--- PASS: TestJsonMarshalInvokeRuntimeDoneWithEmptyErrorType (0.00s)
=== RUN TestJsonMarshalReportWithoutErrorSpansAndTracing
--- PASS: TestJsonMarshalReportWithoutErrorSpansAndTracing (0.00s)
=== RUN TestJsonMarshalReportWithInit
--- PASS: TestJsonMarshalReportWithInit (0.00s)
=== RUN TestJsonMarshalInvokeRuntimeDoneNoTracing
--- PASS: TestJsonMarshalInvokeRuntimeDoneNoTracing (0.00s)
=== RUN TestDoneMetadataMetricsDimensionsStringWhenInvokeResponseModeIsPresent
--- PASS: TestDoneMetadataMetricsDimensionsStringWhenInvokeResponseModeIsPresent (0.00s)
=== RUN TestJsonMarshalInvokeRuntimeDoneWithProducedBytesEqualToZero
--- PASS: TestJsonMarshalInvokeRuntimeDoneWithProducedBytesEqualToZero (0.00s)
=== RUN TestJsonMarshalInvokeRuntimeDoneWithNoSpans
--- PASS: TestJsonMarshalInvokeRuntimeDoneWithNoSpans (0.00s)
=== RUN TestGetErrorResponseWithFormattedErrorMessageWithoutInvokeRequestId
--- PASS: TestGetErrorResponseWithFormattedErrorMessageWithoutInvokeRequestId (0.00s)
PASS
coverage: 35.1% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/interop 0.020s coverage: 35.1% of statements
-test.shuffle 1772018501314210492
=== RUN TestLogPrint
--- PASS: TestLogPrint (0.00s)
=== RUN TestLogrusPrint
--- PASS: TestLogrusPrint (0.00s)
=== RUN TestInternalFormatter
--- PASS: TestInternalFormatter (0.00s)
PASS
coverage: 100.0% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/logging 0.022s coverage: 100.0% of statements
-test.shuffle 1772018501451019813
=== RUN TestExtensionsResetDurationProfilerEndToEnd
-test.shuffle 1772018502008086229
=== RUN TestInvokeResponseInvalidRequestID
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/XYZ/response) = 400
--- PASS: TestInvokeResponseInvalidRequestID (0.00s)
=== RUN TestInvokeResponseAfterErrorResponse
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/ABC/error) = 202
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
router_test.go:38: test(/runtime/invocation/ABC/response) = 403
--- PASS: TestInvokeResponseAfterErrorResponse (0.00s)
=== RUN TestInvokeResponseAccepted
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/InvokeA/response) = 202
--- PASS: TestInvokeResponseAccepted (0.00s)
=== RUN TestInvokeNextTwice
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/next) = 200
--- PASS: TestInvokeNextTwice (0.00s)
=== RUN TestInvokeErrorResponseTwice
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/ABC/error) = 202
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
router_test.go:38: test(/runtime/invocation/ABC/error) = 403
--- PASS: TestInvokeErrorResponseTwice (0.00s)
=== RUN Test405MethodNotAllowed
router_test.go:38: test(/runtime/invocation/ABC/error) = 405
--- PASS: Test405MethodNotAllowed (0.00s)
=== RUN TestInvokeErrorResponseAfterResponse
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/ABC/response) = 202
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
router_test.go:38: test(/runtime/invocation/ABC/error) = 403
--- PASS: TestInvokeErrorResponseAfterResponse (0.00s)
=== RUN Test404PageNotFound
router_test.go:38: test(/runtime/unsupported) = 404
--- PASS: Test404PageNotFound (0.00s)
=== RUN TestServerExitsOnExitSignalFromHandler
time="2026-02-25T11:21:42Z" level=info msg="Listening port was dynamically allocated" port=34963
time="2026-02-25T11:21:42Z" level=error msg="Error triggered exit: foo bar error"
time="2026-02-25T11:21:42Z" level=info msg="Runtime API Server closed"
time="2026-02-25T11:21:42Z" level=info msg="Runtime API Server closed"
--- PASS: TestServerExitsOnExitSignalFromHandler (0.00s)
=== RUN TestSecurityInvokeErrorBadRequestId
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
router_test.go:38: test(/runtime/invocation/InvokeA/error) = 403
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/InvokeZ/error) = 400
router_test.go:38: test(/runtime/invocation/InvokeA/error) = 202
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/InvokeA/error) = 400
--- PASS: TestSecurityInvokeErrorBadRequestId (0.00s)
=== RUN TestInvokeErrorResponseAccepted
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/InvokeA/error) = 202
--- PASS: TestInvokeErrorResponseAccepted (0.00s)
=== RUN TestInitCachingAPIDisabledForPlainInit
router_test.go:38: test(/runtime/restore/next) = 404
router_test.go:38: test(/credentials) = 404
--- PASS: TestInitCachingAPIDisabledForPlainInit (0.00s)
=== RUN TestServerReturnsSuccessfulResponse
time="2026-02-25T11:21:42Z" level=info msg="Listening port was dynamically allocated" port=35459
time="2026-02-25T11:21:42Z" level=info msg="Runtime API Server closed"
time="2026-02-25T11:21:42Z" level=info msg="Runtime API Server closed"
--- PASS: TestServerReturnsSuccessfulResponse (0.00s)
=== RUN TestInitErrorAccepted
router_test.go:38: test(/runtime/init/error) = 202
--- PASS: TestInitErrorAccepted (0.00s)
=== RUN TestMoreThanOneInvoke
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/A/response) = 202
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/B/response) = 202
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/C/response) = 202
--- PASS: TestMoreThanOneInvoke (0.00s)
=== RUN TestAcceptXML
--- PASS: TestAcceptXML (0.00s)
=== RUN TestInvokeValidId
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/InvokeA/response) = 202
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/InvokeB/error) = 202
--- PASS: TestInvokeValidId (0.00s)
=== RUN TestInvokeResponseTwice
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/ABC/response) = 202
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
router_test.go:38: test(/runtime/invocation/ABC/response) = 403
--- PASS: TestInvokeResponseTwice (0.00s)
=== RUN TestInitErrorForbidden
router_test.go:38: test(/runtime/invocation/next) = 200
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
router_test.go:38: test(/runtime/init/error) = 403
--- PASS: TestInitErrorForbidden (0.00s)
=== RUN TestInvokeErrorResponseInvalidRequestID
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/XYZ/error) = 400
--- PASS: TestInvokeErrorResponseInvalidRequestID (0.00s)
=== RUN TestSecurityInvokeResponseBadRequestId
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
router_test.go:38: test(/runtime/invocation/InvokeA/response) = 403
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/InvokeZ/response) = 400
router_test.go:38: test(/runtime/invocation/InvokeA/response) = 202
router_test.go:38: test(/runtime/invocation/next) = 200
router_test.go:38: test(/runtime/invocation/InvokeA/response) = 400
--- PASS: TestSecurityInvokeResponseBadRequestId (0.00s)
=== RUN TestServerExitsOnContextCancelation
time="2026-02-25T11:21:42Z" level=info msg="Listening port was dynamically allocated" port=41537
time="2026-02-25T11:21:42Z" level=info msg="Runtime API Server closed"
time="2026-02-25T11:21:42Z" level=info msg="Runtime API Server closed"
--- PASS: TestServerExitsOnContextCancelation (0.00s)
=== RUN FuzzAgentRegisterHandler
=== RUN FuzzAgentRegisterHandler/seed#0
time="2026-02-25T11:21:42Z" level=info msg="External agent agent (90630034-f60b-4380-b27f-301042c76618) registered, subscribed to [INVOKE SHUTDOWN]"
2026/02/25 11:21:42 test(http:///2020-01-01/extension/register) = 200
--- PASS: FuzzAgentRegisterHandler/seed#0 (0.00s)
=== RUN FuzzAgentRegisterHandler/seed#1
time="2026-02-25T11:21:42Z" level=warning msg="Failed to register agent: event SHUTDOWN: ShutdownEventNotSupportedForInternalExtension"
2026/02/25 11:21:42 test(http:///2020-01-01/extension/register) = 403
--- PASS: FuzzAgentRegisterHandler/seed#1 (0.00s)
--- PASS: FuzzAgentRegisterHandler (0.00s)
=== RUN FuzzAgentNextHandler
=== RUN FuzzAgentNextHandler/seed#0
time="2026-02-25T11:21:42Z" level=warning msg="Unknown agent 78510ba5-2f60-4de4-bb4a-af3fa3701f9e tried to call /next"
2026/02/25 11:21:42 test(http:///2020-01-01/extension/event/next) = 403
--- PASS: FuzzAgentNextHandler/seed#0 (0.00s)
=== RUN FuzzAgentNextHandler/seed#1
time="2026-02-25T11:21:42Z" level=warning msg="Unknown agent 78510ba5-2f60-4de4-bb4a-af3fa3701f9e tried to call /next"
2026/02/25 11:21:42 test(http:///2020-01-01/extension/event/next) = 403
--- PASS: FuzzAgentNextHandler/seed#1 (0.00s)
--- PASS: FuzzAgentNextHandler (0.00s)
=== RUN FuzzAgentInitErrorHandler
=== RUN FuzzAgentInitErrorHandler/seed#0
time="2026-02-25T11:21:42Z" level=warning msg="Unknown agent Lambda-Extension-Identifier tried to call /extension/init/error"
2026/02/25 11:21:42 test(http:///2020-01-01/extension/init/error) = 403
--- PASS: FuzzAgentInitErrorHandler/seed#0 (0.00s)
=== RUN FuzzAgentInitErrorHandler/seed#1
time="2026-02-25T11:21:42Z" level=warning msg="Unknown agent Lambda-Extension-Identifier tried to call /extension/init/error"
2026/02/25 11:21:42 test(http:///2020-01-01/extension/init/error) = 403
--- PASS: FuzzAgentInitErrorHandler/seed#1 (0.00s)
--- PASS: FuzzAgentInitErrorHandler (0.00s)
=== RUN FuzzAgentExitErrorHandler
=== RUN FuzzAgentExitErrorHandler/seed#0
time="2026-02-25T11:21:42Z" level=warning msg="Unknown agent 5aa1239f-8b16-4211-aa20-8fb0258b3539 tried to call /extension/exit/error"
2026/02/25 11:21:42 test(http:///2020-01-01/extension/exit/error) = 403
--- PASS: FuzzAgentExitErrorHandler/seed#0 (0.00s)
=== RUN FuzzAgentExitErrorHandler/seed#1
time="2026-02-25T11:21:42Z" level=warning msg="Unknown agent 5aa1239f-8b16-4211-aa20-8fb0258b3539 tried to call /extension/exit/error"
2026/02/25 11:21:42 test(http:///2020-01-01/extension/exit/error) = 403
--- PASS: FuzzAgentExitErrorHandler/seed#1 (0.00s)
--- PASS: FuzzAgentExitErrorHandler (0.00s)
=== RUN FuzzRuntimeAPIRouter
=== RUN FuzzRuntimeAPIRouter/seed#0
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/init/error) = 202
--- PASS: FuzzRuntimeAPIRouter/seed#0 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#1
time="2026-02-25T11:21:42Z" level=warning msg="Failed to compute deadline header" error="strconv.ParseInt: parsing \"\": invalid syntax"
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/invocation/next) = 200
--- PASS: FuzzRuntimeAPIRouter/seed#1 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#2
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/invocation/InvocationID1/response) = 403
--- PASS: FuzzRuntimeAPIRouter/seed#2 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#3
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/invocation/InvocationID1/error) = 403
--- PASS: FuzzRuntimeAPIRouter/seed#3 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#4
time="2026-02-25T11:21:42Z" level=warning msg="Failed to compute deadline header" error="strconv.ParseInt: parsing \"\": invalid syntax"
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/restore/next) = 200
--- PASS: FuzzRuntimeAPIRouter/seed#4 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#5
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/restore/error) = 403
--- PASS: FuzzRuntimeAPIRouter/seed#5 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#6
2026/02/25 11:21:42 test(http:///2020-01-01/extension/register) = 403
--- PASS: FuzzRuntimeAPIRouter/seed#6 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#7
2026/02/25 11:21:42 test(http:///2020-01-01/extension/event/next) = 403
--- PASS: FuzzRuntimeAPIRouter/seed#7 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#8
2026/02/25 11:21:42 test(http:///2020-01-01/extension/init/error) = 403
--- PASS: FuzzRuntimeAPIRouter/seed#8 (0.00s)
=== RUN FuzzRuntimeAPIRouter/seed#9
2026/02/25 11:21:42 test(http:///2020-01-01/extension/exit/error) = 403
--- PASS: FuzzRuntimeAPIRouter/seed#9 (0.00s)
--- PASS: FuzzRuntimeAPIRouter (0.00s)
=== RUN FuzzInitErrorHandler
=== RUN FuzzInitErrorHandler/seed#0
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/init/error) = 202
--- PASS: FuzzInitErrorHandler/seed#0 (0.00s)
--- PASS: FuzzInitErrorHandler (0.00s)
=== RUN FuzzInvocationResponseHandler
=== RUN FuzzInvocationResponseHandler/seed#0
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/invocation/InvocationID1/response) = 202
--- PASS: FuzzInvocationResponseHandler/seed#0 (0.00s)
=== RUN FuzzInvocationResponseHandler/seed#1
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/invocation/InvocationID1/response) = 413
--- PASS: FuzzInvocationResponseHandler/seed#1 (0.03s)
--- PASS: FuzzInvocationResponseHandler (0.04s)
=== RUN FuzzInvocationErrorHandler
=== RUN FuzzInvocationErrorHandler/seed#0
2026/02/25 11:21:42 test(http:///2018-06-01/runtime/invocation/InvocationID1/error) = 202
--- PASS: FuzzInvocationErrorHandler/seed#0 (0.00s)
--- PASS: FuzzInvocationErrorHandler (0.00s)
=== RUN FuzzRestoreErrorHandler
--- PASS: FuzzRestoreErrorHandler (0.00s)
=== RUN FuzzTelemetryLogRouters
=== RUN FuzzTelemetryLogRouters/seed#0
2026/02/25 11:21:42 test(http:///2020-08-15/logs) = 403
--- PASS: FuzzTelemetryLogRouters/seed#0 (0.00s)
=== RUN FuzzTelemetryLogRouters/seed#1
2026/02/25 11:21:42 test(http:///2022-07-01/telemetry) = 403
--- PASS: FuzzTelemetryLogRouters/seed#1 (0.00s)
--- PASS: FuzzTelemetryLogRouters (0.00s)
=== RUN FuzzLogsHandler
=== RUN FuzzLogsHandler/seed#0
2026/02/25 11:21:42 test(http:///2020-08-15/logs) = 200
--- PASS: FuzzLogsHandler/seed#0 (0.00s)
=== RUN FuzzLogsHandler/seed#1
time="2026-02-25T11:21:42Z" level=error msg="Telemetry API error: ErrTelemetryServiceOff"
2026/02/25 11:21:42 test(http:///2020-08-15/logs) = 403
--- PASS: FuzzLogsHandler/seed#1 (0.00s)
--- PASS: FuzzLogsHandler (0.00s)
=== RUN FuzzTelemetryHandler
=== RUN FuzzTelemetryHandler/seed#0
2026/02/25 11:21:42 test(http:///2022-07-01/telemetry) = 200
--- PASS: FuzzTelemetryHandler/seed#0 (0.00s)
=== RUN FuzzTelemetryHandler/seed#1
time="2026-02-25T11:21:42Z" level=error msg="Telemetry API error: ErrTelemetryServiceOff"
2026/02/25 11:21:42 test(http:///2022-07-01/telemetry) = 403
--- PASS: FuzzTelemetryHandler/seed#1 (0.00s)
--- PASS: FuzzTelemetryHandler (0.00s)
PASS
coverage: 86.7% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapi 0.063s coverage: 86.7% of statements
-test.shuffle 1772018502190763652
=== RUN TestAllowIfExtensionsEnabledPositive
--- PASS: TestAllowIfExtensionsEnabledPositive (0.00s)
=== RUN TestAgentUniqueIdentifierHeaderValidatorForbidden
-test.shuffle 1772018502190908933
=== RUN TestAgentInitErrorUnknownAgent
--- PASS: TestAgentUniqueIdentifierHeaderValidatorForbidden (0.00s)
=== RUN TestRuntimeReleaseMiddleware
--- PASS: TestRuntimeReleaseMiddleware (0.00s)
=== RUN TestAllowIfExtensionsEnabledNegative
--- PASS: TestAllowIfExtensionsEnabledNegative (0.00s)
=== RUN TestAgentUniqueIdentifierHeaderValidatorSuccess
time="2026-02-25T11:21:42Z" level=warning msg="Unknown agent Lambda-Extension-Identifier tried to call /extension/init/error"
--- PASS: TestAgentInitErrorUnknownAgent (0.00s)
--- PASS: TestAgentUniqueIdentifierHeaderValidatorSuccess (0.00s)
PASS
=== RUN TestRenderAgentInvokeNextHappy
--- PASS: TestRenderAgentInvokeNextHappy (0.00s)
=== RUN TestGetSubscribedInternalAgents
time="2026-02-25T11:21:42Z" level=info msg="External agent externalInvokeAgent (72bc0434-7057-4751-99f0-1381385748b6) registered, subscribed to [INVOKE]"
time="2026-02-25T11:21:42Z" level=info msg="External agent externalShutdownAgent (bd7d1eb0-108b-4502-a487-785a2f07baef) registered, subscribed to [SHUTDOWN]"
time="2026-02-25T11:21:42Z" level=info msg="Internal agent internalInvokeAgent (ffa31b69-3a3e-496b-8222-14ebede2205c) registered, subscribed to [INVOKE]"
--- PASS: TestGetSubscribedInternalAgents (0.00s)
=== RUN TestRenderAgentInternalError
--- PASS: TestRenderAgentInternalError (0.00s)
=== RUN TestInvocationResponsePayloadIsDefaultErrorMessageWhenRequestParsingFailsForContentTypeErrorCause
time="2026-02-25T11:21:42Z" level=warning msg="Failed to parse error body" error="error parsing request body: error unmarshalling request body with error cause: invalid character 'b' looking for beginning of value, request.Body: {\"foo\":bar}"
--- PASS: TestInvocationResponsePayloadIsDefaultErrorMessageWhenRequestParsingFailsForContentTypeErrorCause (0.00s)
coverage: 52.4% of statements
=== RUN TestRenderAgentRegisterRegistrationClosed
time="2026-02-25T11:21:42Z" level=warning msg="Failed to create internal agent dummyName: ErrRegistrationServiceOff"
--- PASS: TestRenderAgentRegisterRegistrationClosed (0.00s)
=== RUN TestRenderInvokeHappy
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapi/middleware 0.004s coverage: 52.4% of statements
--- PASS: TestRenderInvokeHappy (0.01s)
=== RUN TestGetSubscribedExternalAgents
time="2026-02-25T11:21:42Z" level=info msg="External agent externalInvokeAgent (2168ec66-7cb0-4602-a7a1-4e4cc1689cc2) registered, subscribed to [INVOKE]"
time="2026-02-25T11:21:42Z" level=info msg="External agent externalShutdownAgent (4ca66a72-fe57-458c-a089-54e49e0622fd) registered, subscribed to [SHUTDOWN]"
time="2026-02-25T11:21:42Z" level=info msg="Internal agent internalInvokeAgent (00348571-440f-4698-b00b-24689eb57586) registered, subscribed to [INVOKE]"
--- PASS: TestGetSubscribedExternalAgents (0.00s)
=== RUN TestSuccessfulRuntimeTelemetryAPIStub202Response
--- PASS: TestSuccessfulRuntimeTelemetryAPIStub202Response (0.00s)
=== RUN TestInitErrorHandler
=== RUN TestInitErrorHandler/GA
--- PASS: TestInitErrorHandler/GA (0.00s)
--- PASS: TestInitErrorHandler (0.00s)
=== RUN TestInvocationErrorHandlerSendsNilToXRayWhenXRayErrorCauseHeaderIsNotSet
--- PASS: TestInvocationErrorHandlerSendsNilToXRayWhenXRayErrorCauseHeaderIsNotSet (0.00s)
=== RUN TestInternalAgentShutdownSubscription
time="2026-02-25T11:21:42Z" level=warning msg="Failed to register internalShutdownAgent: event SHUTDOWN: ShutdownEventNotSupportedForInternalExtension"
--- PASS: TestInternalAgentShutdownSubscription (0.00s)
=== RUN TestInvocationErrorHandlerSendsNilCauseToXRayWhenXRayErrorCauseHeaderContainsInvalidCause
time="2026-02-25T11:21:42Z" level=error msg="errorCause validation error" error="failed to parse error cause JSON: invalid character 'i' looking for beginning of object key string"
--- PASS: TestInvocationErrorHandlerSendsNilCauseToXRayWhenXRayErrorCauseHeaderContainsInvalidCause (0.00s)
=== RUN TestBrokenRenderer
time="2026-02-25T11:21:42Z" level=error msg=Broken
--- PASS: TestBrokenRenderer (0.00s)
=== RUN TestAgentInitErrorRequestAccepted
time="2026-02-25T11:21:42Z" level=warning msg="First fatal error stored in appctx: Extension.InitError"
--- PASS: TestAgentInitErrorRequestAccepted (0.00s)
=== RUN TestRenderAgentExternalShutdownEvent
--- PASS: TestRenderAgentExternalShutdownEvent (0.00s)
=== RUN TestSuccessfulRuntimeLogsAPIStub202Response
--- PASS: TestSuccessfulRuntimeLogsAPIStub202Response (0.00s)
=== RUN TestInvocationErrorHandlerSendsErrorCauseToXRayWhenXRayErrorCauseContainsUTF8Characters
--- PASS: TestInvocationErrorHandlerSendsErrorCauseToXRayWhenXRayErrorCauseContainsUTF8Characters (0.00s)
=== RUN TestRenderTelemetrySubscriptionClosed
time="2026-02-25T11:21:42Z" level=error msg="Telemetry API error: ErrTelemetryServiceOff"
--- PASS: TestRenderTelemetrySubscriptionClosed (0.00s)
=== RUN TestRenderRestoreAfterInvoke
time="2026-02-25T11:21:42Z" level=warning msg="State transition is not allowed"
--- PASS: TestRenderRestoreAfterInvoke (0.00s)
=== RUN TestInvocationErrorHandlerSendsCompactedErrorCauseToXRayWhenXRayErrorCauseInHeaderIsTooLarge
--- PASS: TestInvocationErrorHandlerSendsCompactedErrorCauseToXRayWhenXRayErrorCauseInHeaderIsTooLarge (0.01s)
=== RUN TestRenderInvokeEmptyHeaders
time="2026-02-25T11:21:42Z" level=warning msg="Failed to compute deadline header" error="strconv.ParseInt: parsing \"\": invalid syntax"
--- PASS: TestRenderInvokeEmptyHeaders (0.00s)
=== RUN TestArbitraryAuthorizationHeader
time="2026-02-25T11:21:42Z" level=error msg="cannot get credentials for the provided token" error="credentials not found for the provided token"
--- PASS: TestArbitraryAuthorizationHeader (0.00s)
=== RUN TestRenderInvokeDoesNotCallCgo
--- PASS: TestRenderInvokeDoesNotCallCgo (0.00s)
=== RUN TestInvocationErrorHandlerSendsCompactedErrorCauseWhenErrorCauseIsTooLargeForContentTypeErrorCause
--- PASS: TestInvocationErrorHandlerSendsCompactedErrorCauseWhenErrorCauseIsTooLargeForContentTypeErrorCause (0.00s)
=== RUN TestAgentInitErrorMissingErrorHeader
time="2026-02-25T11:21:42Z" level=warning msg="Invalid /extension/init/error: missing Lambda-Extension-Function-Error-Type header, agentID: b3b6bc21-4350-49d5-a82c-fa654b093bdb"
--- PASS: TestAgentInitErrorMissingErrorHeader (0.00s)
=== RUN TestRenderAgentInternalShutdownEvent
--- PASS: TestRenderAgentInternalShutdownEvent (0.00s)
=== RUN TestEmptyAuthorizationHeader
time="2026-02-25T11:21:42Z" level=error msg="cannot get credentials for the provided token" error="credentials not found for the provided token"
--- PASS: TestEmptyAuthorizationHeader (0.00s)
=== RUN TestRender500AndExitOnInteropFailureDuringFirstInvoke
time="2026-02-25T11:21:42Z" level=error msg=Broken
--- PASS: TestRender500AndExitOnInteropFailureDuringFirstInvoke (0.00s)
=== RUN TestInternalAgentInvalidEventType
time="2026-02-25T11:21:42Z" level=warning msg="Failed to register internalShutdownAgent: event abcdef: ErrorInvalidEventType"
time="2026-02-25T11:21:42Z" level=warning msg="Failed to register internalShutdownAgent: event abcdef: ErrorInvalidEventType"
--- PASS: TestInternalAgentInvalidEventType (0.00s)
=== RUN TestExternalAgentInvalidEventType
time="2026-02-25T11:21:42Z" level=warning msg="Failed to register ABC: event abcdef: ErrorInvalidEventType"
time="2026-02-25T11:21:42Z" level=warning msg="Failed to register ABC: event abcdef: ErrorInvalidEventType"
--- PASS: TestExternalAgentInvalidEventType (0.00s)
=== RUN TestRenderAgentInvokeNextHappyEmptyTraceID
--- PASS: TestRenderAgentInvokeNextHappyEmptyTraceID (0.00s)
=== RUN TestInvocationErrorHandlerSendsErrorCauseToXRayForContentTypeErrorCause
--- PASS: TestInvocationErrorHandlerSendsErrorCauseToXRayForContentTypeErrorCause (0.00s)
=== RUN TestSuccessfulTelemetryAPIPutRequest
--- PASS: TestSuccessfulTelemetryAPIPutRequest (0.00s)
=== RUN TestRenderAgentRegisterInvalidAgentState
time="2026-02-25T11:21:42Z" level=warning msg="Failed to register dummyName (ac3a3f8a-213f-46c9-9666-d81b211e446d): State transition is not allowed"
--- PASS: TestRenderAgentRegisterInvalidAgentState (0.00s)
=== RUN TestSuccessfulRuntimeLogsResponseProxy
--- PASS: TestSuccessfulRuntimeLogsResponseProxy (0.00s)
=== RUN TestErrorUnregisteredAgentID
time="2026-02-25T11:21:42Z" level=error msg="Agent Verification Error: Unknown agent a7d04592-f94c-444e-9f25-ff7cfe5453a2 tried to call /runtime/logs"
--- PASS: TestErrorUnregisteredAgentID (0.00s)
=== RUN TestResponseTooLarge
--- PASS: TestResponseTooLarge (0.02s)
=== RUN TestRenderAgentRegisterInvalidAgentName
--- PASS: TestRenderAgentRegisterInvalidAgentName (0.00s)
=== RUN TestRenderAgentInvokeUnknownAgent
time="2026-02-25T11:21:42Z" level=warning msg="Unknown agent a56377fa-0fc4-4796-a46f-1f88c402171b tried to call /next"
--- PASS: TestRenderAgentInvokeUnknownAgent (0.00s)
=== RUN TestRenderAgentInternalInvokeNextHappy
--- PASS: TestRenderAgentInternalInvokeNextHappy (0.00s)
=== RUN TestInvocationErrorHandlerSendsNullErrorCauseWhenErrorCauseFormatIsInvalidOrEmptyForContentTypeErrorCause
time="2026-02-25T11:21:42Z" level=error msg="errorCause validation error, Content-Type: application/vnd.aws.lambda.error.cause+json" error="error cause body has invalid format: {\"foobar\":\"baz\"}"
time="2026-02-25T11:21:42Z" level=error msg="errorCause validation error, Content-Type: application/vnd.aws.lambda.error.cause+json" error="failed to parse error cause JSON: json: cannot unmarshal string into Go value of type model.ErrorCause"
--- PASS: TestInvocationErrorHandlerSendsNullErrorCauseWhenErrorCauseFormatIsInvalidOrEmptyForContentTypeErrorCause (0.00s)
=== RUN TestRenderAgentInvokeInvalidAgentState
time="2026-02-25T11:21:42Z" level=warning msg="Ready() failed for dummyName (5e254efc-893b-4a0e-b612-8b9e368e3f2c): State transition is not allowed, state is Started"
--- PASS: TestRenderAgentInvokeInvalidAgentState (0.00s)
=== RUN TestRestoreErrorHandler
=== RUN TestRestoreErrorHandler/GA
--- PASS: TestRestoreErrorHandler/GA (0.00s)
--- PASS: TestRestoreErrorHandler (0.00s)
=== RUN TestAgentInitErrorInternalError
--- PASS: TestAgentInitErrorInternalError (0.00s)
=== RUN TestInvocationErrorHandlerSendsErrorCauseToXRayWhenXRayErrorCauseHeaderIsSet
--- PASS: TestInvocationErrorHandlerSendsErrorCauseToXRayWhenXRayErrorCauseHeaderIsSet (0.00s)
=== RUN TestRenderRestoreNext
--- PASS: TestRenderRestoreNext (0.00s)
=== RUN TestRenderAgentResponse
=== RUN TestRenderAgentResponse/no-config-external
time="2026-02-25T11:21:42Z" level=info msg="External agent external (4adfe7e8-73eb-40dc-b203-b68850e86a5f) registered, subscribed to []"
--- PASS: TestRenderAgentResponse/no-config-external (0.00s)
=== RUN TestRenderAgentResponse/with_non-existing_accept_feature
time="2026-02-25T11:21:42Z" level=info msg="External agent external (8ef36198-0571-4ef8-a058-789caaa59b51) registered, subscribed to []"
--- PASS: TestRenderAgentResponse/with_non-existing_accept_feature (0.00s)
=== RUN TestRenderAgentResponse/with_empty_account_id_data
time="2026-02-25T11:21:42Z" level=info msg="External agent external (d277c16f-417b-45c6-92ed-097a10d75b67) registered, subscribed to []"
--- PASS: TestRenderAgentResponse/with_empty_account_id_data (0.00s)
=== RUN TestRenderAgentResponse/function-md-override
time="2026-02-25T11:21:42Z" level=info msg="External agent external (f762f7dc-b3ec-4cbb-891e-202c88cbfa83) registered, subscribed to []"
--- PASS: TestRenderAgentResponse/function-md-override (0.00s)
=== RUN TestRenderAgentResponse/internal_with_account_id_feature
time="2026-02-25T11:21:42Z" level=info msg="Internal agent internal (68cc2484-e6bf-479f-afbf-fc288ddb7100) registered, subscribed to []"
--- PASS: TestRenderAgentResponse/internal_with_account_id_feature (0.00s)
=== RUN TestRenderAgentResponse/external_with_account_id_feature
time="2026-02-25T11:21:42Z" level=info msg="External agent external (4ca7bfde-00f4-450f-a935-9ef87a0fd946) registered, subscribed to []"
--- PASS: TestRenderAgentResponse/external_with_account_id_feature (0.00s)
=== RUN TestRenderAgentResponse/account_id_feature_and_some_non-existing_feature
time="2026-02-25T11:21:42Z" level=info msg="External agent external (dd731f21-79f8-49eb-bb42-c3c91fd74a27) registered, subscribed to []"
--- PASS: TestRenderAgentResponse/account_id_feature_and_some_non-existing_feature (0.00s)
=== RUN TestRenderAgentResponse/no-config-internal
time="2026-02-25T11:21:42Z" level=info msg="Internal agent internal (1d6bb3ee-b958-4b01-80e7-16a8612254e9) registered, subscribed to []"
--- PASS: TestRenderAgentResponse/no-config-internal (0.00s)
--- PASS: TestRenderAgentResponse (0.00s)
=== RUN TestAgentInitErrorAgentInvalidState
time="2026-02-25T11:21:42Z" level=warning msg="InitError() failed for dummyName (8cfd8f5a-a974-4492-9b30-184579db8815): State transition is not allowed, state is Started"
--- PASS: TestAgentInitErrorAgentInvalidState (0.00s)
=== RUN TestResponseAccepted
--- PASS: TestResponseAccepted (0.00s)
=== RUN TestSuccessfulGet
2026/02/25 11:21:42 {"AccessKeyId":"sampleAwsKey","SecretAccessKey":"sampleAwsSecret","Token":"sampleAwsSessionToken","Expiration":"2026-02-25T11:51:42.246501593Z"}
--- PASS: TestSuccessfulGet (0.00s)
=== RUN TestNumberOfSubscribersWhenAnExtensionIsAlreadySubscribed
--- PASS: TestNumberOfSubscribersWhenAnExtensionIsAlreadySubscribed (0.00s)
=== RUN TestRenderLogsSubscriptionClosed
time="2026-02-25T11:21:42Z" level=error msg="Telemetry API error: ErrTelemetryServiceOff"
--- PASS: TestRenderLogsSubscriptionClosed (0.00s)
=== RUN TestInvocationErrorHandler
=== RUN TestInvocationErrorHandler/GA
--- PASS: TestInvocationErrorHandler/GA (0.00s)
--- PASS: TestInvocationErrorHandler (0.00s)
=== RUN TestInvocationErrorHandlerRemovesErrorCauseFromResponse
time="2026-02-25T11:21:42Z" level=error msg="errorCause validation error, Content-Type: application/vnd.aws.lambda.error.cause+json" error="failed to parse error cause JSON: json: cannot unmarshal array into Go struct field ErrorCause.working_directory of type string"
--- PASS: TestInvocationErrorHandlerRemovesErrorCauseFromResponse (0.00s)
=== RUN TestErrorTelemetryAPICallFailure
time="2026-02-25T11:21:42Z" level=error msg="Telemetry API error: Error calling Telemetry API: connection refused"
--- PASS: TestErrorTelemetryAPICallFailure (0.00s)
=== RUN TestResponseWithDifferentFunctionResponseModes
--- PASS: TestResponseWithDifferentFunctionResponseModes (0.00s)
PASS
coverage: 71.2% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapi/handler 0.063s coverage: 71.2% of statements
-test.shuffle 1772018502382919880
=== RUN TestErrorCauseCropMessageAndWorkingDir
--- PASS: TestErrorCauseCropMessageAndWorkingDir (0.00s)
=== RUN TestErrorCauseCroppedJSONForLargeCauseWithOnlyExceptionsAndPaths
golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapi/rendering coverage: 0.0% of statements
--- PASS: TestErrorCauseCroppedJSONForLargeCauseWithOnlyExceptionsAndPaths (0.04s)
=== RUN TestErrorCauseCroppedJSONForEmptyCause
--- PASS: TestErrorCauseCroppedJSONForEmptyCause (0.00s)
=== RUN TestErrorCauseCropStackTraces
--- PASS: TestErrorCauseCropStackTraces (0.03s)
=== RUN TestErrorCauseValidationWhenCauseIsInvalid
--- PASS: TestErrorCauseValidationWhenCauseIsInvalid (0.00s)
=== RUN TestCropString
--- PASS: TestCropString (0.00s)
=== RUN TestErrorCauseMarshallingWhenCauseIsValid
--- PASS: TestErrorCauseMarshallingWhenCauseIsValid (0.00s)
=== RUN TestErrorCauseCroppedJSONForLargeCause
--- PASS: TestExtensionsResetDurationProfilerEndToEnd (1.00s)
=== RUN TestEpochToMonoPrecision
--- PASS: TestEpochToMonoPrecision (0.00s)
=== RUN TestMonoToEpochPrecision
--- PASS: TestMonoToEpochPrecision (0.00s)
=== RUN TestExtensionsResetDurationProfilerForExtensionsResetWithNoExtensions
--- PASS: TestExtensionsResetDurationProfilerForExtensionsResetWithNoExtensions (0.00s)
=== RUN TestExtensionsResetDurationProfilerForExtensionsResetWithinDeadline
--- PASS: TestExtensionsResetDurationProfilerForExtensionsResetWithinDeadline (0.00s)
=== RUN TestExtensionsResetDurationProfilerForExtensionsResetTimeout
--- PASS: TestExtensionsResetDurationProfilerForExtensionsResetTimeout (0.00s)
PASS
coverage: 100.0% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/metering 1.008s coverage: 100.0% of statements
--- PASS: TestErrorCauseCroppedJSONForLargeCause (0.04s)
=== RUN TestWorkingDirCropping
--- PASS: TestWorkingDirCropping (0.00s)
=== RUN TestErrorCauseValidationWhenCauseIsValid
--- PASS: TestErrorCauseValidationWhenCauseIsValid (0.00s)
PASS
coverage: 89.1% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapi/model 0.115s coverage: 89.1% of statements
-test.shuffle 1772018502943333748
=== RUN TestSetupEventWatcherErrorHandling
time="2026-02-25T11:21:42Z" level=error msg="Could not get events stream from supervisor: events call failed"
time="2026-02-25T11:21:42Z" level=error msg="Init failed" InvokeID= error="events call failed"
--- PASS: TestSetupEventWatcherErrorHandling (0.00s)
=== RUN TestListen
time="2026-02-25T11:21:42Z" level=info msg="Listening port was dynamically allocated" port=40491
Connecting...
-test.shuffle 1772018503100419815
=== RUN TestInvokeWithSuppressedInitErrorDueToInvokeError
time="2026-02-25T11:21:43Z" level=info msg="Error releasing after init failure InitDoneFailed: %!s(<nil>)"
--- PASS: TestInvokeWithSuppressedInitErrorDueToInvokeError (0.00s)
=== RUN TestInitErrorBeforeReserve
time="2026-02-25T11:21:43Z" level=info msg="Error releasing after init failure InitDoneFailed: %!s(<nil>)"
--- PASS: TestInitErrorBeforeReserve (0.00s)
=== RUN TestInvokeError
-test.shuffle 1772018503100775952
=== RUN TestRAPIDInternalConfig
--- PASS: TestRAPIDInternalConfig (0.00s)
--- PASS: TestInvokeError (0.00s)
=== RUN TestMultipleInvokeSuccess
=== RUN TestEnvironmentParsing
--- PASS: TestMultipleInvokeSuccess (0.00s)
=== RUN TestInitSuccess
--- PASS: TestInitSuccess (0.00s)
=== RUN TestGetRuntimeRelease
=== RUN TestGetRuntimeRelease/simple
--- PASS: TestEnvironmentParsing (0.00s)
=== RUN TestEnvironmentVariableSplitting
--- PASS: TestEnvironmentVariableSplitting (0.00s)
=== RUN TestCustomerEnvironmentVariablesFromInitCanOverrideEnvironmentVariablesFromCLIOptions
--- PASS: TestCustomerEnvironmentVariablesFromInitCanOverrideEnvironmentVariablesFromCLIOptions (0.00s)
=== RUN TestStoreEnvironmentVariablesFromInitCaching
--- PASS: TestStoreEnvironmentVariablesFromInitCaching (0.00s)
=== RUN TestRuntimeExecEnvironmentVariables
--- PASS: TestGetRuntimeRelease/simple (0.00s)
=== RUN TestGetRuntimeRelease/no_trailing_new_line
--- PASS: TestGetRuntimeRelease/no_trailing_new_line (0.00s)
=== RUN TestGetRuntimeRelease/nonexistent_keys
--- PASS: TestRuntimeExecEnvironmentVariables (0.00s)
=== RUN TestAgentExecEnvironmentVariables
--- PASS: TestAgentExecEnvironmentVariables (0.00s)
=== RUN TestEnvironmentParsingUnsetPlatformAndInternalEnvVarKeysAreDeleted
--- PASS: TestEnvironmentParsingUnsetPlatformAndInternalEnvVarKeysAreDeleted (0.00s)
=== RUN TestRuntimeExecEnvironmentVariablesPriority
--- PASS: TestRuntimeExecEnvironmentVariablesPriority (0.00s)
PASS
coverage: 87.3% of statements
--- PASS: TestGetRuntimeRelease/nonexistent_keys (0.00s)
=== RUN TestGetRuntimeRelease/empty_value
--- PASS: TestGetRuntimeRelease/empty_value (0.00s)
=== RUN TestGetRuntimeRelease/delimiter_in_value
--- PASS: TestGetRuntimeRelease/delimiter_in_value (0.00s)
=== RUN TestGetRuntimeRelease/empty_file
--- PASS: TestGetRuntimeRelease/empty_file (0.00s)
=== RUN TestGetRuntimeRelease/quotes
--- PASS: TestGetRuntimeRelease/quotes (0.00s)
=== RUN TestGetRuntimeRelease/double_quotes
--- PASS: TestGetRuntimeRelease/double_quotes (0.00s)
=== RUN TestGetRuntimeRelease/empty_lines
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapidcore/env 0.008s coverage: 87.3% of statements
--- PASS: TestGetRuntimeRelease/empty_lines (0.00s)
=== RUN TestGetRuntimeRelease/comments
--- PASS: TestGetRuntimeRelease/comments (0.00s)
--- PASS: TestGetRuntimeRelease (0.00s)
=== RUN TestAwaitReleaseOnSuccess
--- PASS: TestAwaitReleaseOnSuccess (0.00s)
=== RUN TestInvokeWithSuppressedInitErrorDueToInitError
time="2026-02-25T11:21:43Z" level=info msg="Error releasing after init failure InitDoneFailed: %!s(<nil>)"
time="2026-02-25T11:21:43Z" level=error msg="Invoke DONE failed: A.B"
--- PASS: TestInvokeWithSuppressedInitErrorDueToInitError (0.00s)
=== RUN TestReserveDoesNotDeadlockWhenCalledMultipleTimes
--- PASS: TestReserveDoesNotDeadlockWhenCalledMultipleTimes (0.00s)
=== RUN TestInitErrorDuringReserve
time="2026-02-25T11:21:43Z" level=info msg="Error releasing after init failure InitDoneFailed: %!s(<nil>)"
--- PASS: TestInitErrorDuringReserve (0.00s)
=== RUN TestInvokeSuccess
--- PASS: TestInvokeSuccess (0.00s)
=== RUN TestGetRuntimeRelease_InvalidLine
--- PASS: TestGetRuntimeRelease_InvalidLine (0.00s)
=== RUN TestInvokeWithSuppressedInitSuccess
time="2026-02-25T11:21:43Z" level=info msg="Error releasing after init failure InitDoneFailed: %!s(<nil>)"
--- PASS: TestInvokeWithSuppressedInitSuccess (0.00s)
=== RUN TestGetRuntimeRelease_NotFound
--- PASS: TestGetRuntimeRelease_NotFound (0.00s)
PASS
coverage: 56.6% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapidcore 0.024s coverage: 56.6% of statements
--- PASS: TestNewBandwidthLimitingWriter (2.80s)
=== RUN TestNewThrottler_start_stop
golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapidcore/standalone/telemetry coverage: 0.0% of statements
golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rapidcore/standalone coverage: 0.0% of statements
-test.shuffle 1772018503589215654
=== RUN TestSimpleBootstrap
--- PASS: TestSimpleBootstrap (0.00s)
=== RUN TestSimpleBootstrapCmdNonExistingCandidate
--- PASS: TestSimpleBootstrapCmdNonExistingCandidate (0.00s)
=== RUN TestSimpleBootstrapCmdDefaultWorkingDir
--- PASS: TestSimpleBootstrapCmdDefaultWorkingDir (0.00s)
PASS
coverage: 4.7% of statements
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/rie 0.026s coverage: 4.7% of statements
--- PASS: TestNewThrottler_start_stop (0.40s)
=== RUN TestNewThrottler
time="2026-02-25T11:21:43Z" level=error msg="cannot create a throttler with nil bucket"
--- PASS: TestNewThrottler (0.00s)
=== RUN TestBandwidthLimitingCopy
--- PASS: TestBandwidthLimitingCopy (0.04s)
=== RUN TestNewChunkIterator
--- PASS: TestNewChunkIterator (0.00s)
=== RUN TestBucket_produceTokens_consumeTokens
--- PASS: TestBucket_produceTokens_consumeTokens (0.00s)
=== RUN TestNewThrottler_bandwidthLimitingWrite
-test.shuffle 1772018503902663886
=== RUN TestKillExited
-test.shuffle 1772018503903513135
=== RUN Test_KillDeadlineIsMarshalledIntoRFC3339
--- PASS: Test_KillDeadlineIsMarshalledIntoRFC3339 (0.00s)
PASS
coverage: 0.0% of statements
--- PASS: TestKillExited (0.01s)
=== RUN TestEvents
--- PASS: TestEvents (0.00s)
=== RUN TestShutdown
ok golang.a2z.com/LambdaRIEGithubSource/internal/lambda/supervisor/model 0.022s coverage: 0.0% of statements
-test.shuffle 1772018503932678861
=== RUN TestGetRuntimeDoneInvokeMetricsWhenInvokeResponseMetricsIsNil
--- PASS: TestGetRuntimeDoneInvokeMetricsWhenInvokeResponseMetricsIsNil (0.00s)
=== RUN TestGetRuntimeDoneSpansWhenRuntimeStartedTimeIsMinusOne
--- PASS: TestGetRuntimeDoneSpansWhenRuntimeStartedTimeIsMinusOne (0.00s)
=== RUN TestCalculateDuration
=== RUN TestCalculateDuration/milliseconds_only
--- PASS: TestCalculateDuration/milliseconds_only (0.00s)
=== RUN TestCalculateDuration/with_microseconds
--- PASS: TestCalculateDuration/with_microseconds (0.00s)
=== RUN TestCalculateDuration/nanoseconds_must_be_dropped
--- PASS: TestCalculateDuration/nanoseconds_must_be_dropped (0.00s)
=== RUN TestCalculateDuration/microseconds_presented,_nanoseconds_dropped
--- PASS: TestCalculateDuration/microseconds_presented,_nanoseconds_dropped (0.00s)
--- PASS: TestCalculateDuration (0.00s)
=== RUN TestGetRuntimeDoneSpansWhenRuntimeCalledError
--- PASS: TestGetRuntimeDoneSpansWhenRuntimeCalledError (0.00s)
=== RUN TestGetRuntimeDoneSpansWhenInvokeResponseMetricsNil
--- PASS: TestGetRuntimeDoneSpansWhenInvokeResponseMetricsNil (0.00s)
=== RUN TestGetRuntimeDoneInvokeMetricsWhenRuntimeStartedTimeIsMinusOne
--- PASS: TestGetRuntimeDoneInvokeMetricsWhenRuntimeStartedTimeIsMinusOne (0.00s)
=== RUN TestGetRuntimeDoneInvokeMetricsWhenRuntimeCalledError
--- PASS: TestGetRuntimeDoneInvokeMetricsWhenRuntimeCalledError (0.00s)
=== RUN TestGetRuntimeDoneSpans
--- PASS: TestGetRuntimeDoneSpans (0.00s)
=== RUN TestInferInitType
=== RUN TestInferInitType/on_demand
--- PASS: TestInferInitType/on_demand (0.00s)
=== RUN TestInferInitType/pc
--- PASS: TestInferInitType/pc (0.00s)
=== RUN TestInferInitType/snap-start_for_OD
--- PASS: TestInferInitType/snap-start_for_OD (0.00s)
=== RUN TestInferInitType/snap-start_for_PC
--- PASS: TestInferInitType/snap-start_for_PC (0.00s)
--- PASS: TestInferInitType (0.00s)
=== RUN TestGetRuntimeDoneInvokeMetrics
--- PASS: TestGetRuntimeDoneInvokeMetrics (0.00s)
=== RUN TestTracerDoesntSwallowErrorsFromCriticalFunctions
=== RUN TestTracerDoesntSwallowErrorsFromCriticalFunctions/NoOpTracer-success