delayed commit failure no longer notifies me

I'm crossposting this to teamware and intellij because I don't know
which piece is responsible.

I just tested out the delayed commit feature with the latest eap's of
TeamCity and IDEA. When my unit test failed, IDEA never notified me
of the failure. IIRC, with the previous eap's I got a little
popup-dialog from IDEA saying that something went wrong. Maybe the
message has been moved somewhere and I'm just not seeing it? I'd like
to see a nice, hard-to-ignore message in IDEA when a delayed commit
test build fails.

Thanks - and feel free to redirect me to the proper group(s).

--
-- Steve

11 comments
Comment actions Permalink

Did IDEA show 'rpc-port error' dialog on startup?


"Steve Allan" <takezowest@yahoo.com> wrote in message
news:ur70pz3hb.fsf@attachmate.com...

I'm crossposting this to teamware and intellij because I don't know
which piece is responsible.

>

I just tested out the delayed commit feature with the latest eap's of
TeamCity and IDEA. When my unit test failed, IDEA never notified me
of the failure. IIRC, with the previous eap's I got a little
popup-dialog from IDEA saying that something went wrong. Maybe the
message has been moved somewhere and I'm just not seeing it? I'd like
to see a nice, hard-to-ignore message in IDEA when a delayed commit
test build fails.

>

Thanks - and feel free to redirect me to the proper group(s).

>

--
-- Steve



0
Comment actions Permalink

"Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:

>Did IDEA show 'rpc-port error' dialog on startup?

Yes it did. I had forgotten about that. I just restarted IDEA and
the error reads:

"Cannot connect to local XmlRpc server. Possible port is busy: 63342.
Try to restart idea using different port (rpc.port system property)"

I ran 'netstat -a' and it indicates something is listening on port
63342. Then I shut down IDEA and ran 'netstat -a' again - port 63342
is no longer listed.

It looks to me like IDEA is grabbing that port. Should I try a
different port? If so, where do I set the rpc.port property?

Also, I failed to mention in my original message that the automatic
submit on a successful build is also not working. No matter what the
build status, my files are left in the 'delayed commit'
changelist. Just another data point for you.

Thanks.

>
>
>"Steve Allan" <takezowest@yahoo.com> wrote in message
>news:ur70pz3hb.fsf@attachmate.com...
>> I'm crossposting this to teamware and intellij because I don't know
>> which piece is responsible.
>>
>> I just tested out the delayed commit feature with the latest eap's of
>> TeamCity and IDEA. When my unit test failed, IDEA never notified me
>> of the failure. IIRC, with the previous eap's I got a little
>> popup-dialog from IDEA saying that something went wrong. Maybe the
>> message has been moved somewhere and I'm just not seeing it? I'd like
>> to see a nice, hard-to-ignore message in IDEA when a delayed commit
>> test build fails.
>>
>> Thanks - and feel free to redirect me to the proper group(s).
>>
>> --
>> -- Steve
>
>

--
-- Steve

0
Comment actions Permalink

Steve Allan wrote:

"Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:

>> Did IDEA show 'rpc-port error' dialog on startup?


Yes it did. I had forgotten about that. I just restarted IDEA and
the error reads:

"Cannot connect to local XmlRpc server. Possible port is busy: 63342.
Try to restart idea using different port (rpc.port system property)"


Try removing xmlrpc*.jar from idea/plugins/buildServerPlugin/lib directory.
This should help.


I ran 'netstat -a' and it indicates something is listening on port
63342. Then I shut down IDEA and ran 'netstat -a' again - port 63342
is no longer listed.

It looks to me like IDEA is grabbing that port. Should I try a
different port? If so, where do I set the rpc.port property?

Also, I failed to mention in my original message that the automatic
submit on a successful build is also not working. No matter what the
build status, my files are left in the 'delayed commit'
changelist. Just another data point for you.

Thanks.

>>
>> "Steve Allan" <takezowest@yahoo.com> wrote in message
>> news:ur70pz3hb.fsf@attachmate.com...
>>> I'm crossposting this to teamware and intellij because I don't know
>>> which piece is responsible.
>>>
>>> I just tested out the delayed commit feature with the latest eap's of
>>> TeamCity and IDEA. When my unit test failed, IDEA never notified me
>>> of the failure. IIRC, with the previous eap's I got a little
>>> popup-dialog from IDEA saying that something went wrong. Maybe the
>>> message has been moved somewhere and I'm just not seeing it? I'd like
>>> to see a nice, hard-to-ignore message in IDEA when a delayed commit
>>> test build fails.
>>>
>>> Thanks - and feel free to redirect me to the proper group(s).
>>>
>>> --
>>> -- Steve
>>



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

