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

12 out 344 tests fail #380

Open
canturkisci opened this issue Oct 26, 2018 · 6 comments
Open

12 out 344 tests fail #380

canturkisci opened this issue Oct 26, 2018 · 6 comments

Comments

@canturkisci
Copy link
Member

Description

sudo make test
All tests do not pass in vanilla crawler.
All failed tests seem to be related to the: tests.unit.test_dockercontainer.DockerDockerContainerTests

One suspicion: Can this be related to the missing dockerengine package in Issue #379 ?

How to Reproduce

sudo make test

Log Output

Way too much to post here. I can rep if need be..
Net is:
All are related to DockerDockerContainerTests.*

Final Result:
12 failed, 332 passed in 755.95 seconds

@sahilsuneja1
Copy link
Contributor

I am recreating crawler env in a new Ubuntu1804 VM, will try to address all recent issues.

@sahilsuneja1
Copy link
Contributor

@canturkisci
I would need to do a screenshare session with you on this.

@canturkisci
Copy link
Member Author

Ok. I can try to close on #379 and then revisit this.
My suspicion is, the missing steps there can be triggering this. here. as they are all http/docker related.

@sahilsuneja1
Copy link
Contributor

sahilsuneja1 commented Oct 30, 2018

Ok, but I think make test would still not work coz of docker-in-docker issues: http://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/
I could not get it to work, lemme know if you have any success.
If your host/VM setup is ready, see if make unit and make functional works for you.
We might need to edit make test to do these instead.

@canturkisci
Copy link
Member Author

@sahilsuneja1 I tried both of these:

sudo make unit
sudo make functional

They fail with the same message:

setup.py: error: unrecognized arguments: --cov=.
  inifile: None
  rootdir: /home/ubuntu/agentless-system-crawler
Makefile:53: recipe for target 'functional' failed
make: *** [functional] Error 4

@sahilsuneja1
Copy link
Contributor

Oh ok, they need an additional step coz they are host-based:
pip install codecov pytest-cov==2.3.0 pytest==2.9.2

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

2 participants