c0037_v
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0037
Verbose -> v
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0037
module: [self], instance id: [dev], exec profile: []
dvar> sprig_trim:
"hello"
-
hello
dvar> sprig_trim_all:
"5.00"
-
5.00
dvar> sprig_trim_suffix:
"hello"
-
hello
dvar> sprig_trim_prefix:
"hello"
-
hello
dvar> sprig_upper:
"WEB_APP"
-
WEB_APP
dvar> sprig_repeat:
"web_appweb_appweb_app"
-
web_appweb_appweb_app
dvar> sprig_repeat_with_space:
" [web_app] "
-
[web_app]
dvar> sprig_repeat_with_space_repeat:
" [web_app] [web_app] [web_app] "
-
[web_app] [web_app] [web_app]
dvar> sprig_substring:
"hello"
-
hello
dvar> sprig_nospace:
"helloworld"
-
helloworld
dvar> sprig_encrypt_AES:
"vGD1QxCM42IiEkMovpkLFUA9NMICm7TovBB6vGJVI7Q="
-
vGD1QxCM42IiEkMovpkLFUA9NMICm7TovBB6vGJVI7Q=
dvar> sprig_decrypt_AES:
"plaintext"
-
plaintext
dvar> sprig_AES_key:
"web_app-prod"
-
web_app-prod
dvar> sprig_encrypt_AES_using_key_var:
"a68GB15Kolq1pn/lJ/qUlpXH/L+/D5WU5awPxH5J/mM="
-
a68GB15Kolq1pn/lJ/qUlpXH/L+/D5WU5awPxH5J/mM=
dvar> sprig_decrypt_AES_using_key_var:
"plaintext"
-
plaintext
dvar> sprig_slice:
"[jason alice]"
-
[jason alice]
dvar> sprig_slice_new:
"[1 2 3 4 5]"
-
[1 2 3 4 5]
dvar> sprig_slice_assign:
" [1 2 3 4 5] "
-
[1 2 3 4 5]
dvar> sprig_slice_append:
" [1 2 3 4 5 6] "
-
[1 2 3 4 5 6]
dvar> sprig_slice_concat:
" [1 2 3 4 5 6 7 8] "
-
[1 2 3 4 5 6 7 8]
dvar> sprig_slice_reverse:
"[5 4 3 2 1]"
-
[5 4 3 2 1]
dvar> sprig_slice_uniq:
"[1 4 2 3 5]"
-
[1 4 2 3 5]
dvar> var_slice_index:
"jason"
-
jason
dvar> sprig_slice_filter_out:
" [1 4] "
-
[1 4]
dvar> sprig_slice_contains:
"true"
-
true
dvar> sprig_string_contains:
"true"
-
true
dvar> sprig_slice_compact:
" [1 a foo]"
-
[1 a foo]
dvar> sprig_b64enc:
"d2ViX2FwcA=="
-
d2ViX2FwcA==
dvar> sprig_b64dec:
"web_app "
-
web_app
dvar> random_hello:
"Hello!"
-
Hello!
dvar> random_hello_plain:
"hi, tom"
-
hi, tom
dvar> sprig_os_env:
"/root"
-
/root
dvar> sprig_os_env_expand:
"Your path is set to /bin:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin "
-
Your path is set to /bin:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin
dvar> sprig_dict:
" map[name1:value1 name2:value2 name3:value 3]\n value2 "
-
map[name1:value1 name2:value2 name3:value 3]
value2
dvar> sprig_dict_access:
" map[school:Sydney Grammar suburb:map[cbd:true name:sydney postcode:2000]]\n "
-
map[school:Sydney Grammar suburb:map[cbd:true name:sydney postcode:2000]]
dvar> sprig_dict_access_using_func:
" map[school:Sydney Grammar suburb:map[cbd:true name:sydney postcode:2000]] "
-
map[school:Sydney Grammar suburb:map[cbd:true name:sydney postcode:2000]]
dvar> add1:
"101"
-
101
dvar> add:
"123"
-
123
dvar> convert_and_add1:
"11"
-
11
dvar> convert_and_add1_2:
"11"
-
11
dvar> sprig_substring2:
"0011"
-
0011
dvar> sprig_word_count:
"3"
-
3
dvar> sprig_muliply:
"60"
-
60
dvar> sprig_date:
"20201006"
-
20201006
Task1: [task ==> task: ]
-Step1:
cmd( 1):
-
check the value of other dvar using vvvv flag print out
-
.. ok
. ok
Logs with different verbose level
References