/
14.log
executable file
·809 lines (759 loc) · 75.9 KB
/
14.log
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
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-credential-initializer-b9cgn[0m
{"level":"info","ts":1603967187.9603899,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/refs/heads/0.8.0-ns-support: no such file or directory"}
{"level":"info","ts":1603967187.9890244,"logger":"fallback-logger","caller":"creds-init/main.go:40","msg":"Credentials initialized."}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-working-dir-initializer-d5v49[0m
{"level":"info","ts":1603967189.1457682,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967189.1942844,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-place-tools[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-create-dir-workspace-z7bkb[0m
{"level":"info","ts":1603967193.5915904,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967193.593675,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-git-source-seldonio-seldon-core-pr-2558-pr-9b8f6-729vm[0m
{"level":"info","ts":1603967194.4402506,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/refs/heads/0.8.0-ns-support: no such file or directory"}
{"level":"info","ts":1603967200.5154703,"logger":"fallback-logger","caller":"git/git.go:103","msg":"Successfully cloned https://github.com/SeldonIO/seldon-core.git @ master in path /workspace/source"}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-setup-builder-home[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-git-merge[0m
Using SHAs from PULL_REFS=master:2af6e43f98b14d0e67b31ee4c9e3f184c958e25a,2558:5495f4ac8826b6928e6627df5b6cc108f404308f
DEBUG: LC_ALL=C JX_LOG_LEVEL=error git fetch origin --unshallow 5495f4ac8826b6928e6627df5b6cc108f404308f: 2af6e43f98b14d0e67b31ee4c9e3f184c958e25a:
DEBUG: ran git fetch --unshallow origin 5495f4ac8826b6928e6627df5b6cc108f404308f: 2af6e43f98b14d0e67b31ee4c9e3f184c958e25a: in
DEBUG: LC_ALL=C JX_LOG_LEVEL=error git branch
DEBUG: LC_ALL=C JX_LOG_LEVEL=error git checkout master
DEBUG: ran git checkout master in
DEBUG: JX_LOG_LEVEL=error LC_ALL=C git reset --hard 2af6e43f98b14d0e67b31ee4c9e3f184c958e25a
DEBUG: ran git reset --hard 2af6e43f98b14d0e67b31ee4c9e3f184c958e25a in
DEBUG: LC_ALL=C JX_LOG_LEVEL=error git clean -fd .
DEBUG: ran clean --force -d . in
DEBUG: LC_ALL=C JX_LOG_LEVEL=error git merge 5495f4ac8826b6928e6627df5b6cc108f404308f
DEBUG: ran git merge 5495f4ac8826b6928e6627df5b6cc108f404308f in
DEBUG: LC_ALL=C JX_LOG_LEVEL=error git log --format=%H%x1f%an%x1f%ae%x1f%cn%x1f%ce%x1f%s%n%b%x1e 2af6e43f98b14d0e67b31ee4c9e3f184c958e25a..HEAD
Merged SHA cab9f6fce2a5628eee86763e3d6dcab952dc19d4 with commit message 'Merge commit '5495f4ac8826b6928e6627df5b6cc108f404308f'' into base branch master
Merged SHA 5495f4ac8826b6928e6627df5b6cc108f404308f with commit message 'Fix 404 in tests' into base branch master
Merged SHA ca49f7f127b49c30bdeada108493c092f1ab9fbf with commit message 'Move resources out' into base branch master
Merged SHA aad1ab6a17e86a129df9279c7a7db9928d830da4 with commit message 'Fix shape' into base branch master
Merged SHA e04b110ca59a942ba54f83f051b5e56d34e8d2f2 with commit message 'Bump mlserver image' into base branch master
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-step2[0m
+++ dirname ./add-pr-build-comment
++ cd .
++ pwd
+ STARTUP_DIR=/workspace/source/ci
+ REPO_OWNER=SeldonIO
+ REPO_NAME=seldon-core
+ PULL_NUMBER=2558
+ BUILD_NUMBER=14
+ PIPELINE_CONTEXT=pr-build
++ cat
+++ date
+ COMMENT_MSG='Thu Oct 29 10:26:52 UTC 2020
The logs for [pr-build] [14] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2558/14.log
impatient try
** get build logs SeldonIO/seldon-core/PR-2558 --build=14'
+ ** step pr comment --owner=SeldonIO --repository=seldon-core --pull-request=2558 '--comment=Thu Oct 29 10:26:52 UTC 2020
The logs for [pr-build] [14] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-2558/14.log
impatient try
** get build logs SeldonIO/seldon-core/PR-2558 --build=14'
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-source-mkdir-seldonio-seldon-core-pr-2558-pr-9b8f6-p6t8p[0m
{"level":"info","ts":1603967214.8687046,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967214.8722138,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p /pvc/pr-build-comment/workspace\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mpr-build-comment[0m and container [32mstep-source-copy-seldonio-seldon-core-pr-2558-pr-9b8f6-2fcbd[0m
{"level":"info","ts":1603967215.041988,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967215.4495974,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c cp -r source/. /pvc/pr-build-comment/workspace\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-operator[0m and container [32mstep-credential-initializer-5jzbt[0m
{"level":"info","ts":1603967236.0376441,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/refs/heads/0.8.0-ns-support: no such file or directory"}
{"level":"info","ts":1603967236.0395598,"logger":"fallback-logger","caller":"creds-init/main.go:40","msg":"Credentials initialized."}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-operator[0m and container [32mstep-working-dir-initializer-kkqf4[0m
{"level":"info","ts":1603967237.2260454,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967237.2297344,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-operator[0m and container [32mstep-place-tools[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-operator[0m and container [32mstep-create-dir-workspace-nj76z[0m
{"level":"info","ts":1603967307.8121374,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967307.8175752,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-operator[0m and container [32mstep-source-copy-workspace-nhk8k[0m
{"level":"info","ts":1603967308.226983,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967327.682387,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c cp -r /pvc/pr-build-comment/workspace/. /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-operator[0m and container [32mstep-setup-builder-home[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-operator[0m and container [32mstep-test-operator[0m
make: Entering directory '/workspace/source/operator'
go: creating new go.mod: module tmp
go: downloading sigs.k8s.io/controller-tools v0.2.5
go: found sigs.k8s.io/controller-tools/cmd/controller-gen in sigs.k8s.io/controller-tools v0.2.5
go: downloading github.com/spf13/cobra v0.0.5
go: downloading k8s.io/apimachinery v0.17.0
go: downloading k8s.io/api v0.17.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20190905181640-827449938966
go: downloading github.com/gobuffalo/flect v0.2.0
go: downloading k8s.io/apiextensions-apiserver v0.17.0
go: downloading sigs.k8s.io/yaml v1.1.0
go: downloading github.com/fatih/color v1.7.0
go: downloading github.com/mattn/go-isatty v0.0.8
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading gopkg.in/yaml.v2 v2.2.4
go: downloading golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d
go: downloading golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456
go: downloading k8s.io/utils v0.0.0-20191114184206-e782cd3c129f
go: downloading github.com/mattn/go-colorable v0.1.2
go: downloading github.com/google/gofuzz v1.0.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading k8s.io/klog v1.0.0
go: downloading golang.org/x/net v0.0.0-20191004110552-13f9640d40b9
go: downloading golang.org/x/text v0.3.2
/builder/home/go/bin/controller-gen object:headerFile=./hack/boilerplate.go.txt paths="./..."
go fmt ./...
go vet ./...
go: downloading github.com/onsi/gomega v1.10.2
go: downloading github.com/onsi/ginkgo v1.14.1
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go: downloading github.com/nxadm/tail v1.4.4
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
/builder/home/go/bin/controller-gen "crd:trivialVersions=true" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
rm -rf generated
mkdir generated
kustomize build config/default/ -o generated
cp generated/apiextensions.k8s.io_v1beta1_customresourcedefinition_seldondeployments.machinelearning.seldon.io.yaml testing/machinelearning.seldon.io_seldondeployments.yaml
ginkgo -r -outputdir=. -cover -coverprofile=cover.out ./controllers ./utils ./apis
[1603967461] [1mController Suite[0m - 67/67 specs test k8s client
&{Reader:0xc00051ea00 Writer:0xc0004d2cc0 StatusClient:0xc0004d2cc0}
Failed to find config map seldon-config
the cache is not started, can not read objects
[90m------------------------------[0m
[91m[1m•! Panic [0.001 seconds][0m
[90mMLServer helpers [0m[0mmergeMLServerContainer [0m[91m[1m[It] should merge containers adding extra env [0m
[37m/workspace/source/operator/controllers/mlserver_test.go:48[0m
[91m[1mTest Panicked[0m
[91mruntime error: invalid memory address or nil pointer dereference[0m
/usr/local/go/src/runtime/panic.go:212
[91mFull Stack Trace[0m
github.com/seldonio/seldon-core/operator/controllers.mergeMLServerContainer(0xc001032160, 0x0, 0x34)
/workspace/source/operator/controllers/mlserver.go:27 +0x5c
github.com/seldonio/seldon-core/operator/controllers.glob..func4.2.2()
/workspace/source/operator/controllers/mlserver_test.go:49 +0x53
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc00049b980, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/leafnodes/runner.go:113 +0xa3
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc00049b980, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/leafnodes/runner.go:64 +0xcf
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc000618e00, 0x1dbd540, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/leafnodes/it_node.go:26 +0x64
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc00065e000, 0x0, 0x1dbd540, 0xc000177000)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/spec/spec.go:215 +0x638
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc00065e000, 0x1dbd540, 0xc000177000)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/spec/spec.go:138 +0xf2
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc000652780, 0xc00065e000, 0x0)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/specrunner/spec_runner.go:200 +0x10f
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc000652780, 0x1)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/specrunner/spec_runner.go:170 +0x120
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc000652780, 0xc000804978)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/specrunner/spec_runner.go:66 +0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc00017d6c0, 0x7fa4688b3120, 0xc0001f0b40, 0x1b3afc5, 0x10, 0xc0003d4fa0, 0x2, 0x2, 0x1e0f140, 0xc000177000, ...)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/suite/suite.go:79 +0x586
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x1dbeb40, 0xc0001f0b40, 0x1b3afc5, 0x10, 0xc0003d4f80, 0x2, 0x2, 0x2)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/ginkgo_dsl.go:219 +0x217
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x1dbeb40, 0xc0001f0b40, 0x1b3afc5, 0x10, 0xc000519760, 0x1, 0x1, 0x5f9a9a02)
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/ginkgo_dsl.go:207 +0xad
github.com/seldonio/seldon-core/operator/controllers.TestAPIs(0xc0001f0b40)
/workspace/source/operator/controllers/suite_test.go:61 +0xcb
testing.tRunner(0xc0001f0b40, 0x1bf0580)
/usr/local/go/src/testing/testing.go:1039 +0xdc
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1090 +0x372
[90m------------------------------[0m
2020-10-29T10:31:43.214Z ERROR seldondeployment Failed to read prepacked model servers from configmap {"error": "the cache is not started, can not read objects"}
github.com/go-logr/zapr.(*zapLogger).Error
/builder/home/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128
github.com/seldonio/seldon-core/operator/apis/machinelearning.seldon.io/v1.getPrepackServerConfigWithRelated
/workspace/source/operator/apis/machinelearning.seldon.io/v1/prepack.go:189
github.com/seldonio/seldon-core/operator/apis/machinelearning.seldon.io/v1.GetPrepackServerConfig
/workspace/source/operator/apis/machinelearning.seldon.io/v1/prepack.go:201
github.com/seldonio/seldon-core/operator/controllers.getMLServerImage
/workspace/source/operator/controllers/mlserver.go:136
github.com/seldonio/seldon-core/operator/controllers.getMLServerContainer
/workspace/source/operator/controllers/mlserver.go:61
github.com/seldonio/seldon-core/operator/controllers.glob..func4.2.1
/workspace/source/operator/controllers/mlserver_test.go:45
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/leafnodes/runner.go:113
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/leafnodes/runner.go:64
github.com/onsi/ginkgo/internal/leafnodes.(*SetupNode).Run
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/leafnodes/setup_nodes.go:15
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/spec/spec.go:193
github.com/onsi/ginkgo/internal/spec.(*Spec).Run
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/spec/spec.go:138
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/specrunner/spec_runner.go:200
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/specrunner/spec_runner.go:170
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/specrunner/spec_runner.go:66
github.com/onsi/ginkgo/internal/suite.(*Suite).Run
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/internal/suite/suite.go:79
github.com/onsi/ginkgo.RunSpecsWithCustomReporters
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/ginkgo_dsl.go:219
github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters
/builder/home/go/pkg/mod/github.com/onsi/ginkgo@v1.14.1/ginkgo_dsl.go:207
github.com/seldonio/seldon-core/operator/controllers.TestAPIs
/workspace/source/operator/controllers/suite_test.go:61
testing.tRunner
/usr/local/go/src/testing/testing.go:1039
[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0m[32m•[0mE1029 10:32:11.308816 22777 event.go:269] Unable to write event: 'Post "http://127.0.0.1:34507/api/v1/namespaces/default/events": dial tcp 127.0.0.1:34507: connect: connection refused' (may retry after sleeping)
E1029 10:32:11.413035 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v1beta1.PodDisruptionBudget: Get "http://127.0.0.1:34507/apis/policy/v1beta1/poddisruptionbudgets?allowWatchBookmarks=true&resourceVersion=181&timeoutSeconds=360&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
E1029 10:32:11.413035 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v1alpha1.ScaledObject: Get "http://127.0.0.1:34507/apis/keda.sh/v1alpha1/scaledobjects?allowWatchBookmarks=true&resourceVersion=323&timeoutSeconds=558&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
E1029 10:32:11.413065 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v1.Namespace: Get "http://127.0.0.1:34507/api/v1/namespaces?allowWatchBookmarks=true&resourceVersion=427&timeoutSeconds=471&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
E1029 10:32:11.413035 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v1.Service: Get "http://127.0.0.1:34507/api/v1/services?allowWatchBookmarks=true&resourceVersion=433&timeoutSeconds=365&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
E1029 10:32:11.413035 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v1.SeldonDeployment: Get "http://127.0.0.1:34507/apis/machinelearning.seldon.io/v1/seldondeployments?allowWatchBookmarks=true&resourceVersion=446&timeoutSeconds=387&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
E1029 10:32:11.413105 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v1alpha3.VirtualService: Get "http://127.0.0.1:34507/apis/networking.istio.io/v1alpha3/virtualservices?allowWatchBookmarks=true&resourceVersion=123&timeoutSeconds=408&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
E1029 10:32:11.413096 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v1.Deployment: Get "http://127.0.0.1:34507/apis/apps/v1/deployments?allowWatchBookmarks=true&resourceVersion=447&timeoutSeconds=389&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
E1029 10:32:11.413138 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v2beta1.HorizontalPodAutoscaler: Get "http://127.0.0.1:34507/apis/autoscaling/v2beta1/horizontalpodautoscalers?allowWatchBookmarks=true&resourceVersion=435&timeoutSeconds=525&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
E1029 10:32:11.413826 22777 reflector.go:383] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to watch *v1.ConfigMap: Get "http://127.0.0.1:34507/api/v1/configmaps?allowWatchBookmarks=true&resourceVersion=122&timeoutSeconds=361&watch=true": dial tcp 127.0.0.1:34507: connect: connection refused
[91m[1mSummarizing 1 Failure:[0m
[91m[1m[Panic!] [0m[90mMLServer helpers [0m[0mmergeMLServerContainer [0m[91m[1m[It] should merge containers adding extra env [0m
[37m/usr/local/go/src/runtime/panic.go:212[0m
[1m[91mRan 67 of 67 Specs in 40.475 seconds[0m
[1m[91mFAIL![0m -- [32m[1m66 Passed[0m | [91m[1m1 Failed[0m | [33m[1m0 Pending[0m | [36m[1m0 Skipped[0m
--- FAIL: TestAPIs (40.48s)
FAIL
coverage: 65.9% of statements
path is /workspace/source/operator
Unable to read coverage file to combine, open : no such file or directory
Ginkgo ran 1 suite in 1m10.088309677s
Test Suite Failed
make: Leaving directory '/workspace/source/operator'
make: *** [Makefile:37: test] Error 1
[31m
Pipeline failed on stage 'seldon-operator' : container 'step-test-operator'. The execution of the pipeline has stopped.[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mtest-python[0m and container [32mstep-credential-initializer-vthvw[0m
{"level":"info","ts":1603967235.3400114,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/refs/heads/0.8.0-ns-support: no such file or directory"}
{"level":"info","ts":1603967235.3404853,"logger":"fallback-logger","caller":"creds-init/main.go:40","msg":"Credentials initialized."}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mtest-python[0m and container [32mstep-working-dir-initializer-692zb[0m
{"level":"info","ts":1603967236.0310173,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967236.03267,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mtest-python[0m and container [32mstep-place-tools[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mtest-python[0m and container [32mstep-create-dir-workspace-wxzl4[0m
{"level":"info","ts":1603967320.4541373,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967320.4557748,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mtest-python[0m and container [32mstep-source-copy-workspace-fghn4[0m
{"level":"info","ts":1603967321.0363297,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967327.6823032,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c cp -r /pvc/pr-build-comment/workspace/. /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mtest-python[0m and container [32mstep-setup-builder-home[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mtest-python[0m and container [32mstep-test-python[0m
make: Entering directory '/workspace/source/python'
# Protobuf
cp ../proto/prediction.proto seldon_core/proto/
make -C ../proto/tensorflow/ create_protos
make[1]: Entering directory '/workspace/source/proto/tensorflow'
./create-protos.sh
Downloading proto files for master
make[1]: Leaving directory '/workspace/source/proto/tensorflow'
cp -r ../proto/tensorflow/tensorflow \
seldon_core/proto/
make -C ../proto/tensorflow clean
make[1]: Entering directory '/workspace/source/proto/tensorflow'
removed 'tensorflow/core/framework/tensor.proto'
removed 'tensorflow/core/framework/tensor_shape.proto'
removed 'tensorflow/core/framework/types.proto'
removed 'tensorflow/core/framework/resource_handle.proto'
removed directory 'tensorflow/core/framework'
removed directory 'tensorflow/core'
removed directory 'tensorflow'
make[1]: Leaving directory '/workspace/source/proto/tensorflow'
# OpenAPI
cp ../openapi/wrapper.oas3.json seldon_core/openapi/seldon.json
# Protobuf
cd seldon_core && python \
-m grpc.tools.protoc \
-I./ \
-I./proto/ \
--python_out=./ \
--grpc_python_out=./ \
--mypy_out=./ \
./proto/prediction.proto
Writing mypy to proto/prediction_pb2.pyi
## We build TF's protobufs as well in case the tensorflow package
## is not found
cd seldon_core/proto && python \
-m grpc.tools.protoc \
-I./ \
-I../ \
--python_out=./ \
./tensorflow/core/framework/*.proto
sed -i "s/from tensorflow/from seldon_core.proto.tensorflow/" seldon_core/proto/*.py
sed -i "s/from tensorflow.core.framework/from ./" \
seldon_core/proto/tensorflow/core/framework/resource_handle_pb2.py seldon_core/proto/tensorflow/core/framework/tensor_pb2.py seldon_core/proto/tensorflow/core/framework/tensor_shape_pb2.py seldon_core/proto/tensorflow/core/framework/types_pb2.py
sed -i "s/from proto/from seldon_core.proto/g" seldon_core/proto/prediction_pb2_grpc.py
sed -i 's/__version__ = .*/__version__ = "1.5.0-dev"/g' seldon_core/version.py
pip install -e . -r requirements-dev.txt
Obtaining file:///workspace/source/python
Collecting black==19.10b0 (from -r requirements-dev.txt (line 2))
Downloading https://files.pythonhosted.org/packages/fd/bb/ad34bbc93d1bea3de086d7c59e528d4a503ac8fe318bd1fa48605584c3d2/black-19.10b0-py36-none-any.whl (97kB)
Collecting flake8==3.8.1 (from -r requirements-dev.txt (line 3))
Downloading https://files.pythonhosted.org/packages/bf/47/36e51603431e1a5289eb41636199d2c225fcb1ca286e29c02d219c8e6e88/flake8-3.8.1-py2.py3-none-any.whl (72kB)
Collecting mypy<0.791 (from -r requirements-dev.txt (line 4))
Downloading https://files.pythonhosted.org/packages/3a/b0/aa475e0458f36a4ca467a7dade31a481691d6f621546ec01a043b0ef5d70/mypy-0.790-cp37-cp37m-manylinux1_x86_64.whl (21.0MB)
Collecting Pillow==8.0.1 (from -r requirements-dev.txt (line 5))
Downloading https://files.pythonhosted.org/packages/af/fa/c1302a26d5e1a17fa8e10e43417b6cf038b0648c4b79fcf2302a4a0c5d30/Pillow-8.0.1-cp37-cp37m-manylinux1_x86_64.whl (2.2MB)
Collecting pytest==6.1.0 (from -r requirements-dev.txt (line 6))
Downloading https://files.pythonhosted.org/packages/61/a0/d4b854d67f8ecb855c65e5c760588e78213a4acb17ac7aeb4661ff1a9b3b/pytest-6.1.0-py3-none-any.whl (272kB)
Collecting pytest-cov==2.10.1 (from -r requirements-dev.txt (line 7))
Downloading https://files.pythonhosted.org/packages/e5/18/401594af67eda194a8b9167208621761927c937db7d60292608342bbac0a/pytest_cov-2.10.1-py2.py3-none-any.whl
Collecting tox<4.0.0 (from -r requirements-dev.txt (line 8))
Downloading https://files.pythonhosted.org/packages/e0/79/5915b9dad867e89bb6495456acfe5d4e2287e74dfa29c059f7b127d5480e/tox-3.20.1-py2.py3-none-any.whl (83kB)
Collecting grpcio-tools==1.32.0 (from -r requirements-dev.txt (line 9))
Downloading https://files.pythonhosted.org/packages/5c/5b/6eb80634fa6092d696fe300644f73ecfd7c686ba1c126622ed3c2cb29bf2/grpcio-tools-1.32.0.tar.gz (2.1MB)
Collecting mypy-protobuf==1.22 (from -r requirements-dev.txt (line 10))
Downloading https://files.pythonhosted.org/packages/ec/9c/36adfc9a4aee35f8c6ae45f91cb3ef2e041e4c9ef6be1401e369f46c47c6/mypy_protobuf-1.22-py3-none-any.whl
Collecting tenacity==6.2.0 (from -r requirements-dev.txt (line 13))
Downloading https://files.pythonhosted.org/packages/b5/05/ff089032442058bd3386f9cd991cd88ccac81dca1494d78751621ee35e62/tenacity-6.2.0-py2.py3-none-any.whl
Collecting coverage==5.3 (from -r requirements-dev.txt (line 16))
Downloading https://files.pythonhosted.org/packages/f9/67/cf7584c4fe27083710d3e43ffa26219b1e178a8bf506a762c76baf4937d6/coverage-5.3-cp37-cp37m-manylinux1_x86_64.whl (229kB)
Collecting pandas==1.1.0 (from -r requirements-dev.txt (line 19))
Downloading https://files.pythonhosted.org/packages/94/b1/f77f49cc7cc538b247f30c2ae7e3a50f29e44f0b1af32ff4869d7de3c762/pandas-1.1.0-cp37-cp37m-manylinux1_x86_64.whl (10.5MB)
Collecting pip-licenses==2.3.0 (from -r requirements-dev.txt (line 22))
Downloading https://files.pythonhosted.org/packages/c5/50/6c4b4e69a0c43bd9f03a30579695093062ba72da4e3e4026cd2144dbcc71/pip_licenses-2.3.0-py3-none-any.whl
Collecting Flask<2.0.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (94kB)
Collecting jsonschema<4.0.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl (56kB)
Collecting Flask-cors<4.0.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/69/7f/d0aeaaafb5c3c76c8d2141dbe2d4f6dca5d6c31872d4e5349768c1958abc/Flask_Cors-3.0.9-py2.py3-none-any.whl
Collecting redis<4.0.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/a7/7c/24fb0511df653cf1a5d938d8f5d19802a88cef255706fdda242ff97e91b7/redis-3.5.3-py2.py3-none-any.whl (72kB)
Requirement already satisfied: requests<3.0.0 in /opt/conda/lib/python3.7/site-packages (from seldon-core==1.5.0.dev0) (2.21.0)
Collecting numpy<2.0.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/ec/b7/59f5e75e4f2c9c07b7e651d2ef7502354b254d73bec8c68df30a2d243c9f/numpy-1.19.3-cp37-cp37m-manylinux1_x86_64.whl (13.4MB)
Requirement already satisfied: flatbuffers<2.0.0 in /opt/conda/lib/python3.7/site-packages (from seldon-core==1.5.0.dev0) (1.11)
Requirement already satisfied: protobuf<4.0.0 in /opt/conda/lib/python3.7/site-packages (from seldon-core==1.5.0.dev0) (3.7.1)
Requirement already satisfied: grpcio<2.0.0 in /opt/conda/lib/python3.7/site-packages (from seldon-core==1.5.0.dev0) (1.20.1)
Collecting Flask-OpenTracing<1.2.0,>=1.1.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/58/6c/6417701ba5ecc8854670c6db3207bcc3e5fbc96289a7cb18d5516d99a1c6/Flask-OpenTracing-1.1.0.tar.gz
Collecting opentracing<2.4.0,>=2.2.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/e4/a8/df5285f42cd07782409d0ae835785fae6e2a0f7e8b0036ea302f1422fd25/opentracing-2.3.0.tar.gz (48kB)
Collecting jaeger-client<4.4.0,>=4.1.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/2b/75/17a937a61135671cebc175ab5c299dc0f7477042469482fd9a6f91262c68/jaeger-client-4.3.0.tar.gz (81kB)
Collecting grpcio-opentracing<1.2.0,>=1.1.4 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/db/82/2fcad380697c3dab25de76ee590bcab3eb9bbfb4add916044d7e83ec2b10/grpcio_opentracing-1.1.4-py3-none-any.whl
Collecting PyYAML<5.4 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269kB)
Collecting gunicorn<20.1.0,>=19.9.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/69/ca/926f7cd3a2014b16870086b2d0fdc84a9e49473c68a8dff8b57f7c156f43/gunicorn-20.0.4-py2.py3-none-any.whl (77kB)
Collecting setuptools>=41.0.0 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/6d/38/c21ef5034684ffc0412deefbb07d66678332290c14bb5269c85145fbd55e/setuptools-50.3.2-py3-none-any.whl (785kB)
Collecting prometheus_client<0.9.0,>=0.7.1 (from seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/3f/0e/554a265ffdc56e1494ef08e18f765b0cdec78797f510c58c45cf37abb4f4/prometheus_client-0.8.0-py2.py3-none-any.whl (53kB)
Collecting click>=6.5 (from black==19.10b0->-r requirements-dev.txt (line 2))
Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
Collecting appdirs (from black==19.10b0->-r requirements-dev.txt (line 2))
Downloading https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl
Collecting typed-ast>=1.4.0 (from black==19.10b0->-r requirements-dev.txt (line 2))
Downloading https://files.pythonhosted.org/packages/5d/10/0c1e8aa723a2b0c4032e048d8e511df82c8a1262f0e1df5e4c54eb2613e9/typed_ast-1.4.1-cp37-cp37m-manylinux1_x86_64.whl (737kB)
Collecting regex (from black==19.10b0->-r requirements-dev.txt (line 2))
Downloading https://files.pythonhosted.org/packages/6b/7f/4170bd5a4129ef0fedd3b930a52341698bb07d44cdfe35498002fe4507f1/regex-2020.10.28-cp37-cp37m-manylinux1_x86_64.whl (666kB)
Collecting attrs>=18.1.0 (from black==19.10b0->-r requirements-dev.txt (line 2))
Downloading https://files.pythonhosted.org/packages/14/df/479736ae1ef59842f512548bacefad1abed705e400212acba43f9b0fa556/attrs-20.2.0-py2.py3-none-any.whl (48kB)
Collecting toml>=0.9.4 (from black==19.10b0->-r requirements-dev.txt (line 2))
Downloading https://files.pythonhosted.org/packages/9f/e1/1b40b80f2e1663a6b9f497123c11d7d988c0919abbf3c3f2688e448c5363/toml-0.10.1-py2.py3-none-any.whl
Collecting pathspec<1,>=0.6 (from black==19.10b0->-r requirements-dev.txt (line 2))
Downloading https://files.pythonhosted.org/packages/5d/d0/887c58853bd4b6ffc7aa9cdba4fc57d7b979b45888a6bd47e4568e1cf868/pathspec-0.8.0-py2.py3-none-any.whl
Collecting importlib-metadata; python_version < "3.8" (from flake8==3.8.1->-r requirements-dev.txt (line 3))
Downloading https://files.pythonhosted.org/packages/6d/6d/f4bb28424bc677bce1210bc19f69a43efe823e294325606ead595211f93e/importlib_metadata-2.0.0-py2.py3-none-any.whl
Collecting pycodestyle<2.7.0,>=2.6.0a1 (from flake8==3.8.1->-r requirements-dev.txt (line 3))
Downloading https://files.pythonhosted.org/packages/10/5b/88879fb861ab79aef45c7e199cae3ef7af487b5603dcb363517a50602dd7/pycodestyle-2.6.0-py2.py3-none-any.whl (41kB)
Collecting mccabe<0.7.0,>=0.6.0 (from flake8==3.8.1->-r requirements-dev.txt (line 3))
Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting pyflakes<2.3.0,>=2.2.0 (from flake8==3.8.1->-r requirements-dev.txt (line 3))
Downloading https://files.pythonhosted.org/packages/69/5b/fd01b0c696f2f9a6d2c839883b642493b431f28fa32b29abc465ef675473/pyflakes-2.2.0-py2.py3-none-any.whl (66kB)
Collecting mypy-extensions<0.5.0,>=0.4.3 (from mypy<0.791->-r requirements-dev.txt (line 4))
Downloading https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl
Collecting typing-extensions>=3.7.4 (from mypy<0.791->-r requirements-dev.txt (line 4))
Downloading https://files.pythonhosted.org/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-3.7.4.3-py3-none-any.whl
Collecting pluggy<1.0,>=0.12 (from pytest==6.1.0->-r requirements-dev.txt (line 6))
Downloading https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl
Collecting iniconfig (from pytest==6.1.0->-r requirements-dev.txt (line 6))
Downloading https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl
Collecting py>=1.8.2 (from pytest==6.1.0->-r requirements-dev.txt (line 6))
Downloading https://files.pythonhosted.org/packages/68/0f/41a43535b52a81e4f29e420a151032d26f08b62206840c48d14b70e53376/py-1.9.0-py2.py3-none-any.whl (99kB)
Collecting packaging (from pytest==6.1.0->-r requirements-dev.txt (line 6))
Downloading https://files.pythonhosted.org/packages/46/19/c5ab91b1b05cfe63cccd5cfc971db9214c6dd6ced54e33c30d5af1d2bc43/packaging-20.4-py2.py3-none-any.whl
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 (from tox<4.0.0->-r requirements-dev.txt (line 8))
Downloading https://files.pythonhosted.org/packages/97/f3/c064343ac58d1a54c393a3f66483a29500f644a5918deeb935d28673edd9/virtualenv-20.1.0-py2.py3-none-any.whl (4.9MB)
Collecting six>=1.14.0 (from tox<4.0.0->-r requirements-dev.txt (line 8))
Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting filelock>=3.0.0 (from tox<4.0.0->-r requirements-dev.txt (line 8))
Downloading https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl
Collecting python-dateutil>=2.7.3 (from pandas==1.1.0->-r requirements-dev.txt (line 19))
Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
Collecting pytz>=2017.2 (from pandas==1.1.0->-r requirements-dev.txt (line 19))
Downloading https://files.pythonhosted.org/packages/4f/a4/879454d49688e2fad93e59d7d4efda580b783c745fd2ec2a3adf87b0808d/pytz-2020.1-py2.py3-none-any.whl (510kB)
Collecting PTable (from pip-licenses==2.3.0->-r requirements-dev.txt (line 22))
Downloading https://files.pythonhosted.org/packages/ab/b3/b54301811173ca94119eb474634f120a49cd370f257d1aae5a4abaf12729/PTable-0.9.2.tar.gz
Collecting Werkzeug>=0.15 (from Flask<2.0.0->seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298kB)
Collecting itsdangerous>=0.24 (from Flask<2.0.0->seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting Jinja2>=2.10.1 (from Flask<2.0.0->seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl (125kB)
Collecting pyrsistent>=0.14.0 (from jsonschema<4.0.0->seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/4d/70/fd441df751ba8b620e03fd2d2d9ca902103119616f0f6cc42e6405035062/pyrsistent-0.17.3.tar.gz (106kB)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests<3.0.0->seldon-core==1.5.0.dev0) (2.8)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests<3.0.0->seldon-core==1.5.0.dev0) (1.24.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from requests<3.0.0->seldon-core==1.5.0.dev0) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests<3.0.0->seldon-core==1.5.0.dev0) (2018.11.29)
Collecting threadloop<2,>=1 (from jaeger-client<4.4.0,>=4.1.0->seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/d3/1d/8398c1645b97dc008d3c658e04beda01ede3d90943d40c8d56863cf891bd/threadloop-1.0.2.tar.gz
Collecting thrift (from jaeger-client<4.4.0,>=4.1.0->seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/97/1e/3284d19d7be99305eda145b8aa46b0c33244e4a496ec66440dac19f8274d/thrift-0.13.0.tar.gz (59kB)
Collecting tornado>=4.3 (from jaeger-client<4.4.0,>=4.1.0->seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/95/84/119a46d494f008969bf0c775cb2c6b3579d3c4cc1bb1b41a022aa93ee242/tornado-6.0.4.tar.gz (496kB)
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->flake8==3.8.1->-r requirements-dev.txt (line 3))
Downloading https://files.pythonhosted.org/packages/41/ad/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f/zipp-3.4.0-py3-none-any.whl
Collecting pyparsing>=2.0.2 (from packaging->pytest==6.1.0->-r requirements-dev.txt (line 6))
Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
Collecting distlib<1,>=0.3.1 (from virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0->tox<4.0.0->-r requirements-dev.txt (line 8))
Downloading https://files.pythonhosted.org/packages/f5/0a/490fa011d699bb5a5f3a0cf57de82237f52a6db9d40f33c53b2736c9a1f9/distlib-0.3.1-py2.py3-none-any.whl (335kB)
Collecting MarkupSafe>=0.23 (from Jinja2>=2.10.1->Flask<2.0.0->seldon-core==1.5.0.dev0)
Downloading https://files.pythonhosted.org/packages/98/7b/ff284bd8c80654e471b769062a9b43cc5d03e7a615048d96f4619df8d420/MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl
Building wheels for collected packages: grpcio-tools, Flask-OpenTracing, opentracing, jaeger-client, PyYAML, PTable, pyrsistent, threadloop, thrift, tornado
Running setup.py bdist_wheel for grpcio-tools: started
Running setup.py bdist_wheel for grpcio-tools: still running...
Running setup.py bdist_wheel for grpcio-tools: still running...
Running setup.py bdist_wheel for grpcio-tools: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/ef/49/23/a3a3701c090b0611219faa01bb15f2654ce15f566a251dff56
Running setup.py bdist_wheel for Flask-OpenTracing: started
Running setup.py bdist_wheel for Flask-OpenTracing: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/7b/dc/25/3cf0b35c129232ee596c413f13d1d1f5a8e38c427266276dfd
Running setup.py bdist_wheel for opentracing: started
Running setup.py bdist_wheel for opentracing: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/66/b5/60/322949294afda71a9558eb25a1e536d1191665ef71759646b7
Running setup.py bdist_wheel for jaeger-client: started
Running setup.py bdist_wheel for jaeger-client: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/a4/46/e1/316c9ea87f46b9685c2f4258950a27bad1ae072c56224e4489
Running setup.py bdist_wheel for PyYAML: started
Running setup.py bdist_wheel for PyYAML: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/a7/c1/ea/cf5bd31012e735dc1dfea3131a2d5eae7978b251083d6247bd
Running setup.py bdist_wheel for PTable: started
Running setup.py bdist_wheel for PTable: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/22/cc/2e/55980bfe86393df3e9896146a01f6802978d09d7ebcba5ea56
Running setup.py bdist_wheel for pyrsistent: started
Running setup.py bdist_wheel for pyrsistent: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/f0/b8/de/b593ad311be4eb458499d100db081e453576032272398b7ddc
Running setup.py bdist_wheel for threadloop: started
Running setup.py bdist_wheel for threadloop: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/d7/7a/30/d212623a4cd34f6cce400f8122b1b7af740d3440c68023d51f
Running setup.py bdist_wheel for thrift: started
Running setup.py bdist_wheel for thrift: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/02/a2/46/689ccfcf40155c23edc7cdbd9de488611c8fdf49ff34b1706e
Running setup.py bdist_wheel for tornado: started
Running setup.py bdist_wheel for tornado: finished with status 'done'
Stored in directory: /builder/home/.cache/pip/wheels/93/84/2f/409c7b2bb3afc3aa727f7ee8787975e0793f74d1165f4d0104
Successfully built grpcio-tools Flask-OpenTracing opentracing jaeger-client PyYAML PTable pyrsistent threadloop thrift tornado
grpcio-tools 1.32.0 has requirement grpcio>=1.32.0, but you'll have grpcio 1.20.1 which is incompatible.
Installing collected packages: click, appdirs, typed-ast, regex, attrs, toml, pathspec, black, zipp, importlib-metadata, pycodestyle, mccabe, pyflakes, flake8, mypy-extensions, typing-extensions, mypy, Pillow, pluggy, iniconfig, py, six, pyparsing, packaging, pytest, coverage, pytest-cov, distlib, filelock, virtualenv, tox, grpcio-tools, mypy-protobuf, tenacity, python-dateutil, numpy, pytz, pandas, PTable, pip-licenses, Werkzeug, itsdangerous, MarkupSafe, Jinja2, Flask, setuptools, pyrsistent, jsonschema, Flask-cors, redis, opentracing, Flask-OpenTracing, tornado, threadloop, thrift, jaeger-client, grpcio-opentracing, PyYAML, gunicorn, prometheus-client, seldon-core
Found existing installation: six 1.12.0
Uninstalling six-1.12.0:
Successfully uninstalled six-1.12.0
Found existing installation: grpcio-tools 1.20.1
Uninstalling grpcio-tools-1.20.1:
Successfully uninstalled grpcio-tools-1.20.1
Found existing installation: mypy-protobuf 1.10
Uninstalling mypy-protobuf-1.10:
Successfully uninstalled mypy-protobuf-1.10
Found existing installation: setuptools 40.6.3
Uninstalling setuptools-40.6.3:
Successfully uninstalled setuptools-40.6.3
Running setup.py develop for seldon-core
Successfully installed Flask-1.1.2 Flask-OpenTracing-1.1.0 Flask-cors-3.0.9 Jinja2-2.11.2 MarkupSafe-1.1.1 PTable-0.9.2 Pillow-8.0.1 PyYAML-5.3.1 Werkzeug-1.0.1 appdirs-1.4.4 attrs-20.2.0 black-19.10b0 click-7.1.2 coverage-5.3 distlib-0.3.1 filelock-3.0.12 flake8-3.8.1 grpcio-opentracing-1.1.4 grpcio-tools-1.32.0 gunicorn-20.0.4 importlib-metadata-2.0.0 iniconfig-1.1.1 itsdangerous-1.1.0 jaeger-client-4.3.0 jsonschema-3.2.0 mccabe-0.6.1 mypy-0.790 mypy-extensions-0.4.3 mypy-protobuf-1.22 numpy-1.19.3 opentracing-2.3.0 packaging-20.4 pandas-1.1.0 pathspec-0.8.0 pip-licenses-2.3.0 pluggy-0.13.1 prometheus-client-0.8.0 py-1.9.0 pycodestyle-2.6.0 pyflakes-2.2.0 pyparsing-2.4.7 pyrsistent-0.17.3 pytest-6.1.0 pytest-cov-2.10.1 python-dateutil-2.8.1 pytz-2020.1 redis-3.5.3 regex-2020.10.28 seldon-core setuptools-50.3.2 six-1.15.0 tenacity-6.2.0 threadloop-1.0.2 thrift-0.13.0 toml-0.10.1 tornado-6.0.4 tox-3.20.1 typed-ast-1.4.1 typing-extensions-3.7.4.3 virtualenv-20.1.0 zipp-3.4.0
tox
GLOB sdist-make: /workspace/source/python/setup.py
py3 create: /workspace/source/python/.tox/py3
py3 installdeps: -r/workspace/source/python/requirements-dev.txt
py3 inst: /workspace/source/python/.tox/.tmp/package/1/seldon-core-1.5.0.dev0.zip
py3 installed: appdirs==1.4.4,attrs==20.2.0,black==19.10b0,certifi==2020.6.20,chardet==3.0.4,click==7.1.2,coverage==5.3,distlib==0.3.1,filelock==3.0.12,flake8==3.8.1,Flask==1.1.2,Flask-Cors==3.0.9,Flask-OpenTracing==1.1.0,flatbuffers==1.12,grpcio==1.33.2,grpcio-opentracing==1.1.4,grpcio-tools==1.32.0,gunicorn==20.0.4,idna==2.10,importlib-metadata==2.0.0,iniconfig==1.1.1,itsdangerous==1.1.0,jaeger-client==4.3.0,Jinja2==2.11.2,jsonschema==3.2.0,MarkupSafe==1.1.1,mccabe==0.6.1,mypy==0.790,mypy-extensions==0.4.3,mypy-protobuf==1.22,numpy==1.19.3,opentracing==2.3.0,packaging==20.4,pandas==1.1.0,pathspec==0.8.0,Pillow==8.0.1,pip-licenses==2.3.0,pluggy==0.13.1,prometheus-client==0.8.0,protobuf==3.13.0,PTable==0.9.2,py==1.9.0,pycodestyle==2.6.0,pyflakes==2.2.0,pyparsing==2.4.7,pyrsistent==0.17.3,pytest==6.1.0,pytest-cov==2.10.1,python-dateutil==2.8.1,pytz==2020.1,PyYAML==5.3.1,redis==3.5.3,regex==2020.10.28,requests==2.24.0,seldon-core @ file:///workspace/source/python/.tox/.tmp/package/1/seldon-core-1.5.0.dev0.zip,six==1.15.0,tenacity==6.2.0,threadloop==1.0.2,thrift==0.13.0,toml==0.10.1,tornado==6.0.4,tox==3.20.1,typed-ast==1.4.1,typing-extensions==3.7.4.3,urllib3==1.25.11,virtualenv==20.1.0,Werkzeug==1.0.1,zipp==3.4.0
py3 run-test-pre: PYTHONHASHSEED='2253931614'
py3 run-test: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-6.1.0, py-1.9.0, pluggy-0.13.1
cachedir: .tox/py3/.pytest_cache
rootdir: /workspace/source/python, configfile: setup.cfg
plugins: cov-2.10.1
collected 388 items
tests/test_api_tester.py .. [ 0%]
tests/test_application_exception_microservice.py .. [ 1%]
tests/test_combiner_microservice.py ..................... [ 6%]
tests/test_flask_utils.py ... [ 7%]
tests/test_metadata.py ................................................. [ 19%]
... [ 20%]
tests/test_metrics.py .................................................. [ 33%]
................... [ 38%]
tests/test_microservice.py ............. [ 41%]
tests/test_microservice_tester.py ..... [ 43%]
tests/test_model_microservice.py ...............s......................s [ 53%]
........ [ 55%]
tests/test_router_microservice.py ................. [ 59%]
tests/test_runtime_metrics_tags.py ......................... [ 65%]
tests/test_seldon_client.py .................................. [ 74%]
tests/test_storage.py ...... [ 76%]
tests/test_transformer_microservice.py ................................. [ 84%]
........ [ 86%]
tests/test_user_model.py .... [ 87%]
tests/test_utils.py ..............................sss.............. [100%]
----------- coverage: platform linux, python 3.7.1-final-0 -----------
Name Stmts Miss Cover
-----------------------------------------------------------------------------------------------------------------------------
.tox/py3/lib/python3.7/site-packages/seldon_core/__init__.py 2 0 100%
.tox/py3/lib/python3.7/site-packages/seldon_core/api_tester.py 81 81 0%
.tox/py3/lib/python3.7/site-packages/seldon_core/app.py 40 23 42%
.tox/py3/lib/python3.7/site-packages/seldon_core/batch_processor.py 94 94 0%
.tox/py3/lib/python3.7/site-packages/seldon_core/flask_utils.py 53 39 26%
.tox/py3/lib/python3.7/site-packages/seldon_core/imports_helper.py 11 1 91%
.tox/py3/lib/python3.7/site-packages/seldon_core/metadata.py 32 11 66%
.tox/py3/lib/python3.7/site-packages/seldon_core/metrics.py 138 77 44%
.tox/py3/lib/python3.7/site-packages/seldon_core/microservice.py 218 82 62%
.tox/py3/lib/python3.7/site-packages/seldon_core/microservice_tester.py 140 140 0%
.tox/py3/lib/python3.7/site-packages/seldon_core/persistence.py 45 23 49%
.tox/py3/lib/python3.7/site-packages/seldon_core/proto/__init__.py 0 0 100%
.tox/py3/lib/python3.7/site-packages/seldon_core/proto/prediction_pb2.py 165 0 100%
.tox/py3/lib/python3.7/site-packages/seldon_core/proto/prediction_pb2_grpc.py 137 89 35%
.tox/py3/lib/python3.7/site-packages/seldon_core/proto/tensorflow/core/framework/__init__.py 3 1 67%
.tox/py3/lib/python3.7/site-packages/seldon_core/proto/tensorflow/core/framework/resource_handle_pb2.py 22 0 100%
.tox/py3/lib/python3.7/site-packages/seldon_core/proto/tensorflow/core/framework/tensor_pb2.py 36 0 100%
.tox/py3/lib/python3.7/site-packages/seldon_core/proto/tensorflow/core/framework/tensor_shape_pb2.py 18 0 100%
.tox/py3/lib/python3.7/site-packages/seldon_core/proto/tensorflow/core/framework/types_pb2.py 68 0 100%
.tox/py3/lib/python3.7/site-packages/seldon_core/seldon_client.py 599 599 0%
.tox/py3/lib/python3.7/site-packages/seldon_core/seldon_methods.py 244 222 9%
.tox/py3/lib/python3.7/site-packages/seldon_core/serving_test_gen.py 40 40 0%
.tox/py3/lib/python3.7/site-packages/seldon_core/storage.py 38 28 26%
.tox/py3/lib/python3.7/site-packages/seldon_core/user_model.py 182 129 29%
.tox/py3/lib/python3.7/site-packages/seldon_core/utils.py 286 246 14%
.tox/py3/lib/python3.7/site-packages/seldon_core/version.py 1 0 100%
.tox/py3/lib/python3.7/site-packages/seldon_core/wrapper.py 151 121 20%
seldon_core/__init__.py 2 0 100%
seldon_core/api_tester.py 81 38 53%
seldon_core/app.py 40 23 42%
seldon_core/batch_processor.py 94 94 0%
seldon_core/flask_utils.py 53 6 89%
seldon_core/imports_helper.py 11 1 91%
seldon_core/metadata.py 32 0 100%
seldon_core/metrics.py 138 2 99%
seldon_core/microservice.py 218 133 39%
seldon_core/microservice_tester.py 140 43 69%
seldon_core/persistence.py 45 23 49%
seldon_core/proto/__init__.py 0 0 100%
seldon_core/proto/prediction_pb2.py 165 0 100%
seldon_core/proto/prediction_pb2_grpc.py 137 65 53%
seldon_core/proto/tensorflow/core/framework/__init__.py 3 1 67%
seldon_core/proto/tensorflow/core/framework/resource_handle_pb2.py 22 0 100%
seldon_core/proto/tensorflow/core/framework/tensor_pb2.py 36 0 100%
seldon_core/proto/tensorflow/core/framework/tensor_shape_pb2.py 18 0 100%
seldon_core/proto/tensorflow/core/framework/types_pb2.py 68 0 100%
seldon_core/seldon_client.py 599 284 53%
seldon_core/seldon_methods.py 244 12 95%
seldon_core/serving_test_gen.py 40 40 0%
seldon_core/storage.py 38 13 66%
seldon_core/user_model.py 182 27 85%
seldon_core/utils.py 286 43 85%
seldon_core/version.py 1 0 100%
seldon_core/wrapper.py 151 10 93%
-----------------------------------------------------------------------------------------------------------------------------
TOTAL 5688 2904 49%
================== 383 passed, 5 skipped in 76.78s (0:01:16) ===================
tensorflow create: /workspace/source/python/.tox/tensorflow
tensorflow installdeps: -r/workspace/source/python/requirements-dev.txt
tensorflow inst: /workspace/source/python/.tox/.tmp/package/1/seldon-core-1.5.0.dev0.zip
tensorflow installed: absl-py==0.11.0,appdirs==1.4.4,astunparse==1.6.3,attrs==20.2.0,black==19.10b0,cachetools==4.1.1,certifi==2020.6.20,chardet==3.0.4,click==7.1.2,coverage==5.3,distlib==0.3.1,filelock==3.0.12,flake8==3.8.1,Flask==1.1.2,Flask-Cors==3.0.9,Flask-OpenTracing==1.1.0,flatbuffers==1.12,gast==0.3.3,google-auth==1.22.1,google-auth-oauthlib==0.4.2,google-pasta==0.2.0,grpcio==1.33.2,grpcio-opentracing==1.1.4,grpcio-tools==1.32.0,gunicorn==20.0.4,h5py==2.10.0,idna==2.10,importlib-metadata==2.0.0,iniconfig==1.1.1,itsdangerous==1.1.0,jaeger-client==4.3.0,Jinja2==2.11.2,jsonschema==3.2.0,Keras-Preprocessing==1.1.2,Markdown==3.3.3,MarkupSafe==1.1.1,mccabe==0.6.1,mypy==0.790,mypy-extensions==0.4.3,mypy-protobuf==1.22,numpy==1.19.3,oauthlib==3.1.0,opentracing==2.3.0,opt-einsum==3.3.0,packaging==20.4,pandas==1.1.0,pathspec==0.8.0,Pillow==8.0.1,pip-licenses==2.3.0,pluggy==0.13.1,prometheus-client==0.8.0,protobuf==3.13.0,PTable==0.9.2,py==1.9.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.6.0,pyflakes==2.2.0,pyparsing==2.4.7,pyrsistent==0.17.3,pytest==6.1.0,pytest-cov==2.10.1,python-dateutil==2.8.1,pytz==2020.1,PyYAML==5.3.1,redis==3.5.3,regex==2020.10.28,requests==2.24.0,requests-oauthlib==1.3.0,rsa==4.6,seldon-core @ file:///workspace/source/python/.tox/.tmp/package/1/seldon-core-1.5.0.dev0.zip,six==1.15.0,tenacity==6.2.0,tensorboard==2.3.0,tensorboard-plugin-wit==1.7.0,tensorflow==2.3.1,tensorflow-estimator==2.3.0,termcolor==1.1.0,threadloop==1.0.2,thrift==0.13.0,toml==0.10.1,tornado==6.0.4,tox==3.20.1,typed-ast==1.4.1,typing-extensions==3.7.4.3,urllib3==1.25.11,virtualenv==20.1.0,Werkzeug==1.0.1,wrapt==1.12.1,zipp==3.4.0
tensorflow run-test-pre: PYTHONHASHSEED='2253931614'
tensorflow run-test: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-6.1.0, py-1.9.0, pluggy-0.13.1
cachedir: .tox/tensorflow/.pytest_cache
rootdir: /workspace/source/python, configfile: setup.cfg
plugins: cov-2.10.1
collected 388 items
tests/test_api_tester.py .. [ 0%]
tests/test_application_exception_microservice.py .. [ 1%]
tests/test_combiner_microservice.py ..................... [ 6%]
tests/test_flask_utils.py ... [ 7%]
tests/test_metadata.py ................................................. [ 19%]
... [ 20%]
tests/test_metrics.py .................................................. [ 33%]
................... [ 38%]
tests/test_microservice.py ............. [ 41%]
tests/test_microservice_tester.py ..... [ 43%]
tests/test_model_microservice.py ....................................... [ 53%]
........ [ 55%]
tests/test_router_microservice.py ................. [ 59%]
tests/test_runtime_metrics_tags.py ......................... [ 65%]
tests/test_seldon_client.py .................................. [ 74%]
tests/test_storage.py ...... [ 76%]
tests/test_transformer_microservice.py ................................. [ 84%]
........ [ 86%]
tests/test_user_model.py .... [ 87%]
tests/test_utils.py ............................................... [100%]
----------- coverage: platform linux, python 3.7.1-final-0 -----------
Name Stmts Miss Cover
-------------------------------------------------------------------------------------------------------------------------
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/__init__.py 2 0 100%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/api_tester.py 81 81 0%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/app.py 40 23 42%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/batch_processor.py 94 94 0%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/flask_utils.py 53 39 26%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/imports_helper.py 11 4 64%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/metadata.py 32 11 66%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/metrics.py 138 77 44%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/microservice.py 218 82 62%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/microservice_tester.py 140 140 0%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/persistence.py 45 23 49%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/proto/__init__.py 0 0 100%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/proto/prediction_pb2.py 165 0 100%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/proto/prediction_pb2_grpc.py 137 89 35%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/proto/tensorflow/core/framework/__init__.py 3 0 100%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/seldon_client.py 599 599 0%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/seldon_methods.py 244 222 9%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/serving_test_gen.py 40 40 0%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/storage.py 38 28 26%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/user_model.py 182 129 29%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/utils.py 286 244 15%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/version.py 1 0 100%
.tox/tensorflow/lib/python3.7/site-packages/seldon_core/wrapper.py 151 121 20%
seldon_core/__init__.py 2 0 100%
seldon_core/api_tester.py 81 38 53%
seldon_core/app.py 40 23 42%
seldon_core/batch_processor.py 94 94 0%
seldon_core/flask_utils.py 53 6 89%
seldon_core/imports_helper.py 11 4 64%
seldon_core/metadata.py 32 0 100%
seldon_core/metrics.py 138 2 99%
seldon_core/microservice.py 218 133 39%
seldon_core/microservice_tester.py 140 43 69%
seldon_core/persistence.py 45 23 49%
seldon_core/proto/__init__.py 0 0 100%
seldon_core/proto/prediction_pb2.py 165 0 100%
seldon_core/proto/prediction_pb2_grpc.py 137 65 53%
seldon_core/proto/tensorflow/core/framework/__init__.py 3 0 100%
seldon_core/seldon_client.py 599 284 53%
seldon_core/seldon_methods.py 244 12 95%
seldon_core/serving_test_gen.py 40 40 0%
seldon_core/storage.py 38 13 66%
seldon_core/user_model.py 182 27 85%
seldon_core/utils.py 286 31 89%
seldon_core/version.py 1 0 100%
seldon_core/wrapper.py 151 10 93%
-------------------------------------------------------------------------------------------------------------------------
TOTAL 5400 2894 46%
======================= 388 passed in 161.32s (0:02:41) ========================
___________________________________ summary ____________________________________
py3: commands succeeded
tensorflow: commands succeeded
congratulations :)
make: Leaving directory '/workspace/source/python'
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-executor[0m and container [32mstep-credential-initializer-mq6cq[0m
{"level":"info","ts":1603967237.0982804,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/refs/heads/0.8.0-ns-support: no such file or directory"}
{"level":"info","ts":1603967237.0986848,"logger":"fallback-logger","caller":"creds-init/main.go:40","msg":"Credentials initialized."}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-executor[0m and container [32mstep-working-dir-initializer-bzb8l[0m
{"level":"info","ts":1603967238.3133426,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967238.316091,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-executor[0m and container [32mstep-place-tools[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-executor[0m and container [32mstep-create-dir-workspace-5zg6q[0m
{"level":"info","ts":1603967336.1512897,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967336.153055,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c mkdir -p /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-executor[0m and container [32mstep-source-copy-workspace-5tjhb[0m
{"level":"info","ts":1603967336.5172105,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: open /var/run/ko/HEAD: no such file or directory"}
{"level":"info","ts":1603967337.2693791,"logger":"fallback-logger","caller":"bash/main.go:64","msg":"Successfully executed command \"sh -c cp -r /pvc/pr-build-comment/workspace/. /workspace/source\"; output "}
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-executor[0m and container [32mstep-setup-builder-home[0m
Showing logs for build [32mseldonio-seldon-core-pr-2558-pr-9b8f6-14[0m stage [32mseldon-executor[0m and container [32mstep-test-executor[0m
make: Entering directory '/workspace/source/executor'
rm _operator -rf
cp -r ../operator _operator
go fmt ./api/... ./predictor/... ./k8s/... ./logger/...
go: downloading google.golang.org/grpc v1.32.0
go: downloading github.com/google/uuid v1.1.2
go: downloading github.com/cloudevents/sdk-go v1.2.0
go: downloading github.com/uber/jaeger-client-go v2.25.0+incompatible
go: downloading github.com/prometheus/client_golang v1.7.1
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/opentracing/opentracing-go v1.2.0
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go: downloading github.com/golang/protobuf v1.4.2
go: downloading sigs.k8s.io/controller-runtime v0.6.3
go: downloading go.opencensus.io v0.22.4
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/procfs v0.1.3
go: downloading github.com/uber/jaeger-lib v2.2.0+incompatible
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/go-logr/logr v0.1.0
go: downloading go.uber.org/zap v1.16.0
go: downloading k8s.io/apimachinery v0.18.8
go: downloading k8s.io/api v0.18.8
go: downloading github.com/kedacore/keda v0.0.0-20200911122749-717aab81817f
go: downloading k8s.io/client-go v0.18.8
go: downloading github.com/evanphx/json-patch v4.9.0+incompatible
go: downloading sigs.k8s.io/structured-merge-diff v1.0.1
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading k8s.io/klog v1.0.0
go: downloading go.uber.org/atomic v1.6.0
go: downloading github.com/gorilla/mux v1.8.0
go: downloading sigs.k8s.io/structured-merge-diff/v3 v3.0.1-0.20200706213357-43c19bbb7fba
go: downloading github.com/json-iterator/go v1.1.10
go: downloading knative.dev/pkg v0.0.0-20200911145400-2d4efecc6bc1
go: downloading github.com/confluentinc/confluent-kafka-go v1.4.2
go: downloading golang.org/x/net v0.0.0-20200822124328-c89045814202
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.1
go: downloading go.uber.org/multierr v1.5.0
go: downloading google.golang.org/genproto v0.0.0-20200731012542-8145dea6a485
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f
go: downloading k8s.io/utils v0.0.0-20200603063816-c1c6865ac451
go: downloading gomodules.xyz/jsonpatch/v2 v2.1.0
go: downloading github.com/prometheus/common v0.14.0
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/google/go-cmp v0.5.1
go: downloading golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
go: downloading github.com/googleapis/gnostic v0.4.0
go: downloading github.com/imdario/mergo v0.3.11
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading golang.org/x/text v0.3.3
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading k8s.io/klog/v2 v2.0.0
go: downloading k8s.io/apiextensions-apiserver v0.18.8
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/go-logr/zapr v0.1.1
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-bcb3869e6f29
go vet ./api/... ./predictor/... ./k8s/... ./logger/...
go: downloading github.com/onsi/gomega v1.10.2
go: downloading gotest.tools v2.2.0+incompatible
go test ./api/... ./predictor/... ./k8s/... ./logger/... -coverprofile cover.out
? github.com/seldonio/seldon-core/executor/api [no test files]
? github.com/seldonio/seldon-core/executor/api/client [no test files]
ok github.com/seldonio/seldon-core/executor/api/grpc 0.107s coverage: 18.0% of statements
? github.com/seldonio/seldon-core/executor/api/grpc/kfserving [no test files]
? github.com/seldonio/seldon-core/executor/api/grpc/kfserving/inference [no test files]
ok github.com/seldonio/seldon-core/executor/api/grpc/seldon 1.173s coverage: 48.5% of statements
? github.com/seldonio/seldon-core/executor/api/grpc/seldon/proto [no test files]
? github.com/seldonio/seldon-core/executor/api/grpc/seldon/test [no test files]
ok github.com/seldonio/seldon-core/executor/api/grpc/tensorflow 0.071s coverage: 19.2% of statements
ok github.com/seldonio/seldon-core/executor/api/kafka 0.050s coverage: 1.2% of statements
ok github.com/seldonio/seldon-core/executor/api/metric 0.090s coverage: 31.6% of statements
ok github.com/seldonio/seldon-core/executor/api/payload 0.395s coverage: 64.3% of statements
ok github.com/seldonio/seldon-core/executor/api/rest 1.108s coverage: 63.2% of statements
? github.com/seldonio/seldon-core/executor/api/test [no test files]
ok github.com/seldonio/seldon-core/executor/api/tracing 0.012s coverage: 72.2% of statements
ok github.com/seldonio/seldon-core/executor/api/util 0.042s coverage: 48.1% of statements
ok github.com/seldonio/seldon-core/executor/predictor 0.076s coverage: 67.9% of statements
ok github.com/seldonio/seldon-core/executor/k8s 0.114s coverage: 72.7% of statements
? github.com/seldonio/seldon-core/executor/logger [no test files]
make: Leaving directory '/workspace/source/executor'