Skip to content

Tests are failing on the latest Julia master #167

@DilumAluthge

Description

@DilumAluthge

ProgressMeter.jl tests are failing on the latest Julia master. In contrast, the tests pass on Julia 1.5.0.

To reproduce, run this script:

import Pkg
Pkg.add(Pkg.PackageSpec(name = "ProgressMeter", rev = "master"))
Pkg.test("ProgressMeter")
Pkg.status(; mode = Pkg.PKGMODE_PROJECT)
Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
import InteractiveUtils
InteractiveUtils.versioninfo(; verbose = true)

Here is the output on Julia master:

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.0-DEV.857 (2020-09-08)
 _/ |\__'_|_|_|\__'_|  |  Commit a36c8252d3 (0 days old master)
|__/                   |

julia> import Pkg

julia> Pkg.add(Pkg.PackageSpec(name = "ProgressMeter", rev = "master"))
 Installing known registries into `~/.julia`
    Cloning registry from "https://github.com/JuliaRegistries/General.git"
      Added registry `General` to `~/.julia/registries/General`
    Cloning git-repo `https://github.com/timholy/ProgressMeter.jl.git`
   Updating git-repo `https://github.com/timholy/ProgressMeter.jl.git`
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
Updating `~/.julia/environments/v1.6/Project.toml`
  [92933f4c] + ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
Updating `~/.julia/environments/v1.6/Manifest.toml`
  [92933f4c] + ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
  [8ba89e20] + Distributed
  [de0858da] + Printf
  [9a3f8284] + Random
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [4ec0a83e] + Unicode

julia> Pkg.test("ProgressMeter")
    Testing ProgressMeter
Status `/private/var/folders/jy/7hh5zyw95cg2lh66lfpthqq80000gn/T/jl_IdaOyc/Project.toml`
  [92933f4c] ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
  [8ba89e20] Distributed
  [de0858da] Printf
  [9a3f8284] Random
  [8dfed614] Test
Status `/private/var/folders/jy/7hh5zyw95cg2lh66lfpthqq80000gn/T/jl_IdaOyc/Manifest.toml`
  [92933f4c] ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
  [2a0f44e3] Base64
  [8ba89e20] Distributed
  [b77e0a4c] InteractiveUtils
  [56ddb016] Logging
  [d6f4376e] Markdown
  [de0858da] Printf
  [9a3f8284] Random
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [8dfed614] Test
  [4ec0a83e] Unicode
    Testing Running tests...
Testing original interface...
ERROR: LoadError: LoadError: ArgumentError: mismatch between # of format specifiers and provided args: 3 != 4
Stacktrace:
  [1] argmismatch(a::Int64, b::Int64)
    @ Printf ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Printf/src/Printf.jl:705
  [2] format(::Printf.Format{Base.CodeUnits{UInt8, String}, Tuple{Printf.Spec{Val{'s'}}, Printf.Spec{Val{'u'}}, Printf.Spec{Val{'s'}}}}, ::String, ::Int64, ::String, ::Vararg{String, N} where N)
    @ Printf ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Printf/src/Printf.jl:727
  [3] updateProgress!(p::ProgressMeter.Progress; showvalues::Tuple{}, valuecolor::Symbol, offset::Int64, keep::Bool, desc::String)
    @ ProgressMeter ~/.julia/packages/ProgressMeter/OUQkp/src/ProgressMeter.jl:236
  [4] updateProgress!(p::ProgressMeter.Progress)
    @ ProgressMeter ~/.julia/packages/ProgressMeter/OUQkp/src/ProgressMeter.jl:201
  [5] #13
    @ ~/.julia/packages/ProgressMeter/OUQkp/src/ProgressMeter.jl:336 [inlined]
  [6] lock(f::ProgressMeter.var"#13#14"{Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, ProgressMeter.Progress}, l::ReentrantLock)
    @ Base ./lock.jl:168
  [7] #next!#12
    @ ~/.julia/packages/ProgressMeter/OUQkp/src/ProgressMeter.jl:334 [inlined]
  [8] next!
    @ ~/.julia/packages/ProgressMeter/OUQkp/src/ProgressMeter.jl:334 [inlined]
  [9] testfunc(n::Int64, dt::Float64, tsleep::Float64)
    @ Main ~/.julia/packages/ProgressMeter/OUQkp/test/test.jl:9
 [10] top-level scope
    @ ~/.julia/packages/ProgressMeter/OUQkp/test/test.jl:13
 [11] include(fname::String)
    @ Base.MainInclude ./client.jl:444
 [12] top-level scope
    @ ~/.julia/packages/ProgressMeter/OUQkp/test/runtests.jl:5
 [13] include(fname::String)
    @ Base.MainInclude ./client.jl:444
 [14] top-level scope
    @ none:6
in expression starting at /Users/dilum/.julia/packages/ProgressMeter/OUQkp/test/test.jl:13
in expression starting at /Users/dilum/.julia/packages/ProgressMeter/OUQkp/test/runtests.jl:5
ERROR: Package ProgressMeter errored during testing
Stacktrace:
  [1] pkgerror(::String, ::Vararg{String, N} where N)
    @ Pkg.Types ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:52
  [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing)
    @ Pkg.Operations ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1580
  [3] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:328
  [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:315
  [5] #test#62
    @ ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:67 [inlined]
  [6] test
    @ ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:67 [inlined]
  [7] #test#61
    @ ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:66 [inlined]
  [8] test
    @ ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:66 [inlined]
  [9] test(pkg::String; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:65
 [10] test(pkg::String)
    @ Pkg.API ~/dev/repos/JuliaLang/julia/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:65
 [11] top-level scope
    @ REPL[3]:1

julia> Pkg.status(; mode = Pkg.PKGMODE_PROJECT)
Status `~/.julia/environments/v1.6/Project.toml`
  [92933f4c] ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`

julia> Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
Status `~/.julia/environments/v1.6/Manifest.toml`
  [92933f4c] ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
  [8ba89e20] Distributed
  [de0858da] Printf
  [9a3f8284] Random
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [4ec0a83e] Unicode

julia> import InteractiveUtils

julia> InteractiveUtils.versioninfo(; verbose = true)
Julia Version 1.6.0-DEV.857
Commit a36c8252d3 (2020-09-08 07:17 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  uname: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 i386
  CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz:
              speed         user         nice          sys         idle          irq
       #1  2600 MHz      22046 s          0 s      10407 s      54195 s          0 s
       #2  2600 MHz       8724 s          0 s       4607 s      73312 s          0 s
       #3  2600 MHz      22896 s          0 s       9643 s      54104 s          0 s
       #4  2600 MHz       8185 s          0 s       4245 s      74214 s          0 s

  Memory: 8.0 GB (397.54296875 MB free)
  Uptime: 8664.0 sec
  Load Avg:  1.9521484375  2.69873046875  2.5888671875
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)
Environment:
  JULIA_PKG_SERVER =
  TERM = xterm-256color
  PATH = /Users/dilum/bin:/Users/dilum/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
  XPC_FLAGS = 0x0
  HOME = /Users/dilum
  R_HOME = *

In contrast, the tests pass on Julia 1.5.0. Here is the output on Julia 1.5.0:

Click to expand:
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.0 (2020-08-01)
 _/ |\__'_|_|_|\__'_|  |
|__/                   |

julia> import Pkg

julia> Pkg.add(Pkg.PackageSpec(name = "ProgressMeter", rev = "master"))
 Installing known registries into `~/.julia`
    Cloning registry from "https://github.com/JuliaRegistries/General.git"
      Added registry `General` to `~/.julia/registries/General`
    Cloning git-repo `https://github.com/timholy/ProgressMeter.jl.git`
   Updating git-repo `https://github.com/timholy/ProgressMeter.jl.git`
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
Updating `~/.julia/environments/v1.5/Project.toml`
  [92933f4c] + ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
Updating `~/.julia/environments/v1.5/Manifest.toml`
  [92933f4c] + ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
  [8ba89e20] + Distributed
  [de0858da] + Printf
  [9a3f8284] + Random
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [4ec0a83e] + Unicode

julia> Pkg.test("ProgressMeter")
    Testing ProgressMeter
Status `/private/var/folders/jy/7hh5zyw95cg2lh66lfpthqq80000gn/T/jl_MWcJRs/Project.toml`
  [92933f4c] ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
  [8ba89e20] Distributed
  [de0858da] Printf
  [9a3f8284] Random
  [8dfed614] Test
Status `/private/var/folders/jy/7hh5zyw95cg2lh66lfpthqq80000gn/T/jl_MWcJRs/Manifest.toml`
  [92933f4c] ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
  [2a0f44e3] Base64
  [8ba89e20] Distributed
  [b77e0a4c] InteractiveUtils
  [56ddb016] Logging
  [d6f4376e] Markdown
  [de0858da] Printf
  [9a3f8284] Random
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [8dfed614] Test
  [4ec0a83e] Unicode
Testing original interface...
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:01
Testing desc and progress bar
Computing...100%|██████████████████████████████████████████████████| Time: 0:00:01
Testing no desc and no progress bar
100% Time: 0:00:01
Testing tty width...
Computing (use tty width)...100%|█████████████████████████████████| Time: 0:00:02
Testing no description...
100%|█████████████████████████████████████████████████████████████| Time: 0:00:02
Testing that not even 1% required...
Test...  0%|                                                      |  ETA: 2 days, 19:55:32
Testing changing the bar color
Computing...100%|██████████████████████████████████████████████████| Time: 0:00:01

Testing changing the description
Step 11...100%|█████████████████████████████████████████████████| Time: 0:00:06
Testing @showprogress macro on for loop
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:04
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:01
Testing @showprogress macro on comprehension
Calculating...100%|███████████████████████████████████████████████| Time: 0:00:02
Calculating...100%|███████████████████████████████████████████████| Time: 0:00:02
Testing @showprogress macro on a for loop with inner loops containing continue and break statements
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:09
Testing @showprogress macro on typed comprehension
Calculating...100%|███████████████████████████████████████████████| Time: 0:00:01
Calculating...100%|███████████████████████████████████████████████| Time: 0:00:01
Testing under-shooting progress with finish!...
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:01
Testing over-shooting progress with finish!...
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:01
Testing update! to 0...
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:03
Testing @showprogress macro on loop ending with return statement
Testing keyword arguments
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:03
100%|████████████████████████████████████████| Time: 0:00:01
Testing custom bar glyphs
Progress: 100%[===================================================] Time: 0:00:03
Progress: 100%[===================================================] Time: 0:00:03
100%[========================================] Time: 0:00:03
Testing threshold-based progress
Minimizing: Time: 0:00:02 (18 iterations)
Testing threshold-based progress
Minimizing: Time: 0:00:01 (0 iterations)
Minimizing: Time: 0:00:01 (0 iterations)
Testing progress unknown
Reading entry: 10 	 Time: 0:00:01
Reading entry: 19 	 Time: 0:00:01
Testing fractional bars
Progress: 100%|██████████| Time: 0:00:02
Progress: 100%|██████████| Time: 0:00:02
Progress: 100%|██████████| Time: 0:00:02
Testing @showprogress macro on distributed for loop with reducer
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:08
Testing @showprogress macro on distributed for loop without reducer
Description: 100%|████████████████████████████████████████████████| Time: 0:00:08
Testing start offset
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:01
┌ Warning: Assignment to `prog` in soft scope is ambiguous because a global variable by the same name exists: `prog` will be treated as a new local. Disambiguate by using `local prog` to suppress this warning or `global prog` to assign to the existing global variable.
└ @ ~/.julia/packages/ProgressMeter/OUQkp/test/test_showvalues.jl:59
Testing showvalues with a Dict (2 values)
progress    4%|██▊                                                                   |  ETprogress   14%|█████████▊                                                            |  ETprogress   24%|████████████████▊                                                     |  ETprogress   34%|███████████████████████▊                                              |  ETprogress   44%|██████████████████████████████▊                                       |  ETprogress   54%|█████████████████████████████████████▊                                |  ETprogress   64%|████████████████████████████████████████████▊                         |  ETprogress   76%|█████████████████████████████████████████████████████▎                |  ETprogress   86%|████████████████████████████████████████████████████████████▎         |  ETprogress   96%|███████████████████████████████████████████████████████████████████▎  |  ETprogress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:10
  i:         50
  halfdone:  true
Testing showvalues with an Array of tuples (4 values)
progress  100%|████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         30
  constant:  foo
  isq:       900
  large:     1073741824
Testing showvalues when types of names differ (3 values)
progress   17%|███████████▋                                                          |  ETprogress   33%|███████████████████████▍                                              |  ETprogress   50%|███████████████████████████████████                                   |  ETprogress   67%|██████████████████████████████████████████████▋                       |  ETprogress   83%|██████████████████████████████████████████████████████████▍           |  ETprogress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         300
  constant:  foo
  foobar:    6.0
Testing progress with showing values when num values to print changes between iterations
opt steps   17%|███████████▋                                                          |  Eopt steps   33%|███████████████████████▍                                              |  Eopt steps   50%|███████████████████████████████████                                   |  Eopt steps   67%|██████████████████████████████████████████████▋                       |  Eopt steps   83%|██████████████████████████████████████████████████████████▍           |  Eopt steps  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         300
  constant:  foo
  foobar:    6.0
Testing showvalues with a different color (1 value)
progress  100%|████████████████████████████████████████| Time: 0:00:02
  large:  1024
Testing showvalues with threshold-based progress
Minimizing: Time: 0:00:02 (18 iterations)
  margin:  3.048072038224395e-6
Testing showvalues with online progress
Entries read: 5 	 Time: 0:00:02
Testing showvalues with early cancel
progress:   9%|██████▎                                                               |  ETprogress:  19%|█████████████▎                                                        |  ETprogress:  29%|████████████████████▎                                                 |  ETprogress:  39%|███████████████████████████▎                                          |  ETprogress:  49%|██████████████████████████████████▎                                   |  ETAborted before all tasks were completed
Testing showvalues with a Dict (2 values)
progress   10%|███████                                                               |  ETprogress   20%|██████████████                                                        |  ETprogress   30%|█████████████████████                                                 |  ETprogress   40%|████████████████████████████                                          |  ETprogress   50%|███████████████████████████████████                                   |  ETprogress   60%|██████████████████████████████████████████                            |  ETprogress   70%|█████████████████████████████████████████████████                     |  ETprogress   80%|████████████████████████████████████████████████████████              |  ETprogress   90%|███████████████████████████████████████████████████████████████       |  ETprogress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:10
  i:         50
  halfdone:  true
Testing showvalues with an Array of tuples (4 values)
progress  100%|████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         30
  constant:  foo
  isq:       900
  large:     1073741824
Testing showvalues when types of names differ (3 values)
progress   17%|███████████▋                                                          |  ETprogress   33%|███████████████████████▍                                              |  ETprogress   50%|███████████████████████████████████                                   |  ETprogress   67%|██████████████████████████████████████████████▋                       |  ETprogress   83%|██████████████████████████████████████████████████████████▍           |  ETprogress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         300
  constant:  foo
  foobar:    6.0
Testing progress with showing values when num values to print changes between iterations
opt steps   17%|███████████▋                                                          |  Eopt steps   33%|███████████████████████▍                                              |  Eopt steps   50%|███████████████████████████████████                                   |  Eopt steps   67%|██████████████████████████████████████████████▋                       |  Eopt steps   83%|██████████████████████████████████████████████████████████▍           |  Eopt steps  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         300
  constant:  foo
Testing showvalues with a different color (1 value)
progress  100%|████████████████████████████████████████| Time: 0:00:02
  large:  1024
Testing showvalues with threshold-based progress
Minimizing: Time: 0:00:01 (18 iterations)
  margin:  3.048072038224395e-6
Testing showvalues with online progress
Entries read: 5 	 Time: 0:00:02
Testing showvalues with early cancel
progress:  11%|███████▊                                                              |  ETprogress:  21%|██████████████▊                                                       |  ETprogress:  31%|█████████████████████▊                                                |  ETprogress:  41%|████████████████████████████▊                                         |  ETAborted before all tasks were completed
Testing showvalues with a Dict (2 values)
progress   10%|███████                                                               |  ETprogress   20%|██████████████                                                        |  ETprogress   30%|█████████████████████                                                 |  ETprogress   40%|████████████████████████████                                          |  ETprogress   50%|███████████████████████████████████                                   |  ETprogress   60%|██████████████████████████████████████████                            |  ETprogress   70%|█████████████████████████████████████████████████                     |  ETprogress   80%|████████████████████████████████████████████████████████              |  ETprogress   90%|███████████████████████████████████████████████████████████████       |  ETprogress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:10
  i:         50
  halfdone:  true
Testing showvalues with an Array of tuples (4 values)
progress  100%|████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         30
  constant:  foo
  isq:       900
  large:     1073741824
Testing showvalues when types of names differ (3 values)
progress   17%|███████████▋                                                          |  ETprogress   33%|███████████████████████▍                                              |  ETprogress   50%|███████████████████████████████████                                   |  ETprogress   67%|██████████████████████████████████████████████▋                       |  ETprogress   83%|██████████████████████████████████████████████████████████▍           |  ETprogress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         300
  constant:  foo
  foobar:    6.0
Testing progress with showing values when num values to print changes between iterations
opt steps   17%|███████████▋                                                          |  Eopt steps   33%|███████████████████████▍                                              |  Eopt steps   50%|███████████████████████████████████                                   |  Eopt steps   67%|██████████████████████████████████████████████▋                       |  Eopt steps   83%|██████████████████████████████████████████████████████████▍           |  Eopt steps  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:06
  i:         300
  constant:  foo
  foobar:    6.0
Testing showvalues with a different color (1 value)
progress  100%|████████████████████████████████████████| Time: 0:00:02
  large:  1024
Testing showvalues with threshold-based progress
Minimizing: Time: 0:00:01 (18 iterations)
  margin:  3.048072038224395e-6
Testing showvalues with online progress
Entries read: 5 	 Time: 0:00:02
Testing showvalues with early cancel
progress:  11%|███████▊                                                              |  ETprogress:  21%|██████████████▊                                                       |  ETprogress:  31%|█████████████████████▊                                                |  ETprogress:  41%|████████████████████████████▊                                         |  ETAborted before all tasks were completed
Testing map functions
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:01
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:02
Progress:  90%|█████████████████████████████████████████████▉     |  ETA: 0:00:00
Progress:  10%|█████▏                                             |  ETA: 0:00:01

Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Verify that intermediate progress is displayed:
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:05
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:00
Test Summary: | Pass  Total
map tests     |   20     20
Testing floating normal progress bar (offset 4)




progress    2%|█▍                                                                    |  ETprogress    4%|██▊                                                                   |  ETprogress    6%|████▎                                                                 |  ETprogress    8%|█████▋                                                                |  ETprogress   10%|███████                                                               |  ETprogress   12%|████████▍                                                             |  ETprogress   14%|█████████▊                                                            |  ETprogress   16%|███████████▎                                                          |  ETprogress   18%|████████████▋                                                         |  ETprogress   20%|██████████████                                                        |  ETprogress   22%|███████████████▍                                                      |  ETprogress   24%|████████████████▊                                                     |  ETprogress   26%|██████████████████▎                                                   |  ETprogress   28%|███████████████████▋                                                  |  ETprogress   30%|█████████████████████                                                 |  ETprogress   32%|██████████████████████▍                                               |  ETprogress   34%|███████████████████████▊                                              |  ETprogress   36%|█████████████████████████▎                                            |  ETprogress   38%|██████████████████████████▋                                           |  ETprogress   40%|████████████████████████████                                          |  ETprogress   42%|█████████████████████████████▍                                        |  ETprogress   44%|██████████████████████████████▊                                       |  ETprogress   46%|████████████████████████████████▎                                     |  ETprogress   48%|█████████████████████████████████▋                                    |  ETprogress   50%|███████████████████████████████████                                   |  ETprogress   52%|████████████████████████████████████▍                                 |  ETprogress   56%|███████████████████████████████████████▎                              |  ETprogress   58%|████████████████████████████████████████▋                             |  ETprogress   60%|██████████████████████████████████████████                            |  ETprogress   62%|███████████████████████████████████████████▍                          |  ETprogress   64%|████████████████████████████████████████████▊                         |  ETprogress   66%|██████████████████████████████████████████████▎                       |  ETprogress   68%|███████████████████████████████████████████████▋                      |  ETprogress   70%|█████████████████████████████████████████████████                     |  ETprogress   72%|██████████████████████████████████████████████████▍                   |  ETprogress   74%|███████████████████████████████████████████████████▊                  |  ETprogress   76%|█████████████████████████████████████████████████████▎                |  ETprogress   78%|██████████████████████████████████████████████████████▋               |  ETprogress   80%|████████████████████████████████████████████████████████              |  ETprogress   82%|█████████████████████████████████████████████████████████▍            |  ETprogress   84%|██████████████████████████████████████████████████████████▊           |  ETprogress   86%|████████████████████████████████████████████████████████████▎         |  ETprogress   88%|█████████████████████████████████████████████████████████████▋        |  ETprogress   90%|███████████████████████████████████████████████████████████████       |  ETprogress   92%|████████████████████████████████████████████████████████████████▍     |  ETprogress   94%|█████████████████████████████████████████████████████████████████▊    |  ETprogress   98%|████████████████████████████████████████████████████████████████████▋ |  ETprogress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:10
Testing floating normal progress bars with values and keep (2 levels)
progress    2%|█▍                                                                    |  ETA: 0:00:10
progress    4%|██▊                                                                   |  ETA: 0:00:10
progress    6%|████▎                                                                 |  ETA: 0:00:10
progress    8%|█████▋                                                                |  ETA: 0:00:09
progress   10%|███████                                                               |  ETA: 0:00:09
progress   12%|████████▍                                                             |  ETA: 0:00:09
progress   14%|█████████▊                                                            |  ETA: 0:00:09
progress   16%|███████████▎                                                          |  ETA: 0:00:09
progress   18%|████████████▋                                                         |  ETA: 0:00:08
progress   20%|██████████████                                                        |  ETA: 0:00:08
progress   22%|███████████████▍                                                      |  ETA: 0:00:08
progress   24%|████████████████▊                                                     |  ETA: 0:00:08
progress   26%|██████████████████▎                                                   |  ETA: 0:00:08
progress   28%|███████████████████▋                                                  |  ETA: 0:00:07
progress   30%|█████████████████████                                                 |  ETA: 0:00:07
progress   32%|██████████████████████▍                                               |  ETA: 0:00:07
progress   34%|███████████████████████▊                                              |  ETA: 0:00:07
progress   36%|█████████████████████████▎                                            |  ETA: 0:00:07
progress   38%|██████████████████████████▋                                           |  ETA: 0:00:06
progress   42%|█████████████████████████████▍                                        |  ETA: 0:00:06
progress   44%|██████████████████████████████▊                                       |  ETA: 0:00:06
  i:         22
progress   48%|█████████████████████████████████▋                                    |  ETA: 0:00:05
progress   50%|███████████████████████████████████                                   |  ETA: 0:00:05
progress   52%|████████████████████████████████████▍                                 |  ETA: 0:00:05
progress   54%|█████████████████████████████████████▊                                |  ETA: 0:00:05
progress   56%|███████████████████████████████████████▎                              |  ETA: 0:00:05
progress   58%|████████████████████████████████████████▋                             |  ETA: 0:00:04
progress   60%|██████████████████████████████████████████                            |  ETA: 0:00:04
progress   62%|███████████████████████████████████████████▍                          |  ETA: 0:00:04
progress   64%|████████████████████████████████████████████▊                         |  ETA: 0:00:04
progress   66%|██████████████████████████████████████████████▎                       |  ETA: 0:00:04
progress   68%|███████████████████████████████████████████████▋                      |  ETA: 0:00:03
progress   70%|█████████████████████████████████████████████████                     |  ETA: 0:00:03
progress   72%|██████████████████████████████████████████████████▍                   |  ETA: 0:00:03
progress   74%|███████████████████████████████████████████████████▊                  |  ETA: 0:00:03
progress   76%|█████████████████████████████████████████████████████▎                |  ETA: 0:00:02
progress   78%|██████████████████████████████████████████████████████▋               |  ETA: 0:00:02
progress   80%|████████████████████████████████████████████████████████              |  ETA: 0:00:02
progress   82%|█████████████████████████████████████████████████████████▍            |  ETA: 0:00:02
progress   84%|██████████████████████████████████████████████████████████▊           |  ETA: 0:00:02
progress   86%|████████████████████████████████████████████████████████████▎         |  ETA: 0:00:01
progress   88%|█████████████████████████████████████████████████████████████▋        |  ETA: 0:00:01
progress   90%|███████████████████████████████████████████████████████████████       |  ETA: 0:00:01
progress   92%|████████████████████████████████████████████████████████████████▍     |  ETA: 0:00:01
progress   94%|█████████████████████████████████████████████████████████████████▊    |  ETA: 0:00:01
progress   96%|███████████████████████████████████████████████████████████████████▎  |  ETA: 0:00:00
progress   98%|████████████████████████████████████████████████████████████████████▋ |  ETA: 0:00:00
progress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:10
  i:         50
  constant:  foo
  isq:       2500
  large:     1125899906842624
progress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:10
  i:         50
  constant:  foo
  isq:       2500
  large:     1125899906842624
Testing floating normal progress bars with changing offset
progress   10%|███████                                                               |  ETA: 0:00:05
progress   20%|██████████████                                                        |  ETA: 0:00:04
progress   30%|█████████████████████                                                 |  ETA: 0:00:04
progress   40%|████████████████████████████                                          |  ETA: 0:00:03
progress   50%|███████████████████████████████████                                   |  ETA: 0:00:03
progress   60%|██████████████████████████████████████████                            |  ETA: 0:00:02
progress   70%|█████████████████████████████████████████████████                     |  ETA: 0:00:02
progress   80%|████████████████████████████████████████████████████████              |  ETA: 0:00:01
progress   90%|███████████████████████████████████████████████████████████████       |  ETA: 0:00:01
progress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:05
  i:  10
  i:  10
  i:  10
  i:  10
  i:  10
  i:  10
  i:  10
  i:  10
  i:  10     9
progress  100%|██████████████████████████████████████████████████████████████████████| Time: 0:00:05
  i:         10
  constant:  foo
  isq:       100
  large:     1024
Testing floating thresh progress bar (offset 2)


Minimizing:  Time: 0:00:03 (18 iterations)
Testing floating in @showprogress macro (3 levels)
Level 0 100%|█████████████████████████████████████████████████████| Time: 0:00:13
 Level 1 100%|████████████████████████████████████████████████████| Time: 0:00:02
  Level 2 100%|███████████████████████████████████████████████████| Time: 0:00:00
Testing Progress() with Threads.@threads across 1 threads
[ Info: Threads.nthreads() == 1, so Threads.@threads test is suboptimal
Progress: 100%|███████████████████████████████████████████████████| Time: 0:00:02
Testing ProgressUnknown() with Threads.@threads across 1 threads
Attepts at exceeding trigger: 199 	 Time: 0:00:10
Testing ProgressThresh() with Threads.@threads across 1 threads
Minimizing: Time: 0:00:33 (608 iterations)
[ Info: Threads.nthreads() == 1, so Threads.@spawn tests cannot be meaningfully tested
Test Summary:         | Pass  Total
ProgressThreads tests |    6      6

All tests complete
    Testing ProgressMeter tests passed

julia> Pkg.status(; mode = Pkg.PKGMODE_PROJECT)
Status `~/.julia/environments/v1.5/Project.toml`
  [92933f4c] ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`

julia> Pkg.status(; mode = Pkg.PKGMODE_MANIFEST)
Status `~/.julia/environments/v1.5/Manifest.toml`
  [92933f4c] ProgressMeter v1.3.2 `https://github.com/timholy/ProgressMeter.jl.git#master`
  [8ba89e20] Distributed
  [de0858da] Printf
  [9a3f8284] Random
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [4ec0a83e] Unicode

julia> import InteractiveUtils

julia> InteractiveUtils.versioninfo(; verbose = true)
Julia Version 1.5.0
Commit 96786e22cc* (2020-08-01 23:44 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  uname: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 i386
  CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz:
              speed         user         nice          sys         idle          irq
       #1  2600 MHz      25001 s          0 s      11432 s      59667 s          0 s
       #2  2600 MHz       9563 s          0 s       4993 s      81538 s          0 s
       #3  2600 MHz      25840 s          0 s      10542 s      59712 s          0 s
       #4  2600 MHz       8971 s          0 s       4610 s      82513 s          0 s

  Memory: 8.0 GB (1588.08203125 MB free)
  Uptime: 9609.0 sec
  Load Avg:  2.47705078125  4.13623046875  3.947265625
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)
Environment:
  JULIA_PKG_SERVER =
  TERM = xterm-256color
  PATH = /Users/dilum/bin:/Users/dilum/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin
  XPC_FLAGS = 0x0
  HOME = /Users/dilum
  R_HOME = *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions