• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • timestamper-plugin
    • None

      Hi,

      I guess there's a new recent feature "somewhere" (timestamper ? or jenkins itself ?) that kind of broke timestamps for us ?

      BEFORE:

       

      AFTER:

      in "after", there are only very, very few timestamps

       

      As far as I can see, this appeared with a release between the 3rd and 10th of June (ie: the issue started appearing on the 12th of June, after a Sunday refresh - while the refresh from the 4th of June is "fine").

      A few more details:

      • we enable timestamper in our pipelines via:
          options {
              timestamps()
      [...]
          } 

      More info:

      Jenkins: 2.401.1
      OS: Linux - 5.19.0-1026-aws
      Java: 11.0.19 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
      ---
      analysis-model-api:11.3.0
      ansible:217.v1696cee03265
      ansicolor:1.0.2
      antisamy-markup-formatter:159.v25b_c67cd35fb_
      apache-httpcomponents-client-4-api:4.5.14-150.v7a_b_9d17134a_5
      authentication-tokens:1.53.v1c90fd9191a_b_
      aws-codebuild:0.59
      aws-credentials:191.vcb_f183ce58b_9
      aws-java-sdk:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-cloudformation:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-codebuild:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-ec2:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-ecr:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-ecs:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-efs:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-elasticbeanstalk:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-iam:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-kinesis:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-logs:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-minimal:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-sns:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-sqs:1.12.481-392.v8b_291cfcda_09
      aws-java-sdk-ssm:1.12.481-392.v8b_291cfcda_09
      blueocean:1.27.4
      blueocean-bitbucket-pipeline:1.27.4
      blueocean-commons:1.27.4
      blueocean-config:1.27.4
      blueocean-core-js:1.27.4
      blueocean-dashboard:1.27.4
      blueocean-display-url:2.4.2
      blueocean-events:1.27.4
      blueocean-git-pipeline:1.27.4
      blueocean-github-pipeline:1.27.4
      blueocean-i18n:1.27.4
      blueocean-jwt:1.27.4
      blueocean-personalization:1.27.4
      blueocean-pipeline-api-impl:1.27.4
      blueocean-pipeline-editor:1.27.4
      blueocean-pipeline-scm-api:1.27.4
      blueocean-rest:1.27.4
      blueocean-rest-impl:1.27.4
      blueocean-web:1.27.4
      bootstrap5-api:5.3.0-1
      bouncycastle-api:2.28
      branch-api:2.1109.vdf225489a_16d
      build-monitor-plugin:1.14-717.v3efcdffe8d58
      build-user-vars-plugin:1.9
      caffeine-api:3.1.6-115.vb_8b_b_328e59d8
      checks-api:2.0.0
      cloudbees-bitbucket-branch-source:805.v7f97d29dc0f5
      cloudbees-folder:6.815.v0dd5a_cb_40e0e
      cobertura:1.17
      code-coverage-api:4.7.0
      command-launcher:90.v669d7ccb_7c31
      commons-lang3-api:3.12.0-36.vd97de6465d5b_
      commons-text-api:1.10.0-36.vc008c8fcda_7b_
      config-file-provider:938.ve2b_8a_591c596
      configuration-as-code:1647.ve39ca_b_829b_42
      configuration-as-code-secret-ssm:1.0.1
      copyartifact:705.v5295cffec284
      credentials:1254.vb_96f366e7b_a_d
      credentials-binding:604.vb_64480b_c56ca_
      data-tables-api:1.13.4-1
      display-url-api:2.3.7
      docker-commons:419.v8e3cd84ef49c
      docker-workflow:563.vd5d2e5c4007f
      dtkit-api:3.0.2
      durable-task:507.v050055d0cb_dd
      echarts-api:5.4.0-5
      email-ext:2.98
      favorite:2.4.2
      font-awesome-api:6.4.0-1
      forensics-api:2.3.0
      git:5.1.0
      git-client:4.4.0
      git-server:99.va_0826a_b_cdfa_d
      github:1.37.1
      github-api:1.314-431.v78d72a_3fe4c3
      github-branch-source:1725.vd391eef681a_e
      gradle:2.8
      h2-api:11.1.4.199-12.v9f4244395f7a_
      handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
      htmlpublisher:1.31
      http_request:1.16
      instance-identity:142.v04572ca_5b_265
      ionicons-api:56.v1b_1c8c49374e
      jackson2-api:2.15.2-350.v0c2f3f8fc595
      jacoco:3.3.3
      jakarta-activation-api:2.0.1-3
      jakarta-mail-api:2.0.1-3
      javax-activation-api:1.2.0-6
      javax-mail-api:1.6.2-8
      jaxb:2.3.8-1
      jdk-tool:63.v62d2fd4b_4793
      jenkins-design-language:1.27.4
      jjwt-api:0.11.5-77.v646c772fddb_0
      jquery3-api:3.7.0-1
      junit:1207.va_09d5100410f
      ldap:682.v7b_544c9d1512
      lockable-resources:1156.v5e9f897ece02
      mailer:457.v3f72cb_e015e5
      matrix-project:789.v57a_725b_63c79
      mina-sshd-api-common:2.10.0-69.v28e3e36d18eb_
      mina-sshd-api-core:2.10.0-69.v28e3e36d18eb_
      nodejs:1.6.0
      okhttp-api:4.11.0-145.vcb_8de402ef81
      parameterized-scheduler:1.2
      performance:928.vdea_0dca_55446
      pipeline-aws:1.43
      pipeline-build-step:496.v2449a_9a_221f2
      pipeline-graph-analysis:202.va_d268e64deb_3
      pipeline-groovy-lib:656.va_a_ceeb_6ffb_f7
      pipeline-input-step:468.va_5db_051498a_4
      pipeline-maven:1298.v43b_82f220a_e9
      pipeline-milestone-step:111.v449306f708b_7
      pipeline-model-api:2.2141.v5402e818a_779
      pipeline-model-definition:2.2141.v5402e818a_779
      pipeline-model-extensions:2.2141.v5402e818a_779
      pipeline-rest-api:2.32
      pipeline-stage-step:305.ve96d0205c1c6
      pipeline-stage-tags-metadata:2.2141.v5402e818a_779
      pipeline-stage-view:2.32
      pipeline-utility-steps:2.15.4
      plain-credentials:143.v1b_df8b_d3b_e48
      plugin-util-api:3.3.0
      prism-api:1.29.0-7
      pubsub-light:1.17
      rebuild:320.v5a_0933a_e7d61
      resource-disposer:0.22
      role-strategy:633.v836e5b_3e80a_5
      sbt:81.vb_82499046630
      scm-api:672.v64378a_b_20c60
      scoverage:1.4.0
      script-security:1251.vfe552ed55f8d
      slack:664.vc9a_90f8b_c24a_
      snakeyaml-api:1.33-95.va_b_a_e3e47b_fa_4
      sonar:2.15
      sse-gateway:1.26
      ssh-agent:333.v878b_53c89511
      ssh-credentials:305.v8f4381501156
      sshd:3.303.vefc7119b_ec23
      structs:324.va_f5d6774f3a_d
      timestamper:1.25
      token-macro:359.vb_cde11682e0c
      trilead-api:2.84.v72119de229b_7
      variant:59.vf075fe829ccb
      warnings-ng:10.2.0
      workflow-aggregator:596.v8c21c963d92d
      workflow-api:1213.v646def1087f9
      workflow-basic-steps:1017.vb_45b_302f0cea_
      workflow-cps:3691.v28b_14c465a_b_b_
      workflow-cps-global-lib:609.vd95673f149b_b
      workflow-durable-task-step:1247.v7f9dfea_b_4fd0
      workflow-job:1308.v58d48a_763b_31
      workflow-multibranch:756.v891d88f2cd46
      workflow-scm-step:415.v434365564324
      workflow-step-api:639.v6eca_cd8c04a_a_
      workflow-support:839.v35e2736cfd5c
      ws-cleanup:0.45
      xunit:3.1.2
      xvfb:1.2
       

       

      Env: Running in docker, based on 
      jenkins/jenkins:lts-jdk11
       

      Could someone help out there ?

      thank you

          [JENKINS-71462] Lack of timestamps

          Beni Peled added a comment -

          basil / @other-maintainer can you please take a look? 

          Beni Peled added a comment - basil / @other-maintainer can you please take a look? 

          Basil Crow added a comment -

          I haven't changed anything in the Timestamper plugin recently that would cause a problem like this, and the automated tests that use this feature are passing. In order for progress to be made on this ticket, we need a set of steps to reproduce the problem from scratch on a clean Jenkins installation.

          Basil Crow added a comment - I haven't changed anything in the Timestamper plugin recently that would cause a problem like this, and the automated tests that use this feature are passing. In order for progress to be made on this ticket, we need a set of steps to reproduce the problem from scratch on a clean Jenkins installation.

          jerome g added a comment -

          Interestingly, it's now working again anyway

          Marking as closed.

          jerome g added a comment - Interestingly, it's now working again anyway Marking as closed.

          Beni Peled added a comment -

          basil if so, it's probably raised by one of the latest dependency/Jenkins version upgrades,

          jeromebgl what Jenkins and timestamper-plugin versions did you check and verified it works?

          Beni Peled added a comment - basil if so, it's probably raised by one of the latest dependency/Jenkins version upgrades, jeromebgl what Jenkins and timestamper-plugin versions did you check and verified it works?

          Beni Peled added a comment -

          Seems like a browser dependencies issue (or a combination of both browser + plugin dependencies)
          The timestamp appears on Firefox and Chrome 110.0.5481.177
          But not appear on 112.0.5615.121-1 and 116.0.5845.110

          Beni Peled added a comment - Seems like a browser dependencies issue (or a combination of both browser + plugin dependencies) The timestamp appears on Firefox and Chrome 110.0.5481.177 But not appear on 112.0.5615.121-1 and 116.0.5845.110

          Basil Crow added a comment -

          There isn't a whole lot of JavaScript code in Timestamper... only some 150 lines in https://github.com/jenkinsci/timestamper-plugin/blob/8ddaa372da98a6230b17697dbda8de947e002cdf/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory3/script.js if someone who is experiencing the problem wants to dig in to see what is going on

          Basil Crow added a comment - There isn't a whole lot of JavaScript code in Timestamper... only some 150 lines in https://github.com/jenkinsci/timestamper-plugin/blob/8ddaa372da98a6230b17697dbda8de947e002cdf/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory3/script.js if someone who is experiencing the problem wants to dig in to see what is going on

          jerome g added a comment -

          Indeed, re-opening the issue: this is clearly an issue on browser side - Chrome seems to work fine, while Firefox has issues "sometimes" (I just discovered it, so I don't know yet what triggers it)

          jerome g added a comment - Indeed, re-opening the issue: this is clearly an issue on browser side - Chrome seems to work fine, while Firefox has issues "sometimes" (I just discovered it, so I don't know yet what triggers it)

          Basil Crow added a comment -

          I always use latest Firefox and have never seen an issue, nor has anyone provided steps to reproduce the problem from scratch. If you can experience the problem in one browser but not the other, then put a breakpoint in the abovementioned JavaScript and try stepping through the code in each browser to see what the difference is.

          Basil Crow added a comment - I always use latest Firefox and have never seen an issue, nor has anyone provided steps to reproduce the problem from scratch. If you can experience the problem in one browser but not the other, then put a breakpoint in the abovementioned JavaScript and try stepping through the code in each browser to see what the difference is.

          Dax Games added a comment -

          I think this was an issue with specific versions of jenkins

          Dax Games added a comment - I think this was an issue with specific versions of jenkins

          jerome g added a comment -

          A few more details:

          1) It's actually working fine when unchecking "Use Browser timezone" \o/

          2) When checking that box, firefox will NOT send "jenkins-timestamper-offset=-36000000;" as part of the cookie, resulting in the lack of display (the lack of display is actually in the response returned by jenkins !)

          3) Other (newer) colleagues do not have that issue in their firefox

          Not sure if that matters, but both jenkins and my firefox have the same timezone (then again, my colleagues would have the same issue too)

          jerome g added a comment - A few more details: 1) It's actually working fine when unchecking "Use Browser timezone" \o/ 2) When checking that box, firefox will NOT send "jenkins-timestamper-offset=-36000000;" as part of the cookie, resulting in the lack of display (the lack of display is actually in the response returned by jenkins !) 3) Other (newer) colleagues do not have that issue in their firefox Not sure if that matters, but both jenkins and my firefox have the same timezone (then again, my colleagues would have the same issue too)

            Unassigned Unassigned
            jeromebgl jerome g
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: