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

REGRESSION: logs not tailing with freestyle

    XMLWordPrintable

Details

    • 1.0-beta-1

    Description

      If you create a freestyle job that outputs a lot of lines, it doesn't follow it along to the end.

      For example, create a freestyle job with nothing but the following:

      ping www.apple.com
      

      And once it flows past the view port, it doesn't tail along with the end.
      I used this to be "slow" to easily see it happen (it probably could be done with a faster script).

      In scope:

      • Diagnose above
      • Ideally have ATH test to cover freestyle tailling
      • fix to tail freestyle (pipeline seems to work correctly)

      Attachments

        Activity

          Regression has been introduced in 574aed8ce38fe8558e528e10355017b088e69f25

          const resultRun = run.isCompleted() ? run.state : run.result;

          is wrong since it has to be the other way around.

          tscherler Thorsten Scherler added a comment - Regression has been introduced in 574aed8ce38fe8558e528e10355017b088e69f25 const resultRun = run.isCompleted() ? run.state : run.result; is wrong since it has to be the other way around.

          Code changed in jenkins
          User: Thorsten Scherler
          Path:
          src/test/js/log-karaoke/freestylePing.js
          src/test/resources/test_scripts/freestylePing.sh
          http://jenkins-ci.org/commit/blueocean-acceptance-test/dac5f29030f741a416607b375d8a674a2bea9a8f
          Log:
          JENKINS-38006 first working version to test whethe we have scrolled to bottom

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: src/test/js/log-karaoke/freestylePing.js src/test/resources/test_scripts/freestylePing.sh http://jenkins-ci.org/commit/blueocean-acceptance-test/dac5f29030f741a416607b375d8a674a2bea9a8f Log: JENKINS-38006 first working version to test whethe we have scrolled to bottom

          Code changed in jenkins
          User: Thorsten Scherler
          Path:
          src/main/js/page_objects/blueocean/bluePipelineRunDetail.js
          src/test/js/log-karaoke/freestylePing.js
          http://jenkins-ci.org/commit/blueocean-acceptance-test/9ceca9da323e9cfff9b09f026d08e40f56909a90
          Log:
          JENKINS-38006 move method to the page object

          Compare: https://github.com/jenkinsci/blueocean-acceptance-test/compare/dac5f29030f7^...9ceca9da323e

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: src/main/js/page_objects/blueocean/bluePipelineRunDetail.js src/test/js/log-karaoke/freestylePing.js http://jenkins-ci.org/commit/blueocean-acceptance-test/9ceca9da323e9cfff9b09f026d08e40f56909a90 Log: JENKINS-38006 move method to the page object Compare: https://github.com/jenkinsci/blueocean-acceptance-test/compare/dac5f29030f7 ^...9ceca9da323e

          Code changed in jenkins
          User: Thorsten Scherler
          Path:
          .gitignore
          pom.xml
          http://jenkins-ci.org/commit/blueocean-acceptance-test/389743210de4d200d41d2840869cb8ec0941863f
          Log:
          Merge remote-tracking branch 'origin/master' into JENKINS-38006

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: .gitignore pom.xml http://jenkins-ci.org/commit/blueocean-acceptance-test/389743210de4d200d41d2840869cb8ec0941863f Log: Merge remote-tracking branch 'origin/master' into JENKINS-38006

          Code changed in jenkins
          User: Thorsten Scherler
          Path:
          src/main/js/page_objects/blueocean/bluePipelineRunDetail.js
          src/test/js/edgeCases/folder.js
          src/test/js/failing.js
          src/test/js/log-karaoke/freestyle.js
          src/test/js/log-karaoke/freestylePing.js
          src/test/js/log-karaoke/noStages.js
          src/test/js/log-karaoke/stages.js
          http://jenkins-ci.org/commit/blueocean-acceptance-test/5add1af48dc3917187d13944f1ce279b29c1fcec
          Log:
          JENKINS-38006 Drop passing browser object to page methods. Add comments to bluePipelineRunDetail and the failing.js.

          Compare: https://github.com/jenkinsci/blueocean-acceptance-test/compare/9ceca9da323e...5add1af48dc3

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: src/main/js/page_objects/blueocean/bluePipelineRunDetail.js src/test/js/edgeCases/folder.js src/test/js/failing.js src/test/js/log-karaoke/freestyle.js src/test/js/log-karaoke/freestylePing.js src/test/js/log-karaoke/noStages.js src/test/js/log-karaoke/stages.js http://jenkins-ci.org/commit/blueocean-acceptance-test/5add1af48dc3917187d13944f1ce279b29c1fcec Log: JENKINS-38006 Drop passing browser object to page methods. Add comments to bluePipelineRunDetail and the failing.js. Compare: https://github.com/jenkinsci/blueocean-acceptance-test/compare/9ceca9da323e...5add1af48dc3

          Code changed in jenkins
          User: Thorsten Scherler
          Path:
          src/main/js/page_objects/blueocean/bluePipelineRunDetail.js
          src/test/js/edgeCases/folder.js
          src/test/js/failing.js
          src/test/js/log-karaoke/freestyle.js
          src/test/js/log-karaoke/freestylePing.js
          src/test/js/log-karaoke/noStages.js
          src/test/js/log-karaoke/stages.js
          src/test/resources/test_scripts/freestylePing.sh
          http://jenkins-ci.org/commit/blueocean-acceptance-test/3a3f8d8086ff124d5a0625da34682098a7bfc3ff
          Log:
          FIX Jenkins 38006 Fix condition which had been implemented wrong (#35)

          • JENKINS-38006 first working version to test whethe we have scrolled to bottom
          • JENKINS-38006 Drop passing browser object to page methods. Add comments to bluePipelineRunDetail and the failing.js.
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: src/main/js/page_objects/blueocean/bluePipelineRunDetail.js src/test/js/edgeCases/folder.js src/test/js/failing.js src/test/js/log-karaoke/freestyle.js src/test/js/log-karaoke/freestylePing.js src/test/js/log-karaoke/noStages.js src/test/js/log-karaoke/stages.js src/test/resources/test_scripts/freestylePing.sh http://jenkins-ci.org/commit/blueocean-acceptance-test/3a3f8d8086ff124d5a0625da34682098a7bfc3ff Log: FIX Jenkins 38006 Fix condition which had been implemented wrong (#35) JENKINS-38006 first working version to test whethe we have scrolled to bottom JENKINS-38006 move method to the page object JENKINS-38006 Drop passing browser object to page methods. Add comments to bluePipelineRunDetail and the failing.js.

          People

            tscherler Thorsten Scherler
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: