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

notanumber / xapian-haystack / 199
98%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2018 08:52AM UTC
Jobs 10
Files 7
Run time 31min
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
199

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 199.1 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.4.1) 18 Mar 2018 08:52AM UTC 0
99.02
Travis Job 199.1
2 199.2 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1) 18 Mar 2018 08:57AM UTC 0
99.02
Travis Job 199.2
4 199.4 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.3.3) 18 Mar 2018 08:57AM UTC 0
99.13
Travis Job 199.4
5 199.5 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.3.3) 18 Mar 2018 08:55AM UTC 0
99.13
Travis Job 199.5
7 199.7 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.4.1) 18 Mar 2018 09:05AM UTC 0
99.02
Travis Job 199.7
8 199.8 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1) 18 Mar 2018 09:04AM UTC 0
99.02
Travis Job 199.8
10 199.10 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.3.3) 18 Mar 2018 09:09AM UTC 0
99.13
Travis Job 199.10
11 199.11 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.3.3) 18 Mar 2018 09:16AM UTC 0
99.13
Travis Job 199.11
13 199.13 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.2.24) 18 Mar 2018 09:15AM UTC 0
99.34
Travis Job 199.13
14 199.14 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.2.24) 18 Mar 2018 09:23AM UTC 0
99.34
Travis Job 199.14
Source Files on build 199
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #199
  • 3c322a95 on github
  • Prev Build on master (#198)
  • Next Build on master (#200)
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