c0193_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 -> c0193
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/c0193
module: [self], instance id: [dev], exec profile: []
Task1: [task ==> task: please switch to use case1|case2 ...
the reason we do not chain all cases together is because
the venv will pollute the entire running session unless you mananage to restore it
]
-Step1:
=Task4: [task ==> case3: ]
--Step1: [
before sourcing, the env var: AAA does not exist
this will cause an error
]
cmd( 1):
-
-
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
--Step2: [
no source/srcfile input
with name and action
now it will save current shell env
which has got no AAA in it
]
~~SubStep1: [virtualEnv: ]
-sourcing execution result:
--Step3: [
since there is no source, this will still cause an error
]
cmd( 1):
-
-
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
--Step4: [
now source and save current shell environment variables
]
~~SubStep1: [virtualEnv: ]
-sourcing execution result:
start of source
end of source
--Step5: [
after sourcing, the env var: AAA exist
the error should be cleared
]
cmd( 1):
-
AAA=sourced_aaa
-
.. ok
. ok
--Step6: [
now let's restore to the point of venv0
which has got no AAA in it
]
~~SubStep1: [virtualEnv: ]
-sourcing execution result:
--Step7: [
this will still cause an error
as now the shell env is restored to venv0
which has got no AAA in it
]
cmd( 1):
-
-
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
--Step8: [
now let's restore to the point of venv1
which has got AAA in it
we expect the error is clear
]
~~SubStep1: [virtualEnv: ]
-sourcing execution result:
--Step9: [
after sourcing, the env var: AAA exist
the error should be cleared
]
cmd( 1):
-
AAA=sourced_aaa
-
.. ok
. ok
Logs with different verbose level
References