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

notanumber / xapian-haystack / 204
98%

Build:
DEFAULT BRANCH: master
Ran 08 Apr 2018 08:56AM UTC
Jobs 10
Files 7
Run time 21min
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
204

cron

travis-ci

jorgecarleitao
Fixing untrustable os.path.exists

As per https://stackoverflow.com/a/3112717/1067833,
os.path.exists sometimes delivers a wrong value. These are corner
cases, but mine is exactly one:

I run xapian-haystack in a multiprocess environment (indexing and
django server), on an LXC container, which has its mount probably
mounted from an NFS server (I have no control/information over it).

This corner case results the os.path.exists give `True` for one
process and `False` for another, resulting in the exception I
handle with this patch.

912 of 916 relevant lines covered (99.56%)

9.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 204.1 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.4.1) 08 Apr 2018 08:56AM UTC 0
99.02
Travis Job 204.1
2 204.2 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1) 08 Apr 2018 08:59AM UTC 0
99.02
Travis Job 204.2
4 204.4 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.3.3) 08 Apr 2018 09:01AM UTC 0
99.13
Travis Job 204.4
5 204.5 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.3.3) 08 Apr 2018 08:59AM UTC 0
99.13
Travis Job 204.5
7 204.7 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.4.1) 08 Apr 2018 09:06AM UTC 0
99.02
Travis Job 204.7
8 204.8 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1) 08 Apr 2018 09:07AM UTC 0
99.02
Travis Job 204.8
10 204.10 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.3.3) 08 Apr 2018 09:13AM UTC 0
99.13
Travis Job 204.10
11 204.11 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.3.3) 08 Apr 2018 09:16AM UTC 0
99.13
Travis Job 204.11
13 204.13 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.2.24) 08 Apr 2018 09:16AM UTC 0
99.34
Travis Job 204.13
14 204.14 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.2.24) 08 Apr 2018 09:18AM UTC 0
99.34
Travis Job 204.14
Source Files on build 204
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #204
  • 3c322a95 on github
  • Prev Build on master (#202)
  • Next Build on master (#205)
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