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

Docker fingerprint not showing image usage in UI.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • docker-commons-plugin
    • None
    • Jenkins 2.75, docker-commons 1.8, docker-workflow 1.12

      Docker image usage is not displayed in the UI, although the fingerprint xml file shows that 2 different projects (Pipeline and Multibranch) are using the same image.

      Not sure if this is impacting CloudBees Docker Traceability plugin since it is not showing any container information.

      cat /var/lib/jenkins/fingerprints/25/f8/e328d66b78f2daf8df02274db065.xml
      <?xml version='1.0' encoding='UTF-8'?> 
      <fingerprint> 
       <timestamp>2017-08-28 08:56:36.951 UTC</timestamp> 
       <original> 
         <name>Docker/cmake/ubuntu16-cmake/latest</name> 
         <number>21</number> 
       </original> 
       <md5sum>25f8e328d66b78f2daf8df02274db065</md5sum> 
       <fileName>Docker image sha256:25f8e328d66b78f2daf8df02274db0658e8027c715ff7d758495ed74e2d2c619</fileName> 
       <usages/> 
       <facets> 
         <org.jenkinsci.plugins.docker.commons.fingerprint.DockerAncestorFingerprintFacet plugin="docker-commons@1.8"> 
           <timestamp>1503910596948</timestamp> 
           <imageId>sha256:25f8e328d66b78f2daf8df02274db0658e8027c715ff7d758495ed74e2d2c619</imageId> 
           <usages> 
             <entry> 
               <string>Docker/cmake/ubuntu16-cmake/latest</string> 
               <ranges>21</ranges> 
             </entry> 
           </usages> 
           <ancestorImageIds class="sorted-set"> 
             <string>sha256:ccc7a11d65b1b5874b65adb4b2387034582d08d65ac1817ebc5fb9be1baa5f88</string> 
           </ancestorImageIds> 
         </org.jenkinsci.plugins.docker.commons.fingerprint.DockerAncestorFingerprintFacet> 
         <org.jenkinsci.plugins.docker.commons.fingerprint.DockerRunFingerprintFacet plugin="docker-commons@1.8"> 
           <timestamp>1503910826573</timestamp> 
           <imageId>sha256:25f8e328d66b78f2daf8df02274db0658e8027c715ff7d758495ed74e2d2c619</imageId> 
           <usages> 
             <entry> 
               <string>C/Hello-World-C-2/master</string> 
               <ranges>47-48</ranges> 
             </entry> 
             <entry> 
               <string>Tests/random-tests</string> 
               <ranges>50</ranges> 
             </entry> 
           </usages> 
           <records class="java.util.concurrent.CopyOnWriteArrayList"> 
             <org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
               <host>4c1f0cbd814f</host> 
               <containerId>4c1f0cbd814f6b7bf79edf33bbfca663b5c3819a2ab76206c5c6e9338899964f</containerId> 
               <containerName>/gallant_saha</containerName> 
               <created>1503903625000</created> 
               <tags/> 
             </org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
             <org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
               <host>26865954d703</host> 
               <containerId>26865954d7034368e173c7da66d2a94b4943e4e1bf4fb73318510579668f8f36</containerId> 
               <containerName>/amazing_swanson</containerName> 
               <created>1503903626000</created> 
               <tags/> 
             </org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
             <org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
               <host>68173845c12b</host> 
               <containerId>68173845c12b49728de1f1e83dfecf47b2a0eddc1faab737ea2e79a56b8b0961</containerId> 
               <containerName>/stoic_varahamihira</containerName> 
               <created>1503903627000</created> 
               <tags/> 
             </org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
             <org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
               <host>f2317cbc021a</host> 
               <containerId>f2317cbc021ac86ad52ef9729f41da0863cbce25123f2317367682edf009881c</containerId> 
               <containerName>/eager_cori</containerName> 
               <created>1503904780000</created> 
               <tags/> 
             </org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
             <org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
               <host>cda2855fc200</host> 
               <containerId>cda2855fc200fc6d7183ed0e1f6a0a01c4bdc8bcabea186f334e99d2bca5b750</containerId> 
               <containerName>/loving_snyder</containerName> 
               <created>1503904781000</created> 
               <tags/> 
             </org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
             <org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
               <host>489a16bcf0ef</host> 
               <containerId>489a16bcf0ef033eba3244d070ca5845baf20e36155186730b0a023e07654b0d</containerId> 
               <containerName>/admiring_noether</containerName> 
               <created>1503904782000</created> 
               <tags/> 
             </org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
             <org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
               <host>e5264c5cbba8</host> 
               <containerId>e5264c5cbba8cb151034c7ba09180e6cb4b72fc5d7a1fd48d87a8b440ef4e84d</containerId> 
               <containerName>/dazzling_bell</containerName> 
               <created>1503918717000</created> 
               <tags/> 
             </org.jenkinsci.plugins.docker.commons.fingerprint.ContainerRecord> 
           </records> 
         </org.jenkinsci.plugins.docker.commons.fingerprint.DockerRunFingerprintFacet> 
       </facets> 
      </fingerprint>
      

            Unassigned Unassigned
            ncosta Nuno Costa
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: