Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Each invocations of "load" is shown as separate node #382

Open
ppand opened this issue Apr 11, 2024 · 4 comments
Open

Each invocations of "load" is shown as separate node #382

ppand opened this issue Apr 11, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ppand
Copy link

ppand commented Apr 11, 2024

Jenkins and plugins versions report

Environment
Jenkins: 2.440.1
OS: Linux - 4.18.0-477.27.1.el8_8.x86_64
Java: 11.0.22 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
---
Parameterized-Remote-Trigger:3.2.0
ace-editor:1.1
ansible:285.v2f044b_eb_7a_3e
ansicolor:1.0.4
ant:497.v94e7d9fffa_b_9
antisamy-markup-formatter:162.v0e6ec0fcfcf6
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
asm-api:9.7-33.v4d23ef79fcc8
audit-trail:359.va_7c0fb_cc4f1f
authentication-tokens:1.53.v1c90fd9191a_b_
aws-credentials:218.v1b_e9466ec5da_
aws-java-sdk:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-cloudformation:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-codebuild:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-ec2:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-ecr:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-ecs:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-efs:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-elasticbeanstalk:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-iam:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-kinesis:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-logs:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-minimal:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-secretsmanager:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-sns:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-sqs:1.12.586-413.v6a_6c3a_420126
aws-java-sdk-ssm:1.12.586-413.v6a_6c3a_420126
basic-branch-build-strategies:81.v05e333931c7d
blueocean:1.27.11
blueocean-autofavorite:1.2.5
blueocean-bitbucket-pipeline:1.27.11
blueocean-commons:1.27.11
blueocean-config:1.27.11
blueocean-core-js:1.27.11
blueocean-dashboard:1.27.11
blueocean-display-url:2.4.2
blueocean-events:1.27.11
blueocean-executor-info:1.27.11
blueocean-git-pipeline:1.27.11
blueocean-github-pipeline:1.27.11
blueocean-i18n:1.27.11
blueocean-jira:1.27.5
blueocean-jwt:1.27.11
blueocean-personalization:1.27.11
blueocean-pipeline-api-impl:1.27.11
blueocean-pipeline-editor:1.27.11
blueocean-pipeline-scm-api:1.27.11
blueocean-rest:1.27.11
blueocean-rest-impl:1.27.11
blueocean-web:1.27.11
bootstrap4-api:4.6.0-6
bootstrap5-api:5.3.2-2
bouncycastle-api:2.29
branch-api:2.1135.v8de8e7899051
build-discarder:139.v05696a_7fe240
build-failure-analyzer:2.4.2
build-name-setter:2.4.0
build-timeout:1.31
build-token-root:151.va_e52fe3215fc
build-with-parameters:76.v9382db_f78962
built-on-column:1.4
caffeine-api:3.1.8-133.v17b_1ff2e0599
checks-api:2.0.2
cloudbees-bitbucket-branch-source:856.v04c46c86f911
cloudbees-folder:6.858.v898218f3609d
cobertura:1.17
code-coverage-api:4.99.0
codeql:1.0
command-launcher:107.v773860566e2e
commons-httpclient3-api:3.1-3
commons-lang3-api:3.13.0-62.v7d18e55f51e2
commons-text-api:1.11.0-94.v3e1f4a_926e49
compress-artifacts:98.vb_20f3c77ddf7
compress-buildlog:1.2
compressed_files_viewer:39.v02dcd6a4a70e
conditional-buildstep:1.4.3
config-file-provider:959.vcff671a_4518b_
configuration-as-code:1746.vf1673cfe690a
configuration-as-code-groovy:1.1
copyartifact:722.v0662a_9b_e22a_c
coverage:1.5.0
credentials:1319.v7eb_51b_3a_c97b_
credentials-binding:642.v737c34dea_6c2
cucumber-reports:5.8.0
dashboard-view:2.495.v07e81500c3f2
data-tables-api:1.13.8-1
display-url-api:2.200.vb_9327d658781
docker-commons:439.va_3cb_0a_6a_fb_29
docker-workflow:572.v950f58993843
durable-task:550.v0930093c4b_a_6
ec2:2.0.2
echarts-api:5.4.3-1
eeportal-build-notifier:1.0.2
email-ext:2.102
enhanced-old-build-discarder:1.4
envinject:2.908.v66a_774b_31d93
envinject-api:1.199.v3ce31253ed13
extended-choice-parameter:376.v2e02857547b_a_
extended-read-permission:53.v6499940139e5
extensible-choice-parameter:1.8.1
external-monitor-job:215.v2e88e894db_f8
favorite:2.4.3
file-leak-detector:1.12
font-awesome-api:6.4.2-1
forensics-api:2.3.0
gatling:1.3.0
gatling-check:1.0.0
git:5.2.1
git-client:4.6.0
git-parameter:0.9.19
git-server:99.va_0826a_b_cdfa_d
github:1.37.3.1
github-api:1.318-461.v7a_c09c9fa_d63
github-branch-source:1785.v99802b_69816c
greenballs:1.15.1
groovy:457.v99900cb_85593
handlebars:3.0.8
handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
hashicorp-vault-pipeline:1.4
hashicorp-vault-plugin:364.vf5d54b_3dc313
htmlpublisher:1.32
http_request:1.18
instance-identity:185.v303dc7c645f9
ionicons-api:56.v1b_1c8c49374e
jackson2-api:2.15.3-372.v309620682326
jacoco:3.3.5
jakarta-activation-api:2.1.3-1
jakarta-mail-api:2.1.3-1
javadoc:243.vb_b_503b_b_45537
javax-activation-api:1.2.0-6
javax-mail-api:1.6.2-9
jaxb:2.3.9-1
jdk-tool:73.vddf737284550
jenkins-design-language:1.27.11
jenkins-multijob-plugin:623.v03401733c9a_9
jersey2-api:2.41-133.va_03323b_a_1396
jgiven:0.15.1
jira:3.11
jjwt-api:0.11.5-77.v646c772fddb_0
jnr-posix-api:3.1.18-1
job-dsl:1.87
jobConfigHistory:1229.v3039470161a_d
joda-time-api:2.12.6-21.vca_fd74418fb_7
jquery:1.12.4-1
jquery-detached:1.2.1
jquery-ui:1.0.2
jquery3-api:3.7.1-1
jsch:0.2.8-65.v052c39de79b_2
junit:1240.vf9529b_881428
ldap:711.vb_d1a_491714dc
leastload:3.0.0
lockable-resources:1212.v1a_d65ecea_115
mailer:463.vedf8358e006b_
matrix-auth:3.1.10
matrix-project:822.824.v14451b_c0fd42
mattermost:3.1.3
maven-plugin:3.23
metrics:4.2.18-442.v02e107157925
mina-sshd-api-common:2.11.0-86.v836f585d47fa_
mina-sshd-api-core:2.11.0-86.v836f585d47fa_
momentjs:1.1.1
multiple-scms:0.8
new-node-logs-bypass-plugin:1.1-SNAPSHOT (private-68a51a2a-enricopelizzon)
next-build-number:1.8
node-iterator-api:55.v3b_77d4032326
node-logs-bypass-plugin:1.3-SNAPSHOT (private-856dd2f3-enricopelizzon)
nodelabelparameter:1.12.0
oic-auth:2.6
okhttp-api:4.11.0-157.v6852a_a_fa_ec11
pam-auth:1.10
parameterized-scheduler:255.v73827fcdf618
parameterized-trigger:787.v665fcf2a_830b_
pipeline-build-step:540.vb_e8849e1a_b_d8
pipeline-graph-analysis:216.vfd8b_ece330ca_
pipeline-graph-view:237.v8959b_75f3c47
pipeline-groovy-lib:704.vc58b_8890a_384
pipeline-input-step:491.vb_07d21da_1a_fb_
pipeline-milestone-step:111.v449306f708b_7
pipeline-model-api:2.2184.v0b_358b_953e69
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:2.2184.v0b_358b_953e69
pipeline-model-extensions:2.2184.v0b_358b_953e69
pipeline-rest-api:2.33
pipeline-stage-step:305.ve96d0205c1c6
pipeline-stage-tags-metadata:2.2184.v0b_358b_953e69
pipeline-stage-view:2.33
pipeline-utility-steps:2.16.0
plain-credentials:143.v1b_df8b_d3b_e48
plugin-util-api:3.6.0
popper-api:1.16.1-3
popper2-api:2.11.6-4
postbuild-task:1.9
prism-api:1.29.0-8
pubsub-light:1.18
rebuild:320.v5a_0933a_e7d61
resource-disposer:0.23
rich-text-publisher-plugin:1.5
role-strategy:633.v836e5b_3e80a_5
run-condition:1.7
scm-api:689.v237b_6d3a_ef7f
script-security:1326.vdb_c154de8669
snakeyaml-api:2.2-111.vc6598e30cc65
sonar:2.16.1
splunk-devops:1.10.1
splunk-devops-extend:1.10.1
sse-gateway:1.26
ssh-credentials:308.ve4497b_ccd8f4
ssh-slaves:2.916.vd17b_43357ce4
sshd:3.312.v1c601b_c83b_0e
structs:337.v1b_04ea_4df7c8
throttle-concurrents:2.14
timestamper:1.26
token-macro:384.vf35b_f26814ec
trilead-api:2.84.v72119de229b_7
variant:60.v7290fc0eb_b_cd
view-job-filters:369.ve0513a_a_f5524
windows-slaves:1.8.1
workflow-aggregator:596.v8c21c963d92d
workflow-api:1291.v51fd2a_625da_7
workflow-basic-steps:1049.v257a_e6b_30fb_d
workflow-cps:3894.vd0f0248b_a_fc4
workflow-cps-global-lib:609.vd95673f149b_b
workflow-durable-task-step:1336.v768003e07199
workflow-job:1400.v7fd111b_ec82f
workflow-multibranch:773.vc4fe1378f1d5
workflow-scm-step:415.v434365564324
workflow-step-api:657.v03b_e8115821b_
workflow-support:865.v43e78cc44e0d
ws-cleanup:0.45

