Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replcompletions test fails with mkdir: File exists #11992

Closed
tkelman opened this issue Jul 2, 2015 · 4 comments
Closed

replcompletions test fails with mkdir: File exists #11992

tkelman opened this issue Jul 2, 2015 · 4 comments
Labels
system:windows Affects only Windows test This change adds or pertains to unit tests

Comments

@tkelman
Copy link
Contributor

tkelman commented Jul 2, 2015

This happens in a Cygwin cross-compile, 100% repeatable. It's a strange one though because if I remove any single test from the list below it passes fine:

$ usr/bin/julia -e 'versioninfo()' && JULIA_CPU_CORES=1 usr/bin/julia test/runtests.jl sorting statistics spawn priorityqueue file broadcast socket readdlm combinatorics replcompletions
Julia Version 0.4.0-dev+5764
Commit afc6308* (2015-07-02 21:21 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
     * sorting              in  31.58 seconds
     * statistics           in  14.16 seconds
     * spawn                      [stdio passthrough ok]
 in  16.75 seconds
     * priorityqueue        in   1.22 seconds
     * file                 in  10.85 seconds
     * broadcast            in  10.65 seconds
     * socket               in   7.50 seconds
     * readdlm              in  15.74 seconds
     * combinatorics        in   2.83 seconds
     * replcompletions     exception on 1: ERROR: LoadError: SystemError: mkdir: File exists
 in mkdir at file.jl:42
while loading D:\cygwin64\home\Tony\julia\test\replcompletions.jl, in expression starting on line 395
ERROR: LoadError: LoadError: SystemError: mkdir: File exists
 in mkdir at file.jl:42
while loading D:\cygwin64\home\Tony\julia\test\replcompletions.jl, in expression starting on line 395
while loading D:\cygwin64\home\Tony\julia\test\runtests.jl, in expression starting on line 5
@tkelman tkelman added the system:windows Affects only Windows label Jul 2, 2015
@blakejohnson
Copy link
Contributor

Some of the file completions stuff might be a little brittle because there are a few tests that don't clean up after themselves if they fail.

@tkelman
Copy link
Contributor Author

tkelman commented Jul 3, 2015

c2a28ee is the first bad commit

$ git bisect log
git bisect start

bad: [afc6308] fix #11982

git bisect bad afc6308

good: [84ed5f3] restore functionality of pure-minimalistic repl for when Base._start is not defined

git bisect good 84ed5f3

bad: [bee46ee] Merge pull request #11629 from JuliaLang/sk/shifts

git bisect bad bee46ee

bad: [0cebd59] Merge pull request #11411 from JuliaLang/nalimilan/targets

git bisect bad 0cebd59

bad: [9bc158a] Merge pull request #11293 from garrison/dlopen_finalizer

git bisect bad 9bc158a

bad: [f043f86] Test list is now in test/choosestests.jl

git bisect bad f043f86

bad: [9a47c3b] Merge pull request #11192 from ScottPJones/spj/asciiutf8

git bisect bad 9a47c3b

good: [e2dbab5] Merge pull request #11255 from JuliaLang/ksh/arraytests

git bisect good e2dbab5

bad: [c2a28ee] Merge pull request #11172 from peter1000/adds_kw_remove_destination_to__mv

git bisect bad c2a28ee

good: [c790369] Merge pull request #11253 from JuliaLang/ob/fixsawb

git bisect good c790369

skip: [fec7ef1] Samefile: return false if a path does not exist.

git bisect skip fec7ef1

good: [43eb785] Adds tests for: mv function #11172

git bisect good 43eb785

first bad commit: [c2a28ee] Merge pull request #11172 from peter1000/adds_kw_remove_destination_to__mv

the skip was a different error message, ArgumentError: 'src' and 'dst' refer to the same file/dir.This is not supported. during the file test. cc @peter1000 I forget, you don't use Windows do you?

@peter1000
Copy link

No, I don't use any windows.

@JeffBezanson JeffBezanson added the test This change adds or pertains to unit tests label Jul 3, 2015
@tkelman
Copy link
Contributor Author

tkelman commented Jul 26, 2015

This actually went away when I cleared out my /tmp, so I think it's only an issue that these leave around temporary files when one of the tests fails. The specific list of tests is probably just a consequence of various srand calls leading to the same set of file names being used.

@tkelman tkelman closed this as completed Jul 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:windows Affects only Windows test This change adds or pertains to unit tests
Projects
None yet
Development

No branches or pull requests

4 participants