-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-fbc2c0aec1.log
178 lines (175 loc) · 11.3 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
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 IniFile ──────── v0.5.0
Installed Parsers ──────── v0.3.11
Installed MbedTLS ──────── v0.7.0
Installed AdventOfCode ─── v1.0.0
Installed ExprTools ────── v0.1.0
Installed BinaryProvider ─ v0.5.8
Installed HTTP ─────────── v0.8.8
Installed JSON ─────────── v0.21.0
Installed Mocking ──────── v0.7.1
Updating `~/.julia/environments/v1.5/Project.toml`
[7ef4cfdd] + AdventOfCode v1.0.0
Updating `~/.julia/environments/v1.5/Manifest.toml`
[7ef4cfdd] + AdventOfCode v1.0.0
[b99e7846] + BinaryProvider v0.5.8
[e2ba6199] + ExprTools v0.1.0
[cd3eb016] + HTTP v0.8.8
[83e8ac13] + IniFile v0.5.0
[682c06a0] + JSON v0.21.0
[739be429] + MbedTLS v0.7.0
[78c3b35d] + Mocking v0.7.1
[69de0a69] + Parsers v0.3.11
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[8f399da3] + Libdl
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[de0858da] + Printf
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[8dfed614] + Test
[4ec0a83e] + Unicode
Building MbedTLS → `~/.julia/packages/MbedTLS/a1JFn/deps/build.log`
Testing AdventOfCode
Status `/tmp/jl_R59Hqq/Manifest.toml`
[7ef4cfdd] AdventOfCode v1.0.0
[b99e7846] BinaryProvider v0.5.8
[e2ba6199] ExprTools v0.1.0
[cd3eb016] HTTP v0.8.8
[83e8ac13] IniFile v0.5.0
[682c06a0] JSON v0.21.0
[739be429] MbedTLS v0.7.0
[78c3b35d] Mocking v0.7.1
[69de0a69] Parsers v0.3.11
[2a0f44e3] Base64
[ade2ca70] Dates
[8ba89e20] Distributed
[b77e0a4c] InteractiveUtils
[8f399da3] Libdl
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[de0858da] Printf
[9a3f8284] Random
[ea8e919c] SHA
[9e88b42a] Serialization
[6462fe0b] Sockets
[8dfed614] Test
[4ec0a83e] Unicode
┌ Warning: Advent of Code for year 2020 and day 2 hasn't unlocked yet.
└ @ AdventOfCode ~/.julia/packages/AdventOfCode/K5Mov/src/AdventOfCode.jl:68
works for convenience method: Test Failed at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:94
Expression: isdir("data/$(year)")
Stacktrace:
[1] (::var"#12#25")() at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:94
[2] apply(::var"#12#25", ::Mocking.PatchEnv) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:64
[3] apply(::Function, ::Patch{typeof(HTTP.get)}; debug::Bool) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:71
[4] apply(::Function, ::Patch{typeof(HTTP.get)}) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:71
[5] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:88
[6] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[7] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:88
[8] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[9] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:68
[10] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[11] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:4
works for convenience method: Test Failed at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:95
Expression: isfile("data/$(year)/day_$(day).txt")
Stacktrace:
[1] (::var"#12#25")() at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:95
[2] apply(::var"#12#25", ::Mocking.PatchEnv) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:64
[3] apply(::Function, ::Patch{typeof(HTTP.get)}; debug::Bool) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:71
[4] apply(::Function, ::Patch{typeof(HTTP.get)}) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:71
[5] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:88
[6] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[7] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:88
[8] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[9] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:68
[10] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[11] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:4
works for convenience method: Error During Test at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:96
Test threw exception
Expression: readlines("data/$(year)/day_$(day).txt") == ["TESTDATA"]
SystemError: opening file "data/2020/day_2.txt": No such file or directory
Stacktrace:
[1] systemerror(::String, ::Int32; extrainfo::Nothing) at ./error.jl:168
[2] #systemerror#50 at ./error.jl:167 [inlined]
[3] systemerror at ./error.jl:167 [inlined]
[4] open(::String; read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing) at ./iostream.jl:254
[5] open at ./iostream.jl:246 [inlined]
[6] open(::Base.var"#296#297"{Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}}, ::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at ./io.jl:296
[7] open at ./io.jl:296 [inlined]
[8] #readlines#295 at ./io.jl:494 [inlined]
[9] readlines at ./io.jl:494 [inlined]
[10] (::var"#12#25")() at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:96
[11] apply(::var"#12#25", ::Mocking.PatchEnv) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:64
[12] apply(::Function, ::Patch{typeof(HTTP.get)}; debug::Bool) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:71
[13] apply(::Function, ::Patch{typeof(HTTP.get)}) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:71
[14] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:88
[15] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[16] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:88
[17] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[18] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:68
[19] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[20] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:4
works for convenience method: Log Test Failed at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:100
Expression: AdventOfCode.setup_files(year, day, force = false)
Log Pattern: (:warn, r"txt already exists.") (:warn, r"jl already exists.")
Captured Logs:
Test.LogRecord(Warn, "Advent of Code for year 2020 and day 2 hasn't unlocked yet.", AdventOfCode, :AdventOfCode, :AdventOfCode_ea0c0182, "/home/pkgeval/.julia/packages/AdventOfCode/K5Mov/src/AdventOfCode.jl", 68, Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}())
Test.LogRecord(Warn, "/home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/src/2020/day_2.jl already exists. To overwrite, re-run with `force=true`", AdventOfCode, :AdventOfCode, :AdventOfCode_d56cb0e5, "/home/pkgeval/.julia/packages/AdventOfCode/K5Mov/src/AdventOfCode.jl", 90, Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}())
Stacktrace:
[1] record(::Test.DefaultTestSet, ::Test.LogTestFailure) at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/logging.jl:89
[2] (::var"#12#25")() at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:100
[3] apply(::var"#12#25", ::Mocking.PatchEnv) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:64
[4] apply(::Function, ::Patch{typeof(HTTP.get)}; debug::Bool) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:71
[5] apply(::Function, ::Patch{typeof(HTTP.get)}) at /home/pkgeval/.julia/packages/Mocking/U41JO/src/patch.jl:71
[6] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:88
[7] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[8] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:88
[9] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[10] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:68
[11] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1114
[12] top-level scope at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:4
Test Summary: | Pass Fail Error Total
All tests | 23 3 1 27
_is_unlocked | 3 3
_get_cookies | 2 2
_base_url | 1 1
_template | 1 1
_download_data | 2 2
_setup_data_file | 4 4
setup_files | 10 3 1 14
works for full method | 7 7
works for convenience method | 3 3 1 7
ERROR: LoadError: Some tests did not pass: 23 passed, 3 failed, 1 errored, 0 broken.
in expression starting at /home/pkgeval/.julia/packages/AdventOfCode/K5Mov/test/runtests.jl:3
ERROR: Package AdventOfCode 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