What Operating System are you using (both controller, and any agents involved in the problem)?

RHELinux

Reproduction steps

Each "load" invocation in Jenkinsfile appears as a node visually. In series.

image

In the example above, "init-universe-..." and "Checkout" are actual defined pipeline stages, but "build-support/p.." is a load invocation.

image

But Blue Ocean reports correctly

Expected Results

Invocations of "load" should not appear as separate node

Actual Results

Invocations of "load" should appears as separate node

Anything else?

No response

Are you interested in contributing a fix?

No response

@ppand ppand added the bug Something isn't working label Apr 11, 2024
@timja
Copy link
Member

timja commented Apr 11, 2024

can you provide a pipeline / repo structure / test repository that reproduces this please?

@AaronC81
Copy link

I have also observed this change after upgrading from v205 (on Jenkins v2.414) to v313 (on Jenkins v2.452.1).

Example scripted pipeline (in reality the Groovy file already exists, but creating as part of the repro keeps it to one file):

node {
    stage("Top Level") {
        stage("Create File") {
            writeFile(file: "temp.groovy", text: """
                stage('Hello from temp.groovy!') {
                    echo 'hello'
                }
            """)
        }
       
        stage("Invoke File") {
            load "temp.groovy"
        }
    }
}

Pipeline Console on v205:

image

On v313:

image

@vlastimil-dolejs
Copy link

Hi, here is a repo that demonstrates this issue: https://github.com/diribet/jenkins-pipeline-graph-view-382-sample

@senthiljack2808
Copy link

Hi,
I have also observed this issue.Could this be prioritized and fixed as a part of next release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants