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

Jobs in parallel dont display the variant they are running.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • workflow-job-plugin
    • None
    • Jenkins 2.138.2
    • workflow-job 2.31

      This issue manifested itself since October 15th.

      When a build is triggered and it runs on multiple slaves parallely, you normally get an output for each line corresponding to the variant its running. Since a Jenkins update on October 15th, this has not been the case. This is making it harder for us to debug the issues on the variants/slaves, as we don't know on which variant the issue is being manifested.

      NOTE:

      Although unrelated, this issue was manifested together with another bug which doesn't allow an anonymous user to view jobs, even if logged in as a non-admin. Only users with admin privileges are allowed to view the logs. That issue has been found on your backlog. https://issues.jenkins-ci.org/browse/JENKINS-54031

       

        1. earlier.JPG
          earlier.JPG
          35 kB
        2. now.JPG
          now.JPG
          18 kB
        3. now.JPG
          now.JPG
          18 kB
        4. now.JPG
          now.JPG
          18 kB
        5. earlier.JPG
          earlier.JPG
          35 kB
        6. JENKINS-54304.png
          JENKINS-54304.png
          234 kB
        7. image-2018-11-20-17-20-19-040.png
          image-2018-11-20-17-20-19-040.png
          169 kB
        8. image-2018-11-20-16-58-04-034.png
          image-2018-11-20-16-58-04-034.png
          17 kB
        9. NewNodeConsoleNote-script.js
          4 kB
        10. jenkins-browser-log
          13 kB
        11. log-index
          76 kB
        12. log
          4.93 MB
        13. two-variants.png
          two-variants.png
          271 kB
        14. image-2018-11-08-15-41-10-158.png
          image-2018-11-08-15-41-10-158.png
          14 kB
        15. image-2018-11-08-15-39-26-889.png
          image-2018-11-08-15-39-26-889.png
          19 kB
        16. image-2018-11-08-15-38-49-986.png
          image-2018-11-08-15-38-49-986.png
          131 kB
        17. image-2018-11-06-14-39-16-393.png
          image-2018-11-06-14-39-16-393.png
          15 kB
        18. image-2018-11-06-14-35-41-221.png
          image-2018-11-06-14-35-41-221.png
          16 kB
        19. Selection_047.png
          Selection_047.png
          157 kB
        20. Selection_048.png
          Selection_048.png
          196 kB

          [JENKINS-54304] Jobs in parallel dont display the variant they are running.

          fisnik hajredini created issue -
          fisnik hajredini made changes -
          Description Original: This issue manifested itself since October 15th.

          When a build is triggered and it runs on multiple slaves parallely, you normally get an output for each line corresponding to the variant its running. Since a Jenkins update on October 15th, this has not been the case. This is making it harder for us to debug the issues on the variants/slaves, as we don't know on which variant the issue is being manifested.

          _NOTE:_

          Although unrelated, this issue was manifested together with another bug which doesn't allow an anonymous user to view jobs, even if logged in as a non-admin. Only users with admin privileges are allowed to view the logs. That issue has been found on your backlog.

           
          New: This issue manifested itself since October 15th.

          When a build is triggered and it runs on multiple slaves parallely, you normally get an output for each line corresponding to the variant its running. Since a Jenkins update on October 15th, this has not been the case. This is making it harder for us to debug the issues on the variants/slaves, as we don't know on which variant the issue is being manifested.

          _NOTE:_

          Although unrelated, this issue was manifested together with another bug which doesn't allow an anonymous user to view jobs, even if logged in as a non-admin. Only users with admin privileges are allowed to view the logs. That issue has been found on your backlog. https://issues.jenkins-ci.org/browse/JENKINS-54031

           
          Oleg Nenashev made changes -
          Component/s New: pipeline [ 21692 ]
          Component/s Original: _unsorted [ 19622 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ] New: Jesse Glick [ jglick ]

          Oleg Nenashev added a comment -

          jglick svanoort I believe it is just another issue caused by the recent Pipeline plugins. PTAL

          fhajredini please provide the list of plugin versions you have installed on your instance

          Oleg Nenashev added a comment - jglick svanoort I believe it is just another issue caused by the recent Pipeline plugins. PTAL fhajredini please provide the list of plugin versions you have installed on your instance

          The following was generated using this groovy script:

          Jenkins.instance.pluginManager.plugins.each{
            plugin -> 
              println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}")
          }

          Durable Task Plugin (durable-task): 1.26
          Pipeline: Nodes and Processes (workflow-durable-task-step): 2.25
          Nexus Artifact Uploader (nexus-artifact-uploader): 2.10
          GitHub Branch Source Plugin (github-branch-source): 2.4.1
          Pipeline: SCM Step (workflow-scm-step): 2.7
          Pipeline (workflow-aggregator): 2.6
          Pipeline: API (workflow-api): 2.31
          Pipeline: Declarative (pipeline-model-definition): 1.3.2
          Pipeline: GitHub Groovy Libraries (pipeline-github-lib): 1.0
          Ant Plugin (ant): 1.8
          Apache HttpComponents Client 4.x API Plugin (apache-httpcomponents-client-4-api): 4.5.5-3.0
          Workspace Cleanup Plugin (ws-cleanup): 0.36
          Command Agent Launcher Plugin (command-launcher): 1.2
          SSH Slaves plugin (ssh-slaves): 1.28.1
          Windows Slaves Plugin (windows-slaves): 1.3.1
          JavaScript GUI Lib: Moment.js bundle plugin (momentjs): 1.1.1
          Pipeline: Basic Steps (workflow-basic-steps): 2.12
          Lockable Resources plugin (lockable-resources): 2.3
          JDK Tool Plugin (jdk-tool): 1.1
          Pipeline: REST API Plugin (pipeline-rest-api): 2.10
          Pipeline: Shared Groovy Libraries (workflow-cps-global-lib): 2.12
          Folders Plugin (cloudbees-folder): 6.6
          JSch dependency plugin (jsch): 0.1.54.2
          Build Timeout (build-timeout): 1.19
          Job Configuration History Plugin (jobConfigHistory): 2.18.3
          Credentials Binding Plugin (credentials-binding): 1.16
          PAM Authentication plugin (pam-auth): 1.4
          Token Macro Plugin (token-macro): 2.5
          Matrix Authorization Strategy Plugin (matrix-auth): 2.3
          Docker Commons Plugin (docker-commons): 1.13
          Pipeline: Milestone Step (pipeline-milestone-step): 1.3.1
          LDAP Plugin (ldap): 1.20
          Green Balls (greenballs): 1.15
          External Monitor Job Type Plugin (external-monitor-job): 1.7
          Copy Artifact Plugin (copyartifact): 1.41
          Resource Disposer Plugin (resource-disposer): 0.12
          Pipeline: Build Step (pipeline-build-step): 2.7
          JavaScript GUI Lib: Handlebars bundle plugin (handlebars): 1.1.1
          Pipeline: Supporting APIs (workflow-support): 2.21
          Gradle Plugin (gradle): 1.29
          Pipeline: Job (workflow-job): 2.26
          Structs Plugin (structs): 1.17
          Pipeline: Groovy (workflow-cps): 2.60
          Matrix Project Plugin (matrix-project): 1.13
          Simple Theme Plugin (simple-theme-plugin): 0.5.1
          GitHub Authentication plugin (github-oauth): 0.29
          Branch API Plugin (branch-api): 2.0.20
          GitHub API Plugin (github-api): 1.92
          Pipeline: Stage View Plugin (pipeline-stage-view): 2.10
          OWASP Markup Formatter Plugin (antisamy-markup-formatter): 1.5
          Pipeline: Stage Tags Metadata (pipeline-stage-tags-metadata): 1.3.2
          bouncycastle API Plugin (bouncycastle-api): 2.17
          Jackson 2 API Plugin (jackson2-api): 2.8.11.3
          Email Extension Plugin (email-ext): 2.63
          JavaScript GUI Lib: ACE Editor bundle plugin (ace-editor): 1.1
          Docker Pipeline (docker-workflow): 1.17
          GitHub plugin (github): 1.29.3
          Pipeline: Multibranch (workflow-multibranch): 2.20
          JUnit Plugin (junit): 1.26.1
          SSH Credentials Plugin (ssh-credentials): 1.14
          Node and Label parameter plugin (nodelabelparameter): 1.7.2
          Credentials Plugin (credentials): 2.1.18
          Nexus Platform Plugin (nexus-jenkins-plugin): 3.3.20181025-134249.614c5f4
          Authentication Tokens API Plugin (authentication-tokens): 1.3
          Script Security Plugin (script-security): 1.48
          JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin (jquery-detached): 1.2.1
          Pipeline: Input Step (pipeline-input-step): 2.8
          jQuery plugin (jquery): 1.12.4-0
          Pipeline: Model API (pipeline-model-api): 1.3.2
          Pipeline: Declarative Extension Points API (pipeline-model-extensions): 1.3.2
          MapDB API Plugin (mapdb-api): 1.0.9.0
          Display URL API (display-url-api): 2.2.0
          Pipeline Graph Analysis Plugin (pipeline-graph-analysis): 1.7
          Plain Credentials Plugin (plain-credentials): 1.4
          Git client plugin (git-client): 2.7.3
          Pipeline: Stage Step (pipeline-stage-step): 2.3
          GIT server Plugin (git-server): 1.7
          Build With Parameters (build-with-parameters): 1.4
          Mailer Plugin (mailer): 1.22
          Timestamper (timestamper): 1.8.10
          Git plugin (git): 3.9.1
          Pipeline Utility Steps (pipeline-utility-steps): 2.1.0
          SCM API Plugin (scm-api): 2.3.0
          Subversion Plug-in (subversion): 2.12.1
          Pipeline: Declarative Agent API (pipeline-model-declarative-agent): 1.1.1
          Pipeline: Step API (workflow-step-api): 2.16
          Result: [Plugin:durable-task, Plugin:workflow-durable-task-step, Plugin:nexus-artifact-uploader, Plugin:github-branch-source, Plugin:workflow-scm-step, Plugin:workflow-aggregator, Plugin:workflow-api, Plugin:pipeline-model-definition, Plugin:pipeline-github-lib, Plugin:ant, Plugin:apache-httpcomponents-client-4-api, Plugin:ws-cleanup, Plugin:command-launcher, Plugin:ssh-slaves, Plugin:windows-slaves, Plugin:momentjs, Plugin:workflow-basic-steps, Plugin:lockable-resources, Plugin:jdk-tool, Plugin:pipeline-rest-api, Plugin:workflow-cps-global-lib, Plugin:cloudbees-folder, Plugin:jsch, Plugin:build-timeout, Plugin:jobConfigHistory, Plugin:credentials-binding, Plugin:pam-auth, Plugin:token-macro, Plugin:matrix-auth, Plugin:docker-commons, Plugin:pipeline-milestone-step, Plugin:ldap, Plugin:greenballs, Plugin:external-monitor-job, Plugin:copyartifact, Plugin:resource-disposer, Plugin:pipeline-build-step, Plugin:handlebars, Plugin:workflow-support, Plugin:gradle, Plugin:workflow-job, Plugin:structs, Plugin:workflow-cps, Plugin:matrix-project, Plugin:simple-theme-plugin, Plugin:github-oauth, Plugin:branch-api, Plugin:github-api, Plugin:pipeline-stage-view, Plugin:antisamy-markup-formatter, Plugin:pipeline-stage-tags-metadata, Plugin:bouncycastle-api, Plugin:jackson2-api, Plugin:email-ext, Plugin:ace-editor, Plugin:docker-workflow, Plugin:github, Plugin:workflow-multibranch, Plugin:junit, Plugin:ssh-credentials, Plugin:nodelabelparameter, Plugin:credentials, Plugin:nexus-jenkins-plugin, Plugin:authentication-tokens, Plugin:script-security, Plugin:jquery-detached, Plugin:pipeline-input-step, Plugin:jquery, Plugin:pipeline-model-api, Plugin:pipeline-model-extensions, Plugin:mapdb-api, Plugin:display-url-api, Plugin:pipeline-graph-analysis, Plugin:plain-credentials, Plugin:git-client, Plugin:pipeline-stage-step, Plugin:git-server, Plugin:build-with-parameters, Plugin:mailer, Plugin:timestamper, Plugin:git, Plugin:pipeline-utility-steps, Plugin:scm-api, Plugin:subversion, Plugin:pipeline-model-declarative-agent, Plugin:workflow-step-api]

          fisnik hajredini added a comment - The following was generated using this groovy script: Jenkins.instance.pluginManager.plugins.each{ plugin -> println ( "${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}" ) } Durable Task Plugin (durable-task): 1.26 Pipeline: Nodes and Processes (workflow-durable-task-step): 2.25 Nexus Artifact Uploader (nexus-artifact-uploader): 2.10 GitHub Branch Source Plugin (github-branch-source): 2.4.1 Pipeline: SCM Step (workflow-scm-step): 2.7 Pipeline (workflow-aggregator): 2.6 Pipeline: API (workflow-api): 2.31 Pipeline: Declarative (pipeline-model-definition): 1.3.2 Pipeline: GitHub Groovy Libraries (pipeline-github-lib): 1.0 Ant Plugin (ant): 1.8 Apache HttpComponents Client 4.x API Plugin (apache-httpcomponents-client-4-api): 4.5.5-3.0 Workspace Cleanup Plugin (ws-cleanup): 0.36 Command Agent Launcher Plugin (command-launcher): 1.2 SSH Slaves plugin (ssh-slaves): 1.28.1 Windows Slaves Plugin (windows-slaves): 1.3.1 JavaScript GUI Lib: Moment.js bundle plugin (momentjs): 1.1.1 Pipeline: Basic Steps (workflow-basic-steps): 2.12 Lockable Resources plugin (lockable-resources): 2.3 JDK Tool Plugin (jdk-tool): 1.1 Pipeline: REST API Plugin (pipeline-rest-api): 2.10 Pipeline: Shared Groovy Libraries (workflow-cps-global-lib): 2.12 Folders Plugin (cloudbees-folder): 6.6 JSch dependency plugin (jsch): 0.1.54.2 Build Timeout (build-timeout): 1.19 Job Configuration History Plugin (jobConfigHistory): 2.18.3 Credentials Binding Plugin (credentials-binding): 1.16 PAM Authentication plugin (pam-auth): 1.4 Token Macro Plugin (token-macro): 2.5 Matrix Authorization Strategy Plugin (matrix-auth): 2.3 Docker Commons Plugin (docker-commons): 1.13 Pipeline: Milestone Step (pipeline-milestone-step): 1.3.1 LDAP Plugin (ldap): 1.20 Green Balls (greenballs): 1.15 External Monitor Job Type Plugin (external-monitor-job): 1.7 Copy Artifact Plugin (copyartifact): 1.41 Resource Disposer Plugin (resource-disposer): 0.12 Pipeline: Build Step (pipeline-build-step): 2.7 JavaScript GUI Lib: Handlebars bundle plugin (handlebars): 1.1.1 Pipeline: Supporting APIs (workflow-support): 2.21 Gradle Plugin (gradle): 1.29 Pipeline: Job (workflow-job): 2.26 Structs Plugin (structs): 1.17 Pipeline: Groovy (workflow-cps): 2.60 Matrix Project Plugin (matrix-project): 1.13 Simple Theme Plugin (simple-theme-plugin): 0.5.1 GitHub Authentication plugin (github-oauth): 0.29 Branch API Plugin (branch-api): 2.0.20 GitHub API Plugin (github-api): 1.92 Pipeline: Stage View Plugin (pipeline-stage-view): 2.10 OWASP Markup Formatter Plugin (antisamy-markup-formatter): 1.5 Pipeline: Stage Tags Metadata (pipeline-stage-tags-metadata): 1.3.2 bouncycastle API Plugin (bouncycastle-api): 2.17 Jackson 2 API Plugin (jackson2-api): 2.8.11.3 Email Extension Plugin (email-ext): 2.63 JavaScript GUI Lib: ACE Editor bundle plugin (ace-editor): 1.1 Docker Pipeline (docker-workflow): 1.17 GitHub plugin (github): 1.29.3 Pipeline: Multibranch (workflow-multibranch): 2.20 JUnit Plugin (junit): 1.26.1 SSH Credentials Plugin (ssh-credentials): 1.14 Node and Label parameter plugin (nodelabelparameter): 1.7.2 Credentials Plugin (credentials): 2.1.18 Nexus Platform Plugin (nexus-jenkins-plugin): 3.3.20181025-134249.614c5f4 Authentication Tokens API Plugin (authentication-tokens): 1.3 Script Security Plugin (script-security): 1.48 JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin (jquery-detached): 1.2.1 Pipeline: Input Step (pipeline-input-step): 2.8 jQuery plugin (jquery): 1.12.4-0 Pipeline: Model API (pipeline-model-api): 1.3.2 Pipeline: Declarative Extension Points API (pipeline-model-extensions): 1.3.2 MapDB API Plugin (mapdb-api): 1.0.9.0 Display URL API (display-url-api): 2.2.0 Pipeline Graph Analysis Plugin (pipeline-graph-analysis): 1.7 Plain Credentials Plugin (plain-credentials): 1.4 Git client plugin (git-client): 2.7.3 Pipeline: Stage Step (pipeline-stage-step): 2.3 GIT server Plugin (git-server): 1.7 Build With Parameters (build-with-parameters): 1.4 Mailer Plugin (mailer): 1.22 Timestamper (timestamper): 1.8.10 Git plugin (git): 3.9.1 Pipeline Utility Steps (pipeline-utility-steps): 2.1.0 SCM API Plugin (scm-api): 2.3.0 Subversion Plug-in (subversion): 2.12.1 Pipeline: Declarative Agent API (pipeline-model-declarative-agent): 1.1.1 Pipeline: Step API (workflow-step-api): 2.16 Result: [Plugin:durable-task, Plugin:workflow-durable-task-step, Plugin:nexus-artifact-uploader, Plugin:github-branch-source, Plugin:workflow-scm-step, Plugin:workflow-aggregator, Plugin:workflow-api, Plugin:pipeline-model-definition, Plugin:pipeline-github-lib, Plugin:ant, Plugin:apache-httpcomponents-client-4-api, Plugin:ws-cleanup, Plugin:command-launcher, Plugin:ssh-slaves, Plugin:windows-slaves, Plugin:momentjs, Plugin:workflow-basic-steps, Plugin:lockable-resources, Plugin:jdk-tool, Plugin:pipeline-rest-api, Plugin:workflow-cps-global-lib, Plugin:cloudbees-folder, Plugin:jsch, Plugin:build-timeout, Plugin:jobConfigHistory, Plugin:credentials-binding, Plugin:pam-auth, Plugin:token-macro, Plugin:matrix-auth, Plugin:docker-commons, Plugin:pipeline-milestone-step, Plugin:ldap, Plugin:greenballs, Plugin:external-monitor-job, Plugin:copyartifact, Plugin:resource-disposer, Plugin:pipeline-build-step, Plugin:handlebars, Plugin:workflow-support, Plugin:gradle, Plugin:workflow-job, Plugin:structs, Plugin:workflow-cps, Plugin:matrix-project, Plugin:simple-theme-plugin, Plugin:github-oauth, Plugin:branch-api, Plugin:github-api, Plugin:pipeline-stage-view, Plugin:antisamy-markup-formatter, Plugin:pipeline-stage-tags-metadata, Plugin:bouncycastle-api, Plugin:jackson2-api, Plugin:email-ext, Plugin:ace-editor, Plugin:docker-workflow, Plugin:github, Plugin:workflow-multibranch, Plugin:junit, Plugin:ssh-credentials, Plugin:nodelabelparameter, Plugin:credentials, Plugin:nexus-jenkins-plugin, Plugin:authentication-tokens, Plugin:script-security, Plugin:jquery-detached, Plugin:pipeline-input-step, Plugin:jquery, Plugin:pipeline-model-api, Plugin:pipeline-model-extensions, Plugin:mapdb-api, Plugin:display-url-api, Plugin:pipeline-graph-analysis, Plugin:plain-credentials, Plugin:git-client, Plugin:pipeline-stage-step, Plugin:git-server, Plugin:build-with-parameters, Plugin:mailer, Plugin:timestamper, Plugin:git, Plugin:pipeline-utility-steps, Plugin:scm-api, Plugin:subversion, Plugin:pipeline-model-declarative-agent, Plugin:workflow-step-api]
          Jesse Glick made changes -
          Component/s New: workflow-job-plugin [ 21716 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-38381 [ JENKINS-38381 ]

          Jesse Glick added a comment -

          This is as designed. The HTML rendering layer was rewritten. You can click on (hide) links to suppress irrelevant branches or other blocks. There is a TODO comment requesting that in the case of parallel, all but the first branch be hidden by default. Or, a similar kind of branch prefix could be displayed in JS/CSS without requiring the physical log to have that prefix, as it did before.

          Jesse Glick added a comment - This is as designed. The HTML rendering layer was rewritten. You can click on (hide) links to suppress irrelevant branches or other blocks. There is a TODO comment requesting that in the case of parallel , all but the first branch be hidden by default. Or, a similar kind of branch prefix could be displayed in JS/CSS without requiring the physical log to have that prefix, as it did before.
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            jglick Jesse Glick
            fhajredini fisnik hajredini
            Votes:
            1 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: