Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error installing Streamsets Test Framework

Hi,

I'm getting the below error installing the Streamsets Test Framework.

> stf build extras

2021-05-04 11:37:44 AM [INFO] [streamsets.testframework.cli] Pulling Docker image streamsets/testframework:3.x ... Traceback (most recent call last): File "c:\users\desktop\python36\python\lib\site-packages\docker\api\client.py", line 268, in _raise_for_status response.raise_for_status() File "c:\users\desktop\python36\python\lib\site-packages\requests\models.py", line 943, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localnpipe/v1.41/containers/10ac2e52b680e86e563efc1334ee5677a74b3ab19567a4b35ba39837d31c4c6e/archive?path=%2Froot%2Ftestframework%2Fstreamsets%2Ftestframework%2Fcli%5Ccli.ini

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "c:\users\desktop\python36\python\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\users\desktop\python36\python\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Desktop\python36\python\Scripts\stf.exe__main__.py", line 7, in <module> File "c:\users\desktop\python36\python\lib\site-packages\streamsets\testframework\cli__init__.py", line 137, in main ini_parser.read_string(_read_ini_file(client, docker_image)) File "c:\users\bharathhc\desktop\python36\python\lib\site-packages\streamsets\testframework\cli__init__.py", line 346, in _read_ini_file path=os.path.join(DOCKER_IMAGE_CLI_DIR, 'cli.ini')) File "c:\users\desktop\python36\python\lib\site-packages\docker\utils\decorators.py", line 19, in wrapped return f(self, resource_id, args, *kwargs) File "c:\users\desktop\python36\python\lib\site-packages\docker\api\container.py", line 750, in get_archive self._raise_for_status(res) File "c:\users\desktop\python36\python\lib\site-packages\docker\api\client.py", line 270, in _raise_for_status raise create_api_error_from_http_exception(e) File "c:\users\desktop\python36\python\lib\site-packages\docker\errors.py", line 31, in create_api_error_from_http_exception raise cls(e, response=response, explanation=explanation) docker.errors.NotFound: 404 Client Error for http+docker://localnpipe/v1.41/containers/10ac2e52b680e86e563efc1334ee5677a74b3ab19567a4b35ba39837d31c4c6e/archive?path=%2Froot%2Ftestframework%2Fstreamsets%2Ftestframework%2Fcli%5Ccli.ini: Not Found ("Could not find the file /root/testframework/streamsets/testframework/cli\cli.ini in container 10ac2e52b680e86e563efc1334ee5677a74b3ab19567a4b35ba39837d31c4c6e")

Python version I'm using -> 3.6.7

Docker version -> 20.10.5

Followed the below steps:

pip3 install streamsets-testframework

stf --version -> stf 1.2.0

Thank you!