Getting raw console text

2 messages Options
Embed this post
Permalink
Paul G. Weiss

Getting raw console text

Reply Threaded More More options
Print post
Permalink
It looks like something is not finishing the GZIPOutputStream when  
delivering compressed raw console text.

This results in a blank screen when the console text is small and an  
incomplete listing when it is large.

To demonstrate:


[~] deng-pweis| lwp-request  -s -e  
http://hudson:8080/view/XYZ/job/FastTestA/3262/consoleText  | head -30
200 OK
Connection: Close
Date: Fri, 02 Oct 2009 19:09:12 GMT
Server: Winstone Servlet Engine v0.9.10
Content-Type: text/plain;charset=UTF-8
Client-Date: Fri, 02 Oct 2009 19:09:12 GMT
Client-Peer: 10.4.2.111:8080
Client-Response-Num: 1
X-Powered-By: Servlet/2.5 (Winstone/0.9.10)

Started by remote host 10.4.2.168
Building remotely on autobuild1
...



[~] deng-pweis| lwp-request  -s -H 'Accept-Encoding: gzip' -e  
http://hudson:8080/view/XYZ/job/FastTestA/3262/consoleText  | head -30
200 OK
Connection: Close
Date: Fri, 02 Oct 2009 19:37:01 GMT
Server: Winstone Servlet Engine v0.9.10
Content-Encoding: gzip
Content-Type: text/plain;charset=UTF-8
Client-Date: Fri, 02 Oct 2009 19:37:01 GMT
Client-Peer: 10.4.2.111:8080
Client-Response-Num: 1
X-Powered-By: Servlet/2.5 (Winstone/0.9.10)

(end)


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

GLundh

Re: Getting raw console text

Reply Threaded More More options
Print post
Permalink
We are seeing similar problems when displaying large console outputs (gets truncated).

However, if the log is moved from the build-directory to the /userContent-directory, it is displayed correctly. So I'm guessing it is a Hudson issue and not a Winstone issue.

Br
Gustaf

Paul G. Weiss wrote:
It looks like something is not finishing the GZIPOutputStream when  
delivering compressed raw console text.

This results in a blank screen when the console text is small and an  
incomplete listing when it is large.

To demonstrate:


[~] deng-pweis| lwp-request  -s -e  
http://hudson:8080/view/XYZ/job/FastTestA/3262/consoleText  | head -30
200 OK
Connection: Close
Date: Fri, 02 Oct 2009 19:09:12 GMT
Server: Winstone Servlet Engine v0.9.10
Content-Type: text/plain;charset=UTF-8
Client-Date: Fri, 02 Oct 2009 19:09:12 GMT
Client-Peer: 10.4.2.111:8080
Client-Response-Num: 1
X-Powered-By: Servlet/2.5 (Winstone/0.9.10)

Started by remote host 10.4.2.168
Building remotely on autobuild1
...



[~] deng-pweis| lwp-request  -s -H 'Accept-Encoding: gzip' -e  
http://hudson:8080/view/XYZ/job/FastTestA/3262/consoleText  | head -30
200 OK
Connection: Close
Date: Fri, 02 Oct 2009 19:37:01 GMT
Server: Winstone Servlet Engine v0.9.10
Content-Encoding: gzip
Content-Type: text/plain;charset=UTF-8
Client-Date: Fri, 02 Oct 2009 19:37:01 GMT
Client-Peer: 10.4.2.111:8080
Client-Response-Num: 1
X-Powered-By: Servlet/2.5 (Winstone/0.9.10)