Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Failed test][testbed] TestSyslogComplementaryRFC3164 failed all the time #38238

Open
songy23 opened this issue Feb 26, 2025 · 2 comments
Open
Labels
flaky test a test is flaky testbed

Comments

@songy23
Copy link
Member

songy23 commented Feb 26, 2025

Component(s)

testbed

Describe the issue you're reporting

e.g. https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13527902261/job/37823788519#logs

Error:      	Not equal: 
        	            	expected: plog.Logs{orig:(*v1.ExportLogsServiceRequest)(0xc000896318), state:(*internal.State)(0xc0007200bc)}
        	            	actual  : plog.Logs{orig:(*v1.ExportLogsServiceRequest)(0xc000bc28a0), state:(*internal.State)(0xc000564b4c)}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -19,9 +19,9 @@
        	            	        (*v1.LogRecord)({
        	            	-        TimeUnixNano: (uint64) 1697062455000000000,
        	            	+        TimeUnixNano: (uint64) 0,
        	            	         ObservedTimeUnixNano: (uint64) 0,
        	            	-        SeverityNumber: (v1.SeverityNumber) 18,
        	            	-        SeverityText: (string) (len=4) "crit",
        	            	+        SeverityNumber: (v1.SeverityNumber) 0,
        	            	+        SeverityText: (string) "",
        	            	         Body: (v1.AnyValue) {
        	            	          Value: (*v1.AnyValue_StringValue)({
        	            	-          StringValue: (string) (len=[81](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13527902261/job/37823788519#step:10:82)) "<34>Oct 11 2023 22:14:15 mymachine su: 'su root' failed for lonvick on /dev/pts/8"
        	            	+          StringValue: (string) (len=22) "<165>Jan 01 00:00:00 -"
        	            	          })
        	            	@@ -40,9 +40,9 @@
        	            	        (*v1.LogRecord)({
        	            	-        TimeUnixNano: (uint64) 1697062455000000000,
        	            	+        TimeUnixNano: (uint64) 0,
        	            	         ObservedTimeUnixNano: (uint64) 0,
        	            	-        SeverityNumber: (v1.SeverityNumber) 17,
        	            	-        SeverityText: (string) (len=3) "err",
        	            	+        SeverityNumber: (v1.SeverityNumber) 0,
        	            	+        SeverityText: (string) "",
        	            	         Body: (v1.AnyValue) {
        	            	          Value: (*v1.AnyValue_StringValue)({
        	            	-          StringValue: (string) (len=28) "<19>Oct 11 2023 22:14:15 - -"
        	            	+          StringValue: (string) (len=22) "<165>Jan 01 00:00:00 -"
        	            	          })
        	Test:       	TestSyslogComplementaryRFC3164
    syslog_integration_test.go:203: 
        	Error Trace:	/home/ghrunner/actions-runner/_work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/testbed/tests/syslog_integration_test.go:203
        	            				/home/ghrunner/actions-runner/_work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/testbed/tests/syslog_integration_test.go:[97](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13527902261/job/37823788519#step:10:98)
        	Error:      	Not equal: 
        	            	expected: []map[string]interface {}{map[string]interface {}{"appname":"su", "facility":4, "hostname":"mymachine", "message":"'su root' failed for lonvick on /dev/pts/8", "priority":34}, map[string]interface {}{"facility":2, "message":"-", "priority":19}}
        	            	actual  : []map[string]interface {}{map[string]interface {}{}, map[string]interface {}{}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,13 +1,5 @@
        	            	 ([]map[string]interface {}) (len=2) {
        	            	- (map[string]interface {}) (len=5) {
        	            	-  (string) (len=7) "appname": (string) (len=2) "su",
        	            	-  (string) (len=8) "facility": (int64) 4,
        	            	-  (string) (len=8) "hostname": (string) (len=9) "mymachine",
        	            	-  (string) (len=7) "message": (string) (len=42) "'su root' failed for lonvick on /dev/pts/8",
        	            	-  (string) (len=8) "priority": (int64) 34
        	            	+ (map[string]interface {}) {
        	            	  },
        	            	- (map[string]interface {}) (len=3) {
        	            	-  (string) (len=8) "facility": (int64) 2,
        	            	-  (string) (len=7) "message": (string) (len=1) "-",
        	            	-  (string) (len=8) "priority": (int64) 19
        	            	+ (map[string]interface {}) {
        	            	  }
        	Test:       	TestSyslogComplementaryRFC3164
@songy23 songy23 added flaky test a test is flaky testbed labels Feb 26, 2025
Copy link
Contributor

Pinging code owners:

  • testbed: @open-telemetry/collector-approvers

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Copy link
Contributor

Pinging code owners for testbed: @open-telemetry/collector-approvers. See Adding Labels via Comments if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triaged' to set the priority and remove the needs-triaged label.

@songy23 songy23 changed the title [Failed test][testbed] syslog_integration_test failed all the time [Failed test][testbed] TestSyslogComplementaryRFC3164 failed all the time Feb 26, 2025
dmitryax pushed a commit that referenced this issue Feb 26, 2025
#### Description
Skip TestSyslogComplementaryRFC3164, it has been broken for quite a
while

#### Link to tracking issue

#38238
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky test a test is flaky testbed
Projects
None yet
Development

No branches or pull requests

1 participant