0
Comment actions Permalink

"Kirill Maximov (JetBrains)" <Kirill.Maximov@jetbrains.com> writes:

>Steve Allan wrote:
>> "Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:
>>
>>> Did IDEA show 'rpc-port error' dialog on startup?
>> Yes it did. I had forgotten about that. I just restarted IDEA and
>> the error reads:
>> "Cannot connect to local XmlRpc server. Possible port is busy:
>> 63342.
>> Try to restart idea using different port (rpc.port system property)"
>

Try removing xmlrpc*.jar from idea/plugins/buildServerPlugin/lib directory.
This should help.


That helped a lot. Now I get the popup messages as before.

The bad thing though is that now my changelist is getting submitted
even though the test build failed. When I ran the remote build, I
checked 'Commit if successful' and unchecked 'with confirmation'. I
get a dialog telling me my build failed, but the change gets submitted
anyway.

--
-- Steve

0
Comment actions Permalink

I submitted it, see http://www.jetbrains.net/jira/browse/TW-567

Thanks!

"Steve Allan" <takezowest@yahoo.com> wrote in message
news:u7j2gx8o4.fsf@attachmate.com...

"Kirill Maximov (JetBrains)" <Kirill.Maximov@jetbrains.com> writes:

>
>>Steve Allan wrote:
>>> "Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:
>>>
>>>> Did IDEA show 'rpc-port error' dialog on startup?
>>> Yes it did. I had forgotten about that. I just restarted IDEA and
>>> the error reads:
>>> "Cannot connect to local XmlRpc server. Possible port is busy:
>>> 63342.
>>> Try to restart idea using different port (rpc.port system property)"
>>
>> Try removing xmlrpc*.jar from idea/plugins/buildServerPlugin/lib
>> directory.
>> This should help.
>

That helped a lot. Now I get the popup messages as before.

>

The bad thing though is that now my changelist is getting submitted
even though the test build failed. When I ran the remote build, I
checked 'Commit if successful' and unchecked 'with confirmation'. I
get a dialog telling me my build failed, but the change gets submitted
anyway.

>

--
-- Steve



0
Comment actions Permalink


>I get a dialog telling me my build failed

Do you remember, it was modal message box or popup dialog?
Thanks!



"Steve Allan" <takezowest@yahoo.com> wrote in message
news:u7j2gx8o4.fsf@attachmate.com...

"Kirill Maximov (JetBrains)" <Kirill.Maximov@jetbrains.com> writes:

>
>>Steve Allan wrote:
>>> "Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:
>>>
>>>> Did IDEA show 'rpc-port error' dialog on startup?
>>> Yes it did. I had forgotten about that. I just restarted IDEA and
>>> the error reads:
>>> "Cannot connect to local XmlRpc server. Possible port is busy:
>>> 63342.
>>> Try to restart idea using different port (rpc.port system property)"
>>
>> Try removing xmlrpc*.jar from idea/plugins/buildServerPlugin/lib
>> directory.
>> This should help.
>

That helped a lot. Now I get the popup messages as before.

>

The bad thing though is that now my changelist is getting submitted
even though the test build failed. When I ran the remote build, I
checked 'Commit if successful' and unchecked 'with confirmation'. I
get a dialog telling me my build failed, but the change gets submitted
anyway.

>

--
-- Steve



0
Comment actions Permalink

"Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:

>>I get a dialog telling me my build failed
>
>Do you remember, it was modal message box or popup dialog?
>Thanks!

I just ran it again. A rectangular window slides up from the lower
right hand corner of the screen saying the test build failed. It
stays up for a few seconds, and then slides back down on it's own. As
before, the file in my changelist gets submitted anyway.

Thanks.

>
>
>
>"Steve Allan" <takezowest@yahoo.com> wrote in message
>news:u7j2gx8o4.fsf@attachmate.com...
>> "Kirill Maximov (JetBrains)" <Kirill.Maximov@jetbrains.com> writes:
>>
>>>Steve Allan wrote:
>>>> "Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:
>>>>
>>>>> Did IDEA show 'rpc-port error' dialog on startup?
>>>> Yes it did. I had forgotten about that. I just restarted IDEA and
>>>> the error reads:
>>>> "Cannot connect to local XmlRpc server. Possible port is busy:
>>>> 63342.
>>>> Try to restart idea using different port (rpc.port system property)"
>>>
>>> Try removing xmlrpc*.jar from idea/plugins/buildServerPlugin/lib
>>> directory.
>>> This should help.
>>
>> That helped a lot. Now I get the popup messages as before.
>>
>> The bad thing though is that now my changelist is getting submitted
>> even though the test build failed. When I ran the remote build, I
>> checked 'Commit if successful' and unchecked 'with confirmation'. I
>> get a dialog telling me my build failed, but the change gets submitted
>> anyway.
>>
>> --
>> -- Steve
>
>

