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

Pkg.test("Circuitscape"): Single test failure - Raster Pairwise #178

Closed
Chulkey opened this issue Apr 4, 2019 · 18 comments
Closed

Pkg.test("Circuitscape"): Single test failure - Raster Pairwise #178

Chulkey opened this issue Apr 4, 2019 · 18 comments

Comments

@Chulkey
Copy link

Chulkey commented Apr 4, 2019

Installing Julia v1.1 on Win10 machine for use with Curcuitscape/ResistanceGA in R.

julia> using Pkg
julia> Pkg.add("Circuitscape") - Proceeds as normal

Pkg.test("Circuitscape") produces this result (though ran with no issue on another machine):

...
┌ Warning: 2019-04-04 15:07:00 : Cholmod supports only double precision. Changing precision to double.
└ @ Circuitscape C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\logging.jl:25
[ Info: 2019-04-04 15:07:00 : Reading maps
[ Info: 2019-04-04 15:07:00 : Resistance/Conductance map has 817 nodes
Raster Pairwise: Error During Test at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:291
  Got exception outside of a @test
  could not create mapping view: The operation completed successfully.
  Stacktrace:
   [1] error(::String) at .\error.jl:33
   [2] #mmap#1(::Bool, ::Bool, ::Function, ::Mmap.Anonymous, ::Type{Array{Float64,2}}, ::Tuple{Int64,Int64}, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Mmap\src\Mmap.jl:221
   [3] mmap(::Mmap.Anonymous, ::Type{Array{Float64,2}}, ::Tuple{Int64,Int64}, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Mmap\src\Mmap.jl:186
   [4] _shm_mmap_array(::Type, ::Tuple{Int64,Int64}, ::String, ::UInt16) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:660
   [5] shm_mmap_array(::Type, ::Tuple{Int64,Int64}, ::String, ::UInt16) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:639
   [6] #call#3(::Bool, ::Array{Int64,1}, ::Type{SharedArrays.SharedArray{Float64,2}}, ::Tuple{Int64,Int64}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:118   [7] Type at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:105 [inlined]
   [8] Type at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:347 [inlined]
   [9] initialize_cum_maps(::Array{Float64,2}, ::Bool) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:216
   [10] compute_graph_data_no_polygons(::Circuitscape.RasData{Float64,Int32}, ::Circuitscape.RasterFlags) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:226
   [11] _pt_file_no_polygons_path(::Circuitscape.RasData{Float64,Int32}, ::Circuitscape.RasterFlags, ::Dict{String,String}) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:60
   [12] raster_pairwise(::Type, ::Type, ::Dict{String,String}) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:29
   [13] _compute(::Type, ::Type, ::Dict{String,String}) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\run.jl:42
   [14] compute_single(::String) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:96
   [15] macro expansion at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:299 [inlined]
   [16] macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Test\src\Test.jl:1083 [inlined]
   [17] macro expansion at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:293 [inlined]
   [18] macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Test\src\Test.jl:1083 [inlined]
   [19] runtests(::typeof(compute_single)) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:260
   [20] top-level scope at C:\Users\User\.julia\packages\Circuitscape\yuRbe\test\runtests.jl:12 [inlined]
   [21] top-level scope at .\none:0
   [22] include at .\boot.jl:326 [inlined]
   [23] include_relative(::Module, ::String) at .\loading.jl:1038
   [24] include(::Module, ::String) at .\sysimg.jl:29
   [25] include(::String) at .\client.jl:403
   [26] top-level scope at none:0
   [27] eval(::Module, ::Any) at .\boot.jl:328
   [28] exec_options(::Base.JLOptions) at .\client.jl:243
   [29] _start() at .\client.jl:436
...


... 
┌ Warning: 2019-04-04 15:07:00 : Cholmod supports only double precision. Changing precision to double.
└ @ Circuitscape C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\logging.jl:25
[ Info: 2019-04-04 15:07:00 : Reading maps
[ Info: 2019-04-04 15:07:00 : Resistance/Conductance map has 817 nodes
Raster Pairwise: Error During Test at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:291
  Got exception outside of a @test
  could not create mapping view: The operation completed successfully.
  Stacktrace:
   [1] error(::String) at .\error.jl:33
   [2] #mmap#1(::Bool, ::Bool, ::Function, ::Mmap.Anonymous, ::Type{Array{Float64,2}}, ::Tuple{Int64,Int64}, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Mmap\src\Mmap.jl:221
   [3] mmap(::Mmap.Anonymous, ::Type{Array{Float64,2}}, ::Tuple{Int64,Int64}, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Mmap\src\Mmap.jl:186
   [4] _shm_mmap_array(::Type, ::Tuple{Int64,Int64}, ::String, ::UInt16) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:660
   [5] shm_mmap_array(::Type, ::Tuple{Int64,Int64}, ::String, ::UInt16) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:639
   [6] #call#3(::Bool, ::Array{Int64,1}, ::Type{SharedArrays.SharedArray{Float64,2}}, ::Tuple{Int64,Int64}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:118   [7] Type at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:105 [inlined]
   [8] Type at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\SharedArrays\src\SharedArrays.jl:347 [inlined]
   [9] initialize_cum_maps(::Array{Float64,2}, ::Bool) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:216
   [10] compute_graph_data_no_polygons(::Circuitscape.RasData{Float64,Int32}, ::Circuitscape.RasterFlags) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:226
   [11] _pt_file_no_polygons_path(::Circuitscape.RasData{Float64,Int32}, ::Circuitscape.RasterFlags, ::Dict{String,String}) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:60
   [12] raster_pairwise(::Type, ::Type, ::Dict{String,String}) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:29
   [13] _compute(::Type, ::Type, ::Dict{String,String}) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\run.jl:42
   [14] compute_single(::String) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:96
   [15] macro expansion at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:299 [inlined]
   [16] macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Test\src\Test.jl:1083 [inlined]
   [17] macro expansion at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:293 [inlined]
   [18] macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Test\src\Test.jl:1083 [inlined]
   [19] runtests(::typeof(compute_single)) at C:\Users\User\.julia\packages\Circuitscape\yuRbe\src\utils.jl:260
   [20] top-level scope at C:\Users\User\.julia\packages\Circuitscape\yuRbe\test\runtests.jl:12 [inlined]
   [21] top-level scope at .\none:0
   [22] include at .\boot.jl:326 [inlined]
   [23] include_relative(::Module, ::String) at .\loading.jl:1038
   [24] include(::Module, ::String) at .\sysimg.jl:29
   [25] include(::String) at .\client.jl:403
   [26] top-level scope at none:0
   [27] eval(::Module, ::Any) at .\boot.jl:328
   [28] exec_options(::Base.JLOptions) at .\client.jl:243
   [29] _start() at .\client.jl:436
...

Wondering if this test failure is something I should be concerned about and if so, any advice on a remedy?

@ViralBShah
Copy link
Member

Tests need to pass cleanly. So this is worrisome and needs to be investigated.

@Chulkey
Copy link
Author

Chulkey commented Apr 5, 2019

Ok. Also, apologies for pasting same output twice. This is the summary of test results:

Test Summary:          | Pass  Error  Total
Single Precision Tests |  576      1    577
  Network Pairwise     |   93            93
  Network Advanced     |   12            12
  Raster Pairwise      |  320      1    321
  Raster Advanced      |    5             5
  Raster One to All    |  134           134
  Raster ALl to One    |   12            12
ERROR: LoadError: Some tests did not pass: 576 passed, 0 failed, 1 errored, 0 broken.
in expression starting at C:\Users\User\.julia\packages\Circuitscape\1UJ9H\test\runtests.jl:11
ERROR: Package Circuitscape errored during testing
Stacktrace:
 [1] pkgerror(::String, ::Vararg{String,N} where N) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\Types.jl:120
 [2] #test#66(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\Operations.jl:1328
 [3] #test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:0 [inlined]
 [4] #test#44(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:193
 [5] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:178 [inlined]
 [6] #test#43 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:175 [inlined]
 [7] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:175 [inlined]
 [8] #test#42 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:174 [inlined]
 [9] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:174 [inlined]
 [10] #test#41(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:173
 [11] test(::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:173
 [12] top-level scope at none:0

Any ideas on first steps for investigating? I'm unfamiliar with Julia language and am unsure how to diagnose testing errors.

@anwilk
Copy link

anwilk commented Apr 19, 2019

I am facing the same issue, additionally, the same error is spit back when using 1.0.3 happening after Cholmod changing the precision to double. Could the tests being run be throwing an error after converting to double?

@ranjanan
Copy link
Member

ranjanan commented Apr 19, 2019

@anwilk could you paste that error here please? I just throw a warning saying that there's a conversion to double going on. I have a suspicion the timing of that warning is coincidental.

@anwilk
Copy link

anwilk commented Apr 19, 2019

I think you're right about it being coincidental, it appears that other tests are completed and pass using double precision: Here is the inline warning and error...

Info: Testing sgVerify17
┌ Warning: 2019-04-19 14:08:40 : Cholmod supports only double precision. Changing precision to double.
└ @ Circuitscape C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\logging.jl:25
[ Info: 2019-04-19 14:08:40 : Reading maps
[ Info: 2019-04-19 14:08:40 : Resistance/Conductance map has 817 nodes
Raster Pairwise: Error During Test at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\utils.jl:291
Got exception outside of a @test
could not create mapping view: The operation completed successfully.

and Stacktrace:

Stacktrace:
[1] error(::String) at .\error.jl:33
[2] #mmap#1(::Bool, ::Bool, ::Function, ::Mmap.Anonymous, ::Type{Array{Float64,2}}, ::Tuple{Int64,Int64}, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Mmap\src\Mmap.jl:221
[3] mmap(::Mmap.Anonymous, ::Type{Array{Float64,2}}, ::Tuple{Int64,Int64}, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Mmap\src\Mmap.jl:186
[4] _shm_mmap_array(::Type, ::Tuple{Int64,Int64}, ::String, ::UInt16) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\SharedArrays\src\SharedArrays.jl:660
[5] shm_mmap_array(::Type, ::Tuple{Int64,Int64}, ::String, ::UInt16) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\SharedArrays\src\SharedArrays.jl:639
[6] #call#3(::Bool, ::Array{Int64,1}, ::Type{SharedArrays.SharedArray{Float64,2}}, ::Tuple{Int64,Int64}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\SharedArrays\src\SharedArrays.jl:118
[7] Type at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\SharedArrays\src\SharedArrays.jl:105 [inlined]
[8] SharedArrays.SharedArray(::Array{Float64,2}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\SharedArrays\src\SharedArrays.jl:347
[9] initialize_cum_maps(::Array{Float64,2}, ::Bool) at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\utils.jl:216
[10] compute_graph_data_no_polygons(::Circuitscape.RasData{Float64,Int32}, ::Circuitscape.RasterFlags) at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:226
[11] _pt_file_no_polygons_path(::Circuitscape.RasData{Float64,Int32}, ::Circuitscape.RasterFlags, ::Dict{String,String}) at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:60
[12] raster_pairwise(::Type, ::Type, ::Dict{String,String}) at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\raster\pairwise.jl:29
[13] _compute(::Type, ::Type, ::Dict{String,String}) at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\run.jl:42
[14] compute_single(::String) at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\utils.jl:96
[15] macro expansion at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\utils.jl:299 [inlined]
[16] macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Test\src\Test.jl:1083 [inlined]
[17] macro expansion at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\utils.jl:293 [inlined]
[18] macro expansion at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Test\src\Test.jl:1083 [inlined]
[19] runtests(::typeof(compute_single)) at C:\Users\USER.julia\packages\Circuitscape\yuRbe\src\utils.jl:260
[20] top-level scope at C:\Users\USER.julia\packages\Circuitscape\yuRbe\test\runtests.jl:12 [inlined]
[21] top-level scope at .\none:0
[22] include at .\boot.jl:317 [inlined]
[23] include_relative(::Module, ::String) at .\loading.jl:1044
[24] include(::Module, ::String) at .\sysimg.jl:29
[25] include(::String) at .\client.jl:392
[26] top-level scope at none:0
[27] eval(::Module, ::Any) at .\boot.jl:319
[28] exec_options(::Base.JLOptions) at .\client.jl:243
[29] _start() at .\client.jl:425

Overall it seems to be the same error @Chulkey was experiencing

@simon-tarr
Copy link

I am also getting this error @ranjanan, when running the latest version of Circuitscape:

Test Summary:          | Pass  Error  Total
Single Precision Tests |  576      1    577
  Network Pairwise     |   93            93
  Network Advanced     |   12            12
  Raster Pairwise      |  320      1    321
  Raster Advanced      |    5             5
  Raster One to All    |  134           134
  Raster All to One    |   12            12
ERROR: LoadError: Some tests did not pass: 576 passed, 0 failed, 1 errored, 0 broken.
in expression starting at C:\Users\simon.tarr\.julia\packages\Circuitscape\x2r8m\test\runtests.jl:11
ERROR: Package Circuitscape errored during testing
Stacktrace:
 [1] pkgerror(::String, ::Vararg{String,N} where N) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\Types.jl:120
 [2] #test#66(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\Operations.jl:1328
 [3] #test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:0 [inlined]
 [4] #test#44(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:193
 [5] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:178 [inlined]
 [6] #test#43 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:175 [inlined]
 [7] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:175 [inlined]
 [8] #test#42 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:174 [inlined]
 [9] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:174 [inlined]
 [10] #test#41(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:173
 [11] test(::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\API.jl:173
 [12] top-level scope at none:0

@simon-tarr
Copy link

Hello @ranjanan any news on a fix for this? I understand that this is open source software and comes with no guarantees in terms of reliability and operability...I really appreciate the work you're doing on this project and I honestly don't mean to pester you! Having said that, I do have some upcoming projects that I'd love to use Circuitscape for. Looking forward to hearing from you.

@ViralBShah
Copy link
Member

I am guessing @ranjanan was busy with the semester winding down. @ranjanan Might these be windows related only?

@simon-tarr Can you try on a different windows computer? Is the one you are using 32-bit or 64-bit windows?

@simon-tarr
Copy link

Hi @ViralBShah. I believe @ranjanan has been a little busy yes. To answer your question I have tried it on two 64-Bit Windows machines, both with the same result. I do have access to a Linux machine so I think my next port of call will be to run the tests on there and see if I get the same result.

@ranjanan
Copy link
Member

I've no idea on how to debug this! I've asked for help here: https://discourse.julialang.org/t/mmap-error-on-windows/24594

@mattwilliamson13
Copy link

I'm having this issue on a Windows 10 Machine (64 bit), but not on MacOS so thinking it's Windows issue.

@ranjanan
Copy link
Member

@mattwilliamson13 it is a windows specific issue.

@mattwilliamson13
Copy link

Did the update to Omniscape also resolve this issue? Or is it still not possible to pass tests on a Windows machine?

@ranjanan
Copy link
Member

No it didn't. The way to resolve this is to get rid of the SharedArray dependency, but we are planning to do this as we move Circuitscape to Julia's new multi-threading infrastructure (#197, https://julialang.org/blog/2019/07/multithreading), which we will prioritize from now on.

@ViralBShah
Copy link
Member

@Chulkey Do you still get the failure on Julia 1.2? Can you say more about your machine? Which exact version of windows? Is it 32-bit windows or 64-bit? Is Julia 32-bit or 64-bit. In Julia, please paste the output of versioninfo().

@VLucet
Copy link
Contributor

VLucet commented Sep 23, 2019

I am having the same problem on Windows 10

Test Summary:          | Pass  Error  Total
Double Precision Tests |  576      1    577
  Network Pairwise     |   93            93
  Network Advanced     |   12            12
  Raster Pairwise      |  320      1    321
  Raster Advanced      |    5             5
  Raster One to All    |  134           134
  Raster All to One    |   12            12
ERROR: LoadError: Some tests did not pass: 576 passed, 0 failed, 1 errored, 0 broken.
in expression starting at C:\Users\McGill\.julia\packages\Circuitscape\mKAhh\test\runtests.jl:11
ERROR: Package Circuitscape errored during testing
Stacktrace:
[1] pkgerror(::String, ::Vararg{String,N} where N) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Types.jl:112
[2] #test#119(::Bool, ::Nothing, ::typeof(Pkg.Operations.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:1288
[3] #test at .\none:0 [inlined]
[4] #test#62(::Bool, ::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:245
[5] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:233 [inlined]
[6] #test#61 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:230 [inlined]
[7] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:230 [inlined]
[8] #test#60 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:229 [inlined]
[9] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:229 [inlined]
[10] #test#59(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:228
[11] test(::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:228
[12] top-level scope at REPL[8]:1

@ViralBShah
Copy link
Member

#223 should close this issue. Please file new issues if problem perisists on the latest master.

@ViralBShah
Copy link
Member

Actually more likely a dup of #188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants