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

NCAR / manage_externals / 122 / 5
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2018 11:34PM UTC
Files 11
Run time 2s
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

28 Mar 2018 10:45PM UTC coverage: 91.856% (-0.2%) from 92.059%
122.5

Pull #81

travis-ci

web-flow
Bugfix: timeout limit for subprocesses

For security reasons svn and git do not use standard in/out/error to request
and process authentication. Instead, they use lower level system interfaces.
Python calling a subprocess can only interact with stdio, and can not intercept
or detect the lower level calls. On some systems, these requests are visiable
to the user, on some systems they are not. When subprocess commands expect user
input they will wait and manage_externals appears to hang.

Change the subprocess calls to polling the running process and checking the
current run time. If the run time exceeds a timout limit, then we display an
error message suggesting that the user verify authentication and then declare a
fatal error.

The default timeout interval of 5 minutes is probably too long and can be
shortened. But since svn requires network interaction and some large checkouts
can take a long time, this is a 'conservative' initial value.

Breakup up the subprocess call routine so it is easier to understand.

Testing:
  make test - python2/python3 - all tests pass.
  manually test with very short timeout to ensure error message is raised.
Pull Request #81: Bugfix: timeout limit for subprocesses

314 of 356 branches covered (88.2%)

Branch coverage included in aggregate %.

1017 of 1093 relevant lines covered (93.05%)

0.93 hits per line

Source Files on job 122.5
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 122.5
  • 02d98471 on github
  • Prev Job for on master (#121.5)
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