jump-dev / ECOS.jl

A Julia interface to the ECOS conic optimization solver
https://github.com/embotech/ecos
Other
41 stars 17 forks source link

[PkgEval] ECOS may have a testing issue on Julia 0.4 (2014-10-28) #11

Closed IainNZ closed 9 years ago

IainNZ commented 9 years ago

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.4

Tests pass. means that PackageEvaluator found the tests for your package, executed them, and they all passed.

Tests fail, but package loads. means that PackageEvaluator found the tests for your package, executed them, and they didn't pass. However, trying to load your package with using worked.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("ECOS")' log

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/BinDeps/src/BinDeps.jl:103.
Use "[]" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/BinDeps/src/BinDeps.jl:104.
Use "[]" instead.

WARNING: deprecated syntax "(String=>String)[]" at /home/idunning/pkgtest/.julia/v0.4/BinDeps/src/BinDeps.jl:146.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "(String=>String)[]" at /home/idunning/pkgtest/.julia/v0.4/BinDeps/src/BinDeps.jl:147.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "(String=>String)[]" at /home/idunning/pkgtest/.julia/v0.4/BinDeps/src/BinDeps.jl:148.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "(String=>String)[]" at /home/idunning/pkgtest/.julia/v0.4/BinDeps/src/BinDeps.jl:149.
Use "Dict{String,String}()" instead.

WARNING: deprecated syntax "{}" at /home/idunning/pkgtest/.julia/v0.4/BinDeps/src/dependencies.jl:87.
... truncated ...
ar -x external/amd/libamd.a
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -c src/ecos.c -o ecos.o
src/ecos.c: In function aECOS_solvea:
src/ecos.c:764:22: warning: variable aKKT_FACTOR_RETURN_CODEa set but not used [-Wunused-but-set-variable]
  idxint i, initcode, KKT_FACTOR_RETURN_CODE;
                      ^
src/ecos.c:822:60: warning: apres_preva may be used uninitialized in this function [-Wmaybe-uninitialized]
         if( w->info->iter > 0 && (w->info->pres > SAFEGUARD*pres_prev || w->info->gap < 0) ){
                                                            ^
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -c src/kkt.c -o kkt.o
src/kkt.c: In function akkt_solvea:
src/kkt.c:109:12: warning: variable aneya set but not used [-Wunused-but-set-variable]
     pfloat ney = 0;
            ^
src/kkt.c:192:24: warning: anerr_preva may be used uninitialized in this function [-Wmaybe-uninitialized]
         if( kItRef > 0 && nerr > nerr_prev ){
                        ^
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -c src/cone.c -o cone.o
src/cone.c: In function aupdateScalingsa:
src/cone.c:108:15: warning: variable aba set but not used [-Wunused-but-set-variable]
     pfloat a, b, c, d, w, temp, divisor;
               ^
src/cone.c:104:21: warning: variable apm1a set but not used [-Wunused-but-set-variable]
  idxint i, l, k, p, pm1;
                     ^
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -c src/spla.c -o spla.o
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -c src/timer.c -o timer.o
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -c src/preproc.c -o preproc.o
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -c src/splamm.c -o splamm.o
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -c src/equil.c -o equil.o
ar rcs libecos.a *.o
ranlib libecos.a
cc -O2 -Wall -DLDL_LONG -DDLONG -Wextra -fPIC  -Iinclude -Iexternal/ldl/include -Iexternal/amd/include -Iexternal/SuiteSparse_config -shared -o libecos.so ecos.o kkt.o cone.o preproc.o spla.o splamm.o timer.o equil.o -lldl -lamd -Lexternal/amd/ -Lexternal/ldl/ -lm -lrt
INFO: Installing BinDeps v0.3.6
INFO: Installing ECOS v0.2.1
INFO: Installing MathProgBase v0.3.2
INFO: Installing SHA v0.0.3
INFO: Installing URIParser v0.0.3
INFO: Building ECOS
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.4/ECOS/deps/downloads
INFO: Downloading file https://github.com/ifa-ethz/ecos/archive/e05a605588c38ad72e843f36af17f8f84e4e2ccb.tar.gz
INFO: Done downloading file https://github.com/ifa-ethz/ecos/archive/e05a605588c38ad72e843f36af17f8f84e4e2ccb.tar.gz
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.4/ECOS/deps/src
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.4/ECOS/deps
INFO: Directory /home/idunning/pkgtest/.julia/v0.4/ECOS/deps already created
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.4/ECOS/deps/src/ecos-e05a605588c38ad72e843f36af17f8f84e4e2ccb
INFO: Attempting to Create directory /home/idunning/pkgtest/.julia/v0.4/ECOS/deps/usr/lib
INFO: Changing Directory to /home/idunning/pkgtest/.julia/v0.4/ECOS/deps/src/ecos-e05a605588c38ad72e843f36af17f8f84e4e2ccb
INFO: Changing Directory to /home/idunning/pkgtest/.julia/v0.4/ECOS/deps/src/ecos-e05a605588c38ad72e843f36af17f8f84e4e2ccb
INFO: Package database updated

>>> 'using ECOS' log
Julia Version 0.4.0-dev+1330
Commit 7fdc860 (2014-10-28 03:56 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

>>> test log
Running tests:
 Test: direct.jl
1.0.5

 Test: mpb_linear.jl

ERROR: `linprog` has no method matching linprog(::Array{Int64,1}, ::Array{Int64,2}, ::Char, ::Float64, ::Int64, ::Float64, ::ECOSSolver)
 in linprog at /home/idunning/pkgtest/.julia/v0.4/MathProgBase/src/HighLevelInterface/linprog.jl:89
 in include at ./boot.jl:242
 in include_from_node1 at ./loading.jl:128
 in anonymous at no file:17
 in include at ./boot.jl:242
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:293
 in _start at ./client.jl:362
 in _start_3B_3769 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/ECOS/test/mpb_linear.jl, in expression starting on line 26
while loading /home/idunning/pkgtest/.julia/v0.4/ECOS/test/runtests.jl, in expression starting on line 15

ECOS 1.0.5 - (c) A. Domahidi, ETH Zurich & embotech 2012-14. Support: ecos@embotech.com

It     pcost         dcost      gap     pres    dres     k/t     mu      step     IR
 0   +5.230e-01   +5.230e-01   +4e+02   2e+01   2e+00   1e+00   2e+00    N/A     2 2 -
 1   +1.527e+00   +2.220e+00   +1e+02   3e+00   3e-01   9e-01   6e-01   0.8028   2 2 2
 2   +5.637e-01   +8.452e-01   +6e+01   2e+00   1e-01   4e-01   3e-01   0.7541   3 3 3
 3   +5.296e-01   +7.411e-01   +5e+01   1e+00   1e-01   3e-01   2e-01   0.3012   3 3 3
 4   +1.551e-01   +1.644e-01   +4e+00   1e-01   9e-03   2e-02   2e-02   0.9490   3 3 3
 5   +1.458e-01   +1.490e-01   +2e+00   6e-02   5e-03   6e-03   1e-02   0.6057   3 3 3
 6   +1.707e-01   +1.714e-01   +8e-01   2e-02   1e-03   2e-03   4e-03   0.7514   3 3 3
 7   +1.894e-01   +1.894e-01   +2e-01   4e-03   3e-04   3e-04   9e-04   0.9859   3 3 3
 8   +1.926e-01   +1.926e-01   +4e-03   8e-05   6e-06   5e-06   2e-05   0.9827   3 3 3
 9   +1.927e-01   +1.927e-01   +6e-05   1e-06   1e-07   8e-08   3e-07   0.9835   5 3 3
10   +1.927e-01   +1.927e-01   +4e-06   8e-08   6e-09   5e-09   2e-08   0.9392   2 2 3
11   +1.927e-01   +1.927e-01   +6e-08   1e-09   1e-10   7e-11   3e-10   0.9899   2 3 2

OPTIMAL (within feastol=1.3e-09, reltol=3.0e-07, abstol=5.8e-08).
Runtime: 0.003090 seconds.

INFO: Testing ECOS
================================[ ERROR: ECOS ]=================================

failed process: Process(`/home/idunning/julia04/usr/bin/julia /home/idunning/pkgtest/.julia/v0.4/ECOS/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: ECOS had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:719
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:68
 in process_options at ./client.jl:221
 in _start at ./client.jl:362
 in _start_3B_3769 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so

>>> end of log
mlubin commented 9 years ago

Fixed in MathProgBase