-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins: 2.376 running in docker container
image sha256:a6f44b6ac36141a02011e0522b09f4648aa7f40faa39af6481f32fdedbb66501 Created 2022-11-02 07:31:33
OS: Linux - 5.15.0-52-generic
---
ace-editor:1.1
active-directory:2.27
antisamy-markup-formatter:155.v795fb_8702324
apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
basic-branch-build-strategies:71.vc1421f89888e
bitbucket:223.vd12f2bca5430
bootstrap5-api:5.2.1-3
bouncycastle-api:2.26
branch-api:2.1046.v0ca_37783ecc5
build-name-setter:2.2.0
build-timeout:1.24
build-user-vars-plugin:1.9
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
checks-api:1.8.0
cloudbees-folder:6.773.vd2dcc704ee7e
command-launcher:90.v669d7ccb_7c31
commons-lang3-api:3.12.0-36.vd97de6465d5b_
commons-text-api:1.10.0-27.vb_fa_3896786a_7
credentials:1189.vf61b_a_5e2f62e
credentials-binding:523.vd859a_4b_122e6
custom-folder-icon:2.3
declarative-pipeline-migration-assistant:1.5.2
declarative-pipeline-migration-assistant-api:1.5.2
display-url-api:2.3.6
durable-task:501.ve5d4fc08b0be
echarts-api:5.4.0-1
email-ext:2.92
envinject:2.881.v37c62073ff97
envinject-api:1.199.v3ce31253ed13
folder-properties:1.2.1
font-awesome-api:6.2.0-3
git:4.13.0
git-client:3.13.0
git-parameter:0.9.18
handlebars:3.0.8
htmlpublisher:1.31
instance-identity:116.vf8f487400980
ionicons-api:31.v4757b_6987003
jackson2-api:2.13.4.20221013-295.v8e29ea_354141
jakarta-activation-api:2.0.1-2
jakarta-mail-api:2.0.1-2
javax-activation-api:1.2.0-5
javax-mail-api:1.6.2-8
jaxb:2.3.7-1
jdk-tool:63.v62d2fd4b_4793
jquery:1.12.4-1
jquery3-api:3.6.1-2
jsch:0.1.55.61.va_e9ee26616e7
junit:1156.vcf492e95a_a_b_0
ldap:2.12
locale:204.v2a_f305fe7e9d
mailer:438.v02c7f0a_12fa_4
matrix-auth:3.1.5
matrix-project:785.v06b_7f47b_c631
mercurial:1260.vdfb_723cdcc81
mina-sshd-api-common:2.9.1-44.v476733c11f82
mina-sshd-api-core:2.9.1-44.v476733c11f82
momentjs:1.1.1
msbuild:1.30
next-build-number:1.8
nodelabelparameter:1.11.0
pam-auth:1.10
parameterized-trigger:2.45
pipeline-build-step:2.18
pipeline-graph-analysis:195.v5812d95a_a_2f9
pipeline-groovy-lib:613.v9c41a_160233f
pipeline-input-step:456.vd8a_957db_5b_e9
pipeline-milestone-step:101.vd572fef9d926
pipeline-model-api:2.2118.v31fd5b_9944b_5
pipeline-model-definition:2.2118.v31fd5b_9944b_5
pipeline-model-extensions:2.2118.v31fd5b_9944b_5
pipeline-rest-api:2.27
pipeline-stage-step:296.v5f6908f017a_5
pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5
pipeline-stage-view:2.27
plain-credentials:139.ved2b_9cf7587b
plugin-util-api:2.18.0
popper2-api:2.11.6-2
powershell:1.7
resource-disposer:0.20
role-strategy:562.v44e9a_e828d0e
scm-api:621.vda_a_b_055e58f7
script-security:1189.vb_a_b_7c8fd5fde
snakeyaml-api:1.32-86.ve3f030a_75631
ssh-credentials:305.v8f4381501156
ssh-slaves:2.854.v7fd446b_337c9
sshd:3.249.v2dc2ea_416e33
structs:324.va_f5d6774f3a_d
throttle-concurrents:2.9
timestamper:1.20
token-macro:308.v4f2b_ed62b_b_16
trilead-api:2.72.v2a_3236754f73
variant:59.vf075fe829ccb
versioncolumn:2.2
workflow-aggregator:590.v6a_d052e5a_a_b_5
workflow-api:1200.v8005c684b_a_c6
workflow-basic-steps:994.vd57e3ca_46d24
workflow-cps:2803.v1a_f77ffcc773
workflow-durable-task-step:1210.va_1e5d77e122b
workflow-job:1254.v3f64639b_11dd
workflow-multibranch:716.vc692a_e52371b_
workflow-scm-step:400.v6b_89a_1317c9a_
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:839.v35e2736cfd5c
ws-cleanup:0.43
Slave is running on Windows 10Jenkins: 2.376 running in docker container image sha256:a6f44b6ac36141a02011e0522b09f4648aa7f40faa39af6481f32fdedbb66501 Created 2022-11-02 07:31:33 OS: Linux - 5.15.0-52-generic --- ace-editor:1.1 active-directory:2.27 antisamy-markup-formatter:155.v795fb_8702324 apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61 basic-branch-build-strategies:71.vc1421f89888e bitbucket:223.vd12f2bca5430 bootstrap5-api:5.2.1-3 bouncycastle-api:2.26 branch-api:2.1046.v0ca_37783ecc5 build-name-setter:2.2.0 build-timeout:1.24 build-user-vars-plugin:1.9 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.8.0 cloudbees-folder:6.773.vd2dcc704ee7e command-launcher:90.v669d7ccb_7c31 commons-lang3-api:3.12.0-36.vd97de6465d5b_ commons-text-api:1.10.0-27.vb_fa_3896786a_7 credentials:1189.vf61b_a_5e2f62e credentials-binding:523.vd859a_4b_122e6 custom-folder-icon:2.3 declarative-pipeline-migration-assistant:1.5.2 declarative-pipeline-migration-assistant-api:1.5.2 display-url-api:2.3.6 durable-task:501.ve5d4fc08b0be echarts-api:5.4.0-1 email-ext:2.92 envinject:2.881.v37c62073ff97 envinject-api:1.199.v3ce31253ed13 folder-properties:1.2.1 font-awesome-api:6.2.0-3 git:4.13.0 git-client:3.13.0 git-parameter:0.9.18 handlebars:3.0.8 htmlpublisher:1.31 instance-identity:116.vf8f487400980 ionicons-api:31.v4757b_6987003 jackson2-api:2.13.4.20221013-295.v8e29ea_354141 jakarta-activation-api:2.0.1-2 jakarta-mail-api:2.0.1-2 javax-activation-api:1.2.0-5 javax-mail-api:1.6.2-8 jaxb:2.3.7-1 jdk-tool:63.v62d2fd4b_4793 jquery:1.12.4-1 jquery3-api:3.6.1-2 jsch:0.1.55.61.va_e9ee26616e7 junit:1156.vcf492e95a_a_b_0 ldap:2.12 locale:204.v2a_f305fe7e9d mailer:438.v02c7f0a_12fa_4 matrix-auth:3.1.5 matrix-project:785.v06b_7f47b_c631 mercurial:1260.vdfb_723cdcc81 mina-sshd-api-common:2.9.1-44.v476733c11f82 mina-sshd-api-core:2.9.1-44.v476733c11f82 momentjs:1.1.1 msbuild:1.30 next-build-number:1.8 nodelabelparameter:1.11.0 pam-auth:1.10 parameterized-trigger:2.45 pipeline-build-step:2.18 pipeline-graph-analysis:195.v5812d95a_a_2f9 pipeline-groovy-lib:613.v9c41a_160233f pipeline-input-step:456.vd8a_957db_5b_e9 pipeline-milestone-step:101.vd572fef9d926 pipeline-model-api:2.2118.v31fd5b_9944b_5 pipeline-model-definition:2.2118.v31fd5b_9944b_5 pipeline-model-extensions:2.2118.v31fd5b_9944b_5 pipeline-rest-api:2.27 pipeline-stage-step:296.v5f6908f017a_5 pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5 pipeline-stage-view:2.27 plain-credentials:139.ved2b_9cf7587b plugin-util-api:2.18.0 popper2-api:2.11.6-2 powershell:1.7 resource-disposer:0.20 role-strategy:562.v44e9a_e828d0e scm-api:621.vda_a_b_055e58f7 script-security:1189.vb_a_b_7c8fd5fde snakeyaml-api:1.32-86.ve3f030a_75631 ssh-credentials:305.v8f4381501156 ssh-slaves:2.854.v7fd446b_337c9 sshd:3.249.v2dc2ea_416e33 structs:324.va_f5d6774f3a_d throttle-concurrents:2.9 timestamper:1.20 token-macro:308.v4f2b_ed62b_b_16 trilead-api:2.72.v2a_3236754f73 variant:59.vf075fe829ccb versioncolumn:2.2 workflow-aggregator:590.v6a_d052e5a_a_b_5 workflow-api:1200.v8005c684b_a_c6 workflow-basic-steps:994.vd57e3ca_46d24 workflow-cps:2803.v1a_f77ffcc773 workflow-durable-task-step:1210.va_1e5d77e122b workflow-job:1254.v3f64639b_11dd workflow-multibranch:716.vc692a_e52371b_ workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:839.v35e2736cfd5c ws-cleanup:0.43 Slave is running on Windows 10
Scenario:
Jenkins Master : No Executors , Linux Docker Container
Jenkins Slave : One Executor , Windows 10
Git Repository Structure :
/_CommonBuild
/afx_mfc100_ressources/_Build
/libs/ejsoncpp/_Build
Pipeline Jobs:
AfxMfc100Ressources (Jenkinsfile not from SCM, see attachment afx_mfc100_ressources_DeclarationInJob )
ejsoncpp (Jenkinsfile from SCM, see attachment ejsoncpp_Jenkinsfile)
In pipeline "ejsoncpp" there are following entries in the "Included Regions" field of "Polling ignores commits od certain paths"
_CommonBuild/.*
libs/ejsoncpp/.*
Steps I did:
- I was deleting a file "test.txt" in folder "/afx_mfc100_ressources"
- Wait of polling intervall in my case about 2 minutes
Result:
Pipeline "AfxMfc100Ressources" was triggered by SCM change.
Pipeline "ejsoncpp" was triggered by SCM change, although "/afx_mfc100_ressources" was not set in the "Included Regions"
My Conclusion:
For me it seems that the check of the whitelist ("Included Regions") worked (see bolded text below in polling log) but the trigger happens anyway.
After that I made another test and I copied the content within the Jenkinsfile of Pipeline "ejsoncpp" directly into the pipeline configuration ( Definition->Pipline Script). I repeated the steps I did before. Then the scenario worked as expected. Only Pipline "AfxMfc100Ressources" was triggered by SCM change. That was really strange!
Here the change I made in git log:
X:\MainRepositories\global>git log --full-history --no-abbrev --format=raw -M -m --raw 2db37887a067046f1f805a8330d4b1da97d0fac2..d64d2a46ffe914e2059fe6b0a5b2f820ee2742fc
commit d64d2a46ffe914e2059fe6b0a5b2f820ee2742fc
tree d77198419264184a5370df94e585e9c21e2c3fc7
parent 2db37887a067046f1f805a8330d4b1da97d0fac2
author Andreas Kuttruff <andreas.kuttruff@estos.de> 1667890694 +0100
committer Andreas Kuttruff <andreas.kuttruff@estos.de> 1667890694 +0100
TCCI-45 22 test remove
:100644 000000 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 0000000000000000000000000000000000000000 D afx_mfc100_ressources/test.txt
Here the polling Log of pipeline "ejsoncpp":
> git --version # 'git version 2.30.2'
using GIT_ASKPASS to set credentials estos build user
> git ls-remote -h – https://git.estos.de/scm/wgl/global.git # timeout=10
Found 4 remote heads on https://git.estos.de/scm/wgl/global.git
Ignoring refs/heads/feature/UCCON-1268 as it doesn't match any of the configured refspecs
Ignoring refs/heads/feature/CC-2490-change-from-hand-written-json-to-json-stringify as it doesn't match any of the configured refspecs
Ignoring refs/heads/hotfix/CC-3073-snacc-compiler-tsasn1base.ts-adopted-to-a-bug-in-ucweb as it doesn't match any of the configured refspecs
[poll] Latest remote head revision on refs/heads/master is: d64d2a46ffe914e2059fe6b0a5b2f820ee2742fc
Using strategy: Default
[poll] Last Built Revision: Revision 2db37887a067046f1f805a8330d4b1da97d0fac2 (refs/remotes/origin/master)
The recommended git tool is: NONE
using credential 7e651ef9-bae5-4994-90c4-7fb26488b3fb
> git rev-parse --resolve-git-dir C:\JenkinsSlave\workspace\EstosGlobal\ejsoncpp\global\.git # timeout=10
Fetching changes from the remote Git repositories
> git config remote.origin.url https://git.estos.de/scm/wgl/global.git # timeout=10
Fetching upstream changes from https://git.estos.de/scm/wgl/global.git
> git --version # timeout=10
> git --version # 'git version 2.35.1.windows.2'
using GIT_ASKPASS to set credentials estos build user
> git fetch --no-tags --force --progress – https://git.estos.de/scm/wgl/global.git +refs/heads/master:refs/remotes/origin/master # timeout=10
Polling for changes in
> git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
> git log --full-history --no-abbrev --format=raw -M -m --raw 2db37887a067046f1f805a8330d4b1da97d0fac2..d64d2a46ffe914e2059fe6b0a5b2f820ee2742fc # timeout=10
Ignored commit d64d2a46ffe914e2059fe6b0a5b2f820ee2742fc: No paths matched included region whitelist
Done. Took 2.6 sec
Changes found
Jenkins 2.376