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

[Flaky test] TestTranslateGUIDWithLDAP - match string 'xxx' not found in 'yyy' #42616

Open
belimawr opened this issue Feb 5, 2025 · 4 comments
Labels
flaky-test Unstable or unreliable test cases. Team:Security-Windows Platform Windows Platform Team in Security Solution

Comments

@belimawr
Copy link
Contributor

belimawr commented Feb 5, 2025

Flaky Test

Stack Trace

2025-02-04 17:30:10 EST	    framework.go:716:
2025-02-04 17:30:10 EST	        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1738707836564929496/elastic/filebeat/libbeat/tests/integration/framework.go:716
2025-02-04 17:30:10 EST	        	            				/opt/buildkite-agent/builds/bk-agent-prod-gcp-1738707836564929496/elastic/filebeat/filebeat/tests/integration/translate_ldap_attribute_test.go:122
2025-02-04 17:30:10 EST	        	Error:      	Condition never satisfied
2025-02-04 17:30:10 EST	        	Test:       	TestTranslateGUIDWithLDAP
2025-02-04 17:30:10 EST	        	Messages:   	match string '"fields":{"guid":"47dfc2f8-7793-103f-8cb6-ef0a6cfb4347","common_name":["User1","user01"]}' not found in /opt/buildkite-agent/builds/bk-agent-prod-gcp-1738707836564929496/elastic/filebeat/filebeat/build/integration-tests/TestTranslateGUIDWithLDAP176841076/output-file-20250204.ndjson
2025-02-04 17:30:10 EST	    framework.go:261: CMD line to execute Beat: /opt/buildkite-agent/builds/bk-agent-prod-gcp-1738707836564929496/elastic/filebeat/filebeat/filebeat.test filebeat --systemTest --path.home /opt/buildkite-agent/builds/bk-agent-prod-gcp-1738707836564929496/elastic/filebeat/filebeat/build/integration-tests/TestTranslateGUIDWithLDAP176841076 --path.logs /opt/buildkite-agent/builds/bk-agent-prod-gcp-1738707836564929496/elastic/filebeat/filebeat/build/integration-tests/TestTranslateGUIDWithLDAP176841076 -E logging.to_files=true -E logging.files.rotateeverybytes=104857600 -E logging.files.rotateonstartup=false -c /opt/buildkite-agent/builds/bk-agent-prod-gcp-1738707836564929496/elastic/filebeat/filebeat/build/integration-tests/TestTranslateGUIDWithLDAP176841076/filebeat.yml
2025-02-04 17:30:10 EST	    framework.go:921: Last 0 bytes of stderr:
2025-02-04 17:30:10 EST	    framework.go:927: Last 43 bytes of stdout:
2025-02-04 17:30:10 EST	        PASS
2025-02-04 17:30:10 EST	        coverage: 9.1% of statements in ./...
@belimawr belimawr added flaky-test Unstable or unreliable test cases. Team:Security-Windows Platform Windows Platform Team in Security Solution labels Feb 5, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform)

@belimawr
Copy link
Contributor Author

belimawr commented Feb 5, 2025

That's not the first time I see this test failing.

@belimawr
Copy link
Contributor Author

belimawr commented Feb 5, 2025

It's also failing when I run it on main from my machine:

tiago@millennium-falcon beats/filebeat  v1.23.0 🐍 v3.9.13  main [$?✔] % go test -tags=integration -run=TestTranslateGUIDWithLDAP -count=1 ./tests/integration
{"status":"Pulling from bitnami/openldap","id":"2"}
{"status":"Digest: sha256:c488d388efd1c663a4777e4ca3267cf624af22b212c1845533b5bcd57f210e6d"}
{"status":"Status: Image is up to date for bitnami/openldap:2"}
--- FAIL: TestTranslateGUIDWithLDAP (10.72s)
    translate_ldap_attribute_test.go:85: 
                Error Trace:    /home/tiago/devel/beats/filebeat/tests/integration/translate_ldap_attribute_test.go:85
                Error:          Condition never satisfied
                Test:           TestTranslateGUIDWithLDAP
FAIL
FAIL    github.com/elastic/beats/v7/filebeat/tests/integration  10.752s
FAIL
tiago@millennium-falcon beats/filebeat  v1.23.0 🐍 v3.9.13  main [$?✔] % git log -n 1
commit 81e2deffb8e1f661981606a76846fc36a26cc43c (HEAD -> main, upstream/main, upstream/HEAD)
Author: Victor Martinez <[email protected]>
Date:   Wed Feb 5 20:31:20 2025 +0100

    mergify: support 8.x for the backport-active-8 (#42614)
tiago@millennium-falcon beats/filebeat  v1.23.0 🐍 v3.9.13  main [$?✔] % 

I'll create a skip PR

@belimawr
Copy link
Contributor Author

belimawr commented Feb 5, 2025

PR to skip the test: #42617

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases. Team:Security-Windows Platform Windows Platform Team in Security Solution
Projects
None yet
Development

No branches or pull requests

2 participants