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

os-autoinst / os-autoinst / 2730
57%

Build:
DEFAULT BRANCH: master
Ran 24 May 2017 07:29PM UTC
Jobs 1
Files 63
Run time 3s
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
2730

push

travis-ci

coolo
serial_terminal: Wait for prompt (#797)

It appears that os-autoinst is sometimes too fast for the SUT and starts
sending characters before the shell (e.g. Bash) is ready to receive
them. Possibly the input is sent to the previous command's STDIN before it has
chance to close the file descriptors or at least before Bash resumes
interpreting TTY input.

I have only seen this happen on the virtio_console, but it may also happen on
VNC if the SUT stalls at just the right time.

The solution is to wait for the terminal prompt to be printed. Possibly there
is still a race condition where the shell doesn't start accepting input for a
period after printing the prompt. However I have not seen any evidence of this
yet.

3218 of 6266 relevant lines covered (51.36%)

185.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2730.1 24 May 2017 07:29PM UTC 0
51.36
Travis Job 2730.1
Source Files on build 2730
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2730
  • e9dc31ee on github
  • Prev Build on master (#2729)
  • Next Build on master (#2732)
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