groonga-query-log 1.4.8 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/text/news.md +14 -0
- data/groonga-query-log.gemspec +3 -2
- data/lib/groonga-query-log/command/format-regression-test-logs.rb +138 -116
- data/lib/groonga-query-log/command/run-regression-test.rb +26 -17
- data/lib/groonga-query-log/version.rb +1 -1
- data/test/command/test-format-regression-test-logs.rb +3 -4
- data/test/command/test-run-regression-test.rb +34 -3
- metadata +61 -90
- data/test/fixtures/run-regression-test/db.new/db +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000000 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000100 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000101 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000102 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000103 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000103.c +0 -0
- data/test/fixtures/run-regression-test/db.new/db.001 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.conf +0 -0
- data/test/fixtures/run-regression-test/db.new/groonga.log +0 -165
- data/test/fixtures/run-regression-test/db.old/db +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000000 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000100 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000101 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000102 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000103 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000103.c +0 -0
- data/test/fixtures/run-regression-test/db.old/db.001 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.conf +0 -0
- data/test/fixtures/run-regression-test/db.old/groonga.log +0 -79
- data/test/fixtures/run-regression-test/results/query.log +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d404970bbf12f0f3cc02625b565b1f5cb0ce83ada3f3b1d4fd8ada0a7c098c39
|
|
4
|
+
data.tar.gz: b38e00851e83a4d94080b2e01cc613b63a3a8192f4f93e201e37793c90767196
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2ec5150648a0d4c86a91604ce3ad1a713308f1979c8a559d1aeba156a7006efc86d3ad7ca1739caba88c120739992e28ee47137056881359ee4cfa70db7fa20
|
|
7
|
+
data.tar.gz: 9823fa77b00f139c59508bb3f8da39ce12655cca3bd8ff594087fc7aa71ffa0592b57509fd8071c0bc9f28c0f1806f79dfeca6f23ab5cfa6a710b0c747fd7d57
|
data/doc/text/news.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# News
|
|
2
2
|
|
|
3
|
+
## 1.4.9: 2019-08-23
|
|
4
|
+
|
|
5
|
+
### Improvements
|
|
6
|
+
|
|
7
|
+
* `groonga-query-log-run-regression-test`:
|
|
8
|
+
|
|
9
|
+
* Added support notify by e-mail when tests start.
|
|
10
|
+
|
|
11
|
+
### Fixes
|
|
12
|
+
|
|
13
|
+
* `groonga-query-log-format-regression-test-logs`:
|
|
14
|
+
|
|
15
|
+
* Fixed a bug that doesn't work a `diff` command in Windows.
|
|
16
|
+
|
|
3
17
|
## 1.4.8: 2019-08-22
|
|
4
18
|
|
|
5
19
|
### Improvements
|
data/groonga-query-log.gemspec
CHANGED
|
@@ -52,10 +52,11 @@ Gem::Specification.new do |spec|
|
|
|
52
52
|
spec.licenses = ["LGPLv2.1+"]
|
|
53
53
|
spec.require_paths = ["lib"]
|
|
54
54
|
|
|
55
|
-
spec.add_runtime_dependency("
|
|
55
|
+
spec.add_runtime_dependency("diff-lcs")
|
|
56
56
|
spec.add_runtime_dependency("groonga-client")
|
|
57
|
-
spec.add_runtime_dependency("groonga-log", ">= 0.1.2")
|
|
58
57
|
spec.add_runtime_dependency("groonga-command", ">= 1.4.2")
|
|
58
|
+
spec.add_runtime_dependency("groonga-command-parser")
|
|
59
|
+
spec.add_runtime_dependency("groonga-log", ">= 0.1.2")
|
|
59
60
|
|
|
60
61
|
spec.add_development_dependency("test-unit")
|
|
61
62
|
spec.add_development_dependency("test-unit-rr")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2014-
|
|
1
|
+
# Copyright (C) 2014-2019 Sutou Kouhei <kou@clear-code.com>
|
|
2
2
|
#
|
|
3
3
|
# This library is free software; you can redistribute it and/or
|
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
|
@@ -16,151 +16,173 @@
|
|
|
16
16
|
|
|
17
17
|
require "English"
|
|
18
18
|
require "find"
|
|
19
|
-
require "tempfile"
|
|
20
19
|
require "pp"
|
|
21
20
|
require "optparse"
|
|
22
21
|
require "json"
|
|
23
22
|
|
|
23
|
+
require "diff/lcs"
|
|
24
|
+
require "diff/lcs/hunk"
|
|
24
25
|
require "groonga/command/parser"
|
|
25
26
|
|
|
26
27
|
require "groonga-query-log/version"
|
|
27
28
|
|
|
28
29
|
module GroongaQueryLog
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
module Command
|
|
31
|
+
class FormatRegressionTestLogs
|
|
32
|
+
def initialize(options={})
|
|
33
|
+
@output = options[:output] || $stdout
|
|
34
|
+
end
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
else
|
|
53
|
-
File.open(path) do |file|
|
|
54
|
-
format_log(file, path)
|
|
36
|
+
def run(command_line)
|
|
37
|
+
parser = OptionParser.new
|
|
38
|
+
parser.banner += " PATH1 PATH2 ..."
|
|
39
|
+
parser.version = VERSION
|
|
40
|
+
paths = parser.parse!(command_line)
|
|
41
|
+
|
|
42
|
+
if paths.empty?
|
|
43
|
+
format_log($stdin, "-")
|
|
44
|
+
else
|
|
45
|
+
paths.each do |path|
|
|
46
|
+
if File.directory?(path)
|
|
47
|
+
Find.find(path) do |sub_path|
|
|
48
|
+
next unless File.file?(sub_path)
|
|
49
|
+
File.open(sub_path) do |file|
|
|
50
|
+
format_log(file, sub_path)
|
|
55
51
|
end
|
|
56
52
|
end
|
|
53
|
+
else
|
|
54
|
+
File.open(path) do |file|
|
|
55
|
+
format_log(file, path)
|
|
56
|
+
end
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
|
-
true
|
|
60
59
|
end
|
|
60
|
+
true
|
|
61
|
+
end
|
|
61
62
|
|
|
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
|
-
end
|
|
63
|
+
private
|
|
64
|
+
def format_log(input, path)
|
|
65
|
+
command = nil
|
|
66
|
+
response_old = nil
|
|
67
|
+
response_new = nil
|
|
68
|
+
backtrace = []
|
|
69
|
+
error_message = nil
|
|
70
|
+
|
|
71
|
+
input.each_line do |line|
|
|
72
|
+
unless line.valid_encoding?
|
|
73
|
+
@output.puts("invalid encoding line")
|
|
74
|
+
@output.puts("#{path}:#{input.lineno}:#{line}")
|
|
75
|
+
next
|
|
76
|
+
end
|
|
77
|
+
case line
|
|
78
|
+
when /\Acommand: /
|
|
79
|
+
command = $POSTMATCH.chomp
|
|
80
|
+
when /\Aresponse1: /
|
|
81
|
+
response_old = $POSTMATCH.chomp
|
|
82
|
+
when /\Aresponse2: /
|
|
83
|
+
response_new = $POSTMATCH.chomp
|
|
84
|
+
next unless valid_entry?(command, response_old, response_new)
|
|
85
|
+
report_diff(command, response_old, response_new)
|
|
86
|
+
when /\Aerror: /
|
|
87
|
+
error_message = $POSTMATCH.chomp
|
|
88
|
+
report_error(command, error_message, backtrace)
|
|
89
|
+
backtrace.clear
|
|
90
|
+
when /\Abacktrace: /
|
|
91
|
+
backtrace.unshift($POSTMATCH.chomp)
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
|
+
end
|
|
94
95
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
begin
|
|
99
|
-
JSON.parse(response_old)
|
|
100
|
-
rescue JSON::ParserError
|
|
101
|
-
@output.puts(command)
|
|
102
|
-
@output.puts("failed to parse old response: #{$!.message}")
|
|
103
|
-
@output.puts(response_old)
|
|
104
|
-
valid = false
|
|
105
|
-
end
|
|
96
|
+
def valid_entry?(command, response_old, response_new)
|
|
97
|
+
valid = true
|
|
106
98
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
99
|
+
begin
|
|
100
|
+
JSON.parse(response_old)
|
|
101
|
+
rescue JSON::ParserError
|
|
102
|
+
@output.puts(command)
|
|
103
|
+
@output.puts("failed to parse old response: #{$!.message}")
|
|
104
|
+
@output.puts(response_old)
|
|
105
|
+
valid = false
|
|
106
|
+
end
|
|
115
107
|
|
|
116
|
-
|
|
108
|
+
begin
|
|
109
|
+
JSON.parse(response_new)
|
|
110
|
+
rescue JSON::ParserError
|
|
111
|
+
@output.puts(command)
|
|
112
|
+
@output.puts("failed to parse new response: #{$!.message}")
|
|
113
|
+
@output.puts(response_new)
|
|
114
|
+
valid = false
|
|
117
115
|
end
|
|
118
116
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
117
|
+
valid
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
def report_diff(command, response_old, response_new)
|
|
121
|
+
return if response_old == response_new
|
|
122
|
+
|
|
123
|
+
report_command(command)
|
|
124
|
+
|
|
125
|
+
lines_old = response_to_lines(response_old)
|
|
126
|
+
lines_new = response_to_lines(response_new)
|
|
127
|
+
diffs = Diff::LCS.diff(lines_old, lines_new)
|
|
128
|
+
|
|
129
|
+
@output.puts("--- old")
|
|
130
|
+
@output.puts("+++ new")
|
|
131
|
+
|
|
132
|
+
old_hunk = nil
|
|
133
|
+
n_lines = 3
|
|
134
|
+
format = :unified
|
|
135
|
+
file_length_difference = 0
|
|
136
|
+
diffs.each do |piece|
|
|
137
|
+
begin
|
|
138
|
+
hunk = Diff::LCS::Hunk.new(lines_old,
|
|
139
|
+
lines_new,
|
|
140
|
+
piece,
|
|
141
|
+
n_lines,
|
|
142
|
+
file_length_difference)
|
|
143
|
+
file_length_difference = hunk.file_length_difference
|
|
144
|
+
|
|
145
|
+
next unless old_hunk
|
|
146
|
+
|
|
147
|
+
if (n_lines > 0) && hunk.overlaps?(old_hunk)
|
|
148
|
+
hunk.merge(old_hunk)
|
|
149
|
+
else
|
|
150
|
+
@output.puts(old_hunk.diff(format))
|
|
140
151
|
end
|
|
152
|
+
ensure
|
|
153
|
+
old_hunk = hunk
|
|
141
154
|
end
|
|
142
155
|
end
|
|
143
156
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
@output.puts("Error: #{message}")
|
|
147
|
-
@output.puts("Backtrace:")
|
|
148
|
-
@output.puts(backtrace)
|
|
157
|
+
if old_hunk
|
|
158
|
+
@output.puts(old_hunk.diff(format))
|
|
149
159
|
end
|
|
160
|
+
end
|
|
150
161
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
def response_to_lines(response)
|
|
163
|
+
PP.pp(JSON.parse(response), "").lines.collect(&:chomp)
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
def report_error(command, message, backtrace)
|
|
167
|
+
report_command(command)
|
|
168
|
+
@output.puts("Error: #{message}")
|
|
169
|
+
@output.puts("Backtrace:")
|
|
170
|
+
@output.puts(backtrace)
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
def report_command(command)
|
|
174
|
+
@output.puts("Command:")
|
|
175
|
+
@output.puts(command)
|
|
176
|
+
parsed_command = Groonga::Command::Parser.parse(command)
|
|
177
|
+
@output.puts("Name: #{parsed_command.name}")
|
|
178
|
+
@output.puts("Arguments:")
|
|
179
|
+
sorted_arguments = parsed_command.arguments.sort_by do |key, value|
|
|
180
|
+
key
|
|
181
|
+
end
|
|
182
|
+
sorted_arguments.each do |key, value|
|
|
183
|
+
@output.puts(" #{key}: #{value}")
|
|
163
184
|
end
|
|
164
185
|
end
|
|
165
186
|
end
|
|
187
|
+
end
|
|
166
188
|
end
|
|
@@ -64,6 +64,7 @@ module GroongaQueryLog
|
|
|
64
64
|
@read_timeout = Groonga::Client::Default::READ_TIMEOUT
|
|
65
65
|
|
|
66
66
|
@notifier_options = {
|
|
67
|
+
mail_subject_on_start: "Start",
|
|
67
68
|
mail_subject_on_success: "Success",
|
|
68
69
|
mail_subject_on_failure: "Failure",
|
|
69
70
|
mail_from: "groonga-query-log@#{Socket.gethostname}",
|
|
@@ -86,16 +87,14 @@ module GroongaQueryLog
|
|
|
86
87
|
return false
|
|
87
88
|
end
|
|
88
89
|
|
|
89
|
-
|
|
90
|
+
notifier = MailNotifier.new(@notifier_options)
|
|
91
|
+
notifier.notify_started
|
|
92
|
+
start_time = Time.now
|
|
90
93
|
tester = Tester.new(old_groonga_server,
|
|
91
94
|
new_groonga_server,
|
|
92
95
|
tester_options)
|
|
93
96
|
success = tester.run
|
|
94
|
-
|
|
95
|
-
notifier = MailNotifier.new(success,
|
|
96
|
-
Time.now - @start_time,
|
|
97
|
-
@notifier_options)
|
|
98
|
-
notifier.notify
|
|
97
|
+
notifier.notify_finished(success, Time.now - start_time)
|
|
99
98
|
|
|
100
99
|
success
|
|
101
100
|
end
|
|
@@ -299,6 +298,11 @@ module GroongaQueryLog
|
|
|
299
298
|
"(#{@notifier_options[:mail_to]})") do |to|
|
|
300
299
|
@notifier_options[:mail_to] = to
|
|
301
300
|
end
|
|
301
|
+
parser.on("--mail-subject-on-start=SUBJECT",
|
|
302
|
+
"Use SUBJECT as subject for notification e-mail on start",
|
|
303
|
+
"(#{@notifier_options[:mail_subject_on_start]})") do |subject|
|
|
304
|
+
@notifier_options[:mail_subject_on_start] = subject
|
|
305
|
+
end
|
|
302
306
|
parser.on("--mail-subject-on-success=SUBJECT",
|
|
303
307
|
"Use SUBJECT as subject for notification e-mail on success",
|
|
304
308
|
"(#{@notifier_options[:mail_subject_on_success]})") do |subject|
|
|
@@ -675,14 +679,19 @@ module GroongaQueryLog
|
|
|
675
679
|
end
|
|
676
680
|
|
|
677
681
|
class MailNotifier
|
|
678
|
-
def initialize(
|
|
679
|
-
@success = success
|
|
680
|
-
@elapsed_time = elapsed_time
|
|
682
|
+
def initialize(options)
|
|
681
683
|
@options = options
|
|
682
684
|
@path = @options[:path] || "results"
|
|
683
685
|
end
|
|
684
686
|
|
|
685
|
-
def
|
|
687
|
+
def notify_started
|
|
688
|
+
return unless @options[:mail_to]
|
|
689
|
+
|
|
690
|
+
subject = @options[:mail_subject_on_start]
|
|
691
|
+
send_mail(subject, "")
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
def notify_finished(success, elapsed_time)
|
|
686
695
|
return unless @options[:mail_to]
|
|
687
696
|
|
|
688
697
|
output = StringIO.new
|
|
@@ -690,23 +699,23 @@ module GroongaQueryLog
|
|
|
690
699
|
formetter.run([@path])
|
|
691
700
|
formatted_log = output.string
|
|
692
701
|
|
|
693
|
-
if
|
|
702
|
+
if success
|
|
694
703
|
subject = @options[:mail_subject_on_success]
|
|
695
704
|
else
|
|
696
705
|
subject = @options[:mail_subject_on_failure]
|
|
697
706
|
end
|
|
698
|
-
content = format_elapsed_time
|
|
707
|
+
content = format_elapsed_time(elapsed_time)
|
|
699
708
|
content << "Report:\n"
|
|
700
709
|
content << formatted_log
|
|
701
710
|
send_mail(subject, content)
|
|
702
711
|
end
|
|
703
712
|
|
|
704
713
|
private
|
|
705
|
-
def format_elapsed_time
|
|
706
|
-
elapsed_seconds =
|
|
707
|
-
elapsed_minutes =
|
|
708
|
-
elapsed_hours =
|
|
709
|
-
elapsed_days =
|
|
714
|
+
def format_elapsed_time(elapsed_time)
|
|
715
|
+
elapsed_seconds = elapsed_time % 60
|
|
716
|
+
elapsed_minutes = elapsed_time / 60 % 60
|
|
717
|
+
elapsed_hours = elapsed_time / 60 / 60 % 24
|
|
718
|
+
elapsed_days = elapsed_time / 60 / 60 / 24
|
|
710
719
|
"Elapsed: %ddays %02d:%02d:%02d\n" % [
|
|
711
720
|
elapsed_days,
|
|
712
721
|
elapsed_hours,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
1
|
# Copyright (C) 2014-2018 Kouhei Sutou <kou@clear-code.com>
|
|
3
2
|
#
|
|
4
3
|
# This library is free software; you can redistribute it and/or
|
|
@@ -58,7 +57,7 @@ Arguments:
|
|
|
58
57
|
table: Logs
|
|
59
58
|
--- old
|
|
60
59
|
+++ new
|
|
61
|
-
@@ -1,
|
|
60
|
+
@@ -1,5 +1,5 @@
|
|
62
61
|
[[[2],
|
|
63
62
|
[["_id", "UInt32"], ["message", "Text"]],
|
|
64
63
|
[1, "log message1"],
|
|
@@ -80,7 +79,7 @@ Arguments:
|
|
|
80
79
|
table: Logs
|
|
81
80
|
--- old
|
|
82
81
|
+++ new
|
|
83
|
-
@@ -1,
|
|
82
|
+
@@ -1,5 +1,5 @@
|
|
84
83
|
[[[2],
|
|
85
84
|
[["_id", "UInt32"], ["message", "Text"]],
|
|
86
85
|
[1, "log message1: 焼肉"],
|
|
@@ -127,7 +126,7 @@ Arguments:
|
|
|
127
126
|
table: Logs
|
|
128
127
|
--- old
|
|
129
128
|
+++ new
|
|
130
|
-
@@ -1,
|
|
129
|
+
@@ -1,5 +1,5 @@
|
|
131
130
|
[[[2],
|
|
132
131
|
[["_id", "UInt32"], ["message", "Text"]],
|
|
133
132
|
[1, "log message1"],
|
|
@@ -75,6 +75,37 @@ class RunRegressionTestCommandTest < Test::Unit::TestCase
|
|
|
75
75
|
"Date: #{@now}\r\n")
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
def test_started
|
|
79
|
+
options = {
|
|
80
|
+
:smtp_server => @smtp_host,
|
|
81
|
+
:smtp_port => @smtp_port,
|
|
82
|
+
:mail_from => "groonga-query-log@example.com",
|
|
83
|
+
:mail_to => "noreply@example.com",
|
|
84
|
+
:mail_subject_on_start => "Started",
|
|
85
|
+
}
|
|
86
|
+
notifier = MailNotifier.new(options)
|
|
87
|
+
notifier.notify_started
|
|
88
|
+
assert_equal(<<-REQUEST.gsub(/\n/, "\r\n").b, normalized_request)
|
|
89
|
+
EHLO 127.0.0.1
|
|
90
|
+
MAIL FROM:<#{options[:mail_from]}>
|
|
91
|
+
RCPT TO:<#{options[:mail_to]}>
|
|
92
|
+
DATA
|
|
93
|
+
MIME-Version: 1.0
|
|
94
|
+
X-Mailer: groonga-query-log test reporter #{GroongaQueryLog::VERSION};
|
|
95
|
+
https://github.com/groonga/groonga-query-log
|
|
96
|
+
Content-Type: text/plain; charset=utf-8
|
|
97
|
+
Content-Transfer-Encoding: 8bit
|
|
98
|
+
From: #{options[:mail_from]}
|
|
99
|
+
To: #{options[:mail_to]}
|
|
100
|
+
Subject: Started
|
|
101
|
+
Date: #{@now}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
.
|
|
105
|
+
QUIT
|
|
106
|
+
REQUEST
|
|
107
|
+
end
|
|
108
|
+
|
|
78
109
|
def test_success
|
|
79
110
|
options = {
|
|
80
111
|
:smtp_server => @smtp_host,
|
|
@@ -85,8 +116,8 @@ class RunRegressionTestCommandTest < Test::Unit::TestCase
|
|
|
85
116
|
:mail_subject_on_failure => "Failure",
|
|
86
117
|
:path => fixture_path("results"),
|
|
87
118
|
}
|
|
88
|
-
notifier = MailNotifier.new(
|
|
89
|
-
notifier.
|
|
119
|
+
notifier = MailNotifier.new(options)
|
|
120
|
+
notifier.notify_finished(true, 3000)
|
|
90
121
|
assert_equal(<<-REQUEST.gsub(/\n/, "\r\n").b, normalized_request)
|
|
91
122
|
EHLO 127.0.0.1
|
|
92
123
|
MAIL FROM:<#{options[:mail_from]}>
|
|
@@ -113,7 +144,7 @@ Arguments:
|
|
|
113
144
|
table: Logs
|
|
114
145
|
--- old
|
|
115
146
|
+++ new
|
|
116
|
-
@@ -1,
|
|
147
|
+
@@ -1,5 +1,5 @@
|
|
117
148
|
[[[2],
|
|
118
149
|
[["_id", "UInt32"], ["message", "Text"]],
|
|
119
150
|
[1, "log message1: 焼肉"],
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: groonga-query-log
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: diff-lcs
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
@@ -39,33 +39,47 @@ dependencies:
|
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: groonga-
|
|
42
|
+
name: groonga-command
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version:
|
|
47
|
+
version: 1.4.2
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version:
|
|
54
|
+
version: 1.4.2
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: groonga-command
|
|
56
|
+
name: groonga-command-parser
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
61
|
+
version: '0'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: groonga-log
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: 0.1.2
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: 0.1.2
|
|
69
83
|
- !ruby/object:Gem::Dependency
|
|
70
84
|
name: test-unit
|
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -168,18 +182,18 @@ description: ''
|
|
|
168
182
|
email:
|
|
169
183
|
- kou@clear-code.com
|
|
170
184
|
executables:
|
|
185
|
+
- groonga-query-log-detect-memory-leak
|
|
171
186
|
- groonga-query-log-analyze
|
|
172
|
-
- groonga-query-log-analyze-load
|
|
173
187
|
- groonga-query-log-check-crash
|
|
174
|
-
- groonga-query-log-extract
|
|
175
|
-
- groonga-query-log-check-command-version-compatibility
|
|
176
|
-
- groonga-query-log-check-performance-regression
|
|
177
188
|
- groonga-query-log-replay
|
|
178
|
-
- groonga-query-log-
|
|
179
|
-
- groonga-query-log-detect-memory-leak
|
|
189
|
+
- groonga-query-log-extract
|
|
180
190
|
- groonga-query-log-show-running-queries
|
|
181
|
-
- groonga-query-log-
|
|
191
|
+
- groonga-query-log-check-command-version-compatibility
|
|
182
192
|
- groonga-query-log-run-regression-test
|
|
193
|
+
- groonga-query-log-verify-server
|
|
194
|
+
- groonga-query-log-analyze-load
|
|
195
|
+
- groonga-query-log-format-regression-test-logs
|
|
196
|
+
- groonga-query-log-check-performance-regression
|
|
183
197
|
extensions: []
|
|
184
198
|
extra_rdoc_files: []
|
|
185
199
|
files:
|
|
@@ -274,29 +288,8 @@ files:
|
|
|
274
288
|
- test/fixtures/reporter/json-stream.expected
|
|
275
289
|
- test/fixtures/reporter/json.expected
|
|
276
290
|
- test/fixtures/run-regression-test/data/data.grn
|
|
277
|
-
- test/fixtures/run-regression-test/db.new/db
|
|
278
|
-
- test/fixtures/run-regression-test/db.new/db.0000000
|
|
279
|
-
- test/fixtures/run-regression-test/db.new/db.0000100
|
|
280
|
-
- test/fixtures/run-regression-test/db.new/db.0000101
|
|
281
|
-
- test/fixtures/run-regression-test/db.new/db.0000102
|
|
282
|
-
- test/fixtures/run-regression-test/db.new/db.0000103
|
|
283
|
-
- test/fixtures/run-regression-test/db.new/db.0000103.c
|
|
284
|
-
- test/fixtures/run-regression-test/db.new/db.001
|
|
285
|
-
- test/fixtures/run-regression-test/db.new/db.conf
|
|
286
|
-
- test/fixtures/run-regression-test/db.new/groonga.log
|
|
287
|
-
- test/fixtures/run-regression-test/db.old/db
|
|
288
|
-
- test/fixtures/run-regression-test/db.old/db.0000000
|
|
289
|
-
- test/fixtures/run-regression-test/db.old/db.0000100
|
|
290
|
-
- test/fixtures/run-regression-test/db.old/db.0000101
|
|
291
|
-
- test/fixtures/run-regression-test/db.old/db.0000102
|
|
292
|
-
- test/fixtures/run-regression-test/db.old/db.0000103
|
|
293
|
-
- test/fixtures/run-regression-test/db.old/db.0000103.c
|
|
294
|
-
- test/fixtures/run-regression-test/db.old/db.001
|
|
295
|
-
- test/fixtures/run-regression-test/db.old/db.conf
|
|
296
|
-
- test/fixtures/run-regression-test/db.old/groonga.log
|
|
297
291
|
- test/fixtures/run-regression-test/indexes/indexes.grn
|
|
298
292
|
- test/fixtures/run-regression-test/query-logs/query.log
|
|
299
|
-
- test/fixtures/run-regression-test/results/query.log
|
|
300
293
|
- test/fixtures/run-regression-test/schema/schema.grn
|
|
301
294
|
- test/fixtures/target-commands.expected
|
|
302
295
|
- test/fixtures/target-tables.expected
|
|
@@ -326,8 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
326
319
|
- !ruby/object:Gem::Version
|
|
327
320
|
version: '0'
|
|
328
321
|
requirements: []
|
|
329
|
-
|
|
330
|
-
rubygems_version: 2.7.6.2
|
|
322
|
+
rubygems_version: 3.0.3
|
|
331
323
|
signing_key:
|
|
332
324
|
specification_version: 4
|
|
333
325
|
summary: Groonga-query-log is a collection of library and tools to process [Groonga](http://groonga.org/)'s
|
|
@@ -335,64 +327,43 @@ summary: Groonga-query-log is a collection of library and tools to process [Groo
|
|
|
335
327
|
as a library. You can analyze your Groonga's queries and test with your Groonga's
|
|
336
328
|
query log by using groonga-query-log as a tool.
|
|
337
329
|
test_files:
|
|
338
|
-
- test/test-parser.rb
|
|
339
|
-
- test/helper.rb
|
|
340
330
|
- test/run-test.rb
|
|
341
|
-
- test/
|
|
342
|
-
- test/
|
|
343
|
-
- test/
|
|
344
|
-
- test/
|
|
345
|
-
- test/
|
|
346
|
-
- test/
|
|
347
|
-
- test/test-replayer.rb
|
|
331
|
+
- test/fixtures/n_entries.expected
|
|
332
|
+
- test/fixtures/check-performance-regression/query1.log
|
|
333
|
+
- test/fixtures/check-performance-regression/cache.log
|
|
334
|
+
- test/fixtures/check-performance-regression/nquery2.log
|
|
335
|
+
- test/fixtures/check-performance-regression/nquery.log
|
|
336
|
+
- test/fixtures/check-performance-regression/query2.log
|
|
348
337
|
- test/fixtures/target-tables.expected
|
|
349
|
-
- test/fixtures/
|
|
350
|
-
- test/fixtures/
|
|
351
|
-
- test/fixtures/
|
|
352
|
-
- test/fixtures/
|
|
353
|
-
- test/fixtures/
|
|
354
|
-
- test/fixtures/regression-test-logs/error.log
|
|
338
|
+
- test/fixtures/no-report-summary.expected
|
|
339
|
+
- test/fixtures/order/-start-time.expected
|
|
340
|
+
- test/fixtures/order/-elapsed.expected
|
|
341
|
+
- test/fixtures/order/start-time.expected
|
|
342
|
+
- test/fixtures/order/elapsed.expected
|
|
355
343
|
- test/fixtures/regression-test-logs/url-format.log
|
|
356
344
|
- test/fixtures/regression-test-logs/command-format.log
|
|
345
|
+
- test/fixtures/regression-test-logs/results/url-format.log
|
|
346
|
+
- test/fixtures/regression-test-logs/error.log
|
|
347
|
+
- test/fixtures/multi.expected
|
|
348
|
+
- test/fixtures/query.log
|
|
357
349
|
- test/fixtures/other-query.log
|
|
358
|
-
- test/fixtures/
|
|
359
|
-
- test/fixtures/
|
|
360
|
-
- test/fixtures/
|
|
350
|
+
- test/fixtures/reporter/json-stream.expected
|
|
351
|
+
- test/fixtures/reporter/console.expected
|
|
352
|
+
- test/fixtures/reporter/json.expected
|
|
353
|
+
- test/fixtures/reporter/html.expected
|
|
361
354
|
- test/fixtures/run-regression-test/schema/schema.grn
|
|
362
|
-
- test/fixtures/run-regression-test/indexes/indexes.grn
|
|
363
|
-
- test/fixtures/run-regression-test/db.new/db.0000000
|
|
364
|
-
- test/fixtures/run-regression-test/db.new/db.0000100
|
|
365
|
-
- test/fixtures/run-regression-test/db.new/db.0000103.c
|
|
366
|
-
- test/fixtures/run-regression-test/db.new/db
|
|
367
|
-
- test/fixtures/run-regression-test/db.new/db.0000102
|
|
368
|
-
- test/fixtures/run-regression-test/db.new/groonga.log
|
|
369
|
-
- test/fixtures/run-regression-test/db.new/db.001
|
|
370
|
-
- test/fixtures/run-regression-test/db.new/db.conf
|
|
371
|
-
- test/fixtures/run-regression-test/db.new/db.0000103
|
|
372
|
-
- test/fixtures/run-regression-test/db.new/db.0000101
|
|
373
|
-
- test/fixtures/run-regression-test/db.old/db.0000000
|
|
374
|
-
- test/fixtures/run-regression-test/db.old/db.0000100
|
|
375
|
-
- test/fixtures/run-regression-test/db.old/db.0000103.c
|
|
376
|
-
- test/fixtures/run-regression-test/db.old/db
|
|
377
|
-
- test/fixtures/run-regression-test/db.old/db.0000102
|
|
378
|
-
- test/fixtures/run-regression-test/db.old/groonga.log
|
|
379
|
-
- test/fixtures/run-regression-test/db.old/db.001
|
|
380
|
-
- test/fixtures/run-regression-test/db.old/db.conf
|
|
381
|
-
- test/fixtures/run-regression-test/db.old/db.0000103
|
|
382
|
-
- test/fixtures/run-regression-test/db.old/db.0000101
|
|
383
355
|
- test/fixtures/run-regression-test/data/data.grn
|
|
384
|
-
- test/fixtures/
|
|
385
|
-
- test/fixtures/
|
|
386
|
-
- test/fixtures/multi.expected
|
|
387
|
-
- test/fixtures/order/-elapsed.expected
|
|
388
|
-
- test/fixtures/order/start-time.expected
|
|
389
|
-
- test/fixtures/order/elapsed.expected
|
|
390
|
-
- test/fixtures/order/-start-time.expected
|
|
391
|
-
- test/fixtures/check-performance-regression/query1.log
|
|
392
|
-
- test/fixtures/check-performance-regression/nquery2.log
|
|
393
|
-
- test/fixtures/check-performance-regression/cache.log
|
|
394
|
-
- test/fixtures/check-performance-regression/query2.log
|
|
395
|
-
- test/fixtures/check-performance-regression/nquery.log
|
|
356
|
+
- test/fixtures/run-regression-test/indexes/indexes.grn
|
|
357
|
+
- test/fixtures/run-regression-test/query-logs/query.log
|
|
396
358
|
- test/fixtures/target-commands.expected
|
|
359
|
+
- test/test-parser.rb
|
|
360
|
+
- test/helper.rb
|
|
361
|
+
- test/test-replayer.rb
|
|
362
|
+
- test/test-response-comparer.rb
|
|
363
|
+
- test/command/test-run-regression-test.rb
|
|
364
|
+
- test/command/test-check-performance-regression.rb
|
|
365
|
+
- test/command/test-format-regression-test-logs.rb
|
|
366
|
+
- test/command/test-analyzer.rb
|
|
367
|
+
- test/command/test-extract.rb
|
|
397
368
|
- test/test-incompatibility-detector.rb
|
|
398
369
|
- test/test-filter-rewriter.rb
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
2017-04-24 11:06:45.783903|n| grn_init: <7.0.1-105-gf940037>
|
|
2
|
-
2017-04-24 11:06:45.783995|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
3
|
-
2017-04-24 11:06:45.785696|n| DDL:256:table_create Entries
|
|
4
|
-
2017-04-24 11:06:45.832240|n| spec:256:update:Entries:48(table:hash_key):0
|
|
5
|
-
2017-04-24 11:06:45.832566|n| DDL:257:column_create Entries description
|
|
6
|
-
2017-04-24 11:06:45.882379|n| spec:257:update:Entries.description:65(column:var_size):15(Text)
|
|
7
|
-
2017-04-24 11:06:45.902188|n| grn_fin (0)
|
|
8
|
-
2017-04-24 11:06:45.911851|n| grn_init: <7.0.1-105-gf940037>
|
|
9
|
-
2017-04-24 11:06:45.911981|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
10
|
-
2017-04-24 11:06:45.927281|n| grn_fin (0)
|
|
11
|
-
2017-04-24 11:06:45.938921|n| grn_init: <7.0.1-105-gf940037>
|
|
12
|
-
2017-04-24 11:06:45.939085|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
13
|
-
2017-04-24 11:06:45.943080|n| DDL:258:table_create Bigram
|
|
14
|
-
2017-04-24 11:06:45.990956|n| spec:258:update:Bigram:49(table:pat_key):0
|
|
15
|
-
2017-04-24 11:06:45.991456|n| DDL:259:column_create Bigram Entries_description
|
|
16
|
-
2017-04-24 11:06:46.084367|n| spec:259:update:Bigram.Entries_description:72(column:index):256(Entries)
|
|
17
|
-
2017-04-24 11:06:46.099864|n| DDL:259:set_source Bigram.Entries_description Entries.description
|
|
18
|
-
2017-04-24 11:06:46.099925|n| spec:257:update:Entries.description:65(column:var_size):15(Text)
|
|
19
|
-
2017-04-24 11:06:46.104701|n| spec:259:update:Bigram.Entries_description:72(column:index):256(Entries)
|
|
20
|
-
2017-04-24 11:06:46.113406|n| grn_fin (0)
|
|
21
|
-
2017-04-24 11:06:46.117714|n| grn_init: <7.0.1-105-gf940037>
|
|
22
|
-
2017-04-24 11:06:46.117765|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
23
|
-
2017-04-24 11:06:46.117899|n| RLIMIT_NOFILE(4096,4096)
|
|
24
|
-
2017-04-24 11:06:47.117263|n| thread start (0/1)
|
|
25
|
-
2017-04-24 11:06:47.495184|n| thread end (0/0)
|
|
26
|
-
2017-04-24 11:06:47.498054|n| grn_fin (0)
|
|
27
|
-
2017-04-24 11:07:45.262160|n| grn_init: <7.0.1-105-gf940037>
|
|
28
|
-
2017-04-24 11:07:45.262192|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
29
|
-
2017-04-24 11:07:45.262282|n| RLIMIT_NOFILE(4096,4096)
|
|
30
|
-
2017-04-24 11:07:46.261844|n| thread start (0/1)
|
|
31
|
-
2017-04-24 11:07:46.580606|n| thread end (0/0)
|
|
32
|
-
2017-04-24 11:07:46.583733|n| grn_fin (0)
|
|
33
|
-
2017-04-24 11:07:46.586691|n| grn_init: <7.0.1-105-gf940037>
|
|
34
|
-
2017-04-24 11:07:46.586724|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
35
|
-
2017-04-24 11:07:46.586809|n| RLIMIT_NOFILE(4096,4096)
|
|
36
|
-
2017-04-24 11:07:47.585962|n| thread start (0/1)
|
|
37
|
-
2017-04-24 11:07:48.028639|n| thread end (0/0)
|
|
38
|
-
2017-04-24 11:07:48.030048|n| grn_fin (0)
|
|
39
|
-
2017-04-24 11:07:48.034362|n| grn_init: <7.0.1-105-gf940037>
|
|
40
|
-
2017-04-24 11:07:48.034410|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
41
|
-
2017-04-24 11:07:48.034549|n| RLIMIT_NOFILE(4096,4096)
|
|
42
|
-
2017-04-24 11:07:49.032453|n| thread start (0/1)
|
|
43
|
-
2017-04-24 11:07:49.195891|n| thread end (0/0)
|
|
44
|
-
2017-04-24 11:07:49.196755|n| grn_fin (0)
|
|
45
|
-
2017-04-24 11:10:47.018307|n| grn_init: <7.0.1-105-gf940037>
|
|
46
|
-
2017-04-24 11:10:47.018349|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
47
|
-
2017-04-24 11:10:47.018437|n| RLIMIT_NOFILE(4096,4096)
|
|
48
|
-
2017-04-24 11:10:48.017869|n| thread start (0/1)
|
|
49
|
-
2017-04-24 11:10:48.313167|n| thread end (0/0)
|
|
50
|
-
2017-04-24 11:10:48.314042|n| grn_fin (0)
|
|
51
|
-
2017-04-24 11:10:48.316882|n| grn_init: <7.0.1-105-gf940037>
|
|
52
|
-
2017-04-24 11:10:48.316926|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
53
|
-
2017-04-24 11:10:48.317007|n| RLIMIT_NOFILE(4096,4096)
|
|
54
|
-
2017-04-24 11:10:49.315935|n| thread start (0/1)
|
|
55
|
-
2017-04-24 11:10:49.698905|n| thread end (0/0)
|
|
56
|
-
2017-04-24 11:10:49.700064|n| grn_fin (0)
|
|
57
|
-
2017-04-24 11:10:49.705284|n| grn_init: <7.0.1-105-gf940037>
|
|
58
|
-
2017-04-24 11:10:49.705412|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
59
|
-
2017-04-24 11:10:49.705578|n| RLIMIT_NOFILE(4096,4096)
|
|
60
|
-
2017-04-24 11:10:50.702205|n| thread start (0/1)
|
|
61
|
-
2017-04-24 11:10:50.858002|n| thread end (0/0)
|
|
62
|
-
2017-04-24 11:10:50.858862|n| grn_fin (0)
|
|
63
|
-
2017-04-24 11:11:12.606175|n| grn_init: <7.0.1-105-gf940037>
|
|
64
|
-
2017-04-24 11:11:12.606214|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
65
|
-
2017-04-24 11:11:12.606307|n| RLIMIT_NOFILE(4096,4096)
|
|
66
|
-
2017-04-24 11:11:13.605834|n| thread start (0/1)
|
|
67
|
-
2017-04-24 11:11:13.842406|n| thread end (0/0)
|
|
68
|
-
2017-04-24 11:11:13.843288|n| grn_fin (0)
|
|
69
|
-
2017-04-24 11:11:13.846133|n| grn_init: <7.0.1-105-gf940037>
|
|
70
|
-
2017-04-24 11:11:13.846164|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
71
|
-
2017-04-24 11:11:13.846254|n| RLIMIT_NOFILE(4096,4096)
|
|
72
|
-
2017-04-24 11:11:14.845410|n| thread start (0/1)
|
|
73
|
-
2017-04-24 11:11:15.127688|n| thread end (0/0)
|
|
74
|
-
2017-04-24 11:11:15.128568|n| grn_fin (0)
|
|
75
|
-
2017-04-24 11:11:15.131325|n| grn_init: <7.0.1-105-gf940037>
|
|
76
|
-
2017-04-24 11:11:15.131357|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
77
|
-
2017-04-24 11:11:15.131440|n| RLIMIT_NOFILE(4096,4096)
|
|
78
|
-
2017-04-24 11:11:16.130617|n| thread start (0/1)
|
|
79
|
-
2017-04-24 11:11:42.306188|n| grn_init: <7.0.1-105-gf940037>
|
|
80
|
-
2017-04-24 11:11:42.306219|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
81
|
-
2017-04-24 11:11:42.306306|n| RLIMIT_NOFILE(4096,4096)
|
|
82
|
-
2017-04-24 11:11:43.308553|n| thread start (0/1)
|
|
83
|
-
2017-04-24 11:11:43.580788|n| thread end (0/0)
|
|
84
|
-
2017-04-24 11:11:43.581685|n| grn_fin (0)
|
|
85
|
-
2017-04-24 11:11:43.584541|n| grn_init: <7.0.1-105-gf940037>
|
|
86
|
-
2017-04-24 11:11:43.584576|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
87
|
-
2017-04-24 11:11:43.584662|n| RLIMIT_NOFILE(4096,4096)
|
|
88
|
-
2017-04-24 11:11:44.583985|n| thread start (0/1)
|
|
89
|
-
2017-04-24 11:11:44.874262|n| thread end (0/0)
|
|
90
|
-
2017-04-24 11:11:44.875167|n| grn_fin (0)
|
|
91
|
-
2017-04-24 11:11:44.877971|n| grn_init: <7.0.1-105-gf940037>
|
|
92
|
-
2017-04-24 11:11:44.878014|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
93
|
-
2017-04-24 11:11:44.878098|n| RLIMIT_NOFILE(4096,4096)
|
|
94
|
-
2017-04-24 11:11:45.877207|n| thread start (0/1)
|
|
95
|
-
2017-04-24 11:11:46.066477|n| thread end (0/0)
|
|
96
|
-
2017-04-24 11:11:46.067611|n| grn_fin (0)
|
|
97
|
-
2017-04-24 11:12:06.890149|n| grn_init: <7.0.1-105-gf940037>
|
|
98
|
-
2017-04-24 11:12:06.890181|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
99
|
-
2017-04-24 11:12:06.890263|n| RLIMIT_NOFILE(4096,4096)
|
|
100
|
-
2017-04-24 11:12:07.889979|n| thread start (0/1)
|
|
101
|
-
2017-04-24 11:12:08.166979|n| thread end (0/0)
|
|
102
|
-
2017-04-24 11:12:08.167884|n| grn_fin (0)
|
|
103
|
-
2017-04-24 11:12:08.170752|n| grn_init: <7.0.1-105-gf940037>
|
|
104
|
-
2017-04-24 11:12:08.170794|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
105
|
-
2017-04-24 11:12:08.170877|n| RLIMIT_NOFILE(4096,4096)
|
|
106
|
-
2017-04-24 11:12:09.170034|n| thread start (0/1)
|
|
107
|
-
2017-04-24 11:12:09.466889|n| thread end (0/0)
|
|
108
|
-
2017-04-24 11:12:09.467813|n| grn_fin (0)
|
|
109
|
-
2017-04-24 11:12:09.470729|n| grn_init: <7.0.1-105-gf940037>
|
|
110
|
-
2017-04-24 11:12:09.470761|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
111
|
-
2017-04-24 11:12:09.470845|n| RLIMIT_NOFILE(4096,4096)
|
|
112
|
-
2017-04-24 11:12:10.469841|n| thread start (0/1)
|
|
113
|
-
2017-04-24 11:12:10.568799|n| thread end (0/0)
|
|
114
|
-
2017-04-24 11:12:10.569881|n| grn_fin (0)
|
|
115
|
-
2017-04-24 11:12:21.466214|n| grn_init: <7.0.1-105-gf940037>
|
|
116
|
-
2017-04-24 11:12:21.466249|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
117
|
-
2017-04-24 11:12:21.466332|n| RLIMIT_NOFILE(4096,4096)
|
|
118
|
-
2017-04-24 11:12:22.466174|n| thread start (0/1)
|
|
119
|
-
2017-04-24 11:12:22.724694|n| thread end (0/0)
|
|
120
|
-
2017-04-24 11:12:22.725556|n| grn_fin (0)
|
|
121
|
-
2017-04-24 11:12:22.728489|n| grn_init: <7.0.1-105-gf940037>
|
|
122
|
-
2017-04-24 11:12:22.728520|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
123
|
-
2017-04-24 11:12:22.728608|n| RLIMIT_NOFILE(4096,4096)
|
|
124
|
-
2017-04-24 11:12:23.727545|n| thread start (0/1)
|
|
125
|
-
2017-04-24 11:12:23.997429|n| thread end (0/0)
|
|
126
|
-
2017-04-24 11:12:23.998293|n| grn_fin (0)
|
|
127
|
-
2017-04-24 11:12:24.001106|n| grn_init: <7.0.1-105-gf940037>
|
|
128
|
-
2017-04-24 11:12:24.001138|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
129
|
-
2017-04-24 11:12:24.001219|n| RLIMIT_NOFILE(4096,4096)
|
|
130
|
-
2017-04-24 11:12:25.000343|n| thread start (0/1)
|
|
131
|
-
2017-04-24 11:12:25.201017|n| thread end (0/0)
|
|
132
|
-
2017-04-24 11:12:25.202162|n| grn_fin (0)
|
|
133
|
-
2017-04-24 11:19:59.316027|n| grn_init: <7.0.1-105-gf940037>
|
|
134
|
-
2017-04-24 11:19:59.316064|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
135
|
-
2017-04-24 11:19:59.316148|n| RLIMIT_NOFILE(4096,4096)
|
|
136
|
-
2017-04-24 11:20:00.315342|n| thread start (0/1)
|
|
137
|
-
2017-04-24 11:20:00.543339|n| thread end (0/0)
|
|
138
|
-
2017-04-24 11:20:00.544322|n| grn_fin (0)
|
|
139
|
-
2017-04-24 11:20:00.547319|n| grn_init: <7.0.1-105-gf940037>
|
|
140
|
-
2017-04-24 11:20:00.547355|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
141
|
-
2017-04-24 11:20:00.547440|n| RLIMIT_NOFILE(4096,4096)
|
|
142
|
-
2017-04-24 11:20:01.545653|n| thread start (0/1)
|
|
143
|
-
2017-04-24 11:20:01.731747|n| thread end (0/0)
|
|
144
|
-
2017-04-24 11:20:01.732644|n| grn_fin (0)
|
|
145
|
-
2017-04-24 11:20:01.735519|n| grn_init: <7.0.1-105-gf940037>
|
|
146
|
-
2017-04-24 11:20:01.735558|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
147
|
-
2017-04-24 11:20:01.735643|n| RLIMIT_NOFILE(4096,4096)
|
|
148
|
-
2017-04-24 11:20:02.734551|n| thread start (0/1)
|
|
149
|
-
2017-04-24 11:20:02.951152|n| thread end (0/0)
|
|
150
|
-
2017-04-24 11:20:02.952691|n| grn_fin (0)
|
|
151
|
-
2017-04-24 11:20:09.446073|n| grn_init: <7.0.1-105-gf940037>
|
|
152
|
-
2017-04-24 11:20:09.446115|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
153
|
-
2017-04-24 11:20:09.446201|n| RLIMIT_NOFILE(4096,4096)
|
|
154
|
-
2017-04-24 11:20:10.448377|n| thread start (0/1)
|
|
155
|
-
2017-04-24 11:20:10.789136|n| thread end (0/0)
|
|
156
|
-
2017-04-24 11:20:10.792153|n| grn_fin (0)
|
|
157
|
-
2017-04-24 13:01:10.344434|e| system call error: Interrupted system call: epoll_wait
|
|
158
|
-
2017-04-24 13:01:10.344720|e| /tmp/local/lib/libgroonga.so.0(grn_com_event_poll+0x600) [0x7fe1890695cf]
|
|
159
|
-
2017-04-24 13:01:10.344749|e| /tmp/local/bin/groonga(+0x8db6) [0x564c572ecdb6]
|
|
160
|
-
2017-04-24 13:01:10.344763|e| /tmp/local/bin/groonga(+0x9e7c) [0x564c572ede7c]
|
|
161
|
-
2017-04-24 13:01:10.344776|e| /tmp/local/bin/groonga(+0xa035) [0x564c572ee035]
|
|
162
|
-
2017-04-24 13:01:10.344788|e| /tmp/local/bin/groonga(+0x132b7) [0x564c572f72b7]
|
|
163
|
-
2017-04-24 13:01:10.344800|e| /tmp/local/bin/groonga(+0x18088) [0x564c572fc088]
|
|
164
|
-
2017-04-24 13:01:10.344813|e| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fe1872bf2b1]
|
|
165
|
-
2017-04-24 13:01:10.344825|e| /tmp/local/bin/groonga(+0x4e2a) [0x564c572e8e2a]
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
2017-04-24 11:06:44.872561|n| grn_init: <7.0.1-105-gf940037>
|
|
2
|
-
2017-04-24 11:06:44.872642|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
3
|
-
2017-04-24 11:06:44.873832|n| DDL:256:table_create Entries
|
|
4
|
-
2017-04-24 11:06:44.929837|n| spec:256:update:Entries:48(table:hash_key):0
|
|
5
|
-
2017-04-24 11:06:44.930157|n| DDL:257:column_create Entries description
|
|
6
|
-
2017-04-24 11:06:44.979980|n| spec:257:update:Entries.description:65(column:var_size):15(Text)
|
|
7
|
-
2017-04-24 11:06:45.005342|n| grn_fin (0)
|
|
8
|
-
2017-04-24 11:06:45.013826|n| grn_init: <7.0.1-105-gf940037>
|
|
9
|
-
2017-04-24 11:06:45.013966|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
10
|
-
2017-04-24 11:06:45.030106|n| grn_fin (0)
|
|
11
|
-
2017-04-24 11:06:45.038715|n| grn_init: <7.0.1-105-gf940037>
|
|
12
|
-
2017-04-24 11:06:45.038857|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
13
|
-
2017-04-24 11:06:45.042555|n| DDL:258:table_create Bigram
|
|
14
|
-
2017-04-24 11:06:45.088700|n| spec:258:update:Bigram:49(table:pat_key):0
|
|
15
|
-
2017-04-24 11:06:45.089198|n| DDL:259:column_create Bigram Entries_description
|
|
16
|
-
2017-04-24 11:06:45.189880|n| spec:259:update:Bigram.Entries_description:72(column:index):256(Entries)
|
|
17
|
-
2017-04-24 11:06:45.210684|n| DDL:259:set_source Bigram.Entries_description Entries.description
|
|
18
|
-
2017-04-24 11:06:45.210758|n| spec:257:update:Entries.description:65(column:var_size):15(Text)
|
|
19
|
-
2017-04-24 11:06:45.215438|n| spec:259:update:Bigram.Entries_description:72(column:index):256(Entries)
|
|
20
|
-
2017-04-24 11:06:45.223494|n| grn_fin (0)
|
|
21
|
-
2017-04-24 11:06:46.117605|n| grn_init: <7.0.1-105-gf940037>
|
|
22
|
-
2017-04-24 11:06:46.117680|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
23
|
-
2017-04-24 11:06:46.117807|n| RLIMIT_NOFILE(4096,4096)
|
|
24
|
-
2017-04-24 11:06:47.117914|n| thread start (0/1)
|
|
25
|
-
2017-04-24 11:06:47.495106|n| thread end (0/0)
|
|
26
|
-
2017-04-24 11:06:47.498049|n| grn_fin (0)
|
|
27
|
-
2017-04-24 11:07:45.260497|n| grn_init: <7.0.1-105-gf940037>
|
|
28
|
-
2017-04-24 11:07:45.260555|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
29
|
-
2017-04-24 11:07:45.260635|n| RLIMIT_NOFILE(4096,4096)
|
|
30
|
-
2017-04-24 11:07:46.262231|n| thread start (0/1)
|
|
31
|
-
2017-04-24 11:07:49.196124|n| thread end (0/0)
|
|
32
|
-
2017-04-24 11:07:49.199045|n| grn_fin (0)
|
|
33
|
-
2017-04-24 11:10:47.015640|n| grn_init: <7.0.1-105-gf940037>
|
|
34
|
-
2017-04-24 11:10:47.015723|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
35
|
-
2017-04-24 11:10:47.015811|n| RLIMIT_NOFILE(4096,4096)
|
|
36
|
-
2017-04-24 11:10:48.018144|n| thread start (0/1)
|
|
37
|
-
2017-04-24 11:10:50.858117|n| thread end (0/0)
|
|
38
|
-
2017-04-24 11:10:50.861057|n| grn_fin (0)
|
|
39
|
-
2017-04-24 11:11:12.604406|n| grn_init: <7.0.1-105-gf940037>
|
|
40
|
-
2017-04-24 11:11:12.604464|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
41
|
-
2017-04-24 11:11:12.604542|n| RLIMIT_NOFILE(4096,4096)
|
|
42
|
-
2017-04-24 11:11:13.606243|n| thread start (0/1)
|
|
43
|
-
2017-04-24 11:11:42.304545|n| grn_init: <7.0.1-105-gf940037>
|
|
44
|
-
2017-04-24 11:11:42.304594|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
45
|
-
2017-04-24 11:11:42.304674|n| RLIMIT_NOFILE(4096,4096)
|
|
46
|
-
2017-04-24 11:11:43.305717|n| thread start (0/1)
|
|
47
|
-
2017-04-24 11:11:46.066584|n| thread end (0/0)
|
|
48
|
-
2017-04-24 11:11:46.070501|n| grn_fin (0)
|
|
49
|
-
2017-04-24 11:12:06.886810|n| grn_init: <7.0.1-105-gf940037>
|
|
50
|
-
2017-04-24 11:12:06.886857|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
51
|
-
2017-04-24 11:12:06.886933|n| RLIMIT_NOFILE(4096,4096)
|
|
52
|
-
2017-04-24 11:12:06.888501|n| thread start (0/1)
|
|
53
|
-
2017-04-24 11:12:10.568618|n| thread end (0/0)
|
|
54
|
-
2017-04-24 11:12:10.571785|n| grn_fin (0)
|
|
55
|
-
2017-04-24 11:12:21.462928|n| grn_init: <7.0.1-105-gf940037>
|
|
56
|
-
2017-04-24 11:12:21.462974|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
57
|
-
2017-04-24 11:12:21.463054|n| RLIMIT_NOFILE(4096,4096)
|
|
58
|
-
2017-04-24 11:12:21.467367|n| thread start (0/1)
|
|
59
|
-
2017-04-24 11:12:25.201154|n| thread end (0/0)
|
|
60
|
-
2017-04-24 11:12:25.205066|n| grn_fin (0)
|
|
61
|
-
2017-04-24 11:19:59.312302|n| grn_init: <7.0.1-105-gf940037>
|
|
62
|
-
2017-04-24 11:19:59.312348|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
63
|
-
2017-04-24 11:19:59.312424|n| RLIMIT_NOFILE(4096,4096)
|
|
64
|
-
2017-04-24 11:19:59.314172|n| thread start (0/1)
|
|
65
|
-
2017-04-24 11:20:02.950972|n| thread end (0/0)
|
|
66
|
-
2017-04-24 11:20:02.956336|n| grn_fin (0)
|
|
67
|
-
2017-04-24 11:20:09.443167|n| grn_init: <7.0.1-105-gf940037>
|
|
68
|
-
2017-04-24 11:20:09.443214|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
|
69
|
-
2017-04-24 11:20:09.443297|n| RLIMIT_NOFILE(4096,4096)
|
|
70
|
-
2017-04-24 11:20:10.445853|n| thread start (0/1)
|
|
71
|
-
2017-04-24 11:20:10.789276|n| thread end (0/0)
|
|
72
|
-
2017-04-24 11:20:10.792230|n| grn_fin (0)
|
|
73
|
-
2017-04-24 13:01:10.343392|e| system call error: Interrupted system call: epoll_wait
|
|
74
|
-
2017-04-24 13:01:10.343699|e| /tmp/local/lib/libgroonga.so.0(grn_com_event_poll+0x600) [0x7f8575c9c5cf]
|
|
75
|
-
2017-04-24 13:01:10.343722|e| groonga(+0xc58b) [0x56012441658b]
|
|
76
|
-
2017-04-24 13:01:10.343737|e| groonga(+0xde2e) [0x560124417e2e]
|
|
77
|
-
2017-04-24 13:01:10.343748|e| groonga(+0x54e0) [0x56012440f4e0]
|
|
78
|
-
2017-04-24 13:01:10.343759|e| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f857478d2b1]
|
|
79
|
-
2017-04-24 13:01:10.343771|e| groonga(+0x5e6a) [0x56012440fe6a]
|
|
File without changes
|