Modify

Ticket #417 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

fatal errors in continuous integration environment lead to unknown result of the build

Reported by: yegor256@… Owned by: mrook
Priority: major Milestone: 2.4.1
Component: phing-core Version: 2.3.3
Keywords: Cc:

Description

We have CruiseControl and Phing. When there is a fatal error in our unit tests, phing crashes together with the code and do not return anything to CruiseControl. As a result, CC doesn't know the status of the build (neither success nor failure) and starts again. As a result we have an endless cycle.

I suggest to run tests (phpunit) in a separate process in order to avoid fatal crash of phing.

Attachments

Change History

comment:1 Changed 2 years ago by mrook

Please attach sample build files and other data to help me reproduce your issue.

comment:2 Changed 2 years ago by yegor256@…

build.xml:  http://code.google.com/p/fazend/source/browse/trunk/FaZend/Application/Phing/build.xml

when crash happens in phpunit task (I mean Fatal Error) - the entire build is crashed, together with phing

comment:3 Changed 2 years ago by mrook

Can you test using the latest (trunk) sources? There have been a number of fixes w.r.t. error handling in the phpunit task.

comment:4 Changed 2 years ago by yegor256@…

it's a bit difficult for me since I'm installing phing by means of PEAR and there is no option (as I understand now) to install latest trunk version using PEAR, right?

maybe you could add such an option? I would love to use latest releases for testing purposes in all our projects

comment:5 Changed 2 years ago by mrook

To install beta/release candidate versions of Phing thru pear, use 'pear install phing/phing-beta', for instructions on how to check out the latest trunk, see http://www.phing.info/trac/wiki/Users/Download

comment:6 Changed 2 years ago by FaZend <team@…>

Would be perfect to make this possible:

pear install phing/phing-trunk

What do you think?

comment:7 Changed 2 years ago by mrook

Please continue any discussion about installing trunk thru PEAR in ticket #424.

comment:8 Changed 2 years ago by mrook

  • Status changed from new to closed
  • Resolution set to invalid
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.