JuliaMath / FixedPointNumbers.jl

fixed point types for julia
Other
80 stars 33 forks source link

CI: test Julia 1.6 and update TagBot permission #257

Closed johnnychen94 closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #257 (6e7299c) into master (59ee94b) will decrease coverage by 0.39%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #257      +/-   ##
==========================================
- Coverage   93.44%   93.05%   -0.40%     
==========================================
  Files           6        6              
  Lines         763      763              
==========================================
- Hits          713      710       -3     
- Misses         50       53       +3     
Impacted Files Coverage Δ
src/utilities.jl 84.00% <0.00%> (-12.00%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 59ee94b...6e7299c. Read the comment docs.

johnnychen94 commented 2 years ago

On raspberry pi 4:

julia> versioninfo()
Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
  OS: Linux (aarch64-unknown-linux-gnu)
  CPU: unknown
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, cortex-a72)
Environment:
  JULIA_PKG_SERVER = https://mirrors.bfsu.edu.cn/julia

(@v1.7) pkg> test FixedPointNumbers
     Testing FixedPointNumbers
      Status `/tmp/jl_UTCebk/Project.toml`
  [53c48c17] FixedPointNumbers v0.8.4
  [10745b16] Statistics `@stdlib/Statistics`
  [8dfed614] Test `@stdlib/Test`
      Status `/tmp/jl_UTCebk/Manifest.toml`
  [53c48c17] FixedPointNumbers v0.8.4
  [56f22d72] Artifacts `@stdlib/Artifacts`
  [2a0f44e3] Base64 `@stdlib/Base64`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [8f399da3] Libdl `@stdlib/Libdl`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [2f01184e] SparseArrays `@stdlib/SparseArrays`
  [10745b16] Statistics `@stdlib/Statistics`
  [8dfed614] Test `@stdlib/Test`
  [e66e0078] CompilerSupportLibraries_jll `@stdlib/CompilerSupportLibraries_jll`
  [4536629a] OpenBLAS_jll `@stdlib/OpenBLAS_jll`
  [8e850b90] libblastrampoline_jll `@stdlib/libblastrampoline_jll`
     Testing Running tests...
Skipping Base.active_repl
Skipping Base.active_repl_backend
Skipping Base.active_repl
Skipping Base.active_repl_backend
Float16(::Normed{UInt16,14}): Test Failed at /home/jc/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:198
  Expression: float_err == 0.0
   Evaluated: 0.01025390625 == 0.0
Stacktrace:
 [1] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:445 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:198 [inlined]
 [3] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1359 [inlined]
 [4] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:189 [inlined]
 [5] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1359 [inlined]
 [6] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:188 [inlined]
 [7] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
 [8] top-level scope
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:181
Float16(::Normed{UInt16,15}): Test Failed at /home/jc/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:198
  Expression: float_err == 0.0
   Evaluated: 0.00244140625 == 0.0
Stacktrace:
 [1] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:445 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:198 [inlined]
 [3] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1359 [inlined]
 [4] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:189 [inlined]
 [5] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1359 [inlined]
 [6] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:188 [inlined]
 [7] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
 [8] top-level scope
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:181
Float16(::Normed{UInt16,16}): Test Failed at /home/jc/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:198
  Expression: float_err == 0.0
   Evaluated: 0.0009765625 == 0.0
Stacktrace:
 [1] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:445 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:198 [inlined]
 [3] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1359 [inlined]
 [4] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:189 [inlined]
 [5] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1359 [inlined]
 [6] macro expansion
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:188 [inlined]
 [7] macro expansion
   @ ~/packages/julias/julia-1.7/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
 [8] top-level scope
   @ ~/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:181

signal (11): Segmentation fault
in expression starting at /home/jc/.julia/packages/FixedPointNumbers/HAGk2/test/normed.jl:257
_ZNK4llvm3EVT20getVectorElementTypeEv at /home/jc/packages/julias/julia-1.7/bin/../lib/julia/libLLVM-12jl.so (unknown line)
_ZNK4llvm21AArch64TargetLowering17PerformDAGCombineEPNS_6SDNodeERNS_14TargetLowering15DAGCombinerInfoE at /home/jc/packages/julias/julia-1.7/bin/../lib/julia/libLLVM-12jl.so (unknown line)
Allocations: 125252886 (Pool: 125246064; Big: 6822); GC: 136
ERROR: Package FixedPointNumbers errored during testing (received signal: 11)

It's unclear to me if this is a FixedPointNumber issue, or an upstream Julia issue. I'll try to find some time to investigate it later this month. I'll just merge this PR for the moment as it's an unrelated failure.