Open sweep-ai[bot] opened 10 months ago
tests/test_zap_scanner.py
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 2.4 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 5.9 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 10.1 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 29.3 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 48.0 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 22.0 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 71.8 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 6.7 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 16.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 71.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 24.5 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
requirements.txt
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 2.4 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 9.5 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 19.1 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 26.3 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 47.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 23.3 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 85.7 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 8.9 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 80.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 77.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 29.8 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
tests/test_zap_scanner.py
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 2.4 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 5.9 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 10.1 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 29.3 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 48.0 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 22.0 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 71.8 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 6.7 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 16.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 71.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 24.5 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
tests/test_nexpose_scanner.py
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 2.3 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 6.5 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 12.9 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 23.2 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 44.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 22.9 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 56.4 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 11.4 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 84.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 79.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 27.7 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
tests/test_openvas_scanner.py
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 2.4 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 5.9 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 15.1 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 28.4 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 53.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 19.8 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 78.9 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 8.2 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 86.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 67.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 32.0 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
tests/test_storage_service.py
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 2.5 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 6.6 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 16.5 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 22.5 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 49.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 23.6 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 45.1 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 3.0 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 62.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 78.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 35.9 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
scanners/zap_scanner.py
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 2.4 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 9.6 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 14.8 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 22.1 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 55.4 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 23.2 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 77.2 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 10.5 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 80.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 77.4 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 33.8 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
scanners/nexpose_scanner.py
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 2.2 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 5.2 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 5.1 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 15.4 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 40.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 25.9 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 79.3 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 7.8 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 87.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 78.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 25.4 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
scanners/openvas_scanner.py
✗
Sandbox logs for
pip install -r requirements.txt
1/1 ❌ (`1`)Collecting asn1crypto==0.24.0 Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 KB 1.8 MB/s eta 0:00:00 Collecting bcrypt==3.1.7 Downloading bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 KB 9.6 MB/s eta 0:00:00 Collecting beautifulsoup4==4.8.0 Downloading beautifulsoup4-4.8.0-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 10.0 MB/s eta 0:00:00 Collecting certifi==2019.6.16 Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 KB 26.9 MB/s eta 0:00:00 Collecting cffi==1.12.3 Downloading cffi-1.12.3.tar.gz (456 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 456.3/456.3 KB 31.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting chardet==3.0.4 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 19.9 MB/s eta 0:00:00 Collecting cryptography==2.7 Downloading cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 59.0 MB/s eta 0:00:00 Collecting defusedxml==0.6.0 Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting gvm-tools==2.0.0b1 Downloading gvm_tools-2.0.0b1-py3-none-any.whl (25 kB) Collecting idna==2.8 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 5.8 MB/s eta 0:00:00 Collecting lxml==4.4.1 Downloading lxml-4.4.1.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 70.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting nltk==3.4.5 Downloading nltk-3.4.5.zip (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 61.1 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting paramiko==2.6.0 Downloading paramiko-2.6.0-py2.py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.9/199.9 KB 29.2 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement pprint==0.1 (from versions: none) ERROR: No matching distribution found for pprint==0.1
core/storage_service.py
✗
Run core/storage_service.py through the sandbox.
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
15 Security Hotspots
2 Code Smells
No Coverage information
0.0% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
PR Feedback (click)
Description
This PR adds unit tests for the project to ensure the correctness of the implemented functionality. The tests cover the
ZapScanner
,NexposeScanner
,OpenVASScanner
, andStorageService
classes. Mock objects are used to simulate the behavior of external dependencies such asZAPv2
,rapid7vmconsole
, andopenvas
. The tests verify the functionality of each public method in these classes and ensure that the expected behavior is maintained.Summary of Changes
tests/test_zap_scanner.py
,tests/test_nexpose_scanner.py
, andtests/test_openvas_scanner.py
.StorageService
class:tests/test_storage_service.py
.StorageService
class to add methods for accessing the internal database state, enabling better testing.These changes improve the overall quality and reliability of the project by ensuring that the implemented functionality behaves as expected and can be easily tested in isolation.
Fixes #85.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: