python tests/test_pipeline.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TASK: [install-local-packages | Install locally built deb packages (via apt).] *** | |
| failed: [app-staging] => (item=(0, u'securedrop-ossec-agent-2.8.2+0.3.11-amd64.deb')) => {"failed": true, "item": [0, "securedrop-ossec-agent-2.8.2+0.3.11-amd64.deb"]} | |
| stderr: dpkg: error: unknown force/refuse option `yes' | |
| Type dpkg --help for help about installing and deinstalling packages [*]; | |
| Use 'apt' or 'aptitude' for user-friendly package management; | |
| Type dpkg -Dhelp for a list of dpkg debug flag values; | |
| Type dpkg --force-help for a list of forcing options; | |
| Type dpkg-deb --help for help about manipulating *.deb files; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ============================================================================================= FAILURES ============================================================================================== | |
| ____________________________________________________________________________ test_iptables_rules[ansible://app-staging] _____________________________________________________________________________ | |
| [gw2] darwin -- Python 2.7.12 /usr/local/opt/python/bin/python2.7 | |
| Command = <command>, Sudo = <sudo> | |
| def test_iptables_rules(Command, Sudo): | |
| """ | |
| Ensure the correct iptables rules are checked. Using a single string | |
| equivalency check for the entirety of the iptables output, since | |
| rule order is critical. Testinfra will provide diffed output on failure. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ===================================================================== FAILURES ====================================================================== | |
| _______________________________________________ test_ip6tables_drop_everything[ansible://app-staging] _______________________________________________ | |
| [gw3] darwin -- Python 2.7.12 /usr/local/opt/python/bin/python2.7 | |
| Command = <command>, Sudo = <sudo> | |
| def test_ip6tables_drop_everything(Command, Sudo): | |
| """ | |
| Ensure that all IPv6 packets are dropped by default. | |
| The IPv4 rules are more complicated, and tested separately. | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bs4 as BeautifulSoup | |
| import os | |
| import pandas as pd | |
| import time | |
| from tqdm import tqdm | |
| from urllib.request import urlopen | |
| import werkzeug | |
| import wget | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| import pdb | |
| import numpy as np | |
| import math | |
| try: | |
| from esutil import coords | |
| import esutil |
NewerOlder