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

osrg / ryu / 968
0%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2018 01:23PM UTC
Jobs 6
Files 439
Run time 6min
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
968

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>

57179 of 84037 relevant lines covered (68.04%)

2.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 968.1 (TOX_ENV=py27) 26 Mar 2018 01:29PM UTC 0
68.0
Travis Job 968.1
2 968.2 (TOX_ENV=py34) 26 Mar 2018 01:29PM UTC 0
67.79
Travis Job 968.2
3 968.3 (TOX_ENV=py35) 26 Mar 2018 01:26PM UTC 0
67.99
Travis Job 968.3
4 968.4 (TOX_ENV=pypy26) 26 Mar 2018 01:25PM UTC 0
68.0
Travis Job 968.4
5 968.5 (TOX_ENV=pycodestyle) 26 Mar 2018 01:23PM UTC 0
Travis Job 968.5
6 968.6 (TOX_ENV=autopep8) 26 Mar 2018 01:26PM UTC 0
Travis Job 968.6
Source Files on build 968
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #968
  • 4e10ba44 on github
  • Prev Build on master (#967)
  • Next Build on master (#969)
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