-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-fbc2c0aec1.log
191 lines (188 loc) · 17.1 KB
/
1.5.0-DEV-fbc2c0aec1.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
Julia Version 1.5.0-DEV.221
Commit fbc2c0aec1 (2020-02-01 18:55 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
Resolving package versions...
Installed SimpleMock ─ v1.1.1
Installed Cassette ─── v0.3.1
Updating `~/.julia/environments/v1.5/Project.toml`
[a896ed2c] + SimpleMock v1.1.1
Updating `~/.julia/environments/v1.5/Manifest.toml`
[7057c7e9] + Cassette v0.3.1
[a896ed2c] + SimpleMock v1.1.1
Testing SimpleMock
Status `/tmp/jl_6ExFnH/Manifest.toml`
[7057c7e9] Cassette v0.3.1
[34da2185] Compat v2.2.0
[a896ed2c] SimpleMock v1.1.1
[fd094767] Suppressor v0.1.1
[2a0f44e3] Base64
[ade2ca70] Dates
[8bb1440f] DelimitedFiles
[8ba89e20] Distributed
[b77e0a4c] InteractiveUtils
[76f85450] LibGit2
[8f399da3] Libdl
[37e2e46d] LinearAlgebra
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[44cfe95a] Pkg
[de0858da] Printf
[3fa0cd96] REPL
[9a3f8284] Random
[ea8e919c] SHA
[9e88b42a] Serialization
[1a1011a3] SharedArrays
[6462fe0b] Sockets
[2f01184e] SparseArrays
[10745b16] Statistics
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
Keyword arguments are discarded when recursing: Log Test Failed at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:169
Expression: baz(; foo = :baz)
Log Pattern: (:warn, "Discarding keyword arguments")
Captured Logs:
Stacktrace:
[1] record at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/logging.jl:89 [inlined]
[2] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(Test.record), ::Test.DefaultTestSet, ::Test.LogTestFailure) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[3] #55 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:169 [inlined]
[4] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::var"#55#77", ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[5] invokelatest(::Any, ::Any, ::Keyword arguments are discarded when recursing: Error During Test at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:165
Got exception outside of a @test
type DataType has no field var
Stacktrace:
[1] getproperty at ./Base.jl:28 [inlined]
[2] call at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/context.jl:450 [inlined]
[3] fallback at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/context.jl:448 [inlined]
[4] overdub at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/context.jl:274 [inlined]
[5] show at ./show.jl:498 [inlined]
[6] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(show), ::IOContext{Base.PipeEndpoint}, ::Type{Vararg{Any,N} where N}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[7] show at ./show.jl:511 [inlined]
[8] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(show), ::IOContext{Base.PipeEndpoint}, ::Type{Vararg{Any,N} where N}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[9] print at ./strings/io.jl:35 [inlined]
[10] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(print), ::IOContext{Base.PipeEndpoint}, ::Type{Vararg{Any,N} where N}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[11] print at ./strings/io.jl:46 [inlined]
[12] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(print), ::IOContext{Base.PipeEndpoint}, ::String, ::Type{Vararg{Any,N} where N}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[13] show_tuple_as_call at ./show.jl:1761 [inlined]
[14] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(Base.show_tuple_as_call), ::IOContext{Base.PipeEndpoint}, ::Symbol, ::Type{Tuple{typeof(Base.invokelatest),Any,Any,Vararg{Any,N} where N}}, ::Bool, ::Base.Iterators.Zip{Tuple{Array{Any,1},Array{Any,1}}}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[15] show_spec_linfo at ./stacktraces.jl:240 [inlined]
[16] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(Base.StackTraces.show_spec_linfo), ::IOContext{Base.PipeEndpoint}, ::Base.StackTraces.StackFrame) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[17] #show#9 at ./stacktraces.jl:253 [inlined]
[18] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::Base.StackTraces.var"##show#9", ::Bool, ::typeof(show), ::IOContext{Base.PipeEndpoint}, ::Base.StackTraces.StackFrame) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0 (repeats 2 times)
[19] #show_trace_entry#675 at ./errorshow.jl:523 [inlined]
[20] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::Base.var"##show_trace_entry#675", ::String, ::typeof(Base.show_trace_entry), ::IOContext{Base.PipeEndpoint}, ::Base.StackTraces.StackFrame, ::Int64) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0 (repeats 2 times)
[21] show_backtrace at ./errorshow.jl:627 [inlined]
[22] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(Base.show_backtrace), ::Base.PipeEndpoint, ::Array{Union{Ptr{Nothing}, Base.InterpreterIP},1}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[23] record at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/logging.jl:89 [inlined]
[24] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::typeof(Test.record), ::Test.DefaultTestSet, ::Test.LogTestFailure) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[25] #55 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:169 [inlined]
[26] overdub(::Cassette.Context{nametype(##379),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::var"#55#77", ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[27] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at ./essentials.jl:710
[28] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
[29] mock(::Function, ::Symbol, ::Function; filters::Array{SimpleMock.var"#9#10"{Tuple{}},1}) at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:140
[30] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:168
[31] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[32] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:166
[33] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[34] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:154
[35] include(::String) at ./client.jl:439
[36] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/runtests.jl:14
[37] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[38] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/runtests.jl:14
[39] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[40] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/runtests.jl:10
[41] include(::String) at ./client.jl:439
[42] top-level scope at none:6
[43] eval(::Module, ::Any) at ./boot.jl:331
[44] exec_options(::JLOptions) at ./client.jl:264
[45] _start() at ./client.jl:484
Metadata records original functions and not keyword wrappers: Test Failed at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:196
Expression: eq
Stacktrace:
[1] (::var"#66#91"{Bool,typeof(kw_f)})(::SimpleMock.Metadata{true}) at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:196
[2] #1 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/metadata.jl:54 [inlined]
[3] _all(::SimpleMock.var"#1#2"{SimpleMock.Metadata{true}}, ::Array{var"#66#91"{Bool,typeof(kw_f)},1}, ::Colon) at ./reduce.jl:817
[4] all(::Function, ::Array{var"#66#91"{Bool,typeof(kw_f)},1}; dims::Function) at ./reducedim.jl:665
[5] all(::Function, ::Array{var"#66#91"{Bool,typeof(kw_f)},1}) at ./reducedim.jl:665
[6] should_mock(::SimpleMock.Metadata{true}, ::Tuple{typeof(kw_g),UnionAll}) at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/metadata.jl:54
[7] #overdub#96 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:210 [inlined]
[8] overdub at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:219 [inlined]
[9] #kw_f#95 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:183 [inlined]
[10] overdub(::Cassette.Context{nametype(##383),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::var"##kw_f#95", ::Int64, ::typeof(kw_f)) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0 (repeats 2 times)
[11] #67 at ./none:0 [inlined]
[12] overdub(::Cassette.Context{nametype(##383),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::var"#67#92", ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[13] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at ./essentials.jl:710
[14] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
[15] mock(::Function, ::Symbol, ::Function; filters::Array{var"#66#91"{Bool,typeof(kw_f)},1}) at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:140
[16] #mock#27 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:113 [inlined]
[17] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:202
[18] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[19] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:182
[20] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[21] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:154
Metadata records original functions and not keyword wrappers: Test Failed at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:196
Expression: eq
Stacktrace:
[1] (::var"#66#91"{Bool,var"#97#101"})(::SimpleMock.Metadata{true}) at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:196
[2] #1 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/metadata.jl:54 [inlined]
[3] _all(::SimpleMock.var"#1#2"{SimpleMock.Metadata{true}}, ::Array{var"#66#91"{Bool,var"#97#101"},1}, ::Colon) at ./reduce.jl:817
[4] all(::Function, ::Array{var"#66#91"{Bool,var"#97#101"},1}; dims::Function) at ./reducedim.jl:665
[5] all(::Function, ::Array{var"#66#91"{Bool,var"#97#101"},1}) at ./reducedim.jl:665
[6] should_mock(::SimpleMock.Metadata{true}, ::Tuple{var"#99#102",UnionAll}) at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/metadata.jl:54
[7] #overdub#100 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:210 [inlined]
[8] overdub(::Cassette.Context{nametype(##388),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::var"#99#102##kw", ::NamedTuple{(:x,),Tuple{Int64}}, ::var"#99#102") at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:219
[9] #97#98 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:185 [inlined]
[10] overdub(::Cassette.Context{nametype(##388),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::var"##97#98", ::Int64, ::var"#97#101") at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0 (repeats 2 times)
[11] #68 at ./none:0 [inlined]
[12] overdub(::Cassette.Context{nametype(##388),SimpleMock.Metadata{true},Nothing,Cassette.var"##PassType#256",Nothing,Nothing}, ::var"#68#93", ::Mock{SimpleMock.var"#15#17"{SimpleMock.var"#15#16#18"}}) at /home/pkgeval/.julia/packages/Cassette/7OymZ/src/overdub.jl:0
[13] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at ./essentials.jl:710
[14] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709
[15] mock(::Function, ::Symbol, ::Function; filters::Array{var"#66#91"{Bool,var"#97#101"},1}) at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:140
[16] #mock#27 at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/src/mock_fun.jl:113 [inlined]
[17] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:204
[18] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[19] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:182
[20] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[21] top-level scope at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/mock_fun.jl:154
Test Summary: | Pass Fail Error Broken Total
SimpleMock.jl | 123 2 1 1 127
Mock type | 67 67
mock function | 56 2 1 1 60
Basics | 7 7
Non-Mock mocks | 1 1
Specific methods | 3 3
Multiple mocks | 4 4
Varargs | 5 5
Parametric types | 11 11
mock does not overwrite methods | 1 1
Reusing Context | 2 2
Any context name is valid | 1 1
Filters | 16 16
Keyword arguments | 5 2 1 1 9
Keyword arguments are passed to mocked functions | 2 2
Keyword arguments are discarded when recursing | 1 1
Metadata records original functions and not keyword wrappers | 3 2 1 6
ERROR: LoadError: Some tests did not pass: 123 passed, 2 failed, 1 errored, 1 broken.
in expression starting at /home/pkgeval/.julia/packages/SimpleMock/Eg0dX/test/runtests.jl:9
ERROR: Package SimpleMock errored during testing
Stacktrace:
[1] pkgerror(::String, ::Vararg{String,N} where N) at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/Types.jl:53
[2] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing) at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:1503
[3] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:316
[4] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:303
[5] #test#68 at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:297 [inlined]
[6] test at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:297 [inlined]
[7] #test#67 at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:296 [inlined]
[8] test at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:296 [inlined]
[9] test(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:295
[10] test(::String) at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:295
[11] top-level scope at none:13