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

make unittests error #36

Open
striveman1379 opened this issue May 24, 2020 · 0 comments
Open

make unittests error #36

striveman1379 opened this issue May 24, 2020 · 0 comments

Comments

@striveman1379
Copy link

I got the following errors when make unittests


make unittests

nosetests -s
....E............................E...E...........E.......

ERROR: test_files_yextend.Test_Yextend_files.test_content_yara_7z_multiple_embed_pdf

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/yextend-yara-3.8.1/test/test_files_yextend.py", line 1280, in test_content_yara_7z_multiple_embed_pdf
json_resp = json.loads(out)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

======================================================================
ERROR: test_files_yextend.Test_Yextend_files.test_content_yara_putty_multiple_embed_pdf

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/yextend-yara-3.8.1/test/test_files_yextend.py", line 1409, in test_content_yara_putty_multiple_embed_pdf
json_resp = json.loads(out)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

======================================================================
ERROR: test_files_yextend.Test_Yextend_files.test_content_yara_putty_zip_multiple_embed_pdf

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/yextend-yara-3.8.1/test/test_files_yextend.py", line 1489, in test_content_yara_putty_zip_multiple_embed_pdf
json_resp = json.loads(out)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

======================================================================
ERROR: test_files_yextend.Test_Yextend_files.test_yara_archive_rar_multiple_embed_pdf

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/yextend-yara-3.8.1/test/test_files_yextend.py", line 1191, in test_yara_archive_rar_multiple_embed_pdf
json_resp = json.loads(out)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded


Ran 57 tests in 11.787s

FAILED (errors=4)
Makefile:937: recipe for target 'unittests' failed
make: *** [unittests] Error 1

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

1 participant