elixir icon indicating copy to clipboard operation
elixir copied to clipboard

Change to elixir tmp directory causes unstablized test result

Open SocialfiPanda opened this issue 12 years ago • 1 comments

Seems like after the commit https://github.com/elixir-lang/elixir/commit/ea31bc3b30b32757182155047f1d5abf58bc17f9, the test result on copy is not stabilized. For the same code on the same OTP version, for some build I will get all tests passing, but when I tried another time it will fail. The failing test is as follows:

1) test cmd/1 (SystemTest)
     test/elixir/system_test.exs:62
     ** (File.CopyError) could not copy recursively from /bin/echo to /home/travis/build/elixir-lang/elixir/lib/elixir/tmp/echo2: no such file or directory
     stacktrace:
       (elixir) lib/file.ex:445: File.cp!/3
       test/elixir/system_test.exs:70

This unstablized behavior can also be reproduced locally on my laptop (running OSX 10.9.5), by running "make clean test" multiple times. Merely running "make test" without recompiling the source code seems pretty stable on my end, though.


Looks like the build for that commit itself is failing also:

https://travis-ci.org/elixir-lang/elixir/builds/39153663

SocialfiPanda avatar Oct 28 '14 04:10 SocialfiPanda

Closing it as https://github.com/elixir-lang/elixir/commit/c08ee6b03ebd4477b9061647806af90729100516 fix this.

SocialfiPanda avatar Oct 28 '14 16:10 SocialfiPanda