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

iwaseyusuke / ryu / 842
68%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2018 11:25PM UTC
Jobs 6
Files 439
Run time 7min
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
842

push

travis-ci

fujita
ofproto: Encode data field on OFPErrorMsg

Currently, when Ryu failed to negotiate the OpenFlow version with a
switch, Ryu will send the OFPT_ERROR message with an error reason on its
data field.
But on Python 3, error reason string is a str type value and required to
be encoded into a bytes type value, otherwise causes an exception when
sending the message.

This patch fixes to encode the given str value into a bytes type value
in OFPErrorMsg.__init__() and solves this problem.

Signed-off-by: William Fisher <william.w.fisher@gmail.com>
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

57176 of 84037 relevant lines covered (68.04%)

2.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 842.1 (TOX_ENV=py27) 27 Mar 2018 11:32PM UTC 0
68.0
Travis Job 842.1
2 842.2 (TOX_ENV=py34) 27 Mar 2018 11:31PM UTC 0
67.79
Travis Job 842.2
3 842.3 (TOX_ENV=py35) 27 Mar 2018 11:28PM UTC 0
67.99
Travis Job 842.3
4 842.4 (TOX_ENV=pypy26) 27 Mar 2018 11:27PM UTC 0
67.99
Travis Job 842.4
5 842.5 (TOX_ENV=pycodestyle) 27 Mar 2018 11:25PM UTC 0
Travis Job 842.5
6 842.6 (TOX_ENV=autopep8) 27 Mar 2018 11:28PM UTC 0
Travis Job 842.6
Source Files on build 842
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #842
  • 4e10ba44 on github
  • Prev Build on master (#840)
  • Next Build on master (#843)
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

© 2025 Coveralls, Inc