c0051_vvvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0051
Verbose -> vvvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
:release version: 1.0.0
:verbose level: vvvv
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0051
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
nonprod: (*core.Cache)({
"enc_key": "my_non_enc_key"
})
prod: (*core.Cache)({
"enc_key": "my_prod_enc_key"
})
global: (*core.Cache)({
})
groups members:[dev staging prod]
merged[ dev ] runtime vars:
(*core.Cache)({
"enc_key": "my_non_enc_key",
"bank_acct": "1234-5678"
})
dvar> bank_password_encrypted:
"vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0="
-
vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0=
dvar> bank_password_decrypted:
"mybankpassword"
-
mybankpassword
dvar> bank_password:
"6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY="
-
6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=
dvar> bank_password_using_defause_config:
"6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY="
-
6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=
-------runtime global final merged with dvars-------
(*core.Cache)({
"bank_password_encrypted": "vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0=",
"bank_password_decrypted": "mybankpassword",
"bank_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"enc_key": "my_non_enc_key",
"bank_acct": "1234-5678",
"bank_password_using_defause_config": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY="
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"bank_password_decrypted": "mybankpassword",
"bank_acct": "1234-5678",
"bank_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"bank_password_using_defause_config": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"enc_key": "my_non_enc_key",
"bank_password_encrypted": "vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0="
})
self: final context exec vars:
(*core.Cache)({
"bank_password_encrypted": "vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0=",
"bank_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"bank_password_using_defause_config": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"up_runtime_task_layer_number": 0,
"bank_acct": "1234-5678",
"bank_password_decrypted": "mybankpassword",
"enc_key": "my_non_enc_key"
})
located task-> 2 [task_generate_password]:
=Task2: [task ==> task_generate_password: ]
Executing task stack layer: 2
--Step1:
current exec runtime vars:
(*core.Cache)({
"bank_password_decrypted": "mybankpassword",
"bank_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"bank_password_using_defause_config": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"enc_key": "my_non_enc_key",
"bank_acct": "1234-5678",
"up_runtime_task_layer_number": 1,
"bank_password_encrypted": "vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0="
})
self: final context exec vars:
(*core.Cache)({
"bank_password_encrypted": "vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0=",
"bank_password_using_defause_config": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"bank_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"bank_password_decrypted": "mybankpassword",
"up_runtime_task_layer_number": 1,
"enc_key": "my_non_enc_key",
"bank_acct": "1234-5678"
})
cmd( 1):
echo "bank account [{{.bank_acct}}]"
cmd=>:
echo "bank account [1234-5678]"
-
bank account [1234-5678]
-
.. ok
cmd( 2):
echo "bank password encrypted [{{.bank_password_encrypted}}]"
cmd=>:
echo "bank password encrypted [vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0=]"
-
bank password encrypted [vzmhAzObuJTnDvCA28oGrHGyjCvLl4F8NBcLoidm8V0=]
-
.. ok
cmd( 3):
echo "bank password [{{.bank_password}}]"
cmd=>:
echo "bank password [6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=]"
-
bank password [6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=]
-
.. ok
cmd( 4):
echo "secure bank password [{{.secure_bank_password}}]"
cmd=>:
echo "secure bank password [SECURE_SENSITIVE_INFO_MASKED]"
-
secure bank password [mybankpassword]
-
.. ok
cmd( 5):
echo "bank password using default config [{{.bank_password_using_defause_config}}]"
cmd=>:
echo "bank password using default config [6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=]"
-
bank password using default config [6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=]
-
.. ok
cmd( 6):
echo "secure bank password using default config [{{.secure_bank_password_using_defause_config}}]"
cmd=>:
echo "secure bank password using default config [SECURE_SENSITIVE_INFO_MASKED]"
-
secure bank password using default config [mybankpassword]
-
.. ok
. ok
Logs with different verbose level
References