Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running stf test #65

Open
niyatidoshi opened this issue Jul 28, 2021 · 4 comments
Open

Error while running stf test #65

niyatidoshi opened this issue Jul 28, 2021 · 4 comments

Comments

@niyatidoshi
Copy link

Hi,

I was running this command, stf test -s stage/test_dev_stages.py and I'm facing the below error,


[INFO] [streamsets.testframework.cli] Pulling Docker image streamsets/testframework:3.x ...
Traceback (most recent call last):
  File "c:\python39\lib\site-packages\docker\api\client.py", line 268, in _raise_for_status
    response.raise_for_status()
  File "c:\python39\lib\site-packages\requests\models.py", line 953, 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/194baca6c2a705c4b5d910989cfc630e7cf0695a819ded9114b254572afe81b6/archive?path=%2Froot%2Ftestframework%2Fstreamsets%2Ftestframework%2Fcli%5Ccli.ini**

Can someone help to resolve this?

Thanks.

@keyoffecka
Copy link
Contributor

keyoffecka commented Jul 28, 2021

It sounds like your docker installation issue. Try if you can pull the image manually:
docker pull streamsets/testframework:3.x
One thing also to notice is that Windows is not supported, as far as I am aware. I have never seen tests running on Windows.

@niyatidoshi
Copy link
Author

Thanks for the info. I tried to pull the image manually and downloaded successfully. After that I ran command, stf build and threw the same error.

Could you please advise, how do I run tests?

Thanks again.

It sounds like your docker installation issue. Try if you can pull the image manually:
docker pull streamsets/testframework:3.x
One thing also to notice is that Windows is not supported, as far as I am aware. I have never seen tests running on Windows.

@kirtiv1
Copy link
Contributor

kirtiv1 commented Jul 29, 2021

@niyatidoshi, STF is not tested on Windows. So in essence, STF does not have support for Windows. It may or may not work.

@niyatidoshi
Copy link
Author

Okay thanks for coming back. Actually StreamSets Data Collector and Control Hub are all working fine with Docker, so I thought STF should work. I'll try on Linux m/c.

Thank you once again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants