Describe the bug
I was trying the tackle test cli using the docker image and got the following exception:-
aceback (most recent call last):
File "/usr/local/bin/tkltest-unit", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/tkltest/tkltest_unit.py", line 67, in main
generate.process_generate_command(args, tkltest_config)
File "/usr/local/lib/python3.8/site-packages/tkltest/generate/unit/generate.py", line 50, in process_generate_command
generate_ctd_amplified_tests(config)
File "/usr/local/lib/python3.8/site-packages/tkltest/generate/unit/generate.py", line 209, in generate_ctd_amplified_tests
ant_build_file, maven_build_file, gradle_build_file = build_util.generate_build_xml(
File "/usr/local/lib/python3.8/site-packages/tkltest/util/build_util.py", line 130, in generate_build_xml
__build_gradle(app_classpath, app_name, monolith_app_path, test_root_dir, test_dirs, collect_codecoverage,
File "/usr/local/lib/python3.8/site-packages/tkltest/util/build_util.py", line 470, in __build_gradle
template = env.get_template('build_template.gradle')
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 997, in get_template
return self._load_template(name, globals)
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 958, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "/usr/local/lib/python3.8/site-packages/jinja2/loaders.py", line 125, in load
source, filename, uptodate = self.get_source(environment, name)
File "/usr/local/lib/python3.8/site-packages/jinja2/loaders.py", line 214, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: build_template.gradle
Environment information
- CLI version v1.3.0
- OS: macOS [ running using Docker ]
@jayantgs we are unable to reproduce this issue. When you have time can you try again the docker installation and let us know if the issue repeats?