Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62481

Fix audit trail acceptance tests

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      acceptance-test-harness-1.73

      Description

      Affected tests:
      plugins.AuditTrailPluginTest.trail_should_contain_logged_events
      plugins.AuditTrailPluginTest.trail_should_be_empty_after_login

      Failing at least since 2.204

       

      Failure stacktrace:

      *** Element info: {Using=css selector, value=[path='/jenkins-model-GlobalPluginConfiguration/plugin/name']} 
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
              at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) 
              at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) 
              at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) 
              at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) 
              at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) 
              at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548) 
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:322) 
              at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:416) 
              at org.openqa.selenium.By$ByCssSelector.findElement(By.java:431) 
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:314) 
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
              at java.lang.reflect.Method.invoke(Method.java:498) 
              at org.openqa.selenium.support.events.EventFiringWebDriver.lambda$new$1(EventFiringWebDriver.java:105) 
              at com.sun.proxy.$Proxy35.findElement(Unknown Source) 
              at org.openqa.selenium.support.events.EventFiringWebDriver.findElement(EventFiringWebDriver.java:194) 
              at org.jenkinsci.test.acceptance.po.GlobalPluginConfiguration.toPathName(GlobalPluginConfiguration.java:26) 
              at org.jenkinsci.test.acceptance.po.GlobalPluginConfiguration.<init>(GlobalPluginConfiguration.java:18) 
              at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailGlobalConfiguration.<init>(AuditTrailGlobalConfiguration.java:1
      7) 
              at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailLogger$ExposedFile.<init>(AuditTrailLogger.java:106) 
              at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailLogger.create(AuditTrailLogger.java:48) 
              at plugins.AuditTrailPluginTest.setUp(AuditTrailPluginTest.java:23) 
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
              at java.lang.reflect.Method.invoke(Method.java:498) 
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) 
              at org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.evaluate(WithPlugins.java:164) 
              at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) 
              at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) 
              at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) 
              at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1$2$1.evaluate(JenkinsAcceptanceTestRule.java:168) 
              at org.jenkinsci.test.acceptance.junit.FilterRule$1.evaluate(FilterRule.java:63) 
              at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) 
              at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:58) 
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) 
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) 
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) 
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) 
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) 
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 
              at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) 
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) 
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) 
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) 
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) 
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) 
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

        Attachments

          Activity

          ealvarez Esther Álvarez Feijoo created issue -
          ealvarez Esther Álvarez Feijoo made changes -
          Field Original Value New Value
          Assignee Oliver Gondža [ olivergondza ] Esther Álvarez Feijoo [ ealvarez ]
          ealvarez Esther Álvarez Feijoo made changes -
          Description Affected tests:
          plugins.AuditTrailPluginTest.trail_should_contain_logged_events
          plugins.AuditTrailPluginTest.trail_should_be_empty_after_login

          Failing at least since 2.204

          {{Failure Cause: }}
          {{}}
          {noformat}
          *** Element info: {Using=css selector, value=[path='/jenkins-model-GlobalPluginConfiguration/plugin/name']}
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
                  at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
                  at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
                  at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
                  at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
                  at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
                  at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
                  at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:322)
                  at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:416)
                  at org.openqa.selenium.By$ByCssSelector.findElement(By.java:431)
                  at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:314)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                  at java.lang.reflect.Method.invoke(Method.java:498)
                  at org.openqa.selenium.support.events.EventFiringWebDriver.lambda$new$1(EventFiringWebDriver.java:105)
                  at com.sun.proxy.$Proxy35.findElement(Unknown Source)
                  at org.openqa.selenium.support.events.EventFiringWebDriver.findElement(EventFiringWebDriver.java:194)
                  at org.jenkinsci.test.acceptance.po.GlobalPluginConfiguration.toPathName(GlobalPluginConfiguration.java:26)
                  at org.jenkinsci.test.acceptance.po.GlobalPluginConfiguration.<init>(GlobalPluginConfiguration.java:18)
                  at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailGlobalConfiguration.<init>(AuditTrailGlobalConfiguration.java:1
          7)
                  at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailLogger$ExposedFile.<init>(AuditTrailLogger.java:106)
                  at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailLogger.create(AuditTrailLogger.java:48)
                  at plugins.AuditTrailPluginTest.setUp(AuditTrailPluginTest.java:23)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                  at java.lang.reflect.Method.invoke(Method.java:498)
                  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
                  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
                  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
                  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
                  at org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.evaluate(WithPlugins.java:164)
                  at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
                  at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
                  at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
                  at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1$2$1.evaluate(JenkinsAcceptanceTestRule.java:168)
                  at org.jenkinsci.test.acceptance.junit.FilterRule$1.evaluate(FilterRule.java:63)
                  at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
                  at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:58)
                  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
                  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
                  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
                  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
                  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
                  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
                  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
                  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
                  at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
                  at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418){noformat}
          Affected tests:
           plugins.AuditTrailPluginTest.trail_should_contain_logged_events
           plugins.AuditTrailPluginTest.trail_should_be_empty_after_login

          Failing at least since 2.204

           

          Failure stacktrace:
          {noformat}
          *** Element info: {Using=css selector, value=[path='/jenkins-model-GlobalPluginConfiguration/plugin/name']}
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
                  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
                  at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
                  at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
                  at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
                  at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
                  at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
                  at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
                  at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:322)
                  at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:416)
                  at org.openqa.selenium.By$ByCssSelector.findElement(By.java:431)
                  at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:314)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                  at java.lang.reflect.Method.invoke(Method.java:498)
                  at org.openqa.selenium.support.events.EventFiringWebDriver.lambda$new$1(EventFiringWebDriver.java:105)
                  at com.sun.proxy.$Proxy35.findElement(Unknown Source)
                  at org.openqa.selenium.support.events.EventFiringWebDriver.findElement(EventFiringWebDriver.java:194)
                  at org.jenkinsci.test.acceptance.po.GlobalPluginConfiguration.toPathName(GlobalPluginConfiguration.java:26)
                  at org.jenkinsci.test.acceptance.po.GlobalPluginConfiguration.<init>(GlobalPluginConfiguration.java:18)
                  at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailGlobalConfiguration.<init>(AuditTrailGlobalConfiguration.java:1
          7)
                  at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailLogger$ExposedFile.<init>(AuditTrailLogger.java:106)
                  at org.jenkinsci.test.acceptance.plugins.audit_trail.AuditTrailLogger.create(AuditTrailLogger.java:48)
                  at plugins.AuditTrailPluginTest.setUp(AuditTrailPluginTest.java:23)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                  at java.lang.reflect.Method.invoke(Method.java:498)
                  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
                  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
                  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
                  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
                  at org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.evaluate(WithPlugins.java:164)
                  at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
                  at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
                  at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
                  at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1$2$1.evaluate(JenkinsAcceptanceTestRule.java:168)
                  at org.jenkinsci.test.acceptance.junit.FilterRule$1.evaluate(FilterRule.java:63)
                  at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
                  at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:58)
                  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
                  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
                  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
                  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
                  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
                  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
                  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
                  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
                  at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
                  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
                  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
                  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
                  at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
                  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418){noformat}
          ealvarez Esther Álvarez Feijoo made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          ealvarez Esther Álvarez Feijoo made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          ealvarez Esther Álvarez Feijoo made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
          teilo James Nord made changes -
          Released As acceptance-test-harness-1.73
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            Assignee:
            ealvarez Esther Álvarez Feijoo
            Reporter:
            ealvarez Esther Álvarez Feijoo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: