org.openqa.selenium.NoSuchElementException: Unable to locate By.cssSelector: [path='/domainCredentials/hetero-list-add[credentials]'] in http://127.0.0.1:57322/credentials/ For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown

Jenkins JIRA | Andrew Bayer | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    A large number of tests (100+) are failing against 2.6 with errors like: {code} org.openqa.selenium.TimeoutException: Timed out after 3 seconds waiting for org.jenkinsci.test.acceptance.po.JobsMixIn$2@5fe5f2f0 Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'jenkins', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-71-generic', java.version: '1.8.0_60-ea' Driver info: driver.version: unknown at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:292) at org.jenkinsci.test.acceptance.junit.Wait.timeoutException(Wait.java:143) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261) at org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:74) at org.jenkinsci.test.acceptance.po.JobsMixIn.create(JobsMixIn.java:45) at org.jenkinsci.test.acceptance.po.JobsMixIn.create(JobsMixIn.java:69) at org.jenkinsci.test.acceptance.po.JobsMixIn.create(JobsMixIn.java:65) at plugins.no_docker.GitPluginNoDockerTest.checkout_branch(GitPluginNoDockerTest.java:53) {code} Some WithDocker tests started failing at the same time, but with a different error: {code} org.openqa.selenium.NoSuchElementException: Unable to locate By.cssSelector: [path='/domainCredentials/hetero-list-add[credentials]'] in http://127.0.0.1:57322/credentials/ For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.find(CapybaraPortingLayerImpl.java:189) at org.jenkinsci.test.acceptance.po.Control.resolve(Control.java:64) at org.jenkinsci.test.acceptance.po.Control.click(Control.java:90) at org.jenkinsci.test.acceptance.po.Control.selectDropdownMenu(Control.java:142) at org.jenkinsci.test.acceptance.plugins.credentials.ManagedCredentials.add(ManagedCredentials.java:29) at org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.addSshUsernamePrivateKeyCredentials(WithCredentials.java:110) at org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.enterCredentials(WithCredentials.java:90) at org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.evaluate(WithCredentials.java:73) at org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.evaluate(WithPlugins.java:105) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1$2$1.evaluate(JenkinsAcceptanceTestRule.java:172) at org.jenkinsci.test.acceptance.junit.FilterRule$1.evaluate(FilterRule.java:63) at org.jenkinsci.test.acceptance.junit.WithDocker$RuleImpl$1.evaluate(WithDocker.java:52) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:60) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:275) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:149) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: org.openqa.selenium.TimeoutException: Timed out after 1 seconds waiting for org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl$3@55b62629 Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:292) at org.jenkinsci.test.acceptance.junit.Wait.timeoutException(Wait.java:143) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261) at org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:74) at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.find(CapybaraPortingLayerImpl.java:177) at org.jenkinsci.test.acceptance.po.Control.resolve(Control.java:64) at org.jenkinsci.test.acceptance.po.Control.click(Control.java:90) at org.jenkinsci.test.acceptance.po.Control.selectDropdownMenu(Control.java:142) at org.jenkinsci.test.acceptance.plugins.credentials.ManagedCredentials.add(ManagedCredentials.java:29) at org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.addSshUsernamePrivateKeyCredentials(WithCredentials.java:110) at org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.enterCredentials(WithCredentials.java:90) at org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.evaluate(WithCredentials.java:73) at org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.evaluate(WithPlugins.java:105) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1$2$1.evaluate(JenkinsAcceptanceTestRule.java:172) at org.jenkinsci.test.acceptance.junit.FilterRule$1.evaluate(FilterRule.java:63) at org.jenkinsci.test.acceptance.junit.WithDocker$RuleImpl$1.evaluate(WithDocker.java:52) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:60) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:275) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:149) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) {code}

    Jenkins JIRA | 9 months ago | Andrew Bayer
    org.openqa.selenium.NoSuchElementException: Unable to locate By.cssSelector: [path='/domainCredentials/hetero-list-add[credentials]'] in http://127.0.0.1:57322/credentials/ For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown
  2. 0

    {noformat} Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 280.845 sec <<< FAILURE! - in plugins.WorkflowPluginTest linearFlow(plugins.WorkflowPluginTest) Time elapsed: 280.795 sec <<< ERROR! org.openqa.selenium.TimeoutException: Timed out after 120 seconds: Build occupational_missile #1 is finished. Console output: Started by user anonymous [Pipeline] Allocate node : Start Running on environmental_estate in /tmp/environmental_estate/workspace/occupational_missile [Pipeline] node { [Pipeline] git Cloning the remote Git repository Cloning repository https://github.com/jglick/simple-maven-project-with-tests.git > git init /tmp/environmental_estate/workspace/occupational_missile # timeout=10 Fetching upstream changes from https://github.com/jglick/simple-maven-project-with-tests.git > git --version # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/jglick/simple-maven-project-with-tests.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://github.com/jglick/simple-maven-project-with-tests.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/jglick/simple-maven-project-with-tests.git # timeout=10 Fetching upstream changes from https://github.com/jglick/simple-maven-project-with-tests.git > git -c core.askpass=true fetch --tags --progress https://github.com/jglick/simple-maven-project-with-tests.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 7dac409d4bd2fec35a4ccde0cb424042cba671df (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7dac409d4bd2fec35a4ccde0cb424042cba671df First time build. Skipping changelog. [Pipeline] readFile [Pipeline] echo Building version 1.0-SNAPSHOT [Pipeline] tool Unpacking http://archive.apache.org/dist/maven/binaries/apache-maven-3.1.0-bin.zip to /tmp/environmental_estate/tools/hudson.tasks.Maven_MavenInstallation/M3 on environmental_estate [Pipeline] Set environment variables : Start [Pipeline] withEnv { [Pipeline] sh [occupational_missile] Running shell script + mvn -B -Dmaven.test.failure.ignore verify [INFO] Scanning for projects... ... [Pipeline] } //withEnv [Pipeline] Set environment variables : End [Pipeline] input Ready to go? Proceed or Abort Resuming build Resuming build Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'arch', ip: '192.168.1.101', os.name: 'Linux', os.arch: 'amd64', os.version: '4.1.16-1-lts', java.version: '1.7.0_95' Driver info: driver.version: unknown at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:292) at org.jenkinsci.test.acceptance.junit.Wait.timeoutException(Wait.java:143) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261) at org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:128) at org.jenkinsci.test.acceptance.po.Build.waitUntilFinished(Build.java:109) at org.jenkinsci.test.acceptance.po.Build.waitUntilFinished(Build.java:98) at org.jenkinsci.test.acceptance.po.Build.getResult(Build.java:197) at org.jenkinsci.test.acceptance.po.Build.isSuccess(Build.java:182) at plugins.WorkflowPluginTest.linearFlow(WorkflowPluginTest.java:108) {noformat} Threaddump attached.

    Jenkins JIRA | 1 year ago | Oliver Gond┼ża
    org.openqa.selenium.TimeoutException: Timed out after 120 seconds: Build occupational_missile #1 is finished. Console output: Started by user anonymous [Pipeline] Allocate node : Start Running on environmental_estate in /tmp/environmental_estate/workspace/occupational_missile node { git Cloning the remote Git repository Cloning repository https://github.com/jglick/simple-maven-project-with-tests.git > git init /tmp/environmental_estate/workspace/occupational_missile # timeout=10 Fetching upstream changes from https://github.com/jglick/simple-maven-project-with-tests.git git --version # timeout=10 git -c core.askpass=true fetch --tags --progress https://github.com/jglick/simple-maven-project-with-tests.git +refs/heads/*:refs/remotes/origin/* git config remote.origin.url https://github.com/jglick/simple-maven-project-with-tests.git # timeout=10 git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 git config remote.origin.url https://github.com/jglick/simple-maven-project-with-tests.git # timeout=10 Fetching upstream changes from https://github.com/jglick/simple-maven-project-with-tests.git git -c core.askpass=true fetch --tags --progress https://github.com/jglick/simple-maven-project-with-tests.git +refs/heads/*:refs/remotes/origin/* git rev-parse refs/remotes/origin/master^{commit} # timeout=10 git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 7dac409d4bd2fec35a4ccde0cb424042cba671df (refs/remotes/origin/master) git config core.sparsecheckout # timeout=10 git checkout -f 7dac409d4bd2fec35a4ccde0cb424042cba671df First time build. Skipping changelog. readFile echo Building version 1.0-SNAPSHOT [Pipeline] tool Unpacking http://archive.apache.org/dist/maven/binaries/apache-maven-3.1.0-bin.zip to /tmp/environmental_estate/tools/hudson.tasks.Maven_MavenInstallation/M3 on environmental_estate Set environment variables : Start withEnv { sh [occupational_missile] Running shell script + mvn -B -Dmaven.test.failure.ignore verify [INFO] Scanning for projects... ... } //withEnv Set environment variables : End input Ready to go? Proceed or Abort Resuming build Resuming build Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'arch', ip: '192.168.1.101', os.name: 'Linux', os.arch: 'amd64', os.version: '4.1.16-1-lts', java.version: '1.7.0_95' Driver info: driver.version: unknown

    Root Cause Analysis

    1. org.openqa.selenium.TimeoutException

      Timed out after 1 seconds waiting for org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl$3@55b62629 Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown

      at org.openqa.selenium.support.ui.FluentWait.timeoutException()
    2. selenium-support
      FluentWait.timeoutException
      1. org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:292)
      1 frame
    3. org.jenkinsci.test
      Wait.timeoutException
      1. org.jenkinsci.test.acceptance.junit.Wait.timeoutException(Wait.java:143)
      1 frame
    4. selenium-support
      FluentWait.until
      1. org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261)
      1 frame
    5. org.jenkinsci.test
      WithPlugins$RuleImpl$1.evaluate
      1. org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:74)
      2. org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.find(CapybaraPortingLayerImpl.java:177)
      3. org.jenkinsci.test.acceptance.po.Control.resolve(Control.java:64)
      4. org.jenkinsci.test.acceptance.po.Control.click(Control.java:90)
      5. org.jenkinsci.test.acceptance.po.Control.selectDropdownMenu(Control.java:142)
      6. org.jenkinsci.test.acceptance.plugins.credentials.ManagedCredentials.add(ManagedCredentials.java:29)
      7. org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.addSshUsernamePrivateKeyCredentials(WithCredentials.java:110)
      8. org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.enterCredentials(WithCredentials.java:90)
      9. org.jenkinsci.test.acceptance.junit.WithCredentials$RuleImpl$1.evaluate(WithCredentials.java:73)
      10. org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.evaluate(WithPlugins.java:105)
      10 frames
    6. JUnit
      TestWatcher$1.evaluate
      1. org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      1 frame
    7. org.jenkinsci.test
      WithDocker$RuleImpl$1.evaluate
      1. org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1$2$1.evaluate(JenkinsAcceptanceTestRule.java:172)
      2. org.jenkinsci.test.acceptance.junit.FilterRule$1.evaluate(FilterRule.java:63)
      3. org.jenkinsci.test.acceptance.junit.WithDocker$RuleImpl$1.evaluate(WithDocker.java:52)
      3 frames
    8. JUnit
      TestWatcher$1.evaluate
      1. org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      1 frame
    9. org.jenkinsci.test
      JenkinsAcceptanceTestRule$1.evaluate
      1. org.jenkinsci.test.acceptance.junit.JenkinsAcceptanceTestRule$1.evaluate(JenkinsAcceptanceTestRule.java:60)
      1 frame
    10. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      9. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      9 frames
    11. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:275)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:149)
      4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
      4 frames
    12. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      3 frames