-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path1.txt
2677 lines (2615 loc) · 184 KB
/
1.txt
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
============================= test session starts ==============================
platform darwin -- Python 3.8.0, pytest-5.3.1, py-1.8.0, pluggy-0.13.1 -- /Users/grey/ENV3/bin/python3
cachedir: .pytest_cache
rootdir: /Users/grey/Desktop/github/cloudmesh-community/cm/cloudmesh-cloud, inifile: pytest.ini
plugins: cov-2.8.1
collecting ...
collected 59 items
tests/1_local/test_cms.py::TestName::test_help
[35m
# ######################################################################
# test_help /tests/1_local/test_cms.py 18
# ######################################################################
[0m
[34m
# ----------------------------------------------------------------------
# result
# ----------------------------------------------------------------------
# 24:test_help ./tests/1_local/test_cms.py
# ----------------------------------------------------------------------
# ('Documented commands (type help <topic>):\n'
# '========================================\n'
# 'EOF data image pause set sys \n'
# 'admin debug info plugin shell var \n'
# 'banner default init provider sleep vbox \n'
# 'bookmanagerservice echo inventory q source vcluster \n'
# 'clear flavor ip quit ssh version \n'
# 'commands group key register start vm \n'
# 'config help man sec stop workflow_draft\n'
# 'container host open service stopwatch\n'
# '\n'
# 'Timer: 0.0000s (help)')
# ----------------------------------------------------------------------
[0m
PASSED
tests/1_local/test_cms.py::TestName::test_vm
[35m
# ######################################################################
# test_vm /tests/1_local/test_cms.py 29
# ######################################################################
[0m
[34m
# ----------------------------------------------------------------------
# result
# ----------------------------------------------------------------------
# 34:test_vm ./tests/1_local/test_cms.py
# ----------------------------------------------------------------------
# ('Command vm\n'
# '==========\n'
# '\n'
# '::\n'
# '\n'
# ' Usage:\n'
# ' vm ping [NAMES] [--cloud=CLOUDS] [--count=N]\n'
# ' vm check [NAMES] [--cloud=CLOUDS] [--username=USERNAME]\n'
# ' vm status [NAMES] [--cloud=CLOUDS] [--output=OUTPUT]\n'
# ' vm console [NAME] [--force]\n'
# ' vm log [NAME] [--force]\n'
# ' vm stop [NAMES] [--dryrun]\n'
# ' vm start [NAMES] [--dryrun]\n'
# ' vm terminate [NAMES] [--cloud=CLOUD] [--dryrun]\n'
# ' vm delete [NAMES] [--cloud=CLOUD] [--dryrun]\n'
# ' vm refresh [--cloud=CLOUDS]\n'
# ' vm list [NAMES]\n'
# ' [--cloud=CLOUDS]\n'
# ' [--output=OUTPUT]\n'
# ' [--refresh]\n'
# ' vm boot [--n=COUNT]\n'
# ' [--name=VMNAMES]\n'
# ' [--cloud=CLOUD]\n'
# ' [--username=USERNAME]\n'
# ' [--image=IMAGE]\n'
# ' [--flavor=FLAVOR]\n'
# ' [--public]\n'
# ' [--secgroup=SECGROUPs]\n'
# ' [--group=GROUPs]\n'
# ' [--key=KEY]\n'
# ' [--dryrun]\n'
# ' [-v]\n'
# ' vm meta list [NAME]\n'
# ' vm meta set [NAME] KEY=VALUE...\n'
# ' vm meta delete [NAME] KEY...\n'
# ' vm script [--name=NAMES]\n'
# ' [--username=USERNAME]\n'
# ' [--key=KEY]\n'
# ' [--dryrun]\n'
# ' [--dir=DESTINATION]\n'
# ' SCRIPT\n'
# ' vm ip assign [NAMES]\n'
# ' [--cloud=CLOUD]\n'
# ' vm ip show [NAMES]\n'
# ' [--group=GROUP]\n'
# ' [--cloud=CLOUD]\n'
# ' [--output=OUTPUT]\n'
# ' [--refresh]\n'
# ' vm ip inventory [NAMES]\n'
# ' vm ssh [NAMES]\n'
# ' [--username=USER]\n'
# ' [--quiet]\n'
# ' [--ip=IP]\n'
# ' [--key=KEY]\n'
# ' [--command=COMMAND]\n'
# ' vm put SOURCE DESTINATION [NAMES]\n'
# ' vm get SOURCE DESTINATION [NAMES]\n'
# ' vm rename [OLDNAMES] [NEWNAMES] [--force] [--dryrun]\n'
# ' vm wait [--cloud=CLOUD] [--interval=INTERVAL] [--timeout=TIMEOUT]\n'
# ' vm info [--cloud=CLOUD]\n'
# ' [--output=OUTPUT]\n'
# ' vm username USERNAME [NAMES] [--cloud=CLOUD]\n'
# ' vm resize [NAMES] [--size=SIZE]\n'
# '\n'
# ' Arguments:\n'
# ' OUTPUT the output format\n'
# ' COMMAND positional arguments, the commands you want to\n'
# " execute on the server(e.g. ls -a) separated by ';',\n"
# ' you will get a return of executing result instead of '
# 'login to\n'
# ' the server, note that type in -- is suggested before\n'
# ' you input the commands\n'
# ' NAME server name. By default it is set to the name of last '
# 'vm from database.\n'
# ' NAMES server name. By default it is set to the name of last '
# 'vm from database.\n'
# ' KEYPAIR_NAME Name of the vm keypair to be used to create VM. Note '
# 'this is\n'
# ' not a path to key.\n'
# ' NEWNAMES New names of the VM while renaming.\n'
# ' OLDNAMES Old names of the VM while renaming.\n'
# '\n'
# ' Options:\n'
# ' -v verbose, prints the dict at the end\n'
# ' --output=OUTPUT the output format\n'
# ' -H --modify-knownhosts Do not modify ~/.ssh/known_hosts file\n'
# " when ssh'ing into a machine\n"
# ' --username=USERNAME the username to login into the vm. If not\n'
# ' specified it will be guessed\n'
# ' from the image name and the cloud\n'
# ' --ip=IP give the public ip of the server\n'
# ' --cloud=CLOUD give a cloud to work on, if not given, selected\n'
# ' or default cloud will be used\n'
# ' --count=COUNT give the number of servers to start\n'
# ' --detail for table, a brief version\n'
# ' is used as default, use this flag to print\n'
# ' detailed table\n'
# ' --flavor=FLAVOR give the name or id of the flavor\n'
# ' --group=GROUP give the group name of server\n'
# ' --secgroup=SECGROUP security group name for the server\n'
# ' --image=IMAGE give the name or id of the image\n'
# ' --key=KEY specify a key to use, input a string which\n'
# ' is the full path to the private key file\n'
# ' --keypair_name=KEYPAIR_NAME Name of the vm keypair to\n'
# ' be used to create VM.\n'
# ' Note this is not a path to key.\n'
# ' --user=USER give the user name of the server that you want\n'
# ' to use to login\n'
# ' --name=NAME give the name of the virtual machine\n'
# " --force rename/ delete vms without user's confirmation\n"
# ' --command=COMMAND\n'
# ' specify the commands to be executed\n'
# '\n'
# '\n'
# ' Description:\n'
# ' commands used to boot, start or delete servers of a cloud\n'
# '\n'
# ' vm default [options...]\n'
# ' Displays default parameters that are set for vm boot either\n'
# ' on the default cloud or the specified cloud.\n'
# '\n'
# ' vm boot [options...]\n'
# ' Boots servers on a cloud, user may specify flavor, image\n'
# ' .etc, otherwise default values will be used, see how to set\n'
# ' default values of a cloud: cloud help\n'
# '\n'
# ' vm start [options...]\n'
# ' Starts a suspended or stopped vm instance.\n'
# '\n'
# ' vm stop [options...]\n'
# ' Stops a vm instance .\n'
# '\n'
# ' vm delete [options...]\n'
# '\n'
# ' Delete servers of a cloud, user may delete a server by its\n'
# ' name or id, delete servers of a group or servers of a cloud,\n'
# ' give prefix and/or range to find servers by their names.\n'
# ' Or user may specify more options to narrow the search\n'
# '\n'
# ' vm floating_ip_assign [options...]\n'
# ' assign a public ip to a VM of a cloud\n'
# '\n'
# ' vm ip show [options...]\n'
# ' show the ips of VMs\n'
# '\n'
# ' vm ssh [options...]\n'
# ' login to a server or execute commands on it\n'
# '\n'
# ' vm list [options...]\n'
# ' same as command "list vm", please refer to it\n'
# '\n'
# ' vm status [options...]\n'
# ' Retrieves status of last VM booted on cloud and displays it.\n'
# '\n'
# ' vm refresh [--cloud=CLOUDS]\n'
# ' this command refreshes the data for virtual machines,\n'
# ' images and flavors for the specified clouds.\n'
# '\n'
# ' vm ping [NAMES] [--cloud=CLOUDS] [--count=N] '
# '[--processors=PROCESSORS]\n'
# ' pings the specified virtual machines, while using at most N '
# 'pings.\n'
# ' The ping is executed in parallel.\n'
# ' If names are specifies the ping is restricted to the given '
# 'names in\n'
# ' parameter format. If clouds are specified, names that are not '
# 'in\n'
# ' these clouds are ignored. If the name is set in the variables\n'
# ' this name is used.\n'
# '\n'
# ' cms vm ssh --command="uname -a"\n'
# '\n'
# ' executes the uname command on the last booted vm\n'
# '\n'
# ' vm script [--name=NAMES]\n'
# ' [--username=USERNAME]\n'
# ' [--key=KEY]\n'
# ' [--dryrun]\n'
# ' [--dir=DESTINATION]\n'
# ' [--shell=SHELL]\n'
# ' SCRIPT\n'
# '\n'
# ' The script command copies a shell script to the specified vms\n'
# ' into the DESTINATION directory and than execute it. With\n'
# ' SHELL you can set the shell for executing the command,\n'
# ' this coudl even be a python interpreter. Examples for\n'
# ' SHELL are /bin/sh, /usr/bin/env python\n'
# '\n'
# ' vm put SOURCE DESTINATION [NAMES]\n'
# '\n'
# ' puts the file defined by SOURCE into the DESINATION folder\n'
# ' on the specified machines. If the file exists it is\n'
# ' overwritten, so be careful.\n'
# '\n'
# ' vm get SOURCE DESTINATION [NAMES]\n'
# '\n'
# ' gets the file defined by SOURCE into the DESINATION folder\n'
# ' on the specified machines. The SOURCE is on the remote\n'
# ' machine. If one machine is specified, the SOURCE is the same\n'
# ' name as on the remote machine. If multiple machines are\n'
# ' specified, the name of the machine will be a prefix to the\n'
# ' filename. If the filenames exists, they will be overwritten,\n'
# ' so be careful.\n'
# '\n'
# ' Tip:\n'
# ' give the VM name, but in a hostlist style, which is very\n'
# ' convenient when you need a range of VMs e.g. sample[1-3]\n'
# " => ['sample1', 'sample2', 'sample3']\n"
# " sample[1-3,18] => ['sample1', 'sample2', 'sample3', 'sample18']\n"
# '\n'
# ' Quoting commands:\n'
# ' cm vm login gregor-004 --command="uname -a"\n'
# '\n'
# ' Limitations:\n'
# '\n'
# ' Azure: rename is not supported\n'
# '\n'
# 'Timer: 0.0000s (help vm)')
# ----------------------------------------------------------------------
[0m
PASSED
tests/1_local/test_cms.py::TestName::test_help_again
[35m
# ######################################################################
# test_help_again /tests/1_local/test_cms.py 38
# ######################################################################
[0m
[34m
# ----------------------------------------------------------------------
# result
# ----------------------------------------------------------------------
# 44:test_help_again ./tests/1_local/test_cms.py
# ----------------------------------------------------------------------
# ('Documented commands (type help <topic>):\n'
# '========================================\n'
# 'EOF data image pause set sys \n'
# 'admin debug info plugin shell var \n'
# 'banner default init provider sleep vbox \n'
# 'bookmanagerservice echo inventory q source vcluster \n'
# 'clear flavor ip quit ssh version \n'
# 'commands group key register start vm \n'
# 'config help man sec stop workflow_draft\n'
# 'container host open service stopwatch\n'
# '\n'
# 'Timer: 0.0000s (help)')
# ----------------------------------------------------------------------
[0m
PASSED
tests/1_local/test_cms.py::TestName::test_benchmark
[35m
# ######################################################################
# test_benchmark /tests/1_local/test_cms.py 49
# ######################################################################
[0m
+-------------------+---------------------------------------------------------------------------------------------------+
| Machine Attribute | Value |
+-------------------+---------------------------------------------------------------------------------------------------+
| cpu_count | 8 |
| mac_version | 10.14.6 |
| machine | ('x86_64',) |
| mem_active | 6.6 GiB |
| mem_available | 7.2 GiB |
| mem_free | 601.9 MiB |
| mem_inactive | 5.8 GiB |
| mem_percent | 55.3% |
| mem_total | 16.0 GiB |
| mem_used | 8.8 GiB |
| mem_wired | 2.3 GiB |
| node | ('gray',) |
| platform | macOS-10.14.6-x86_64-i386-64bit |
| processor | ('i386',) |
| processors | Darwin |
| python | 3.8.0 (v3.8.0:fa919fdf25, Oct 14 2019, 10:23:27) |
| | [Clang 6.0 (clang-600.0.57)] |
| release | ('18.7.0',) |
| sys | darwin |
| system | Darwin |
| user | grey |
| version | Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 |
| win_version | |
+-------------------+---------------------------------------------------------------------------------------------------+
+--------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| timer | time | start | tag | node | user | system | mac_version | win_version |
+--------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| test_cms/test_help | 1.436 | 2019-12-13 07:00:26 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_vm | 1.407 | 2019-12-13 07:00:27 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_help_again | 1.431 | 2019-12-13 07:00:29 | | ('gray',) | grey | Darwin | 10.14.6 | |
| benchmark_start_stop | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
+--------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
csv,timer,time,starttag,node,user,system,mac_version,win_version
#csv,test_cms/test_help,1.436,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_vm,1.407,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_help_again,1.431,None,('gray',),grey,Darwin,10.14.6,
#csv,benchmark_start_stop,0.0,None,('gray',),grey,Darwin,10.14.6,
PASSED
tests/1_local/test_config.py::TestConfig::test_config
[35m
# ######################################################################
# test_config /tests/1_local/test_config.py 32
# ######################################################################
[0m
1 True 0 0 0
2 True 0 0 0
3 True 0 0 0
4 True 0 0 0
5 True 0 0 0
6 True 0 0 0
7 True 0 0 0
8 True 0 0 0
9 True 0 0 0
PASSED
tests/1_local/test_config.py::TestConfig::test_search
[35m
# ######################################################################
# test_search /tests/1_local/test_config.py 45
# ######################################################################
[0m
['cloudmesh.cloud.docker.cm.active',
'cloudmesh.cloud.azure.cm.active',
'cloudmesh.cloud.azurearm.cm.active',
'cloudmesh.cloud.azureaz.cm.active',
'cloudmesh.cloud.awslibcloud.cm.active',
'cloudmesh.cloud.aws.cm.active',
'cloudmesh.cloud.google.cm.active',
'cloudmesh.cloud.oracle.cm.active',
'cloudmesh.cloud.chameleon.cm.active',
'cloudmesh.cloud.jetstream.cm.active',
'cloudmesh.cloud.cybera-e.cm.active',
'cloudmesh.cloud.vagrant.cm.active',
'cloudmesh.cloud.vagrant_remote.cm.active']
PASSED
tests/1_local/test_config.py::TestConfig::test_dict
[35m
# ######################################################################
# test_dict /tests/1_local/test_config.py 54
# ######################################################################
[0m
<class 'dict'>
{'email': 'laszewski@gmail.com',
'firstname': 'Gregor',
'github': 'laszewsk',
'lastname': 'von Laszewski',
'publickey': '~/.ssh/id_rsa.pub',
'user': 'gregor'}
PASSED
tests/1_local/test_config.py::TestConfig::test_config_subscriptable
[35m
# ######################################################################
# test_config_subscriptable /tests/1_local/test_config.py 64
# ######################################################################
[0m
PASSED
tests/1_local/test_config.py::TestConfig::test_dictreplace
[35m
# ######################################################################
# test_dictreplace /tests/1_local/test_config.py 72
# ######################################################################
[0m
cloudmesh:
profile:
name: Gregor
unordered:
name: "{cloudmesh.other.name}.postfix"
other:
name: "{cloudmesh.profile.name}"
cloudmesh:
profile:
name: Gregor
unordered:
name: "Gregor.postfix"
other:
name: "Gregor"
{'cloudmesh': {'other': {'name': 'Gregor'},
'profile': {'name': 'Gregor'},
'unordered': {'name': 'Gregor.postfix'}}}
PASSED
tests/1_local/test_config.py::TestConfig::test_configreplace
[35m
# ######################################################################
# test_configreplace /tests/1_local/test_config.py 102
# ######################################################################
[0m
{'email': 'laszewski@gmail.com',
'firstname': 'Gregor',
'github': 'laszewsk',
'lastname': 'von Laszewski',
'publickey': '~/.ssh/id_rsa.pub',
'user': 'gregor'}
PASSED
tests/1_local/test_config.py::TestConfig::test_if_yaml_file_exists
[35m
# ######################################################################
# test_if_yaml_file_exists /tests/1_local/test_config.py 107
# ######################################################################
[0m
PASSED
tests/1_local/test_config.py::TestConfig::test_set
[35m
# ######################################################################
# test_set /tests/1_local/test_config.py 114
# ######################################################################
[0m
Gregor
PASSED
tests/1_local/test_config.py::TestConfig::test_benchmark
[35m
# ######################################################################
# test_benchmark /tests/1_local/test_config.py 130
# ######################################################################
[0m
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| timer | time | start | tag | node | user | system | mac_version | win_version |
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| test_cms/test_help | 1.436 | 2019-12-13 07:00:26 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_vm | 1.407 | 2019-12-13 07:00:27 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_help_again | 1.431 | 2019-12-13 07:00:29 | | ('gray',) | grey | Darwin | 10.14.6 | |
| benchmark_start_stop | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=1 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=2 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=3 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=4 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=5 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=6 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=7 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=8 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=9 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_search | 0.003 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_dict | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_config_subscriptable | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_dictreplace | 0.003 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_set | 0.032 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
csv,timer,time,starttag,node,user,system,mac_version,win_version
#csv,test_cms/test_help,1.436,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_vm,1.407,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_help_again,1.431,None,('gray',),grey,Darwin,10.14.6,
#csv,benchmark_start_stop,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=1,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=2,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=3,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=4,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=5,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=6,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=7,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=8,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=9,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_search,0.003,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_dict,0.001,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_config_subscriptable,0.001,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_dictreplace,0.003,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_set,0.032,None,('gray',),grey,Darwin,10.14.6,
PASSED
tests/1_local/test_data.py::TestDatabaseUpdate::test_DatabaseUpdate
[35m
# ######################################################################
# test_DatabaseUpdate /tests/1_local/test_data.py 34
# ######################################################################
[0m
[{'_id': ObjectId('5df3370efa43a394904f642c'),
'acess': '1576220430.5864775',
'cm': {'cloud': 'debug',
'collection': 'debug-file',
'created': '2019-12-13 07:00:30.667436',
'kind': 'file',
'modified': '2019-12-13 07:00:30.667436',
'name': 'debug:/Users/grey/.cloudmesh/cloudmesh.yaml'},
'created': None,
'group': {'id': 20, 'members': ['root'], 'name': 'staff'},
'modified': None,
'name': 'debug:/Users/grey/.cloudmesh/cloudmesh.yaml',
'owner': 'grey',
'path': '/Users/grey/.cloudmesh/cloudmesh.yaml',
'permission': {'executable': False, 'readable': True, 'writable': True},
'size': 13990}]
PASSED
tests/1_local/test_data.py::TestDatabaseUpdate::test_remove_collection
[35m
# ######################################################################
# test_remove_collection /tests/1_local/test_data.py 97
# ######################################################################
[0m
PASSED
tests/1_local/test_data.py::TestDatabaseUpdate::test_benchmark
[35m
# ######################################################################
# test_benchmark /tests/1_local/test_data.py 104
# ######################################################################
[0m
+-------------------+---------------------------------------------------------------------------------------------------+
| Machine Attribute | Value |
+-------------------+---------------------------------------------------------------------------------------------------+
| cpu_count | 8 |
| mac_version | 10.14.6 |
| machine | ('x86_64',) |
| mem_active | 6.5 GiB |
| mem_available | 7.1 GiB |
| mem_free | 601.0 MiB |
| mem_inactive | 5.8 GiB |
| mem_percent | 55.3% |
| mem_total | 16.0 GiB |
| mem_used | 8.8 GiB |
| mem_wired | 2.4 GiB |
| node | ('gray',) |
| platform | macOS-10.14.6-x86_64-i386-64bit |
| processor | ('i386',) |
| processors | Darwin |
| python | 3.8.0 (v3.8.0:fa919fdf25, Oct 14 2019, 10:23:27) |
| | [Clang 6.0 (clang-600.0.57)] |
| release | ('18.7.0',) |
| sys | darwin |
| system | Darwin |
| user | grey |
| version | Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 |
| win_version | |
+-------------------+---------------------------------------------------------------------------------------------------+
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| timer | time | start | tag | node | user | system | mac_version | win_version |
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| test_cms/test_help | 1.436 | 2019-12-13 07:00:26 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_vm | 1.407 | 2019-12-13 07:00:27 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_help_again | 1.431 | 2019-12-13 07:00:29 | | ('gray',) | grey | Darwin | 10.14.6 | |
| benchmark_start_stop | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=1 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=2 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=3 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=4 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=5 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=6 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=7 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=8 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=9 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_search | 0.003 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_dict | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_config_subscriptable | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_dictreplace | 0.003 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_set | 0.032 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_data/test_DatabaseUpdate | 0.072 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_data/test_remove_collection | 0.061 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
csv,timer,time,starttag,node,user,system,mac_version,win_version
#csv,test_cms/test_help,1.436,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_vm,1.407,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_help_again,1.431,None,('gray',),grey,Darwin,10.14.6,
#csv,benchmark_start_stop,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=1,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=2,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=3,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=4,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=5,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=6,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=7,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=8,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=9,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_search,0.003,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_dict,0.001,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_config_subscriptable,0.001,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_dictreplace,0.003,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_set,0.032,None,('gray',),grey,Darwin,10.14.6,
#csv,test_data/test_DatabaseUpdate,0.072,None,('gray',),grey,Darwin,10.14.6,
#csv,test_data/test_remove_collection,0.061,None,('gray',),grey,Darwin,10.14.6,
PASSED
tests/1_local/test_group.py::TestName::test_list
[35m
# ######################################################################
# test_list /tests/1_local/test_group.py 30
# ######################################################################
[0m
PASSED
tests/1_local/test_group.py::TestName::test_add
[35m
# ######################################################################
# test_add /tests/1_local/test_group.py 36
# ######################################################################
[0m
[{'cm': {'cloud': 'local',
'collection': 'local-group',
'created': '2019-12-13 06:54:07.070520',
'kind': 'group',
'modified': '2019-12-13 07:00:30.849005',
'name': 'test'},
'members': [{'kind': 'vm', 'name': 'vm-1'},
{'kind': 'vm', 'name': 'vm-2'},
{'kind': 'vm', 'name': 'vm-3'}]}]
[{'cm': {'cloud': 'local',
'collection': 'local-group',
'created': '2019-12-13 06:54:07.070520',
'kind': 'group',
'modified': '2019-12-13 07:00:30.849005',
'name': 'test'},
'members': [{'kind': 'vm', 'name': 'vm-1'},
{'kind': 'vm', 'name': 'vm-2'},
{'kind': 'vm', 'name': 'vm-3'}]}]
- cm:
name: test
cloud: local
kind: group
collection: local-group
created: '2019-12-13 06:54:07.070520'
modified: '2019-12-13 07:00:30.849005'
members:
- name: vm-1
kind: vm
- name: vm-2
kind: vm
- name: vm-3
kind: vm
PASSED
tests/1_local/test_group.py::TestName::test_members
[35m
# ######################################################################
# test_members /tests/1_local/test_group.py 55
# ######################################################################
[0m
[{'kind': 'vm', 'name': 'vm-1'},
{'kind': 'vm', 'name': 'vm-2'},
{'kind': 'vm', 'name': 'vm-3'}]
+------+------+
| kind | name |
+------+------+
| vm | vm-1 |
| vm | vm-2 |
| vm | vm-3 |
+------+------+
PASSED
tests/1_local/test_group.py::TestName::test_benchmark
[35m
# ######################################################################
# test_benchmark /tests/1_local/test_group.py 67
# ######################################################################
[0m
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| timer | time | start | tag | node | user | system | mac_version | win_version |
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| test_cms/test_help | 1.436 | 2019-12-13 07:00:26 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_vm | 1.407 | 2019-12-13 07:00:27 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_help_again | 1.431 | 2019-12-13 07:00:29 | | ('gray',) | grey | Darwin | 10.14.6 | |
| benchmark_start_stop | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=1 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=2 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=3 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=4 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=5 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=6 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=7 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=8 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=9 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_search | 0.003 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_dict | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_config_subscriptable | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_dictreplace | 0.003 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_set | 0.032 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_data/test_DatabaseUpdate | 0.072 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_data/test_remove_collection | 0.061 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_group/test_list | 0.035 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_group/test_add | 0.02 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
csv,timer,time,starttag,node,user,system,mac_version,win_version
#csv,test_cms/test_help,1.436,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_vm,1.407,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_help_again,1.431,None,('gray',),grey,Darwin,10.14.6,
#csv,benchmark_start_stop,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=1,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=2,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=3,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=4,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=5,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=6,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=7,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=8,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=9,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_search,0.003,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_dict,0.001,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_config_subscriptable,0.001,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_dictreplace,0.003,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_set,0.032,None,('gray',),grey,Darwin,10.14.6,
#csv,test_data/test_DatabaseUpdate,0.072,None,('gray',),grey,Darwin,10.14.6,
#csv,test_data/test_remove_collection,0.061,None,('gray',),grey,Darwin,10.14.6,
#csv,test_group/test_list,0.035,None,('gray',),grey,Darwin,10.14.6,
#csv,test_group/test_add,0.02,None,('gray',),grey,Darwin,10.14.6,
PASSED
tests/1_local/test_key.py::TestName::test_key
[35m
# ######################################################################
# test_key /tests/1_local/test_key.py 23
# ######################################################################
[0m
{'cm': {'cloud': 'local', 'kind': 'key', 'name': 'rsa'},
'comment': 'grey@gray',
'fingerprint': '29:fa:fc:5b:10:f7:88:1c:49:c8:08:45:a7:a5:4f:3a',
'key': 'AAAAB3NzaC1yc2EAAAADAQABAAABAQC3KPTx5iQpFumKXt4uLmOeSEGAAMAKa2jPBhqvprMttuk/k5VCnYWjpZuDD1ECnc+rByGNnzJPnp0s1nvpYNpa2QanoXHbBU+TtFw3qJDAI5cJ+xzkhf+KFaxJQq3n3nfBsOMRqKNqGQFse3/ZRpoIeAWnk0h84dWc4KcObG4+hMt5/HSiaazkBNvSYngyPYm4u0swy//nJT+thhRBK4Z1yPnIl/+a4ufEdUeW3S4QRW2qBmRxB9oZfUMYpoRYCewI/zwwLhJHGv4KO95zpq477//ZOg6oSvioYm4I8CqmZOhFj6Le/AsM1KAUF+vmMj2+UU9OTPHY4auHiIjA9Om1',
'location': {'private': '/Users/grey/.ssh/id_rsa',
'public': '/Users/grey/.ssh/id_rsa.pub'},
'name': 'rsa',
'path': '/Users/grey/.ssh/id_rsa.pub',
'profile': {'email': 'laszewski@gmail.com',
'firstname': 'Gregor',
'github': 'laszewsk',
'lastname': 'von Laszewski',
'publickey': '~/.ssh/id_rsa.pub',
'user': 'gregor'},
'public_key': 'ssh-rsa '
'AAAAB3NzaC1yc2EAAAADAQABAAABAQC3KPTx5iQpFumKXt4uLmOeSEGAAMAKa2jPBhqvprMttuk/k5VCnYWjpZuDD1ECnc+rByGNnzJPnp0s1nvpYNpa2QanoXHbBU+TtFw3qJDAI5cJ+xzkhf+KFaxJQq3n3nfBsOMRqKNqGQFse3/ZRpoIeAWnk0h84dWc4KcObG4+hMt5/HSiaazkBNvSYngyPYm4u0swy//nJT+thhRBK4Z1yPnIl/+a4ufEdUeW3S4QRW2qBmRxB9oZfUMYpoRYCewI/zwwLhJHGv4KO95zpq477//ZOg6oSvioYm4I8CqmZOhFj6Le/AsM1KAUF+vmMj2+UU9OTPHY4auHiIjA9Om1 '
'grey@gray',
'source': 'ssh',
'type': 'ssh-rsa',
'uri': 'file:///Users/grey/.ssh/id_rsa.pub'}
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3KPTx5iQpFumKXt4uLmOeSEGAAMAKa2jPBhqvprMttuk/k5VCnYWjpZuDD1ECnc+rByGNnzJPnp0s1nvpYNpa2QanoXHbBU+TtFw3qJDAI5cJ+xzkhf+KFaxJQq3n3nfBsOMRqKNqGQFse3/ZRpoIeAWnk0h84dWc4KcObG4+hMt5/HSiaazkBNvSYngyPYm4u0swy//nJT+thhRBK4Z1yPnIl/+a4ufEdUeW3S4QRW2qBmRxB9oZfUMYpoRYCewI/zwwLhJHGv4KO95zpq477//ZOg6oSvioYm4I8CqmZOhFj6Le/AsM1KAUF+vmMj2+UU9OTPHY4auHiIjA9Om1 grey@gray
<class 'cloudmesh.management.configuration.SSHkey.SSHkey'>
{}
PASSED
tests/1_local/test_key.py::TestName::test_benchmark
[35m
# ######################################################################
# test_benchmark /tests/1_local/test_key.py 56
# ######################################################################
[0m
+-------------------+---------------------------------------------------------------------------------------------------+
| Machine Attribute | Value |
+-------------------+---------------------------------------------------------------------------------------------------+
| cpu_count | 8 |
| mac_version | 10.14.6 |
| machine | ('x86_64',) |
| mem_active | 6.5 GiB |
| mem_available | 7.2 GiB |
| mem_free | 601.4 MiB |
| mem_inactive | 5.8 GiB |
| mem_percent | 55.3% |
| mem_total | 16.0 GiB |
| mem_used | 8.8 GiB |
| mem_wired | 2.4 GiB |
| node | ('gray',) |
| platform | macOS-10.14.6-x86_64-i386-64bit |
| processor | ('i386',) |
| processors | Darwin |
| python | 3.8.0 (v3.8.0:fa919fdf25, Oct 14 2019, 10:23:27) |
| | [Clang 6.0 (clang-600.0.57)] |
| release | ('18.7.0',) |
| sys | darwin |
| system | Darwin |
| user | grey |
| version | Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 |
| win_version | |
+-------------------+---------------------------------------------------------------------------------------------------+
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| timer | time | start | tag | node | user | system | mac_version | win_version |
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
| test_cms/test_help | 1.436 | 2019-12-13 07:00:26 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_vm | 1.407 | 2019-12-13 07:00:27 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_cms/test_help_again | 1.431 | 2019-12-13 07:00:29 | | ('gray',) | grey | Darwin | 10.14.6 | |
| benchmark_start_stop | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=1 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=2 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=3 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=4 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=5 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=6 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=7 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=8 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config_load n=9 | 0.0 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_search | 0.003 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_dict | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_config_subscriptable | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_dictreplace | 0.003 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_config/test_set | 0.032 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_data/test_DatabaseUpdate | 0.072 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_data/test_remove_collection | 0.061 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_group/test_list | 0.035 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_group/test_add | 0.02 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
| test_key/test_key | 0.001 | 2019-12-13 07:00:30 | | ('gray',) | grey | Darwin | 10.14.6 | |
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+
csv,timer,time,starttag,node,user,system,mac_version,win_version
#csv,test_cms/test_help,1.436,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_vm,1.407,None,('gray',),grey,Darwin,10.14.6,
#csv,test_cms/test_help_again,1.431,None,('gray',),grey,Darwin,10.14.6,
#csv,benchmark_start_stop,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=1,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=2,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=3,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=4,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=5,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=6,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=7,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=8,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config_load n=9,0.0,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_search,0.003,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_dict,0.001,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_config_subscriptable,0.001,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_dictreplace,0.003,None,('gray',),grey,Darwin,10.14.6,
#csv,test_config/test_set,0.032,None,('gray',),grey,Darwin,10.14.6,
#csv,test_data/test_DatabaseUpdate,0.072,None,('gray',),grey,Darwin,10.14.6,
#csv,test_data/test_remove_collection,0.061,None,('gray',),grey,Darwin,10.14.6,
#csv,test_group/test_list,0.035,None,('gray',),grey,Darwin,10.14.6,
#csv,test_group/test_add,0.02,None,('gray',),grey,Darwin,10.14.6,
#csv,test_key/test_key,0.001,None,('gray',),grey,Darwin,10.14.6,
PASSED
tests/1_local/test_name.py::TestName::test_define
[35m
# ######################################################################
# test_define /tests/1_local/test_name.py 50
# ######################################################################
[0m
[34m
# ----------------------------------------------------------------------
# data
# ----------------------------------------------------------------------
# 56:test_define ./tests/1_local/test_name.py
# ----------------------------------------------------------------------
# {'counter': 1,
# 'experiment': 'exp',
# 'group': 'group',
# 'kind': 'vm',
# 'path': '/Users/grey/.cloudmesh/name.yaml',
# 'schema': '{experiment}-{group}-{user}-{kind}-{counter}',
# 'user': 'user'}
# ----------------------------------------------------------------------
[0m
[34m
# ----------------------------------------------------------------------
# n.dict()
# ----------------------------------------------------------------------
# 57:test_define ./tests/1_local/test_name.py
# ----------------------------------------------------------------------
# {'counter': 1,
# 'experiment': 'exp',
# 'group': 'group',
# 'kind': 'vm',
# 'path': '/Users/grey/.cloudmesh/name.yaml',
# 'schema': '{experiment}-{group}-{user}-{kind}-{counter}',
# 'user': 'user'}
# ----------------------------------------------------------------------
[0m
PASSED
tests/1_local/test_name.py::TestName::test_define_new
[35m
# ######################################################################
# test_define_new /tests/1_local/test_name.py 60
# ######################################################################
[0m
{'counter': 3,
'kind': 'vm',
'schema': '{user}-{kind}-{counter}',
'user': 'gregor'}
PASSED
tests/1_local/test_name.py::TestName::test_name_reset
[35m
# ######################################################################
# test_name_reset /tests/1_local/test_name.py 77
# ######################################################################
[0m
PASSED
tests/1_local/test_name.py::TestName::test_name_print
[35m
# ######################################################################
# test_name_print /tests/1_local/test_name.py 85
# ######################################################################
[0m
gregor-vm-1
PASSED
tests/1_local/test_name.py::TestName::test_name_dict
[35m
# ######################################################################
# test_name_dict /tests/1_local/test_name.py 93
# ######################################################################
[0m
{'counter': 1,
'kind': 'vm',
'schema': '{user}-{kind}-{counter}',
'user': 'gregor'}
PASSED
tests/1_local/test_name.py::TestName::test_name_incr
[35m
# ######################################################################
# test_name_incr /tests/1_local/test_name.py 105
# ######################################################################
[0m
gregor-vm-2
PASSED
tests/1_local/test_name.py::TestName::test_name_counter
[35m
# ######################################################################
# test_name_counter /tests/1_local/test_name.py 114
# ######################################################################
[0m
2
{'counter': 2,
'kind': 'vm',
'schema': '{user}-{kind}-{counter}',
'user': 'gregor'}
{'counter': 2,
'kind': 'vm',
'schema': '{user}-{kind}-{counter}',
'user': 'gregor'}
gregor-vm-2
PASSED
tests/1_local/test_name.py::TestName::test_benchmark
[35m
# ######################################################################
# test_benchmark /tests/1_local/test_name.py 130
# ######################################################################
[0m
+-------------------+---------------------------------------------------------------------------------------------------+
| Machine Attribute | Value |
+-------------------+---------------------------------------------------------------------------------------------------+
| cpu_count | 8 |
| mac_version | 10.14.6 |
| machine | ('x86_64',) |
| mem_active | 6.5 GiB |
| mem_available | 7.2 GiB |
| mem_free | 601.4 MiB |
| mem_inactive | 5.8 GiB |
| mem_percent | 55.3% |
| mem_total | 16.0 GiB |
| mem_used | 8.8 GiB |
| mem_wired | 2.4 GiB |
| node | ('gray',) |
| platform | macOS-10.14.6-x86_64-i386-64bit |
| processor | ('i386',) |
| processors | Darwin |
| python | 3.8.0 (v3.8.0:fa919fdf25, Oct 14 2019, 10:23:27) |
| | [Clang 6.0 (clang-600.0.57)] |
| release | ('18.7.0',) |
| sys | darwin |
| system | Darwin |
| user | grey |
| version | Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 |
| win_version | |
+-------------------+---------------------------------------------------------------------------------------------------+
+---------------------------------------+-------+---------------------+-----+-----------+------+--------+-------------+-------------+