--
-- Steve

0
Comment actions Permalink

Steve Allan <takezowest@yahoo.com> writes:

>"Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:
>
>>>I get a dialog telling me my build failed
>>
>>Do you remember, it was modal message box or popup dialog?
>>Thanks!
>
>I just ran it again. A rectangular window slides up from the lower
>right hand corner of the screen saying the test build failed. It
>stays up for a few seconds, and then slides back down on it's own. As
>before, the file in my changelist gets submitted anyway.

Right after I sent this I looked back at my laptop and saw that now a
modal dialog had appeared from TeamServer saying

"Your changes failed build configuration 'TSDemo:continuous'"

It had three buttons

Take Responsibility
Open in Browser
Cancel

I pressed 'Take Responsibility' and the dialog went away quietly.

Does that help?

--
-- Steve

0
Comment actions Permalink

Well, it seems server thinks the build is successful. It is expected
situation if your ant script returns successful exit code even if some tests
fail so build status is successful but build contains failed tests. Can you
check it please?

"Steve Allan" <takezowest@yahoo.com> wrote in message
news:ulkqo0wsw.fsf@attachmate.com...

"Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:

>
>>>I get a dialog telling me my build failed
>>
>>Do you remember, it was modal message box or popup dialog?
>>Thanks!
>

I just ran it again. A rectangular window slides up from the lower
right hand corner of the screen saying the test build failed. It
stays up for a few seconds, and then slides back down on it's own. As
before, the file in my changelist gets submitted anyway.

>

Thanks.

>
>>
>>
>>
>>"Steve Allan" <takezowest@yahoo.com> wrote in message
>>news:u7j2gx8o4.fsf@attachmate.com...
>>> "Kirill Maximov (JetBrains)" <Kirill.Maximov@jetbrains.com> writes:
>>>
>>>>Steve Allan wrote:
>>>>> "Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:
>>>>>
>>>>>> Did IDEA show 'rpc-port error' dialog on startup?
>>>>> Yes it did. I had forgotten about that. I just restarted IDEA and
>>>>> the error reads:
>>>>> "Cannot connect to local XmlRpc server. Possible port is busy:
>>>>> 63342.
>>>>> Try to restart idea using different port (rpc.port system property)"
>>>>
>>>> Try removing xmlrpc*.jar from idea/plugins/buildServerPlugin/lib
>>>> directory.
>>>> This should help.
>>>
>>> That helped a lot. Now I get the popup messages as before.
>>>
>>> The bad thing though is that now my changelist is getting submitted
>>> even though the test build failed. When I ran the remote build, I
>>> checked 'Commit if successful' and unchecked 'with confirmation'. I
>>> get a dialog telling me my build failed, but the change gets submitted
>>> anyway.
>>>
>>> --
>>> -- Steve
>>
>>
>

--
-- Steve



0
Comment actions Permalink

"Olesya Smirnova" writes: >Well, it seems server thinks the build is successful. It is expected >situation if your ant script returns successful exit code even if some tests >fail so build status is successful but build contains failed tests. Can you >check it please? Oh good grief. You're right. For my example, I took all the ]]>
defaults which I hadn't noticed don't return failure unless you
explicitly set the appropriate attributes. Now everything works as
expected. My apologies for wasting your time on this issue.

Thanks.

--
-- Steve

0
Comment actions Permalink

Oh, it's fine!
But it means that there is disagreeable inconsistence in TC behaviour - it
says 'build is failing' after first failed test, but build will never be
failed...

"Steve Allan" <takezowest@yahoo.com> wrote in message
news:uvepqzzxj.fsf@attachmate.com...

"Olesya Smirnova" <Olesya.Smirnova@jetbrains.com> writes:

>
>>Well, it seems server thinks the build is successful. It is expected
>>situation if your ant script returns successful exit code even if some
>>tests
>>fail so build status is successful but build contains failed tests. Can
>>you
>>check it please?
>

Oh good grief. You're right. For my example, I took all the <junit>
defaults which I hadn't noticed don't return failure unless you
explicitly set the appropriate attributes. Now everything works as
expected. My apologies for wasting your time on this issue.

>

Thanks.

>

--
-- Steve



0

Please sign in to leave a comment.