-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins: 2.249.2
OS: Debian 10 - Linux - 4.19.0-12-amd64
NOT running in a container
All jenkins config managed by Ansible and Configuration as Code
See attached image for Timestamper settings.
I am using the SimpleTheme plugin, with the following Extra CSS in order to prevent pipeline console verbosity, a la https://issues.jenkins.io/browse/JENKINS-41845:
.pipeline-annotated {
display: none;
}
.pipeline-new-node {
display: none;
}
---
disk-usage:0.28
validating-string-parameter:2.8
workflow-api:2.40
authentication-tokens:1.4
github:1.32.0
jquery3-api:3.5.1-2
git-parameter:0.9.13
copyartifact:1.45.3
mqtt-notification-plugin:1.8
pipeline-graph-analysis:1.10
workflow-cps-global-lib:2.17
matrix-project:1.18
basic-branch-build-strategies:1.3.2
mercurial:2.12
momentjs:1.1.1
favorite:2.3.2
popper-api:1.16.0-7
nodejs:1.3.9
list-git-branches-parameter:0.0.9
credentials:2.3.13
jquery-detached:1.2.1
font-awesome-api:5.15.1-1
docker-workflow:1.24
configuration-as-code:1.45
snakeyaml-api:1.27.0
blueocean-github-pipeline:1.24.3
sse-gateway:1.24
pipeline-input-step:2.12
pipeline-aggregator-view:1.11
blueocean-commons:1.24.3
htmlpublisher:1.25
credentials-binding:1.24
parameterized-trigger:2.39
workflow-cps:2.83
workflow-step-api:2.23
blueocean-pipeline-editor:1.24.3
blueocean:1.24.3
handlebars:1.1.1
managed-scripts:1.4
blueocean-git-pipeline:1.24.3
command-launcher:1.5
echarts-api:4.9.0-2
junit:1.43
pipeline-model-extensions:1.7.2
workflow-multibranch:2.22
lockable-resources:2.10
pipeline-model-declarative-agent:1.1.1
workflow-aggregator:2.6
leastload:3.0.0
token-macro:2.12
matrix-auth:2.6.4
rebuild:1.31
git-server:1.9
jsch:0.1.55.2
plugin-util-api:1.4.0
ws-cleanup:0.38
trilead-api:1.0.12
run-condition:1.4
bouncycastle-api:2.18
extended-choice-parameter:0.82
docker-commons:1.17
structs:1.20
jdk-tool:1.4
cloudbees-folder:6.14
greenballs:1.15.1
active-directory:2.22
pubsub-light:1.13
blueocean-personalization:1.24.3
workflow-scm-step:2.11
audit-trail:3.8
workflow-support:3.5
workflow-durable-task-step:2.36
prometheus:2.0.8
http_request:1.8.26
blueocean-autofavorite:1.2.4
extended-read-permission:3.2
blueocean-bitbucket-pipeline:1.24.3
blueocean-pipeline-api-impl:1.24.3
plain-credentials:1.7
conditional-buildstep:1.4.1
workflow-job:2.40
simple-theme-plugin:0.6
jquery:1.12.4-1
mattermost:3.1.1
atlassian-bitbucket-server-integration:2.1.2
monitoring:1.86.0
durable-task:1.35
branch-api:2.6.0
workflow-basic-steps:2.22
cloudbees-bitbucket-branch-source:2.9.6
ssh-steps:2.0.0
mailer:1.32.1
pipeline-utility-steps:2.6.1
bootstrap4-api:4.5.3-1
pipeline-build-step:2.13
apache-httpcomponents-client-4-api:4.5.10-2.0
pipeline-stage-step:2.5
jenkins-design-language:1.24.3
jira:3.1.3
git:4.4.5
Office-365-Connector:4.13.2
git-client:3.5.1
handy-uri-templates-2-api:2.1.8-1.0
javadoc:1.6
blueocean-jira:1.24.3
pipeline-stage-tags-metadata:1.7.2
github-branch-source:2.9.2
job-dsl:1.77
github-api:1.117
ansicolor:0.7.5
timestamper:1.11.8
blueocean-core-js:1.24.3
resource-disposer:0.14
blueocean-events:1.24.3
okhttp-api:3.14.9
cloudbees-disk-usage-simple:0.10
ssh-slaves:1.31.2
xunit:2.4.0
blueocean-web:1.24.3
build-timeout:1.20
variant:1.3
groovy:2.3
stashNotifier:1.20
support-core:2.72
jackson2-api:2.11.3
build-monitor-plugin:1.12+build.201809061734
test-results-analyzer:0.3.5
blueocean-rest-impl:1.24.3
checks-api:1.0.3
pipeline-model-definition:1.7.2
maven-plugin:3.8
pipeline-stage-view:2.18
display-url-api:2.3.3
config-file-provider:3.7.0
blueocean-pipeline-scm-api:1.24.3
blueocean-config:1.24.3
versioncolumn:2.1
script-security:1.75
antisamy-markup-formatter:2.1
pipeline-milestone-step:1.3.1
blueocean-i18n:1.24.3
blueocean-rest:1.24.3
ace-editor:1.1
scm-api:2.6.4
blueocean-jwt:1.24.3
email-ext:2.77
dtkit-api:2.2.1
blueocean-dashboard:1.24.3
pipeline-model-api:1.7.2
jaxb:2.3.0.1
metrics:4.0.2.6
blueocean-display-url:2.4.0
pipeline-rest-api:2.18
ssh-credentials:1.18.1Jenkins: 2.249.2 OS: Debian 10 - Linux - 4.19.0-12-amd64 NOT running in a container All jenkins config managed by Ansible and Configuration as Code See attached image for Timestamper settings. I am using the SimpleTheme plugin, with the following Extra CSS in order to prevent pipeline console verbosity, a la https://issues.jenkins.io/browse/JENKINS-41845: .pipeline-annotated { display: none; } .pipeline-new-node { display: none; } --- disk-usage:0.28 validating-string-parameter:2.8 workflow-api:2.40 authentication-tokens:1.4 github:1.32.0 jquery3-api:3.5.1-2 git-parameter:0.9.13 copyartifact:1.45.3 mqtt-notification-plugin:1.8 pipeline-graph-analysis:1.10 workflow-cps-global-lib:2.17 matrix-project:1.18 basic-branch-build-strategies:1.3.2 mercurial:2.12 momentjs:1.1.1 favorite:2.3.2 popper-api:1.16.0-7 nodejs:1.3.9 list-git-branches-parameter:0.0.9 credentials:2.3.13 jquery-detached:1.2.1 font-awesome-api:5.15.1-1 docker-workflow:1.24 configuration-as-code:1.45 snakeyaml-api:1.27.0 blueocean-github-pipeline:1.24.3 sse-gateway:1.24 pipeline-input-step:2.12 pipeline-aggregator-view:1.11 blueocean-commons:1.24.3 htmlpublisher:1.25 credentials-binding:1.24 parameterized-trigger:2.39 workflow-cps:2.83 workflow-step-api:2.23 blueocean-pipeline-editor:1.24.3 blueocean:1.24.3 handlebars:1.1.1 managed-scripts:1.4 blueocean-git-pipeline:1.24.3 command-launcher:1.5 echarts-api:4.9.0-2 junit:1.43 pipeline-model-extensions:1.7.2 workflow-multibranch:2.22 lockable-resources:2.10 pipeline-model-declarative-agent:1.1.1 workflow-aggregator:2.6 leastload:3.0.0 token-macro:2.12 matrix-auth:2.6.4 rebuild:1.31 git-server:1.9 jsch:0.1.55.2 plugin-util-api:1.4.0 ws-cleanup:0.38 trilead-api:1.0.12 run-condition:1.4 bouncycastle-api:2.18 extended-choice-parameter:0.82 docker-commons:1.17 structs:1.20 jdk-tool:1.4 cloudbees-folder:6.14 greenballs:1.15.1 active-directory:2.22 pubsub-light:1.13 blueocean-personalization:1.24.3 workflow-scm-step:2.11 audit-trail:3.8 workflow-support:3.5 workflow-durable-task-step:2.36 prometheus:2.0.8 http_request:1.8.26 blueocean-autofavorite:1.2.4 extended-read-permission:3.2 blueocean-bitbucket-pipeline:1.24.3 blueocean-pipeline-api-impl:1.24.3 plain-credentials:1.7 conditional-buildstep:1.4.1 workflow-job:2.40 simple-theme-plugin:0.6 jquery:1.12.4-1 mattermost:3.1.1 atlassian-bitbucket-server-integration:2.1.2 monitoring:1.86.0 durable-task:1.35 branch-api:2.6.0 workflow-basic-steps:2.22 cloudbees-bitbucket-branch-source:2.9.6 ssh-steps:2.0.0 mailer:1.32.1 pipeline-utility-steps:2.6.1 bootstrap4-api:4.5.3-1 pipeline-build-step:2.13 apache-httpcomponents-client-4-api:4.5.10-2.0 pipeline-stage-step:2.5 jenkins-design-language:1.24.3 jira:3.1.3 git:4.4.5 Office-365-Connector:4.13.2 git-client:3.5.1 handy-uri-templates-2-api:2.1.8-1.0 javadoc:1.6 blueocean-jira:1.24.3 pipeline-stage-tags-metadata:1.7.2 github-branch-source:2.9.2 job-dsl:1.77 github-api:1.117 ansicolor:0.7.5 timestamper:1.11.8 blueocean-core-js:1.24.3 resource-disposer:0.14 blueocean-events:1.24.3 okhttp-api:3.14.9 cloudbees-disk-usage-simple:0.10 ssh-slaves:1.31.2 xunit:2.4.0 blueocean-web:1.24.3 build-timeout:1.20 variant:1.3 groovy:2.3 stashNotifier:1.20 support-core:2.72 jackson2-api:2.11.3 build-monitor-plugin:1.12+build.201809061734 test-results-analyzer:0.3.5 blueocean-rest-impl:1.24.3 checks-api:1.0.3 pipeline-model-definition:1.7.2 maven-plugin:3.8 pipeline-stage-view:2.18 display-url-api:2.3.3 config-file-provider:3.7.0 blueocean-pipeline-scm-api:1.24.3 blueocean-config:1.24.3 versioncolumn:2.1 script-security:1.75 antisamy-markup-formatter:2.1 pipeline-milestone-step:1.3.1 blueocean-i18n:1.24.3 blueocean-rest:1.24.3 ace-editor:1.1 scm-api:2.6.4 blueocean-jwt:1.24.3 email-ext:2.77 dtkit-api:2.2.1 blueocean-dashboard:1.24.3 pipeline-model-api:1.7.2 jaxb:2.3.0.1 metrics:4.0.2.6 blueocean-display-url:2.4.0 pipeline-rest-api:2.18 ssh-credentials:1.18.1
When running most jobs I see the expected single timestamp in the console, which follows the format specified in Global Timestamper settings.
However, when a pipeline executes a global function in my shared library, everything printed to console in that function contains two timestamps, like shown below. Lines printed before entering the function have a single timestamp, then around the time of entry, there appear a strange number of timestamps, until we end up in the function and it stabilizes at exactly 2 timestamps per line, then on exiting the function it oscillates again and stabilizes at 1 timestamp per line again..
14:44:11.340 . 14:44:11.340 . 14:44:11.340 . 14:44:11.344 14:44:11.344 Running in /home/jenkins/.jenkins/workspace/_python-versions-in-pypip-role_2/packer/stonefly-fw 14:44:11.344 14:44:11.348 14:44:11.348 Calling global function scpArtifacts in shared library... 14:44:11.385 14:44:11.385 Entered Shared Library Global Function... 14:44:11.386 14:44:11.386 . 14:44:11.386 14:44:11.386 . 14:44:11.386 14:44:11.386 . 14:44:14.820 14:44:14.820 . 14:44:14.821 14:44:15.089 Exiting Shared Library Global Function... 14:44:15.089 Calling scp... 14:44:15.093 14:44:15.094 14:44:15.097 14:44:15.102 14:44:15.105 14:44:15.111 14:44:15.111 14:44:15.117 14:44:15.119 Archiving artifacts 14:44:15.124 Recording fingerprints 14:44:15.132 14:44:15.133 Notifying Bitbucket of FAILURE build status for commit 2589851638383566f5f4ea13fda7c41b6f90ab54 as jenkins@biamp.com.. 14:44:15.134 14:44:15.136 Notifying Bitbucket at "https://bitbucket.biamp.com:8443" 14:44:15.169 Notified Bitbucket for commit with id 2589851638383566f5f4ea13fda7c41b6f90ab54 14:44:15.171 14:44:15.174 14:44:15.178 14:44:15.181 14:44:15.184 14:44:15.188 14:44:15.191 14:44:15.195 14:44:15.199 14:43:30.870 Terminated 14:44:15.263 [Checks API] No suitable checks publisher found. 14:44:15.271 ERROR: aborting early, still testing stage 14:44:15.271 Finished: FAILURE
As mentioned in the Environment section, I am using the SimpleTheme plugin, with the following Extra CSS in order to prevent pipeline console verbosity, a la https://issues.jenkins.io/browse/JENKINS-41845:
.pipeline-annotated {
display: none;
}
.pipeline-new-node {
display: none;
}
- duplicates
-
JENKINS-57080 Cannot hide Pipeline output when using Timestamps
- Open