Skip to content

feat: parse http2 data in text mode (#580) #982

feat: parse http2 data in text mode (#580)

feat: parse http2 data in text mode (#580) #982

Triggered via push July 21, 2024 04:00
Status Success
Total duration 25m 27s
Artifacts

go-c-cpp.yml

on: push
build on ubuntu-20.04 x86_64
2m 54s
build on ubuntu-20.04 x86_64
build on ubuntu-22.04 x86_64
4m 56s
build on ubuntu-22.04 x86_64
Matrix: build on ubuntu-22.04 arm64
Fit to window
Zoom out
Zoom in

Annotations

1 error, 63 warnings, and 118 notices
build on ubuntu-20.04 x86_64
TestBpfConfig with correct configuration (gzip compressed)
build on ubuntu-20.04 x86_64
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
build on ubuntu-20.04 x86_64
Restore cache failed: Dependencies file is not found in /home/runner/work/ecapture/ecapture. Supported file pattern: go.sum
build on ubuntu-20.04 x86_64
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
Bool condition: user/event/event_nspr.go#L111
Condition `false && strings.TrimSpace(string(ne.Comm[:13])) != "Socket Thread"` is always `false`
Bool condition: user/module/probe_openssl_pcap.go#L52
Expression `skipLoopback` is always `true`
Bool condition: user/event/event_nspr.go#L83
Condition `false && strings.Compare(fire_thread, "Socket Thread") != 0` is always `false`
Bool condition: user/module/probe_gotls_pcap.go#L49
Expression `skipLoopback` is always `true`
Imported package name as a name identifier: user/module/imodule.go#L303
Variable `event` collides with imported package name
Unhandled error: pkg/util/ebpf/bpf.go#L203
Unhandled error
Unhandled error: user/config/common.go#L76
Unhandled error
Unhandled error: pkg/util/ebpf/bpf_linux.go#L90
Unhandled error
Unhandled error: cli/cobrautl/help.go#L126
Unhandled error
Unhandled error: user/config/config_bash.go#L56
Unhandled error
Unhandled error: pkg/util/ebpf/bpf.go#L234
Unhandled error
Unused constant: user/module/const.go#L43
Unused constant `MasterKeyHookFuncOpenSSL`
Unused constant: pkg/util/hkdf/hkdf.go#L43
Unused constant `ResumptionLabel`
Unused constant: pkg/event_processor/http_response.go#L28
Unused constant `HTTP_NEW_LINE_LENGTH`
Unused constant: user/module/probe_openssl_lib.go#L31
Unused constant `Linuxdefaulefilename31`
Unused constant: user/config/iconfig.go#L55
Unused constant `BTFModeNonCore`
Unused constant: user/module/probe_openssl_lib.go#L33
Unused constant `Linuxdefaulefilename330`
Unused constant: pkg/util/hkdf/hkdf.go#L44
Unused constant `TrafficUpdateLabel`
Unused constant: user/module/const.go#L21
Unused constant `ProbeTypeKprobe`
Unused constant: user/event/misc.go#L38
Unused constant `COLORWHITE`
Unused constant: user/module/const.go#L23
Unused constant `ProbeTypeTP`
Unused constant: pkg/util/hkdf/hkdf.go#L42
Unused constant `ExporterLabel`
Unused constant: user/config/common_linux.go#L26
Unused constant `ElfArchIsandroid`
Unused constant: pkg/event_processor/iparser.go#L37
Unused constant `PacketTypeWebSocket`
Unused constant: pkg/event_processor/iparser.go#L35
Unused constant `PacketTypeUnknow`
Unused constant: pkg/util/hkdf/hkdf.go#L54
Unused constant `KeyLogLabelClientEarlyTafficSecret`
Unused constant: user/module/const.go#L24
Unused constant `ProbeTypeXDP`
Unused constant: user/event/misc.go#L37
Unused constant `COLORCYAN`
Unused constant: pkg/util/hkdf/hkdf.go#L37
Unused constant `ResumptionBinderLabel`
Unused constant: user/module/const.go#L22
Unused constant `ProbeTypeTC`
Unused constant: user/event/event_mastersecret_gotls.go#L26
Unused constant `GotlsRandomSize`
Unused constant: pkg/event_processor/iparser.go#L46
Unused constant `ParserTypeWebSocket`
Unused exported function: pkg/util/ebpf/bpf.go#L145
Unused function `IsEnableBPF`
Unused exported function: pkg/util/kernel/version.go#L35
Unused function `ParseVersion`
Unused exported function: pkg/event_processor/iparser.go#L81
Unused function `GetModuleByName`
Unused parameter: cli/cmd/postgres.go#L42
Unused parameter `command`
Unused parameter: user/config/common.go#L29
Unused parameter `onErr func(string, error)`
Unused parameter: cli/cmd/gotls.go#L51
Unused parameter `command`
Unused parameter: user/module/probe_pcap.go#L336
Unused parameter `m *manager.Manager`
Unused parameter: cli/cmd/gnutls.go#L49
Unused parameter `args`
Unused parameter: user/module/imodule.go#L188
Unused parameter `p`
Unused parameter: pkg/event_processor/iparser.go#L136
Unused parameter `b`
Unused parameter: cli/cmd/postgres.go#L42
Unused parameter `args`
Unused parameter: cli/cmd/tls.go#L61
Unused parameter `command`
Unused parameter: cli/cmd/bash.go#L52
Unused parameter `args`
Unused parameter: cli/cmd/bash.go#L52
Unused parameter `command`
Unused parameter: cli/cmd/mysqld.go#L46
Unused parameter `args`
Unused parameter: cli/cmd/mysqld.go#L46
Unused parameter `command`
Unused parameter: cli/cmd/nss.go#L49
Unused parameter `args`
Unused parameter: cli/cmd/gnutls.go#L49
Unused parameter `command`
Unused parameter: cli/cmd/nss.go#L49
Unused parameter `command`
Single character alternation: pkg/util/ebpf/parse.go#L25
Single character alternation in RegExp
build on ubuntu-22.04 x86_64
Restore cache failed: Dependencies file is not found in /home/runner/work/ecapture/ecapture. Supported file pattern: go.sum
build on ubuntu-22.04 arm64 (aarch64, ubuntu22.04)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: DamianReeves/write-file-action@v1.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Malformed build tag: user/config/config_gnutls_linux.go#L2
//+build comments can be removed
Malformed build tag: user/event/event_mysqld.go#L2
//+build comments can be removed
Malformed build tag: user/config/config_postgres.go#L2
//+build comments can be removed
Malformed build tag: user/config/common_linux.go#L2
//+build comments can be removed
Malformed build tag: cli/cmd/nss.go#L2
//+build comments can be removed
Malformed build tag: user/module/probe_postgres.go#L2
//+build comments can be removed
Malformed build tag: user/event/event_postgres.go#L2
//+build comments can be removed
Malformed build tag: cli/cmd/postgres.go#L2
//+build comments can be removed
Malformed build tag: pkg/util/kernel/kernel_version.go#L2
//+build comments can be removed
Malformed build tag: user/config/config_nspr_linux.go#L2
//+build comments can be removed
Malformed build tag: user/module/probe_mysqld.go#L2
//+build comments can be removed
Malformed build tag: cli/http/server_linux.go#L2
//+build comments can be removed
Malformed build tag: cli/cmd/gnutls.go#L2
//+build comments can be removed
Malformed build tag: pkg/util/kernel/version.go#L2
//+build comments can be removed
Malformed build tag: user/config/config_mysqld.go#L2
//+build comments can be removed
Malformed build tag: user/config/config_openssl_linux.go#L2
//+build comments can be removed
Malformed build tag: cli/cmd/mysqld.go#L2
//+build comments can be removed
Malformed build tag: pkg/util/ebpf/bpf_linux.go#L2
//+build comments can be removed
Comment of exported element starts with the incorrect name: pkg/event_processor/http_response.go#L27
Comment should have the following format 'HTTP_NEW_LINE_LENGTH ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/config/config_gotls.go#L1
Package comment should be of the form 'Package config ...'
Comment of exported element starts with the incorrect name: user/config/config_mysqld.go#L40
Comment should have the following format 'MysqldConfig ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/config/config_openssl.go#L38
Comment should have the following format 'OpensslConfig ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/probe_mysqld.go#L44
Comment should have the following format 'Init ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/event/event_mysqld.go#L28
Comment should have the following format 'MysqldMaxDataSize ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/event/event_postgres.go#L28
Comment should have the following format 'PostgresMaxDataSize ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/event/event_openssl.go#L189
Comment should have the following format 'ConnDataEvent ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/probe_nspr.go#L42
Comment should have the following format 'Init ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/event/event_mysqld.go#L39
Comment should have the following format 'DispatchCommandV57Failed ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/event/ievent.go#L37
Comment should have the following format 'EventType ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/config/config_nspr.go#L19
Comment should have the following format 'NsprConfig ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/const.go#L42
Comment should have the following format 'MasterKeyHookFuncOpenSSL ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/probe_openssl.go#L96
Comment should have the following format 'Init ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/probe_pcap.go#L28
Comment should have the following format 'TcPacket ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: pkg/event_processor/iworker.go#L33
Comment should have the following format 'Write ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/probe_openssl.go#L336
Comment should have the following format 'DelConn ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/probe_bash.go#L48
Comment should have the following format 'Init ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/probe_postgres.go#L45
Comment should have the following format 'Init ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/module/probe_gnutls.go#L42
Comment should have the following format 'Init ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: user/event/event_gotls.go#L1
Package comment should be of the form 'Package event ...'
'defer' in the loop: user/config/common.go#L76
Possible resource leak, `defer` is called in the `for` loop
Direct comparison of errors: pkg/event_processor/http_response.go#L120
Comparison with errors in switch statements fails on wrapped errors
Direct comparison of errors: pkg/event_processor/http_request.go#L110
Comparison with errors in switch statements fails on wrapped errors
Error string should not be capitalized or end with punctuation: user/module/probe_gotls.go#L167
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/config/config_gotls.go#L38
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/config/config_gotls.go#L356
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/config/config_gotls.go#L140
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_nspr.go#L67
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_gotls.go#L226
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_postgres.go#L87
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/config/config_mysqld.go#L61
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_postgres.go#L82
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/config/config_gotls.go#L273
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_mysqld.go#L69
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/config/config_postgres.go#L43
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_openssl.go#L248
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_openssl.go#L273
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_postgres.go#L77
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_mysqld.go#L75
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/config/config_bash.go#L113
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: pkg/util/ebpf/bpf.go#L164
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: pkg/event_processor/http2_request.go#L45
Error string should not be capitalized or end with punctuation mark
Error string should not be capitalized or end with punctuation: user/module/probe_postgres.go#L101
Error string should not be capitalized or end with punctuation mark
Mixed value and pointer receivers: cli/http/server_linux.go#L44
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server.go#L55
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server.go#L59
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server.go#L64
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server.go#L74
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server.go#L79
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server.go#L69
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server_linux.go#L26
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server_linux.go#L49
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Mixed value and pointer receivers: cli/http/server_linux.go#L39
Struct HttpServer has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Name starts with a package name: user/event/ievent.go#L27
Name starts with the package name
Name starts with a package name: user/module/const.go#L31
Name starts with the package name
Name starts with a package name: pkg/util/kernel/kernel_version.go#L34
Name starts with the package name
Name starts with a package name: user/event/ievent.go#L17
Name starts with the package name
Name starts with a package name: cli/http/server.go#L25
Name starts with the package name
Name starts with a package name: user/event/ievent.go#L21
Name starts with the package name
Name starts with a package name: user/module/const.go#L28
Name starts with the package name
Name starts with a package name: user/module/const.go#L34
Name starts with the package name
Name starts with a package name: user/module/const.go#L33
Name starts with the package name
Name starts with a package name: user/module/const.go#L29
Name starts with the package name
Name starts with a package name: user/module/const.go#L30
Name starts with the package name
Name starts with a package name: pkg/util/ethernet/trailer.go#L15
Name starts with the package name
Name starts with a package name: user/module/const.go#L32
Name starts with the package name
Name starts with a package name: user/event/ievent.go#L24
Name starts with the package name
Empty slice declared using a literal: user/module/probe_pcap.go#L117
Empty slice declaration using a literal
Receiver has a generic name: user/event/event_mysqld.go#L137
Receiver has a generic name
Receiver has a generic name: user/event/event_mysqld.go#L133
Receiver has a generic name
Receiver has a generic name: user/event/event_mysqld.go#L125
Receiver has a generic name
Receiver has a generic name: user/event/event_mysqld.go#L119
Receiver has a generic name
Receiver has a generic name: user/event/event_mysqld.go#L77
Receiver has a generic name
Receiver has a generic name: user/event/event_mysqld.go#L129
Receiver has a generic name
Receiver has a generic name: user/event/event_mysqld.go#L114
Receiver has a generic name
Receiver has a generic name: user/event/event_mysqld.go#L109
Receiver has a generic name
Redundant type conversion: user/module/probe_nspr.go#L107
Redundant type conversion
Redundant type conversion: user/module/probe_bash.go#L117
Redundant type conversion
Redundant type conversion: pkg/util/ebpf/bpf.go#L78
Redundant type conversion
Redundant type conversion: user/module/probe_gnutls.go#L107
Redundant type conversion
Redundant type conversion: user/module/probe_openssl.go#L283
Redundant type conversion
Redundant type conversion: user/module/probe_openssl.go#L288
Redundant type conversion
Redundant type conversion: user/module/probe_gotls.go#L192
Redundant type conversion
Redundant type conversion: user/module/probe_gotls.go#L197
Redundant type conversion
Redundant type conversion: user/module/probe_nspr.go#L111
Redundant type conversion
Redundant type conversion: user/module/probe_bash.go#L112
Redundant type conversion
Redundant parentheses: user/event/event_mysqld.go#L115
Redundant parentheses
Redundant parentheses: user/event/event_postgres.go#L66
Redundant parentheses
Redundant parentheses: user/module/probe_bash.go#L253
Redundant parentheses
Redundant parentheses: user/event/event_postgres.go#L71
Redundant parentheses
Redundant parentheses: user/event/event_mysqld.go#L110
Redundant parentheses
Usage of Snake_Case: pkg/proc/proc_test.go#L12
Use camel case instead of snake case
Usage of Snake_Case: user/module/imodule.go#L98
Use camel case instead of snake case
Usage of Snake_Case: user/event/event_nspr.go#L81
Use camel case instead of snake case
Usage of Snake_Case: user/event/event_mysqld.go#L47
Use camel case instead of snake case
Usage of Snake_Case: pkg/event_processor/http_response.go#L28
Use camel case instead of snake case
Usage of Snake_Case: pkg/util/ebpf/bpf_linux.go#L57
Use camel case instead of snake case
Usage of Snake_Case: user/config/common_linux.go#L39
Use camel case instead of snake case
Struct initialization without field names: user/module/probe_pcap.go#L143
Fields are assigned without explicit names