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

Add Counters to QuasiNewtonNLPModels #122

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Update test/nlp/quasi-newton.jl

4e140fb
Select commit
Loading
Failed to load commit list.
Open

Add Counters to QuasiNewtonNLPModels #122

Update test/nlp/quasi-newton.jl
4e140fb
Select commit
Loading
Failed to load commit list.
Cirrus CI / Linux ARMv8 failed Oct 31, 2024 in 6m 56s

Task Summary

Instruction test failed in 06:01

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
✅ 00:33 install
✅ 00:18 build
❌ 06:01 test

   Evaluated: 3 == 0

Stacktrace:
 [1] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m~/julia/share/julia/stdlib/v1.11/Test/src/�[39m�[90m�[4mTest.jl:679�[24m�[39m�[90m [inlined]�[39m
 [2] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m/tmp/cirrus-ci-build/test/nlp/�[39m�[90m�[4mquasi-newton.jl:132�[24m�[39m�[90m [inlined]�[39m
 [3] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m~/julia/share/julia/stdlib/v1.11/Test/src/�[39m�[90m�[4mTest.jl:1700�[24m�[39m�[90m [inlined]�[39m
 [4] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m/tmp/cirrus-ci-build/test/nlp/�[39m�[90m�[4mquasi-newton.jl:3�[24m�[39m�[90m [inlined]�[39m
 [5] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m~/julia/share/julia/stdlib/v1.11/Test/src/�[39m�[90m�[4mTest.jl:1700�[24m�[39m�[90m [inlined]�[39m
 [6] top-level scope
�[90m   @�[39m �[90m/tmp/cirrus-ci-build/test/nlp/�[39m�[90m�[4mquasi-newton.jl:2�[24m�[39m
API: �[91m�[1mTest Failed�[22m�[39m at �[39m�[1m/tmp/cirrus-ci-build/test/nlp/quasi-newton.jl:132�[22m
  Expression: neval_hprod(nlp) == neval_hprod(nlp.model)
   Evaluated: 3 == 0

Stacktrace:
 [1] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m~/julia/share/julia/stdlib/v1.11/Test/src/�[39m�[90m�[4mTest.jl:679�[24m�[39m�[90m [inlined]�[39m
 [2] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m/tmp/cirrus-ci-build/test/nlp/�[39m�[90m�[4mquasi-newton.jl:132�[24m�[39m�[90m [inlined]�[39m
 [3] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m~/julia/share/julia/stdlib/v1.11/Test/src/�[39m�[90m�[4mTest.jl:1700�[24m�[39m�[90m [inlined]�[39m
 [4] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m/tmp/cirrus-ci-build/test/nlp/�[39m�[90m�[4mquasi-newton.jl:3�[24m�[39m�[90m [inlined]�[39m
 [5] �[0m�[1mmacro expansion�[22m
�[90m   @�[39m �[90m~/julia/share/julia/stdlib/v1.11/Test/src/�[39m�[90m�[4mTest.jl:1700�[24m�[39m�[90m [inlined]�[39m
 [6] top-level scope
�[90m   @�[39m �[90m/tmp/cirrus-ci-build/test/nlp/�[39m�[90m�[4mquasi-newton.jl:2�[24m�[39m
�[0m�[1mTest Summary:              | �[22m�[32m�[1mPass  �[22m�[39m�[91m�[1mFail  �[22m�[39m�[36m�[1mTotal  �[22m�[39m�[0m�[1m   Time�[22m
QuasiNewtonModel NLP tests | �[32m1005  �[39m�[91m  20  �[39m�[36m 1025  �[39m�[0m1m50.2s
  API                      | �[32m1000  �[39m�[91m  20  �[39m�[36m 1020  �[39m�[0m1m47.2s
  Show                     | �[32m   5  �[39m�[91m      �[39m�[36m    5  �[39m�[0m   3.0s
�[91m�[1mERROR: �[22m�[39mLoadError: �[91mSome tests did not pass: 1005 passed, 20 failed, 0 errored, 0 broken.�[39m
in expression starting at /tmp/cirrus-ci-build/test/nlp/quasi-newton.jl:1
in expression starting at /tmp/cirrus-ci-build/test/runtests.jl:5
�[91m�[1mERROR: �[22m�[39mPackage NLPModelsModifiers errored during testing
Stacktrace:
 [1] �[0m�[1mpkgerror�[22m�[0m�[1m(�[22m�[90mmsg�[39m::�[0mString�[0m�[1m)�[22m
�[90m   @�[39m �[35mPkg.Types�[39m �[90m~/julia/share/julia/stdlib/v1.11/Pkg/src/�[39m�[90m�[4mTypes.jl:68�[24m�[39m
 [2] �[0m�[1mtest�[22m�[0m�[1m(�[22m�[90mctx�[39m::�[0mPkg.Types.Context, �[90mpkgs�[39m::�[0mVector�[90m{Pkg.Types.PackageSpec}�[39m; �[90mcoverage�[39m::�[0mBool, �[90mjulia_args�[39m::�[0mCmd, �[90mtest_args�[39m::�[0mCmd, �[90mtest_fn�[39m::�[0mNothing, �[90mforce_latest_compatible_version�[39m::�[0mBool, �[90mallow_earlier_backwards_compatible_versions�[39m::�[0mBool, �[90mallow_reresolve�[39m::�[0mBool�[0m�[1m)�[22m
�[90m   @�[39m �[35mPkg.Operations�[39m �[90m~/julia/share/julia/stdlib/v1.11/Pkg/src/�[39m�[90m�[4mOperations.jl:2104�[24m�[39m
 [3] �[0m�[1mtest�[22m
�[90m   @�[39m �[90m~/julia/share/julia/stdlib/v1.11/Pkg/src/�[39m�[90m�[4mOperations.jl:1989�[24m�[39m�[90m [inlined]�[39m
 [4] �[0m�[1mtest�[22m�[0m�[1m(�[22m�[90mctx�[39m::�[0mPkg.Types.Context, �[90mpkgs�[39m::�[0mVector�[90m{Pkg.Types.PackageSpec}�[39m; �[90mcoverage�[39m::�[0mBool, �[90mtest_fn�[39m::�[0mNothing, �[90mjulia_args�[39m::�[0mCmd, �[90mtest_args�[39m::�[0mCmd, �[90mforce_latest_compatible_version�[39m::�[0mBool, �[90mallow_earlier_backwards_compatible_versions�[39m::�[0mBool, �[90mallow_reresolve�[39m::�[0mBool, �[90mkwargs�[39m::�[0m@Kwargs�[90m{io::IOContext{IO}}�[39m�[0m�[1m)�[22m
�[90m   @�[39m �[35mPkg.API�[39m �[90m~/julia/share/julia/stdlib/v1.11/Pkg/src/�[39m�[90m�[4mAPI.jl:475�[24m�[39m
 [5] �[0m�[1mtest�[22m�[0m�[1m(�[22m�[90mpkgs�[39m::�[0mVector�[90m{Pkg.Types.PackageSpec}�[39m; �[90mio�[39m::�[0mIOContext�[90m{IO}�[39m, �[90mkwargs�[39m::�[0m@Kwargs�[90m{coverage::Bool}�[39m�[0m�[1m)�[22m
�[90m   @�[39m �[35mPkg.API�[39m �[90m~/julia/share/julia/stdlib/v1.11/Pkg/src/�[39m�[90m�[4mAPI.jl:159�[24m�[39m
 [6] �[0m�[1mtest�[22m�[0m�[1m(�[22m; �[90mname�[39m::�[0mNothing, �[90muuid�[39m::�[0mNothing, �[90mversion�[39m::�[0mNothing, �[90murl�[39m::�[0mNothing, �[90mrev�[39m::�[0mNothing, �[90mpath�[39m::�[0mNothing, �[90mmode�[39m::�[0mPkg.Types.PackageMode, �[90msubdir�[39m::�[0mNothing, �[90mkwargs�[39m::�[0m@Kwargs�[90m{coverage::Bool}�[39m�[0m�[1m)�[22m
�[90m   @�[39m �[35mPkg.API�[39m �[90m~/julia/share/julia/stdlib/v1.11/Pkg/src/�[39m�[90m�[4mAPI.jl:174�[24m�[39m
 [7] top-level scope
�[90m   @�[39m �[90m�[4mnone:3�[24m�[39m
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������