• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cloudmarker / cloudmarker / 478
84%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2019 04:23PM UTC
Jobs 3
Files 29
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
478

push

travis-ci-com

susam
Remove emailalert from mockaudit in base config

Running sanity check on a fresh clone of Cloudmarker leads to this
error:

    $ python3 -m cloudmarker -f
    ...
    Traceback (most recent call last):
      File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
        self.run()
      File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)
      File "cloudmarker/cloudmarker/workers.py", line 68, in store_worker
        store_plugin.done()
      File "cloudmarker/cloudmarker/alerts/emailalert.py", line 71, in done
        smtp_connection = smtplib.SMTP(host=self.host, port=self.port)
      File "/usr/lib/python3.5/smtplib.py", line 251, in __init__
        (code, msg) = self.connect(host, port)
      File "/usr/lib/python3.5/smtplib.py", line 335, in connect
        self.sock = self._get_socket(host, port, self.timeout)
      File "/usr/lib/python3.5/smtplib.py", line 306, in _get_socket
        self.source_address)
      File "/usr/lib/python3.5/socket.py", line 694, in create_connection
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
      File "/usr/lib/python3.5/socket.py", line 733, in getaddrinfo
        for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
    socket.gaierror: [Errno -2] Name or service not known

This error occurs because `emailalert` is enabled for `mockaudit` by
default in `config.base.yaml`. This change removes this from `mockaudit`
because there is no default configuration for the `EmailAlert` plugin
that would work well for all users. Also, `mockaudit` should run
successfully without any issues out of the box right after a fresh new
clone.

318 of 332 branches covered (95.78%)

Branch coverage included in aggregate %.

1380 of 1430 relevant lines covered (96.5%)

2.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 478.1 12 Apr 2019 04:23PM UTC 0
96.47
Travis Job 478.1
2 478.2 12 Apr 2019 04:23PM UTC 0
96.47
Travis Job 478.2
3 478.3 12 Apr 2019 04:23PM UTC 0
96.47
Travis Job 478.3
Source Files on build 478
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #478
  • fe8bb351 on github
  • Prev Build on master (#458)
  • Next Build on master (#481)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc