HTTPClient.jl
HTTPClient.jl copied to clipboard
Test failed; 'Please call curl_multi_perform() soon'
I am getting a weird error on my linux environment. I don't have any problems on Travis CI so it must be some system specific problem, only the error message seems to be related to usage of libcurl? rather than a failed build of some kind... so I thought it might be worth opening an issue in case this is related to something more general?
julia> Pkg.test("HTTPClient")
INFO: Computing test dependencies for HTTPClient...
INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git
INFO: Installing JSON v0.7.0
INFO: Testing HTTPClient
ERROR: LoadError: curl_multi_perform() failed: Please call curl_multi_perform() soon
in error at ./error.jl:21
in exec_as_multi at /home/blencowe/blencowe2/timsw/.julia/v0.4/HTTPClient/src/HTTPC.jl:689
in _put_post at /home/blencowe/blencowe2/timsw/.julia/v0.4/HTTPClient/src/HTTPC.jl:499
in put_post at /home/blencowe/blencowe2/timsw/.julia/v0.4/HTTPClient/src/HTTPC.jl:469
in post at /home/blencowe/blencowe2/timsw/.julia/v0.4/HTTPClient/src/HTTPC.jl:403
in post at /home/blencowe/blencowe2/timsw/.julia/v0.4/HTTPClient/src/HTTPC.jl:542
in include at ./boot.jl:261
in include_from_node1 at ./loading.jl:320
in process_options at ./client.jl:280
in _start at ./client.jl:378
while loading /home/blencowe/blencowe2/timsw/.julia/v0.4/HTTPClient/test/runtests.jl, in expression starting on line 9
=============================================================================[ ERROR: HTTPClient ]==============================================================================
failed process: Process(`/home/blencowe/blencowe2/timsw/bin/julia-2e358ce975/bin/julia --check-bounds=yes --code-coverage=none --color=yes /home/blencowe/blencowe2/timsw/.julia/v0.4/HTTPClient/test/runtests.jl`, ProcessExited(1)) [1]
================================================================================================================================================================================
INFO: Removing JSON v0.7.0
ERROR: HTTPClient had test errors
in error at ./error.jl:21
in test at pkg/entry.jl:803
in anonymous at pkg/dir.jl:31
in cd at file.jl:22
in cd at pkg/dir.jl:31
in test at pkg.jl:71
$ julia -e 'versioninfo()'
Julia Version 0.4.6
Commit 2e358ce (2016-06-19 17:16 UTC)
Platform Info:
System: Linux (x86_64-unknown-linux-gnu)
CPU: Dual-Core AMD Opteron(tm) Processor 8218
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Opteron)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.3
Any ideas as to what is going on?