[PATCH v2 lkp-tests] stats/build-pkg: update filtering rule

error_ids that are filtered out: /tmp/lkp/clementine-git/src/Clementine/3rdparty/qsqlite/qsql_sqlite.cpp: In function ‘QSqlError qMakeError(sqlite3*, const QString&, QSqlError::ErrorType, int)’: make: *** [makefile.linux:68: makefile.dependencies] Error 1 go: finding github.com/pingcap/errors v0.11.5-0.20201126102027-b0a155152ca3 Cyclomatic Complexity 8 ./include/trace/events/error_report.h:trace_error_report_end etc. Signed-off-by: Lin Jiaxin <ljx.joe@qq.com> --- stats/build-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats/build-pkg b/stats/build-pkg index 90f27656..764594b7 100755 --- a/stats/build-pkg +++ b/stats/build-pkg @@ -20,7 +20,7 @@ while (line = STDIN.gets) seqno = '' end next unless in_stderr - next unless line.downcase =~ /error|warning/ + next unless line.downcase =~ /(error|warning):[^:]/ error_ids << build_pkg_error_id(line) end -- 2.23.0

On Thu, Mar 25, 2021 at 10:28:46AM +0800, Lin Jiaxin wrote: Reviewed-by: Wang Yong <wangyong0117@qq.com>
error_ids that are filtered out:
/tmp/lkp/clementine-git/src/Clementine/3rdparty/qsqlite/qsql_sqlite.cpp: In function ‘QSqlError qMakeError(sqlite3*, const QString&, QSqlError::ErrorType, int)’:
make: *** [makefile.linux:68: makefile.dependencies] Error 1
go: finding github.com/pingcap/errors v0.11.5-0.20201126102027-b0a155152ca3
Cyclomatic Complexity 8 ./include/trace/events/error_report.h:trace_error_report_end
etc.
Signed-off-by: Lin Jiaxin <ljx.joe@qq.com> --- stats/build-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stats/build-pkg b/stats/build-pkg index 90f27656..764594b7 100755 --- a/stats/build-pkg +++ b/stats/build-pkg @@ -20,7 +20,7 @@ while (line = STDIN.gets) seqno = '' end next unless in_stderr - next unless line.downcase =~ /error|warning/ + next unless line.downcase =~ /(error|warning):[^:]/
error_ids << build_pkg_error_id(line) end -- 2.23.0

Reviewed-by: Wang Chenglong <18509160991@163.com> On Thu, Mar 25, 2021 at 10:28:46AM +0800, Lin Jiaxin wrote:
error_ids that are filtered out:
/tmp/lkp/clementine-git/src/Clementine/3rdparty/qsqlite/qsql_sqlite.cpp: In function ‘QSqlError qMakeError(sqlite3*, const QString&, QSqlError::ErrorType, int)’:
make: *** [makefile.linux:68: makefile.dependencies] Error 1
go: finding github.com/pingcap/errors v0.11.5-0.20201126102027-b0a155152ca3
Cyclomatic Complexity 8 ./include/trace/events/error_report.h:trace_error_report_end
etc.
Signed-off-by: Lin Jiaxin <ljx.joe@qq.com> --- stats/build-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stats/build-pkg b/stats/build-pkg index 90f27656..764594b7 100755 --- a/stats/build-pkg +++ b/stats/build-pkg @@ -20,7 +20,7 @@ while (line = STDIN.gets) seqno = '' end next unless in_stderr - next unless line.downcase =~ /error|warning/ + next unless line.downcase =~ /(error|warning):[^:]/
error_ids << build_pkg_error_id(line) end -- 2.23.0
participants (3)
-
Lin Jiaxin
-
Wang Chenglong
-
Wang Yong