[ 
https://issues.apache.org/jira/browse/PHOENIX-5754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17051559#comment-17051559
 ] 

Chinmay Kulkarni commented on PHOENIX-5754:
-------------------------------------------

Great debugging [~mihir6692]! So if 2 builds are running simultaneously on the 
same box, one will kill the other, hmm, I wonder how other projects handle 
this. Do they have more build machines configured so that the probability of 
this is reduced? Or perhaps have some retry mechanism which re-enqueues a build 
if one is already running? Or some other way to silo mini-cluster setups and 
builds for independent runs?

As a quick workaround, I think we can add logic to test-patch.sh which 
re-enqueues the job in the Jenkins build queue if we see a build already 
running on the box. I'm not sure how easy that is to do (is it possible to 
invoke some Jenkins hook/API for this?) We can also change the logic so that if 
we receive a SIGKILL, we wait an arbitrary amount of time and restart. Or 
perhaps increase -Dsurefire.rerunFailingTestsCount=2 to a higher number. Open 
to suggestions [~neha.gupta] [~mihir6692]

> Phoenix IT tests are failing in Precommit QA build randomly.
> ------------------------------------------------------------
>
>                 Key: PHOENIX-5754
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5754
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.15.1, 4.16.0
>            Reporter: Neha Gupta
>            Priority: Blocker
>              Labels: build-failure, precommit
>
> While running Phoenix IT tests in QA, JVM is getting killed for random tests. 
> QA stops the run and mark that build failed. Related [jenkins builds| 
> [https://builds.apache.org/job/PreCommit-PHOENIX-Build/3520/console]] does 
> not give any information about the failure. We are blocked on committing 
> patches until this issue is fixed. 
> This behavior was observed in [PHOENIX-5496|#comment-17048460]  and  
> [PHOENIX-5698|#comment-17049989]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to