Issue with building on CruiseControl windows

2 messages Options
Embed this post
Permalink
stuffins

Issue with building on CruiseControl windows

Reply Threaded More More options
Print post
Permalink

On my development machine running mvn clean compile install works perfectly, goes through all the web tests with no issues.  However, when my cruise control server checks out the code and runs the same goals it fails with this message:

[INFO] Executing tasks
[mkdir] Created dir: C:\projects\[my project]\trunk\target\webtest-data
[echo] Testing '[my project]' with locale 'en'
Login:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
C:\projects\[my project]\trunk\src\test\resources\login.xml:2: Wrong document title found!. Expected value ".*Login.*" but got "Main Menu | AppFuse"
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Fri Aug 28 01:51:47 EDT 2009
[INFO] Final Memory: 37M/63M
[INFO] ------------------------------------------------------------------------

 Unit Tests: (0)
No Tests Run
This project doesn't have any tests


Things to point out:  my dev machine is a mac, cruise control is a windows box.  Also the build randomly started to fail.  It used to work in the CC environment and it seems as though the system crashed last night after my scheduled 3am build.  Now this started to happen.  I changed the sample-data to have 2 different users but updated login.xml to reflect the new username/password.  

This error message makes no sense because the login test fails when it requests "/" and says it finds Main Menu...its like the user is already logged in before the test runs...

Other then changing the sample data and creating 1 model object this project is almost a vanilla install of appfuse.  Any help would be greatly appreciated.
mraible

Re: Issue with building on CruiseControl windows

Reply Threaded More More options
Print post
Permalink
Please send these types of issues to the user mailing list. This list is for the development of AppFuse itself. All developers monitor both lists.

Matt

On Fri, Aug 28, 2009 at 12:04 AM, stuffins <[hidden email]> wrote:


On my development machine running mvn clean compile install works perfectly,
goes through all the web tests with no issues.  However, when my cruise
control server checks out the code and runs the same goals it fails with
this message:

[INFO] Executing tasks
[mkdir] Created dir: C:\projects\[my project]\trunk\target\webtest-data
[echo] Testing '[my project]' with locale 'en'
Login:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
C:\projects\[my project]\trunk\src\test\resources\login.xml:2: Wrong
document title found!. Expected value ".*Login.*" but got "Main Menu |
AppFuse"
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Fri Aug 28 01:51:47 EDT 2009
[INFO] Final Memory: 37M/63M
[INFO]
------------------------------------------------------------------------

 Unit Tests: (0)
No Tests Run
This project doesn't have any tests


Things to point out:  my dev machine is a mac, cruise control is a windows
box.  Also the build randomly started to fail.  It used to work in the CC
environment and it seems as though the system crashed last night after my
scheduled 3am build.  Now this started to happen.  I changed the sample-data
to have 2 different users but updated login.xml to reflect the new
username/password.

This error message makes no sense because the login test fails when it
requests "/" and says it finds Main Menu...its like the user is already
logged in before the test runs...

Other then changing the sample data and creating 1 model object this project
is almost a vanilla install of appfuse.  Any help would be greatly
appreciated.
--
View this message in context: http://www.nabble.com/Issue-with-building-on-CruiseControl-windows-tp25184493s2369p25184493.html
Sent from the AppFuse - Dev mailing list archive at Nabble.com.


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