travis-ci/travis-ci — Issue #362: /nonexistent can exist for ruby workers
Author: drbrain
Created: 2011-12-20 21:17:13+00:00
State: open

For mechanize and rdoc, I have tests that depend upon a nonexistent directory. I chose `/nonexistent` since this directory normally would not exist. For some travis workers `/nonexistent` is a real file (or directory).

Today I committed a documentation-only change to mechanize and had a CI failure due to `/nonexistent` existing:

http://travis-ci.org/tenderlove/mechanize/builds/429000

This was the change:

https://github.com/tenderlove/mechanize/compare/7a5866f...698020d

The previous build was successful:

http://travis-ci.org/tenderlove/mechanize/builds/336305

It appears that `/nonexistent` exists sometimes, but not others.

In rdoc I worked around this by depending upon a nonexistent file in a temporary directory I created.

This is not a critical issue, but it is puzzling that the directory sometimes exists and sometimes does not.