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

[TEST] DeprecatedLoggingAuditTrailTests failing on 6.x #34627

Closed
ywelsch opened this issue Oct 19, 2018 · 3 comments
Closed

[TEST] DeprecatedLoggingAuditTrailTests failing on 6.x #34627

ywelsch opened this issue Oct 19, 2018 · 3 comments
Assignees
Labels
:Security/Audit X-Pack Audit logging >test-failure Triaged test failures from CI

Comments

@ywelsch
Copy link
Contributor

ywelsch commented Oct 19, 2018

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+intake/12/console

Output:

java.lang.AssertionError: unexpected warning headers expected null, but was:<[299 Elasticsearch-6.5.0-SNAPSHOT-1ff55f4 "[xpack.security.audit.logfile.prefix.emit_node_host_address] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version." "Thu, 18 Oct 2018 14:36:29 GMT", 299 Elasticsearch-6.5.0-SNAPSHOT-1ff55f4 "[xpack.security.audit.logfile.prefix.emit_node_host_name] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version." "Thu, 18 Oct 2018 14:36:29 GMT", 299 Elasticsearch-6.5.0-SNAPSHOT-1ff55f4 "[xpack.security.audit.logfile.prefix.emit_node_name] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version." "Thu, 18 Oct 2018 14:36:29 GMT"]>
	at __randomizedtesting.SeedInfo.seed([BAC761BB535D285F:44117AB72C278C35]:0)
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotNull(Assert.java:755)
	at org.junit.Assert.assertNull(Assert.java:737)
	at org.elasticsearch.test.ESTestCase.ensureNoWarnings(ESTestCase.java:377)
	at org.elasticsearch.test.ESTestCase.after(ESTestCase.java:355)
	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:996)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
	at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
	at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:947)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:832)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:883)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:894)
	at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
	at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
	at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
	at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
	at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
	at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
	at java.lang.Thread.run(Thread.java:748)

Probably relates to #34475

@ywelsch ywelsch added >test-failure Triaged test failures from CI :Security/Security Security issues without another label labels Oct 19, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@ywelsch ywelsch added :Security/Audit X-Pack Audit logging and removed :Security/Security Security issues without another label labels Oct 19, 2018
@ywelsch
Copy link
Contributor Author

ywelsch commented Oct 19, 2018

I've pushed 06230bd to mute these tests.

albertzaharovits added a commit that referenced this issue Oct 19, 2018
CI for #34475 ran successfuly but 6.x did
not had #33894 merged in yet.

Closes #34627
@albertzaharovits
Copy link
Contributor

Thank you @ywelsch .

Probably relates to #34475

You are right. I have pushed 6cf8a40 to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Security/Audit X-Pack Audit logging >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants