JuliaNLSolvers / Optim.jl

Optimization functions for Julia
Other
1.12k stars 221 forks source link

[PkgEval] Optim may have a testing issue on Julia 0.4 (2014-10-05) #86

Closed IainNZ closed 9 years ago

IainNZ commented 10 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("Optim")' log
INFO: Installing Calculus v0.1.5
INFO: Installing DualNumbers v0.1.0
INFO: Installing Optim v0.4.0
INFO: Package database updated

>>> 'using Optim' log
Julia Version 0.4.0-dev+949
Commit 7dd704b (2014-10-05 02:28 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
ERROR: assertion failed: dphia < 0
 in secant2! at /home/idunning/pkgtest/.julia/v0.4/Optim/src/linesearch/hz_linesearch.jl:423
 in hz_linesearch! at /home/idunning/pkgtest/.julia/v0.4/Optim/src/linesearch/hz_linesearch.jl:333
 in hz_linesearch! at /home/idunning/pkgtest/.julia/v0.4/Optim/src/linesearch/hz_linesearch.jl:188
 in l_bfgs at /home/idunning/pkgtest/.julia/v0.4/Optim/src/l_bfgs.jl:165
 in optimize at /home/idunning/pkgtest/.julia/v0.4/Optim/src/optimize.jl:113
 in anonymous at no file:42
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in anonymous at no file:31
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:293
 in _start at ./client.jl:362
 in _start_3B_3761 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so
while loading /home/idunning/pkgtest/.julia/v0.4/Optim/test/type_stability.jl, in expression starting on line 36
while loading /home/idunning/pkgtest/.julia/v0.4/Optim/test/runtests.jl, in expression starting on line 29
Running tests:
 * bfgs.jl
 * gradient_descent.jl
 * momentum_gradient_descent.jl
 * grid_search.jl
 * l_bfgs.jl
 * levenberg_marquardt.jl
 * newton.jl
 * cg.jl
 * nelder_mead.jl
 * optimize.jl
 * simulated_annealing.jl
 * interpolating_line_search.jl
 * api.jl
 * golden_section.jl
 * brent.jl
 * type_stability.jl

INFO: Testing Optim
================================[ ERROR: Optim ]================================

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

================================================================================
INFO: No packages to install, update or remove
ERROR: Optim 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_3761 at /home/idunning/julia04/usr/bin/../lib/julia/sys.so

>>> end of log
IainNZ commented 10 years ago

Dupe of #83, not gonna file these anymore

pkofod commented 9 years ago

I think this issue can be closed. Works fine on v0.4 final.