-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 1.596 on Debian Wheezy, viewed with newest Chrome and Firefox
-
Powered by SuggestiMate
Since the update to 1.596, the console output does not scroll down to follow the newest lines automatically. The page view stays at the top of the output, and one has to scroll down manually to watch the progress, which is tiresome.
- is duplicated by
-
JENKINS-26428 After Upgrading to Jenkins 1.594 version, Console Output does not print the latest log as and when it gets updated.
-
- Resolved
-
-
JENKINS-26356 Unable tail pages in Console Output from version 1.596
-
- Closed
-
[JENKINS-26298] Console output does not scroll anymore
Thanks for busying yourself with this minor issue!
I upgraded from 1.594 where it worked as desired.
The changes to style.css in https://github.com/jenkinsci/jenkins/compare/jenkins-1.594...jenkins-1.596 are the culprit for the scroll issue.
Assigning to tfennelly as he'll know best how to resolve this.
Please take https://github.com/jenkinsci/jenkins/pull/1520 for a test drive (once CI builds it).
Does this issue differ from https://issues.jenkins-ci.org/browse/JENKINS-25026 somehow?
@David Houck: Yes, it is different: In JENKINS-25026, the console output log is not populated beyond a certain point. Here, the output log is populated constantly, but the screen does not auto-scroll down to the newest lines – so this issue here is only a display problem.
@Tom FENNELLY: I have tried your new version, but sadly, the issue persists on my setup: The screen does not scroll down with the output log and the new lines appear out of sight.
@Klemes Edler ah sorry I kinda misread this problem actually. Thanks for flagging. I'll have a look again.
@Klemes back again ... CI is currently rebuilding https://github.com/jenkinsci/jenkins/pull/1520 . Should now fix your scrolling issue. Sorry about the delay.
@Tom Yes, the scrolling issue seems to work now. On the other hand, every build I triggered with your newest version ended up in a Stack Overflow:
... (checking out git) ...
Parsing POMs
FATAL: null
java.lang.StackOverflowError
at java.lang.Exception.<init>(Exception.java:102)
at java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40)
at com.sun.proxy.$Proxy44.lookup(Unknown Source)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
and it repeats the last five lines (DelegatingInvocationHandler.java to Method.java) over and over. But this seems to be unrelated, and the screen scrolls down with the stacktrace, so I daresay the scrolling issue is resolved.
Thank you!
@Klemens I don't think that stacktrace could have anything to do with the changes I made but please do let me know if you discover something else.
Maybe you could test with a different job?
Alright, I got it. I had not introduced my Maven installation your new Jenkins snapshot. Now it works as desired.
Plus: The scrolling issue is definitively resolved. Thanks again! :-D
Code changed in jenkins
User: tfennelly
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/9309cd39ad44836fba983ae6385e7ab567cd5e3b
Log:
Noting 1520
Fixed JENKINS-26312, JENKINS-26298 and JENKINS-26306
As the http://jenkins-ci.org/changelog indicates, 1.598 ('Upcoming Changes').
Sorry to hijack this bug, but after updating I have the same problem as Klemens. The output scrolls, but the build fails with the StackOverflowError. What exactly did you do to resolve the problem?
@sseidel The stack overflow issue Klemens encountered had nothing to do with this fix.
Well yes, since he states that configuring his Maven installations fixed it for him.
However, I can confirm that jobs running fine in 1.597 fail in 1.598 with the same stack trace (StackOverflowError).
@sseidel: try removing any "Deploy Maven Artifacts" post-build steps. This "fixed" the build for me.
Apparently only the "Deploy Maven Artifacts" post-build step fails in 1.598. For example the Sonar post-build step runs fine. I think we should open a new report for this. For me this is a definite blocker.
Edit: it's not the same stack trace:
Maven RedeployPublisher use remote XXX maven settings from : /home/jenkins/.m2/settings.XXX.xml [INFO] Deployment in http://X.X.X/nexus/content/repositories/X-snapshots/ (id=X,uniqueVersion=true) Deploying the main artifact X-0.0.1-SNAPSHOT.jar FATAL: null java.lang.StackOverflowError at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40) at com.sun.proxy.$Proxy79.lookup(Unknown Source) at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40) at com.sun.proxy.$Proxy79.lookup(Unknown Source) ...
(note the recursion)
The fix for this issue was UI only (CSS/JavaScript), whatever server side issues there are, are unrelated. So please move this topic elsewhere – 20 people are watching and I doubt many of them care about the stack overflow.
Before filing a bug about it, please note that it isn't a 'blocker' just because you rely on some feature that was broken. In most cases, these are Major ("major loss of functionality"), unless it impacts the overall operation of Jenkins.
For those of the 20 people that DO care because they use Maven RedeployPublisher: Jenkins-26595
Hi Guys,
Sorry, for posting about this issue very late.
Today we have upgraded our Jenkins instance from 1.558 to 1.599 and we started seeing lot of changes in the UI and configurations. After the upgrade we are started seeing this " Console Output Refresh " was not happening and it is troubling a lot.
After searching for the fix we got to know that it has been already addressed in the Ver. 1.598 itself. But still we are seeing this issue in the latest version 1.599.
Can someone help us regarding this issue and let us know do we need to make any change in the configuration to fix the issue ?
Thanks,
Ramakrishna
After the upgrade we are started seeing this " Console Output Refresh " was not happening and it is troubling a lot.
This issue is about the scrolling not working. The console still gets updated otherwise. If the console does not get updated, make sure you're not using the Bitnami Jenkins distribution (see JENKINS-25026), it's broken.
Please, find the attached JPG file for the version of Jenkins I am using.
Hi Daniel,
Thanks, for your quick reply.
No, i am not using any special version ( Bitnami Jenkins ) / professional version of Jenkins. I am using the regular / OSS version of Jenkins in my test instance.
Probably i may not be clear regarding the issue details. The issue is one I trigger my job and go n see the console output it is not showing the latest console output when the build is running.
All it shows in " Spinning Icon " and it didn't get SCROLL THE LATEST LOG AT ALL. Once I refresh the page then it is loading the latest LOG.
Thanks,
Ramakrishna
Please file a new issue, the behavior you describe has nothing at all to do with this report.
Confirmed. Do you know what the last version was when this worked?