DataFrames testing error on Windows


#1
INFO: Testing DataFrames
WARNING: Method definition ==(Base.Nullable{S}, Base.Nullable{T}) in module Base at nullable.jl:244 overwritten in module NullableArrays at C:\Users\agraw\.julia\v0.6\NullableArrays\src\operators.jl:130.

WARNING: deprecated syntax "function Base..==(...)".
Use "function Base.broadcast(::typeof(Base.==), ...)" instead.

WARNING: deprecated syntax "function Base..!=(...)".
Use "function Base.broadcast(::typeof(Base.!=), ...)" instead.

WARNING: deprecated syntax "function Base..<(...)".
Use "function Base.broadcast(::typeof(Base.<), ...)" instead.

WARNING: deprecated syntax "function Base..>(...)".
Use "function Base.broadcast(::typeof(Base.>), ...)" instead.

WARNING: deprecated syntax "function Base..<=(...)".
Use "function Base.broadcast(::typeof(Base.<=), ...)" instead.

WARNING: deprecated syntax "function Base..>=(...)".
Use "function Base.broadcast(::typeof(Base.>=), ...)" instead.
WARNING: Method definition ==(Base.Nullable{S}, Base.Nullable{T}) in module Base at nullable.jl:244 overwritten in module NullableArrays at C:\Users\agraw\.julia\v0.6\NullableArrays\src\operators.jl:130.
WARNING: Method definition ==(Base.Nullable{S}, Base.Nullable{T}) in module Base at nullable.jl:244 overwritten in module NullableArrays at C:\Users\agraw\.julia\v0.6\NullableArrays\src\operators.jl:130.
WARNING: could not import Base.readall into GZip
WARNING: could not import Collections.percolate_down! into SortingAlgorithms
WARNING: Array{T, N}(::Type{T}, d::NTuple{N, Int}) is deprecated, use Array{T}(d) instead.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at .\deprecated.jl:62
 [2] Array(::Type{Void}, ::Tuple{Int64}) at .\deprecated.jl:50
 [3] NullableArrays.NullableArray(::Type{Void}, ::Tuple{Int64}) at C:\Users\agraw\.julia\v0.6\NullableArrays\src\constructors.jl:25
 [4] NullableArrays.NullableArray(::Type{T} where T, ::Int64) at C:\Users\agraw\.julia\v0.6\NullableArrays\src\constructors.jl:32
 [5] include_from_node1(::String) at .\loading.jl:539
 [6] include(::String) at .\sysimg.jl:14
 [7] macro expansion at C:\Users\agraw\.julia\v0.6\DataFrames\src\DataFrames.jl:137 [inlined]
 [8] anonymous at .\<missing>:?
 [9] include_from_node1(::String) at .\loading.jl:539
 [10] include(::String) at .\sysimg.jl:14
 [11] anonymous at .\<missing>:2
 [12] eval(::Module, ::Any) at .\boot.jl:236
 [13] process_options(::Base.JLOptions) at .\client.jl:281
 [14] _start() at .\client.jl:366
while loading C:\Users\agraw\.julia\v0.6\DataFrames\src\abstractdataframe\abstractdataframe.jl, in expression starting on line 712
ERROR: LoadError: LoadError: UndefVarError: sub not defined
Stacktrace:
 [1] include_from_node1(::String) at .\loading.jl:539
 [2] include(::String) at .\sysimg.jl:14
 [3] macro expansion at C:\Users\agraw\.julia\v0.6\DataFrames\src\DataFrames.jl:137 [inlined]
 [4] anonymous at .\<missing>:?
 [5] include_from_node1(::String) at .\loading.jl:539
 [6] include(::String) at .\sysimg.jl:14
 [7] anonymous at .\<missing>:2
while loading C:\Users\agraw\.julia\v0.6\DataFrames\src\subdataframe\subdataframe.jl, in expression starting on line 78
while loading C:\Users\agraw\.julia\v0.6\DataFrames\src\DataFrames.jl, in expression starting on line 106
ERROR: LoadError: Failed to precompile DataFrames to C:\Users\agraw\.julia\lib\v0.6\DataFrames.ji.
Stacktrace:
 [1] compilecache(::String) at .\loading.jl:673
 [2] require(::Symbol) at .\loading.jl:460
 [3] include_from_node1(::String) at .\loading.jl:539
 [4] include(::String) at .\sysimg.jl:14
 [5] process_options(::Base.JLOptions) at .\client.jl:300
 [6] _start() at .\client.jl:366
while loading C:\Users\agraw\.julia\v0.6\DataFrames\test\runtests.jl, in expression starting on line 10
=================================================[ ERROR: DataFrames ]==================================================

failed process: Process(`'C:\Users\agraw\AppData\Local\Julia-0.6.0-dev\bin\julia' -Cx86-64 '-JC:\Users\agraw\AppData\Local\Julia-0.6.0-dev\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\agraw\.julia\v0.6\DataFrames\test\runtests.jl'`, ProcessExited(1)) [1]

