• Welcome, guest

  • Login

  •  

Type:
Bug
Priority:
Critical Critical  
State:
Fixed
Subsystem:
Agent
Reporter:
Den Orlov (dorlov) Send Email
Assignee:
Olesya Smirnova (lesya) Send Email
Affects:
Build 1712 (1.0.1 EAP)
Fixed in:
1.2 EAP (1748), TeamCity 1.2
Created:
21 months ago (07 Nov 2006 14:56)
Updated:
19 months ago (15 Jan 2007 16:01)
Votes:
0
Resolved:
JIRA source:
TW-1135
broken-web.xml (14 kb)
broken-web.xml (14 kb)
log.zip (237 kb)
web.xml (12 kb)
Issue has no links

We use Subversion as sourcecontrol.


Files stored at svn that have '/n' only as line endings appeared without any end-of-line symbols at linux hosted buildAgent. This break our build since some steps base on line ending in that files.



Environment: linux, fc5, jdk 1.5.0_09


Issue wasresolved

  • Den Orlov (dorlov) Send Email
    21 months ago (13 Nov 2006 12:48)

Original file with correct end-of-lines

  • Den Orlov (dorlov) Send Email
    21 months ago (13 Nov 2006 12:49)

Eaten end of lines file grabbed from build agent's work directory

  • Den Orlov (dorlov) Send Email
    21 months ago (13 Nov 2006 12:51)

I've updated TeamCity to version 1.0.1 (build 1712) and still am experiencing the same problems

  • Olesya Smirnova (lesya) Send Email
    21 months ago (13 Nov 2006 15:19)

Could you please do "clean sources" for each agent?

  • Den Orlov (dorlov) Send Email
    21 months ago (13 Nov 2006 15:46)

It didn't help

  • Den Orlov (dorlov) Send Email
    21 months ago (16 Nov 2006 14:36)

Upgraded to build 1727, made "clean sources", still have the problem.

  • Olesya Smirnova (lesya) Send Email
    21 months ago (16 Nov 2006 19:15)

What is "svn:eol-style" property for the file?

  • Den Orlov (dorlov) Send Email
    21 months ago (17 Nov 2006 12:19)

C:\Projects\pm\mcm\portal\conf\default>svn proplist web.xml
Properties on 'web.xml':

 svn:keywords


C:\Projects\pm\mcm\portal\conf\default>svn propget svn:keywords web.xml
LastChangedDate Author LastChangedRevision Id

  • Olesya Smirnova (lesya) Send Email
    21 months ago (17 Nov 2006 13:27)

BTW, could you check, does the problem appear in several specific files or in all text files?

  • Den Orlov (dorlov) Send Email
    21 months ago (17 Nov 2006 13:33)

Files with /r/n aren't affected

  • Olesya Smirnova (lesya) Send Email
    21 months ago (17 Nov 2006 15:45)

Could you please add system property to build "agent.save.patch" with value "true", change web.xml file and run a build.
In agent log will appear line "Patch is saved to file ${file.name}"
Please attach the file, at the moment I cannot localize the problem For me with the same file and the same properties it works.
Thanks a lot!

  • Den Orlov (dorlov) Send Email
    21 months ago (17 Nov 2006 17:15)

I didn't get where I shold specify agent.save.patch=true, sorry

  • Olesya Smirnova (lesya) Send Email
    21 months ago (17 Nov 2006 17:46)

Sorry for confusing request. I meant add this property to build (Administration->Edit configuration->Properties and requirement variables->Add new property...)

  • Den Orlov (dorlov) Send Email
    21 months ago (20 Nov 2006 12:57)

Hmmm. I've specified build's system property, changed web.xml at SVN, but didn't get the message at agent's log.


Does clean source at agent deletes project sources at agentRoot/work/ directory?
Does agent's log is agentRoot/logs/TeamCity.log?
Is it possible to check some log to ensure that property was really specified?

  • Olesya Smirnova (lesya) Send Email
    21 months ago (21 Nov 2006 15:29)

Does clean source at agent deletes project sources at agentRoot/work/ directory?
Yes, before a build start.


Does agent's log is agentRoot/logs/TeamCity.log?
Yes...


I've just checked it, for me it works.


Could you attach the whole agent log file?

  • Olesya Smirnova (lesya) Send Email
    21 months ago (21 Nov 2006 18:52)

Please attach file mentioned in line 27406:
/tmp/temp43379patch357
Thanks!

  • Olesya Smirnova (lesya) Send Email
    21 months ago (21 Nov 2006 20:25)

web.xml here has some line separators and differs from the attached one (broken-web).
Besides it was sent as binary and saved 'as is' without line separator transforming.
Could you please please check web.xml now? What is its content? Could you attach up to date one?

  • Den Orlov (dorlov) Send Email
    21 months ago (23 Nov 2006 14:23)

I've rechecked web.xml at agent's work directory. It is still the same (reattached as broken-web.xml).


Might be some SVN settings could affect that line endings were eaten? Might be some JVM/OS parameters?


You could contact me via icq (76460967) to facilitate investigation.

  • Olesya Smirnova (lesya) Send Email
    21 months ago (23 Nov 2006 14:38)

Thanks!
I added you. My ICQ login name is 'lesya'

  • Den Orlov (dorlov) Send Email
    21 months ago (24 Nov 2006 13:45)

I removed svn:keyword property from this file. End of lines wasn't eaten.

  • Den Orlov (dorlov) Send Email
    21 months ago (24 Nov 2006 14:05)

All logs from agent were attached

Old New
Den Orlov (dorlov) - 19 months ago (15 Jan 2007 16:01)

JetBrains Tracker revision #1044 [21-Aug-2008 11:26] (version #46) Copyright 2007-2008 JetBrains s.r.o.