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

WFLY-456 Audit Logging #4889

Closed
wants to merge 18 commits into from
Closed

Conversation

kabir
Copy link
Contributor

@kabir kabir commented Aug 6, 2013

DO NOT MERGE UNTIL #4884 has been merged, only my last commit (or more if some work needed) belong to this. The rest come from #4884. I figured that these need to go in at the same time, so I rebased on Brian's rbac work to avoid conflicts once one or the other was merged first.

@wildfly-ci
Copy link

Build 350 is now running using a merge of 7c82717b4aa901150fe9d1e69146e30103848406

@kabir
Copy link
Contributor Author

kabir commented Aug 6, 2013

I stopped build 350 since I force pushed a rebase onto brian's rbac stuff

@kabir
Copy link
Contributor Author

kabir commented Aug 6, 2013

Retest this please!

@wildfly-ci
Copy link

Build 351 is now running using a merge of cf0efe1b5c9319477d2225357ead65f51cc3dbda

@bstansberry
Copy link
Contributor

For stuff like ServerSecurityManager that's been repackaged and that was public API, we need a compatibility solution. Since controller depends on core-security, for ServerSecurityManager that could just be a deprecated subclass.

This is more critical for the port to EAP 6, but might as well do it in WF 8 both to provide proper deprecation and to make the EAP port easier.

I haven't looked into whether other classes than ServerSecurityManager are relevant.

@wildfly-ci
Copy link

Build 351 outcome was FAILURE using a merge of cf0efe1b5c9319477d2225357ead65f51cc3dbda
Summary: Tests failed: 560 (554 new), passed: 2820, ignored: 48 Build time: 0:24:31

Failed tests

org.jboss.as.test.smoke.mgmt.servermodule.HttpDeploymentUploadUnitTestCase.testHttpDeploymentUpload: org.junit.ComparisonFailure: expected:<text/html[;utf-8]> but was:<text/html[]>
    at org.junit.Assert.assertEquals(Assert.java:115)
    at org.junit.Assert.assertEquals(Assert.java:144)

org.jboss.as.test.integration.web.websocket.WebSocketTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.auditlog.AuditLogTestCase.testEnableAndDisableCoreAuditLog: junit.framework.ComparisonFailure: expected:<[success]> but was:<[failed]>
    at junit.framework.Assert.assertEquals(Assert.java:100)
    at junit.framework.Assert.assertEquals(Assert.java:107)

org.jboss.as.test.integration.web.rootcontext.RootContextWarUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.formauth.FormAuthUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.rootcontext.RootContextEarUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.tx.TxControlUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.servlet.lifecycle.ServletLifecycleMethodDescriptorTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.servlet.enc.empty.EmptyCompEnvTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.servlet.overlays.ServletResourceOverlaysTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.extension.UndertowNonBlockingHandlerTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)


##### there are 550 more failed tests, see build details

@wildfly-ci
Copy link

Build 362 is now running using a merge of 2a3c5be303a1cec7cab95a71c0709007304df38e

I stopped this one since it would have failed

@wildfly-ci
Copy link

Build 363 is now running using a merge of 837239de40d79fa077790322401793032795b8c8

@wildfly-ci
Copy link

Build 363 outcome was FAILURE using a merge of 837239de40d79fa077790322401793032795b8c8
Summary: Tests failed: 561 (1 new), passed: 2821, ignored: 48 Build time: 0:27:32

Failed tests