========================================================================================================================
I

#2

Why are you using the unstable master version of julia instead of v0.5?


#3

I get errors in julia v0.5 as well.

Running tests:
WARNING: Unable to validate reserved words against parser. Expected if Julia was not built from source.
        PASSED: utils.jl
        PASSED: cat.jl
        PASSED: data.jl
        PASSED: index.jl
        PASSED: dataframe.jl
        PASSED: dataframerow.jl
        PASSED: io.jl
        PASSED: formula.jl
        PASSED: constructors.jl
        PASSED: conversions.jl
        PASSED: sort.jl
        PASSED: grouping.jl
        PASSED: join.jl
        PASSED: iteration.jl
        PASSED: duplicates.jl
WARNING: the no-op `transpose` fallback is deprecated, and no more specific `transpose` method for Symbol exists. Consider `permutedims(x, [2, 1])` or writing a specific `transpose(x::Symbol)` method if appropriate.
 in depwarn(::String, ::Symbol) at .\deprecated.jl:64
 in transpose(::Symbol) at .\deprecated.jl:770
 in ctranspose at .\operators.jl:315 [inlined]
 in (::Base.##209#210)(::Tuple{Int64,Symbol}) at .\<missing>:0
 in copy!(::Array{Symbol,2}, ::Base.Generator{Base.Prod2{Base.OneTo{Int64},Array{Symbol,1}},Base.##209#210}) at .\abstractarray.jl:477
 in _collect(::Type{Symbol}, ::Base.Generator{Base.Prod2{Base.OneTo{Int64},Array{Symbol,1}},Base.##209#210}, ::Base.HasShape) at .\array.jl:251
 in ctranspose(::Array{Symbol,1}) at .\arraymath.jl:417
 in _render(::DataFrames.DataFrame) at C:\Users\agraw\.julia\v0.5\DataFrames\src\abstractdataframe\show.jl:599
 in include_from_node1(::String) at .\loading.jl:488
 in macro expansion; at C:\Users\agraw\.julia\v0.5\DataFrames\test\runtests.jl:35 [inlined]
 in anonymous at .\<missing>:?
 in include_from_node1(::String) at .\loading.jl:488
 in process_options(::Base.JLOptions) at .\client.jl:262
 in _start() at .\client.jl:318
while loading C:\Users\agraw\.julia\v0.5\DataFrames\test\show.jl, in expression starting on line 21
        PASSED: show.jl
        PASSED: statsmodel.jl
        PASSED: contrasts.jl
/bin/bash: C:Usersagraw.juliav0.5DataFramesteststdin.sh: No such file or directory
ERROR: LoadError: failed process: Process(setenv(`bash 'C:\Users\agraw\.julia\v0.5\DataFrames\test\stdin.sh'`,String["USERDOMAIN_ROAMINGPROFILE=DESKTOP-2K8AGMC","HOMEPATH=\\Users\\agraw","ProgramData=C:\\ProgramData","ProgramW6432=C:\\Program Files","PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","SESSIONNAME=Console","APPDATA=C:\\Users\\agraw\\AppData\\Roaming","PUBLIC=C:\\Users\\Public","USERDOMAIN=DESKTOP-2K8AGMC","OS=Windows_NT","PROCESSOR_REVISION=5e03","TMP=C:\\Users\\agraw\\AppData\\Local\\Temp","AF_PATH_v3=C:\\Program Files\\ArrayFire\\v3","NVCUDASAMPLES8_0_ROOT=C:\\ProgramData\\NVIDIA Corporation\\CUDA Samples\\v8.0","NVTOOLSEXT_PATH=C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\","ALLUSERSPROFILE=C:\\ProgramData","Path=C:\\Users\\agraw\\AppData\\Local\\Julia-0.5.0\\bin;C:\\Users\\agraw\\AppData\\Local\\Julia-0.5.0\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\libnvvp;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Git\\cmd;C:\\Solvers\\Ipopt\\bin;C:\\Users\\agraw\\AppData\\Local\\Julia-0.5.0\\bin;C:\\Program Files\\MySQL\\MySQL Utilities 1.6\\;C:\\Users\\agraw\\Anaconda2;C:\\Users\\agraw\\Anaconda2\\Scripts;C:\\Users\\agraw\\Anaconda2\\Library\\bin;C:\\texlive\\2016\\bin\\win32;C:\\Program Files (x86)\\Java\\jre1.8.0_111\\bin\\client;C:\\Program Files\\ArrayFire\\v3\\lib","COMPUTERNAME=DESKTOP-2K8AGMC","JAVA_HOME=C:\\Program Files\\Java\\jre1.8.0_111","USERNAME=agraw","CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files","CommonProgramFiles=C:\\Program Files\\Common Files","CUDA_PATH=C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0","USERPROFILE=C:\\Users\\agraw","PSModulePath=C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules","PROCESSOR_LEVEL=6","=C:=C:\\Users\\agraw\\.julia\\v0.5\\DataFrames\\test","SystemDrive=C:","TEMP=C:\\Users\\agraw\\AppData\\Local\\Temp","HOMEDRIVE=C:","LOCALAPPDATA=C:\\Users\\agraw\\AppData\\Local","PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel","NUMBER_OF_PROCESSORS=8","ComSpec=C:\\WINDOWS\\system32\\cmd.exe","=::=::\\","AF_PATH=C:\\Program Files\\ArrayFire\\v3","VS140COMNTOOLS=C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\","SystemRoot=C:\\WINDOWS","OneDrive=C:\\Users\\agraw\\OneDrive","JULIA_HOME=C:\\Users\\agraw\\AppData\\Local\\Julia-0.5.0\\bin","ProgramFiles(x86)=C:\\Program Files (x86)","LOGONSERVER=\\\\DESKTOP-2K8AGMC","windir=C:\\WINDOWS","CUDA_PATH_V8_0=C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0","FPS_BROWSER_USER_PROFILE_STRING=Default","CommonProgramW6432=C:\\Program Files\\Common Files","ProgramFiles=C:\\Program Files","FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer","NVCUDASAMPLES_ROOT=C:\\ProgramData\\NVIDIA Corporation\\CUDA Samples\\v8.0","PROCESSOR_ARCHITECTURE=AMD64","OPENBLAS_MAIN_FREE=1"]), ProcessExited(127)) [127]
 in pipeline_error(::Base.Process) at .\process.jl:616
 in run(::Cmd) at .\process.jl:592
 in include_from_node1(::String) at .\loading.jl:488
 in process_options(::Base.JLOptions) at .\client.jl:262
 in _start() at .\client.jl:318
while loading C:\Users\agraw\.julia\v0.5\DataFrames\test\runtests.jl, in expression starting on line 56
=================================================[ ERROR: DataFrames ]==================================================
failed process: Process(`'C:\Users\agraw\AppData\Local\Julia-0.5.0\bin\julia' -Cx86-64 '-JC:\Users\agraw\AppData\Local\Julia-0.5.0\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes 'C:\Users\agraw\.julia\v0.5\DataFrames\test\runtests.jl'`, ProcessExited(1)) [1]

========================================================================================================================INFO: Removing ASTInterpreter v0.0.4
INFO: Removing AbstractTrees v0.0.4
INFO: Removing ArgParse v0.4.0
INFO: Removing Atom v0.5.8
INFO: Removing BinDeps v0.4.5
INFO: Removing Blink v0.5.1
INFO: Removing COFF v0.0.2
INFO: Removing CRC v1.2.0
INFO: Removing CodeTools v0.4.3
INFO: Removing Codecs v0.2.0
INFO: Removing ColorTypes v0.3.0
INFO: Removing Colors v0.7.0
INFO: Removing DWARF v0.1.0
INFO: Removing ELF v0.1.0
INFO: Removing FixedPointNumbers v0.3.1
INFO: Removing Gallium v0.0.4
INFO: Removing HttpCommon v0.2.6
INFO: Removing HttpParser v0.2.0
INFO: Removing HttpServer v0.1.7
INFO: Removing JSON v0.8.2
INFO: Removing JuliaParser v0.7.4
INFO: Removing LNR v0.0.2
INFO: Removing Lazy v0.11.5
INFO: Removing MachO v0.0.4
INFO: Removing MbedTLS v0.4.3
INFO: Removing Mustache v0.1.3
INFO: Removing Mux v0.2.3
INFO: Removing ObjFileBase v0.0.4
INFO: Removing RData v0.0.4
INFO: Removing RDatasets v0.2.0
INFO: Removing Reactive v0.3.7
INFO: Removing SHA v0.3.1
INFO: Removing StructIO v0.0.2
INFO: Removing TerminalUI v0.0.2
INFO: Removing TextWrap v0.1.6
INFO: Removing URIParser v0.1.8
INFO: Removing VT100 v0.0.2
INFO: Removing WebSockets v0.2.1
ERROR: DataFrames had test errors
 in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at .\pkg\entry.jl:740
 in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at .\<missing>:0
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at .\pkg\dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at .\file.jl:48 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\pkg\dir.jl:31
 in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at .\<missing>:0
 in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258
 in test(::String, ::Vararg{String,N}) at .\pkg\pkg.jl:258

#4

I get the same error locally. I think it’s just because bash is not available. We should probably check this and skip the test if bash is missing.

FWIW, this is the last test, so if you get this error that means everything else works.


#5

That test that runs bash (it doesn’t look like it’s bash specific either, and would be better with /bin/sh instead) should not be called on Windows.


#6

See https://github.com/JuliaData/DataTables.jl/pull/2.