Lost Log Messages

I seem to have started losing the "Build Log" for my builds recently. They were working fine, but now I get nothing. Well, almost nothing.

Whereas before, I'd get about two "pages" of Important messages and a huge amount for "All Messages", I now only get:

Checking for changes (22s)

I can see the full set of log messages in the output of the agent. The build has run. But they no longer appear on the server. I'm seeing messages like:

com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.messages.BuildMessage1 as it does not have a no-args constructor---- Debugging information -


required-type : jetbrains.buildServer.messages.BuildMessage1
cause-message : Cannot construct jetbrains.buildServer.messages.BuildMessage1 as it does not have a no-args constructor
class : jetbrains.buildServer.messages.BuildMessage1
message : Cannot construct jetbrains.buildServer.messages.BuildMessage1 as it does not have a no-args constructor
line number : 1
path : /jetbrains.buildServer.messages.BuildMessage1
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
-



In the server log. Don't know if this is related.

Let me know what details you'd like and I'll create an issue for you.

--Tim

3 comments
Comment actions Permalink

Another bit of information. I'm using MySQL and it looks to me like the log_messages table is not growing as quickly as it had been. It is at about 2 million rows from a few days of builds, but it doesn't seem to be growing very quickly at this point.

I'd assume from its size that it should be growing quickly while builds are running, but that does not seem to be the case. So something there has changed.

I am going to create a new instance that uses a different database so that I can continue making some progress and still have access to the problem configuration.

--Tim

0
Comment actions Permalink

Tim McNerney wrote:

I seem to have started losing the "Build Log" for my builds recently. They were working fine, but now I get nothing. Well, almost nothing.

Whereas before, I'd get about two "pages" of Important messages and a huge amount for "All Messages", I now only get:

Checking for changes (22s)

I can see the full set of log messages in the output of the agent. The build has run. But they no longer appear on the server. I'm seeing messages like:

com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.messages.BuildMessage1 as it does not have a no-args constructor---- Debugging information ----
required-type : jetbrains.buildServer.messages.BuildMessage1
cause-message : Cannot construct jetbrains.buildServer.messages.BuildMessage1 as it does not have a no-args constructor
class : jetbrains.buildServer.messages.BuildMessage1
message : Cannot construct jetbrains.buildServer.messages.BuildMessage1 as it does not have a no-args constructor
line number : 1
path : /jetbrains.buildServer.messages.BuildMessage1
cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
-------------------------------

In the server log. Don't know if this is related.


Which JDK do you use on the server side? It looks like XStream cannot deserialize messages from
build agents, and this may be the case for non-Sun JDK on the server side.


Let me know what details you'd like and I'll create an issue for you.

--Tim



--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

That could be it. I've used a variety of JDKs, mostly different versions of Sun's and JRockit. I will do a test with both to see if that is the cause.

I didn't notice anywhere a note about Sun being the only supported JDK for either the server or agent. Some of my agents are definitely using JRockit, while the server has probably used both. Should I be concerned about using JRockit? Do you guys do any testing with anything other than Sun's JDK?

Thanks.

--Tim

0

Please sign in to leave a comment.