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

Small icon takes up the entire page if Job and Node ownership plugin is configured

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ownership-plugin
    • None
    • Windows Server 2012
      openjdk version "1.8.0_322"
      OpenJDK Runtime Environment (Temurin)(build 1.8.0_322-b06)
      OpenJDK 64-Bit Server VM (Temurin)(build 25.322-b06, mixed mode)

      After upgrading from Jenkins LTS 2.332.3 to LTS 2.346.1, the hexagon icon right before Robot Test Summary heading become huge, takes up the whole page. Probably 100 times bigger than the normal size.  I downgraded Jenkins back to 2.332.3, the icon is back to normal, as shown below:

      Certainly the problem was introduced in Jenkins LTS 2.346.1   

          [JENKINS-68862] Small icon takes up the entire page if Job and Node ownership plugin is configured

          Aleksi Simell added a comment -

          Which version of the plugin are you using? I have 2.349 locally and I cannot see this issue.

          Aleksi Simell added a comment - Which version of the plugin are you using? I have 2.349 locally and I cannot see this issue.

          George Yu added a comment -

          I'm using the latest robot framework plugin, 3.2.0

          George Yu added a comment - I'm using the latest robot framework plugin, 3.2.0

          George Yu added a comment -

          Tried Jenkins version 2.346.2, the same problem exists. Had to revert back. Also, the notepad icon symbol is also gigantic

           

          George Yu added a comment - Tried Jenkins version 2.346.2, the same problem exists. Had to revert back. Also, the notepad icon symbol is also gigantic  

          Mark Waite added a comment - - edited

          I can't duplicate the problem either.

          I created a Pipeline job on Jenkins 2.346.2 with the following definition:

          pipeline {
              agent {
                  label '!windows'
              }
              stages {
                  stage('Robot') {
                      steps {
                          git 'https://github.com/robotframework/RobotDemo'
                          sh 'pip install robotframework && robot keyword_driven.robot'
                          robot archiveDirName: 'archive', outputPath: '.', overwriteXAxisLabel: ''
                      }
                  }
              }
          }
          

          The pages render as expected with icons sized as expected in all the pages that I opened.

          Another image

          Mark Waite added a comment - - edited I can't duplicate the problem either. I created a Pipeline job on Jenkins 2.346.2 with the following definition: pipeline { agent { label '!windows' } stages { stage('Robot') { steps { git 'https://github.com/robotframework/RobotDemo' sh 'pip install robotframework && robot keyword_driven.robot' robot archiveDirName: 'archive', outputPath: '.', overwriteXAxisLabel: '' } } } } The pages render as expected with icons sized as expected in all the pages that I opened. Another image

          George Yu added a comment - - edited

          Hi Mark, You're not on the right page. Perhaps I didn't make it clear in the problem description. Click on a build number, say #5 or #4. Then you will see the problem.

          George Yu added a comment - - edited Hi Mark, You're not on the right page. Perhaps I didn't make it clear in the problem description. Click on a build number, say #5 or #4. Then you will see the problem.

          Mark Waite added a comment -

          I don't see the problem when looking at build 11 as shown in this screenshot

          The URL's that I've checked and not found an oversized icon include (with base URL of http://mark-pc2.markwaite.net:8080/job/):

          • Job page - /JENKINS-68862-robot-framework-icon-rendering/
          • Build page - /JENKINS-68862-robot-framework-icon-rendering/11/
          • Robot result page - /JENKINS-68862-robot-framework-icon-rendering/11/robot/

          I don't see the oversize icons on your screenshots and don't see them in my interactive testing of my installation. Can you provide the (redacted) URL that you use to see the problem?

          Mark Waite added a comment - I don't see the problem when looking at build 11 as shown in this screenshot The URL's that I've checked and not found an oversized icon include (with base URL of http://mark-pc2.markwaite.net:8080/job/): Job page - / JENKINS-68862 -robot-framework-icon-rendering/ Build page - / JENKINS-68862 -robot-framework-icon-rendering/11/ Robot result page - / JENKINS-68862 -robot-framework-icon-rendering/11/robot/ I don't see the oversize icons on your screenshots and don't see them in my interactive testing of my installation. Can you provide the (redacted) URL that you use to see the problem?

          Aleksi Simell added a comment - - edited

          I cannot reproduce this at all. Like markewaite I tried

          • Job page
          • Build page
          • Robot Results page
          • All of the above with freestyle and pipeline jobs
          • All of the above from a view and without a specific view

          Also, the notepad icon is not related to this plugin, so I don't think the issue is with the plugin, but something is wrong in your Jenkins configurations overall. There is also a new LTS version 2.346.2 available, so maybe updating your Jenkins instance fixes the issue?

          Aleksi Simell added a comment - - edited I cannot reproduce this at all. Like markewaite I tried Job page Build page Robot Results page All of the above with freestyle and pipeline jobs All of the above from a view and without a specific view Also, the notepad icon is not related to this plugin, so I don't think the issue is with the plugin, but something is wrong in your Jenkins configurations overall. There is also a new LTS version 2.346.2 available, so maybe updating your Jenkins instance fixes the issue?

          George Yu added a comment - - edited

          I was able  to reproduce the problem consistently in LTS version 2.346.1 and 2.346.2. In fact, the problem has nothing to do with Robot Framework plugin, because I observed non-robotframework builds with icons have the same problem. After some investigation, I discovered  the problem is caused by Job and Node ownership plugin. For jobs with ownership info, the problem occurs. For jobs with ownership not assigned, there is no problem.

          A workaround for new jobs is to check 'Do not assign ownership' in 'Configure System' under Manage Jenkins. But it doesn't help for existing jobs. What I did was to uninstall Node and Job Ownership plugin, and it solves my problem. I was able to upgrade to LTS version 2.346.2 successfully without any issue

          George Yu added a comment - - edited I was able  to reproduce the problem consistently in LTS version 2.346.1 and 2.346.2. In fact, the problem has nothing to do with Robot Framework plugin, because I observed non-robotframework builds with icons have the same problem. After some investigation, I discovered  the problem is caused by Job and Node ownership plugin. For jobs with ownership info, the problem occurs. For jobs with ownership not assigned, there is no problem. A workaround for new jobs is to check 'Do not assign ownership' in 'Configure System' under Manage Jenkins. But it doesn't help for existing jobs. What I did was to uninstall Node and Job Ownership plugin, and it solves my problem. I was able to upgrade to LTS version 2.346.2 successfully without any issue

          Mark Waite added a comment -

          Thanks gyu. I think you made a wise choice to remove the job and node ownership plugin. It has 3 unresolved security vulnerabilities. The plugin is up for adoption. It was last released over two years ago.

          Mark Waite added a comment - Thanks gyu . I think you made a wise choice to remove the job and node ownership plugin . It has 3 unresolved security vulnerabilities. The plugin is up for adoption. It was last released over two years ago.

          Shahar Si added a comment -

          Anyone managed to overcome this issue?

          Shahar Si added a comment - Anyone managed to overcome this issue?

            Unassigned Unassigned
            gyu George Yu
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: