c0158_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 -> c0158
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/c0158
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
nonprod: (*core.Cache)({
"db_user": "test_db_user",
"db_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"db_host": "nonpord_database.test.host",
"db_port": 8354
})
prod: (*core.Cache)({
"host_alias": "prod"
})
global: (*core.Cache)({
"db_driver": "postgres",
"A_GLOBAL_ENV_VAR": "a_global_env_var",
"envVar_A_GLOBAL_ENV_VAR": "a_global_env_var",
"port": 5432
})
groups members:[dev staging prod]
merged[ dev ] runtime vars:
(*core.Cache)({
"db_user": "test_db_user",
"host_alias": "dev",
"db_driver": "postgres",
"A_DEV_ENV_VAR": "a_global_env_var",
"A_GLOBAL_ENV_VAR": "a_global_env_var",
"db_port": 8354,
"envVar_A_GLOBAL_ENV_VAR": "a_global_env_var",
"db_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"port": 5432,
"db_host": "nonpord_database.test.host"
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"host_alias": "dev",
"db_hostname": "dev.myapp.com",
"A_DEV_ENV_VAR": "a_global_env_var",
"A_GLOBAL_ENV_VAR": "a_global_env_var",
"port": 5432,
"db_driver": "postgres",
"envVar_A_GLOBAL_ENV_VAR": "a_global_env_var",
"db_port": 8354,
"db_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"db_user": "test_db_user",
"db_host": "nonpord_database.test.host",
"db_url": "jdbc:postgres://dev.myapp.com:8354/test?user=test_db_user&password=6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=&ssl=true"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
current exec runtime vars:
(*core.Cache)({
"db_host": "nonpord_database.test.host",
"host_alias": "dev",
"port": 5432,
"db_port": 8354,
"envVar_A_GLOBAL_ENV_VAR": "a_global_env_var",
"db_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"db_user": "test_db_user",
"db_driver": "postgres",
"db_hostname": "dev.myapp.com",
"db_url": "jdbc:postgres://dev.myapp.com:8354/test?user=test_db_user&password=6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=&ssl=true",
"A_DEV_ENV_VAR": "a_global_env_var",
"A_GLOBAL_ENV_VAR": "a_global_env_var",
"up_runtime_task_layer_number": 0
})
self: final context exec vars:
(*core.Cache)({
"host_alias": "dev",
"db_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"db_user": "test_db_user",
"A_GLOBAL_ENV_VAR": "a_global_env_var",
"db_port": 8354,
"A_DEV_ENV_VAR": "a_global_env_var",
"db_host": "nonpord_database.test.host",
"envVar_A_GLOBAL_ENV_VAR": "a_global_env_var",
"port": 5432,
"db_driver": "postgres",
"db_hostname": "dev.myapp.com",
"db_url": "jdbc:postgres://dev.myapp.com:8354/test?user=test_db_user&password=6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=&ssl=true",
"up_runtime_task_layer_number": 0
})
~SubStep1: [inspect: ]
1: inspect[exec_vars]
(*core.Cache)({
"db_driver": "postgres",
"db_hostname": "dev.myapp.com",
"db_url": "jdbc:postgres://dev.myapp.com:8354/test?user=test_db_user&password=6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=&ssl=true",
"A_DEV_ENV_VAR": "a_global_env_var",
"A_GLOBAL_ENV_VAR": "a_global_env_var",
"envVar_A_GLOBAL_ENV_VAR": "a_global_env_var",
"db_port": 8354,
"port": 5432,
"up_runtime_task_layer_number": 0,
"db_password": "6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=",
"db_user": "test_db_user",
"db_host": "nonpord_database.test.host",
"host_alias": "dev"
})
~SubStep2: [assert: ]
1 ASSERT OK: [{{eq .A_GLOBAL_ENV_VAR "a_global_env_var"}}]
2 ASSERT OK: [{{eq .A_DEV_ENV_VAR "a_global_env_var"}}]
3 ASSERT FAILED: [{{eq .db_host "devtest_database.mycompany.local"}}]
4 ASSERT OK: [{{eq .db_url "jdbc:postgres://dev.myapp.com:8354/test?user=test_db_user&password=6HmsmiJIW1PfIXcF4WwOKOMDiL7PstgfKs2aRFajrwY=&ssl=true"}}]
Logs with different verbose level
References