Bamboo Specs scanner doesn't work at Docker image

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: High
    • 9.6.22, 10.2.14
    • Affects Version/s: 9.6.21, 10.2.13
    • Component/s: Bamboo Specs
    • None
    • 1
    • Severity 1 - Critical

      Issue Summary

      Bamboo Specs scanner execution doesn't work when use Docker image for execution isolation

      Steps to Reproduce

      1. Create repository with Specs enabled
      2. Configure usage of Docker image at Security settings (enabled by default)
      3. Scan repo 

      Expected Results

      Bamboo Specs are correctly processed

      Actual Results

      The below exception is thrown in the atlassian-bamboo.log file:

      Caused by: java.lang.ClassNotFoundException: com.spotify.docker.client.shaded.javax.ws.rs.core.MultivaluedMap
          at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1351) ~[catalina.jar:9.0.111]
          at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1160) ~[catalina.jar:9.0.111]
          at com.atlassian.bamboo.configuration.external.rss.RepositoryStoredSpecsExecutionServiceImpl.lambda$runSpecsWithDocker$1(RepositoryStoredSpecsExecutionServiceImpl.java:236) ~[atlassian-bamboo-import-export-10.2.13.jar:?] 

      Workaround

      Disabled Docker isolation for specs execution - not recommended

            Assignee:
            Alexey Chystoprudov
            Reporter:
            Alexey Chystoprudov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: