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

xapi-project / nbd / 350
75%
master: 65%

Build:
Build:
LAST BUILD BRANCH: docfix
DEFAULT BRANCH: master
Ran 06 Aug 2018 04:40PM UTC
Jobs 1
Files 5
Run time 17s
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
350

Pull #131

travis-ci

web-flow
CP-29049: Fix list and abort behaviour and expand protocol tests

Various fixes to make the client and server conform more to the NBD
protocol:
* Ensure Client.list terminates the option haggling by sending an abort.
  This change should not cause problems, as currently we don't seem to
  use Client.list anywhere.
* Fix the server's response to NBD_OPT_LIST - previously it did not send
  the lenghts to the client correctly, and therefore qemu-img and
  nbd-client could not list the exports.
* Check that the lengths the export names in the optional ~offer param
  passed to Server.connect are below the maximum limit allowed by the NBD
  protocol.
* Ensure the server responds to an abort with an ack. This change
  shouldn't cause issues either, because we gracefully handle the case
  without failing where the client disconnects without waiting for the
  ack.
* Clean up existing protocol unit tests, add more logging, and more
  tests for these corner cases.
* Add a new client<->server interaction test to check that NBD_OPT_LIST
  is implemented properly in both.

Signed-off-by: Gabor Igloi <gabor.igloi@citrix.com>
Pull Request #131: CP-29049: Fix list and abort behaviour and expand protocol tests

27 of 27 new or added lines in 2 files covered. (100.0%)

418 of 560 relevant lines covered (74.64%)

3396.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 350.1 (PACKAGE=nbd DISTRO="debian-unstable" OCAML_VERSION=4.06 \ TEST=false \ POST_INSTALL_HOOK="opam install alcotest alcotest-lwt io-page-unix; env TRAVIS=$TRAVIS TRAVIS_JOB_ID=$TRAVIS_JOB_ID bash -ex coverage.sh") 06 Aug 2018 04:41PM UTC 0
74.64
Travis Job 350.1
Source Files on build 350
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #350
  • Pull Request #131
  • PR Base - master (#348)
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