title: Container STATE is Error when the Test Result has Failure
body: <p>I have set up Kubernetes environment locally using minikube. I create a Job which has 3 containers. </p>
  
  <ul>
  <li>Hub</li>
  <li>Chrome</li>
  <li>App ( Selenium-TestNG) </li>
  </ul>
  
  <p>When I apply/create job, which will set up Hub/Chrome/App. Execute selenium tests. </p>
  
  <p>If all the tests are completed successfully, you will see the status of Container like below</p>
  
  <p><a href="https://i.stack.imgur.com/CXsJt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CXsJt.png" alt="Container List after completion"></a></p>
  
  <p>The result from webAutomation1 app
  <a href="https://i.stack.imgur.com/si6Qe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/si6Qe.png" alt="log"></a></p>
  
  <p>The above things are as expected. Looks good in terms of container listing</p>
  
  <p>Now, if we have completed the app(Execution of tests) with some failures like below</p>
  
  <p><a href="https://i.stack.imgur.com/MqpXQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MqpXQ.png" alt="fail log"></a></p>
  
  <p>Then, my container listing will show it as error
  <a href="https://i.stack.imgur.com/rCGCb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rCGCb.png" alt="error container"></a></p>
  
  <p>I use ITestListenr to write logs to console as of now. What is that making container STATE to turn Error.? Is there anything I don't see in terms of integration between container and app?</p>
  
  <p>It would be greatly appreciated if someone helps me with this.</p>