org.jboss.as.test.integration.messaging.jms.context.InjectedJMSContextTestCase.testSendAndReceiveFromMDBWithRollback: java.lang.AssertionError:  Expected: is null      but: was "4b1a506e-02f6-4790-a6b6-512af07cf56d"
java.lang.AssertionError: 
Expected: is null
     but: was "4b1a506e-02f6-4790-a6b6-512af07cf56d"

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testDisableAndEnableAuditLog: java.lang.AssertionError: [{     "type" => "core",     "r/o" => false,     "booting" => false,     "user" => undefined,     "domainUUID" => undefined,     "access" => undefined,     "remote-address" => undefined,     "success" => true,     "ops" => [{         "operation" => "add",         "address" => [             {"access" => "audit"},             {"logger" => "audit-log"},             {"handler" => "test-file"}         ],         "operation-headers" => undefined     }] }] expected:<2> but was:<1>
java.lang.AssertionError: [{
    "type" => "core",
    "r/o" => false,

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testSeparateFileCoreAndJmxAuditLog: java.io.FileNotFoundException: /opt/buildAgent/work/340a2b56aab3b1db/jmx/./target/audit-log-test-log-dir/test-file.log (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testAuditLoggerBootUp: java.io.FileNotFoundException: /opt/buildAgent/work/340a2b56aab3b1db/jmx/./target/audit-log-test-log-dir/test-file.log (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testSameFileCoreAndJmxAuditLog: java.io.FileNotFoundException: /opt/buildAgent/work/340a2b56aab3b1db/jmx/./target/audit-log-test-log-dir/test-file.log (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testToggleReadOnly: java.lang.AssertionError: [{     "type" => "core",     "r/o" => false,     "booting" => false,     "user" => undefined,     "domainUUID" => undefined,     "access" => undefined,     "remote-address" => undefined,     "success" => true,     "ops" => [{         "operation" => "add",         "address" => [             {"access" => "audit"},             {"logger" => "audit-log"},             {"handler" => "test-file"}         ],         "operation-headers" => undefined     }] }] expected:<2> but was:<1>
java.lang.AssertionError: [{
    "type" => "core",
    "r/o" => false,

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testAuditLoggerAddAndRemoveJmxReference: java.io.FileNotFoundException: /opt/buildAgent/work/340a2b56aab3b1db/jmx/./target/audit-log-test-log-dir/test-file.log (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)

org.jboss.as.test.smoke.mgmt.servermodule.HttpDeploymentUploadUnitTestCase.testHttpDeploymentUpload: org.junit.ComparisonFailure: expected:<text/html[;utf-8]> but was:<text/html[]>
    at org.junit.Assert.assertEquals(Assert.java:115)
    at org.junit.Assert.assertEquals(Assert.java:144)

org.jboss.as.test.integration.web.websocket.WebSocketTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.auditlog.AuditLogTestCase.testEnableAndDisableCoreAuditLog: junit.framework.ComparisonFailure: expected:<[success]> but was:<[failed]>
    at junit.framework.Assert.assertEquals(Assert.java:100)
    at junit.framework.Assert.assertEquals(Assert.java:107)

org.jboss.as.test.integration.web.servlet.lifecycle.ServletLifecycleMethodDescriptorTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)


##### there are 551 more failed tests, see build details

@jamezp
Copy link
Member

jamezp commented Aug 7, 2013

Just a general question on the audit logging. Is there anything we could do in the logmanager to help with audit logging?

@wildfly-ci
Copy link

Build 379 is now running using a merge of f5321304d41026c4dc56893081a46da4dc553264

@wildfly-ci
Copy link

Build 379 outcome was FAILURE using a merge of f5321304d41026c4dc56893081a46da4dc553264
Summary: Tests failed: 560, passed: 2822, ignored: 48 Build time: 0:26:36

Failed tests

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testDisableAndEnableAuditLog: java.lang.AssertionError: [{     "type" => "core",     "r/o" => false,     "booting" => false,     "user" => undefined,     "domainUUID" => undefined,     "access" => undefined,     "remote-address" => undefined,     "success" => true,     "ops" => [{         "operation" => "add",         "address" => [             {"access" => "audit"},             {"logger" => "audit-log"},             {"handler" => "test-file"}         ],         "operation-headers" => undefined     }] }] expected:<2> but was:<1>
java.lang.AssertionError: [{
    "type" => "core",
    "r/o" => false,

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testSeparateFileCoreAndJmxAuditLog: java.io.FileNotFoundException: /opt/buildAgent/work/340a2b56aab3b1db/jmx/./target/audit-log-test-log-dir/test-file.log (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testAuditLoggerBootUp: java.io.FileNotFoundException: /opt/buildAgent/work/340a2b56aab3b1db/jmx/./target/audit-log-test-log-dir/test-file.log (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testSameFileCoreAndJmxAuditLog: java.io.FileNotFoundException: /opt/buildAgent/work/340a2b56aab3b1db/jmx/./target/audit-log-test-log-dir/test-file.log (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testToggleReadOnly: java.lang.AssertionError: [{     "type" => "core",     "r/o" => false,     "booting" => false,     "user" => undefined,     "domainUUID" => undefined,     "access" => undefined,     "remote-address" => undefined,     "success" => true,     "ops" => [{         "operation" => "add",         "address" => [             {"access" => "audit"},             {"logger" => "audit-log"},             {"handler" => "test-file"}         ],         "operation-headers" => undefined     }] }] expected:<2> but was:<1>
java.lang.AssertionError: [{
    "type" => "core",
    "r/o" => false,

org.jboss.as.jmx.auditlog.JmxAuditLogHandlerTestCase.testAuditLoggerAddAndRemoveJmxReference: java.io.FileNotFoundException: /opt/buildAgent/work/340a2b56aab3b1db/jmx/./target/audit-log-test-log-dir/test-file.log (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)

org.jboss.as.test.smoke.mgmt.servermodule.HttpDeploymentUploadUnitTestCase.testHttpDeploymentUpload: org.junit.ComparisonFailure: expected:<text/html[;utf-8]> but was:<text/html[]>
    at org.junit.Assert.assertEquals(Assert.java:115)
    at org.junit.Assert.assertEquals(Assert.java:144)

org.jboss.as.test.integration.auditlog.AuditLogTestCase.testEnableAndDisableCoreAuditLog: junit.framework.ComparisonFailure: expected:<[success]> but was:<[failed]>
    at junit.framework.Assert.assertEquals(Assert.java:100)
    at junit.framework.Assert.assertEquals(Assert.java:107)

org.jboss.as.test.integration.web.rootcontext.RootContextWarUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.websocket.WebSocketTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.formauth.FormAuthUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)


##### there are 550 more failed tests, see build details

@wildfly-ci
Copy link

Build 380 is now running using a merge of 2b72eda0015958806e492dd9ffdcbedbc7c9148f

@wildfly-ci
Copy link

Build 380 outcome was FAILURE using a merge of 2b72eda0015958806e492dd9ffdcbedbc7c9148f
Summary: Tests failed: 553, passed: 2829, ignored: 48 Build time: 0:24:34

Failed tests

org.jboss.as.test.integration.auditlog.AuditLogTestCase.testEnableAndDisableCoreAuditLog: junit.framework.ComparisonFailure: expected:<[success]> but was:<[failed]>
    at junit.framework.Assert.assertEquals(Assert.java:100)
    at junit.framework.Assert.assertEquals(Assert.java:107)

org.jboss.as.test.integration.web.servlet.lifecycle.ServletLifecycleMethodDescriptorTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.rootcontext.RootContextWarUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.servlet.enc.empty.EmptyCompEnvTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.servlet.overlays.ServletResourceOverlaysTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.websocket.WebSocketTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.formauth.FormAuthUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.rootcontext.RootContextEarUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.tx.TxControlUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.extension.UndertowNonBlockingHandlerTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.cookie.CookieUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)


##### there are 543 more failed tests, see build details

@wildfly-ci
Copy link

Build 385 is now running using a merge of 6b8a3f19a4ca38260ce9b416cc37d2daa0778143

@wildfly-ci
Copy link

Build 385 outcome was FAILURE using a merge of 6b8a3f19a4ca38260ce9b416cc37d2daa0778143
Summary: Tests failed: 552, passed: 2828, ignored: 45 Build time: 0:24:59

Failed tests

org.jboss.as.test.integration.web.websocket.WebSocketTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.auditlog.AuditLogTestCase.testEnableAndDisableCoreAuditLog: junit.framework.ComparisonFailure: expected:<[success]> but was:<[failed]>
    at junit.framework.Assert.assertEquals(Assert.java:100)
    at junit.framework.Assert.assertEquals(Assert.java:107)

org.jboss.as.test.integration.web.servlet.lifecycle.ServletLifecycleMethodDescriptorTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.rootcontext.RootContextWarUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.servlet.enc.empty.EmptyCompEnvTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.servlet.overlays.ServletResourceOverlaysTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.extension.UndertowNonBlockingHandlerTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.formauth.FormAuthUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.cookie.CookieUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.rootcontext.RootContextEarUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)

org.jboss.as.test.integration.web.tx.TxControlUnitTestCase: java.lang.AssertionError
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:146)
    at org.jboss.as.protocol.mgmt.ActiveOperationSupport.registerActiveOperation(ActiveOperationSupport.java:120)


##### there are 542 more failed tests, see build details

@wildfly-ci
Copy link

Build 387 is now running using a merge of 27eae07a46538bcf615b219395551144766a0f45

@wildfly-ci
Copy link

Build 387 outcome was FAILURE using a merge of 27eae07a46538bcf615b219395551144766a0f45
Summary: Tests failed: 2 (2 new), passed: 4371, ignored: 82 Build time: 1:27:22

Failed tests

org.jboss.as.test.clustering.cluster.ejb3.security.FailoverWithSecurityTestCase(SYNC-tcp).testDomainSecurityAnnotation: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:, moduleName:cluster-security-domain-test, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@1215d85
    at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:743)
    at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:116)

org.jboss.as.test.integration.domain.suites.DomainTestSuite: org.jboss.as.test.integration.domain.suites.AuditLogTestCase.testAuditLogInDomain: java.lang.AssertionError
    at org.junit.Assert.fail(Assert.java:86)
    at org.junit.Assert.assertTrue(Assert.java:41)

kabir and others added 8 commits August 9, 2013 09:27
…x is null. Fix bug undefining ApplicationTypeConfig.configuredApplication
…dd/remove operations.

Also update the operations to fail if inconsistent runtime state is detected.  It should not be possible for the runtime state to be out of synch as the model is always updated first - however if it was detected that it is out of synch the only option is to restart the server.

Also minor test update, we never added the role so should not be removing it.
@kabir
Copy link
Contributor Author

kabir commented Aug 9, 2013

Retest this please!

@wildfly-ci
Copy link

Build 395 is now running using a merge of dedeb28a587c1d2b22f542716d0ab9a23f83f132

@wildfly-ci
Copy link

Build 197 is now running using a merge of dedeb28a587c1d2b22f542716d0ab9a23f83f132

@wildfly-ci
Copy link

Build 197 outcome was FAILURE using a merge of dedeb28a587c1d2b22f542716d0ab9a23f83f132
Summary: Tests passed: 4181, ignored: 79; exit code 1 (new) Build time: 1:18:57

@wildfly-ci
Copy link

Build 395 outcome was SUCCESS using a merge of dedeb28a587c1d2b22f542716d0ab9a23f83f132
Summary: Tests passed: 4373, ignored: 82 Build time: 1:28:18

kabir added 10 commits August 9, 2013 18:25
…s changed so much

[WFLY-456] Minor OperationContext impl cleanups
[WFLY-456] Bring in John Bailey's audit log classes
[WFLY-456] Add real audit loggers into the model controllers; integrate management handlers
[WFLY-456] Log the full set of information
[WFLY-456] Fix problems from rebase
[WFLY-456] Use SecurityContext when invoking JMX methods via remoting
[WFLY-456] Move core security classes into own module
[WFLY-456]  Rework things and make the controller logger work
[WFLY-456] Include the access mechanism in the log, move some more classes to core-security
[WFLY-456] Make audit logger available to JMX
[WFLY-456] Pluggable MBeanServer delegate to audit logger, and loads of exception handling
[WFLY-456] Jmx audit log proxy
[WFLY-456] Separate the configuration for the core controller and jmx audit logs
[WFLY-456] Set the booting flag in the jmx layer
[WFLY-456] Integrate audit logging resource and ops into JMX extension so it can be configured there
[WFLY-456] Correct copyright notices in my new files
[WFLY-456] fix problems from rebase
[WFLY-456] Get rid of the original hashing implementation
[WFLY-456] Add missing originalResultTxControl from rebase
[WFLY-456] Add config for appenders
[WFLY-456] Basic file appender and json formatter. The output needs cleaning up and everything is currently hardcoded
[WFLY-456] Back up the previous log file. Basic syslog appender (awaiting the improved logmanager SyslogHandler)
[WFLY-456] Use the org.wildfly:wildfly-xxx names. Start configuring file appenders
[WFLY-456] Configure model for syslog appender
[WFLY-456] Log audit log records for ParallelBootOperationContext and ReadOnlyContext
[WFLY-456] Make whether to log on boot configurable
[WFLY-456] Be able to add/remove appender references at runtime and update the appenders at runtime
[WFLY-456] Add boot-log to jmx audit-log as well and update xsd's for both core and jmx
[WFLY-456] Make additive changes to appenders take effect right away, and delay changes/removals until the current audit record has been written
[WFLY-456] Add schema support and parsing for managed server path overrides, and clean up the handlers
[WFLY-456] Use 'handler' rather than 'appender'
[WFLY-456] Pass in audit log operations to managed servers on boot
[WFLY-456] Separate handler chains for host and managed server audit logs
[WFLY-456] i18n and get rid of code no longer needed
[WFLY-456] Fix problems from rebase, revisit security after moved WildFlySecurityManager
[WFLY-456] Flesh out the syslog handler, tried with UDP
[WFLY-456] Start testing the handlers and ops
[WFLY-456] Set up proper syslog host and app names
[WFLY-456] More tests
[WFLY-456] Complete renaming appender->handler. Really
[WFLY-456] Nicer separate configuration for JMX
[WFLY-456] Better testing for enabled and log-read-only audit log write attribute handlers
[WFLY-456] Separate handlers for JMX subsystem audit logging, and tests
[WFLY-456] Maintan a failure count per appender
[WFLY-456] Configure the json formatter and reference from the audit log handlers

																																																																																																    Expose 'max-length' and 'truncate' for the syslog handler
[WFLY-456] Make audit logging work in admin-only mode

Fix bug not enabling the appender in domain mode
[WFLY-456] Fixes to tls syslog handler having tried it out against rsyslog
[WFLY-456] don't enable log by default
[WFLY-456] Test jmx audit log transformation
[WFLY-456] Test audit logging in testsuite
[WFLY-456] Move new i18n bits into domain-management, rather than using the ones from controller
[WFLY-456] Recycle handler operation, make max-failure-count configurable per handler, expose runtime attributes for handler failure counts
[WFLY-456] Use strings instead of byte[] for the formatters for now. We can revisit the byte[] part if more tamper detecting formatters are used in the future
[WFLY-456] Use platform independent line terminator
[WFLY-456] Changes to work with latest logmanager following a squash
Bump up jmx subsystem to 2.0
Better syncing of writing in FileAuditLogHandler
Various other small fixes
TODO to populate the subject higher up the chain https://issues.jboss.org/browse/WFLY-1852
Missing copyright notices
Implement MBeanServerAuditLogger.shouldLog()
…moting into the http management server module
It is needed for JmxAuditLogHandlerTestCase (which also sets it) so if it runs after the tests creating an mbean server we are in trouble
@wildfly-ci
Copy link

Build 398 is now running using a merge of 879ff37

@wildfly-ci
Copy link

Build 398 outcome was FAILURE using a merge of 879ff37
Summary: Tests passed: 635, ignored: 4; exit code 1 (new) Build time: 0:1:32

@n1hility
Copy link
Member

n1hility commented Aug 9, 2013

merged

@n1hility n1hility closed this Aug 9, 2013
@wildfly-ci
Copy link

Build 361 is now running using a merge of 879ff37

@wildfly-ci
Copy link

Build 361 outcome was FAILURE using a merge of 879ff37
Summary: Tests passed: 635, ignored: 4; exit code 1 Build time: 0:1:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants