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

Fix tests failing in CI for Auditbeat x-pack in OSX #18855

Closed
2 tasks
jsoriano opened this issue May 29, 2020 · 3 comments
Closed
2 tasks

Fix tests failing in CI for Auditbeat x-pack in OSX #18855

jsoriano opened this issue May 29, 2020 · 3 comments

Comments

@jsoriano
Copy link
Member

jsoriano commented May 29, 2020

While trying to add some missing stages for Auditbeat x-pack in Jenkins (#18835), some tests were failing:

  • A check in the homebrew test for the package dataset
package_homebrew_test.go:74: 
Error Trace:	package_homebrew_test.go:74
            				package_homebrew_test.go:61
Error:      	Not equal: 
            	expected: "Krm421rtYM4wgq1S"
            	actual  : "cPZnKnE1DL7pmz7t"
            	
            	Diff:
            	--- Expected
            	+++ Actual
            	@@ -1 +1 @@
            	-Krm421rtYM4wgq1S
            	+cPZnKnE1DL7pmz7t
Test:       	TestHomebrew
package_test.go:29: received error: gob: type not registered for interface: errors.withStack
    error encoding packages
    github.com/elastic/beats/v7/x-pack/auditbeat/module/system/package.(*MetricSet).savePackagesToDisk
/private/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18835/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/package.go:466
    github.com/elastic/beats/v7/x-pack/auditbeat/module/system/package.(*MetricSet).reportState
/private/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18835/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/package.go:313
    github.com/elastic/beats/v7/x-pack/auditbeat/module/system/package.(*MetricSet).Fetch
/private/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18835/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/package.go:266
    github.com/elastic/beats/v7/metricbeat/mb/testing.ReportingFetchV2
/private/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18835/src/github.com/elastic/beats/metricbeat/mb/testing/modules.go:254
    github.com/elastic/beats/v7/x-pack/auditbeat/module/system/package.TestData
/private/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18835/src/github.com/elastic/beats/x-pack/auditbeat/module/system/package/package_test.go:27
    testing.tRunner
/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18835/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:909
    runtime.goexit
/var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18835/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:1357
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 29, 2020
@jsoriano jsoriano added Team:SIEM and removed needs_team Indicates that the issue/PR needs a Team:* label labels May 29, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@andrewkroh
Copy link
Member

andrewkroh commented May 29, 2020

Relates #18536

@botelastic
Copy link

botelastic bot commented Apr 30, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Apr 30, 2021
@botelastic botelastic bot closed this as completed May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants