[jira] [Updated] (LENS-1042) TestEventService.testSesionHandleEvent fails intermittently

2016-08-24 Thread Puneet Gupta (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Puneet Gupta updated LENS-1042:
---
Issue Type: Bug  (was: Test)

> TestEventService.testSesionHandleEvent fails intermittently
> ---
>
> Key: LENS-1042
> URL: https://issues.apache.org/jira/browse/LENS-1042
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1042.patch, LENS-1042_01.patch
>
>
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:403)
> Standard Output
>  Got Event: Type= org.apache.lens.server.api.session.SessionOpened obj = 
> SessionOpened(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=c05af6e3-4498-46fe-b83a-f1aab9499005), user=user)
>  Got Event: Type= org.apache.lens.server.api.session.SessionRestored obj 
> = SessionRestored(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=09e24c8b-10d5-4e01-815e-049d62e935ec))
>  Got Event: Type= org.apache.lens.server.query.TestEventService$1 obj = 
> org.apache.lens.server.query.TestEventService$1@45e0744
>  Got Event: Type= org.apache.lens.server.api.session.SessionClosed obj = 
> SessionClosed(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=2a4cc8cd-f025-434c-acf8-b9e7ed11872f))
>  Got Event: Type= org.apache.lens.server.api.session.SessionExpired obj = 
> SessionExpired(super=SessionClosed(super=SessionEvent(sessionHandle= version="1.0" encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=65ea3954-dfd9-435d-85aa-1fbe08db076a)))
> {noformat}
> Failure at 
> https://builds.apache.org/job/PreCommit-Lens-Build/431/testReport/junit/org.apache.lens.server.query/TestEventService/testSesionHandleEvent/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1042) TestEventService.testSesionHandleEvent fails intermittently

2016-08-24 Thread Puneet Gupta (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Puneet Gupta updated LENS-1042:
---
Issue Type: Test  (was: Bug)

> TestEventService.testSesionHandleEvent fails intermittently
> ---
>
> Key: LENS-1042
> URL: https://issues.apache.org/jira/browse/LENS-1042
> Project: Apache Lens
>  Issue Type: Test
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1042.patch, LENS-1042_01.patch
>
>
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:403)
> Standard Output
>  Got Event: Type= org.apache.lens.server.api.session.SessionOpened obj = 
> SessionOpened(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=c05af6e3-4498-46fe-b83a-f1aab9499005), user=user)
>  Got Event: Type= org.apache.lens.server.api.session.SessionRestored obj 
> = SessionRestored(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=09e24c8b-10d5-4e01-815e-049d62e935ec))
>  Got Event: Type= org.apache.lens.server.query.TestEventService$1 obj = 
> org.apache.lens.server.query.TestEventService$1@45e0744
>  Got Event: Type= org.apache.lens.server.api.session.SessionClosed obj = 
> SessionClosed(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=2a4cc8cd-f025-434c-acf8-b9e7ed11872f))
>  Got Event: Type= org.apache.lens.server.api.session.SessionExpired obj = 
> SessionExpired(super=SessionClosed(super=SessionEvent(sessionHandle= version="1.0" encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=65ea3954-dfd9-435d-85aa-1fbe08db076a)))
> {noformat}
> Failure at 
> https://builds.apache.org/job/PreCommit-Lens-Build/431/testReport/junit/org.apache.lens.server.query/TestEventService/testSesionHandleEvent/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1042) TestEventService.testSesionHandleEvent fails intermittently

2016-06-16 Thread Rajat Khandelwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajat Khandelwal updated LENS-1042:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> TestEventService.testSesionHandleEvent fails intermittently
> ---
>
> Key: LENS-1042
> URL: https://issues.apache.org/jira/browse/LENS-1042
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1042.patch, LENS-1042_01.patch
>
>
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:403)
> Standard Output
>  Got Event: Type= org.apache.lens.server.api.session.SessionOpened obj = 
> SessionOpened(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=c05af6e3-4498-46fe-b83a-f1aab9499005), user=user)
>  Got Event: Type= org.apache.lens.server.api.session.SessionRestored obj 
> = SessionRestored(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=09e24c8b-10d5-4e01-815e-049d62e935ec))
>  Got Event: Type= org.apache.lens.server.query.TestEventService$1 obj = 
> org.apache.lens.server.query.TestEventService$1@45e0744
>  Got Event: Type= org.apache.lens.server.api.session.SessionClosed obj = 
> SessionClosed(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=2a4cc8cd-f025-434c-acf8-b9e7ed11872f))
>  Got Event: Type= org.apache.lens.server.api.session.SessionExpired obj = 
> SessionExpired(super=SessionClosed(super=SessionEvent(sessionHandle= version="1.0" encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=65ea3954-dfd9-435d-85aa-1fbe08db076a)))
> {noformat}
> Failure at 
> https://builds.apache.org/job/PreCommit-Lens-Build/431/testReport/junit/org.apache.lens.server.query/TestEventService/testSesionHandleEvent/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1042) TestEventService.testSesionHandleEvent fails intermittently

2016-06-09 Thread Amareshwari Sriramadasu (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated LENS-1042:
--
Status: Patch Available  (was: Open)

> TestEventService.testSesionHandleEvent fails intermittently
> ---
>
> Key: LENS-1042
> URL: https://issues.apache.org/jira/browse/LENS-1042
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1042.patch, LENS-1042_01.patch
>
>
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:403)
> Standard Output
>  Got Event: Type= org.apache.lens.server.api.session.SessionOpened obj = 
> SessionOpened(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=c05af6e3-4498-46fe-b83a-f1aab9499005), user=user)
>  Got Event: Type= org.apache.lens.server.api.session.SessionRestored obj 
> = SessionRestored(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=09e24c8b-10d5-4e01-815e-049d62e935ec))
>  Got Event: Type= org.apache.lens.server.query.TestEventService$1 obj = 
> org.apache.lens.server.query.TestEventService$1@45e0744
>  Got Event: Type= org.apache.lens.server.api.session.SessionClosed obj = 
> SessionClosed(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=2a4cc8cd-f025-434c-acf8-b9e7ed11872f))
>  Got Event: Type= org.apache.lens.server.api.session.SessionExpired obj = 
> SessionExpired(super=SessionClosed(super=SessionEvent(sessionHandle= version="1.0" encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=65ea3954-dfd9-435d-85aa-1fbe08db076a)))
> {noformat}
> Failure at 
> https://builds.apache.org/job/PreCommit-Lens-Build/431/testReport/junit/org.apache.lens.server.query/TestEventService/testSesionHandleEvent/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1042) TestEventService.testSesionHandleEvent fails intermittently

2016-06-06 Thread Raju Bairishetti (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raju Bairishetti updated LENS-1042:
---
Attachment: LENS-1042_01.patch

> TestEventService.testSesionHandleEvent fails intermittently
> ---
>
> Key: LENS-1042
> URL: https://issues.apache.org/jira/browse/LENS-1042
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1042.patch, LENS-1042_01.patch
>
>
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:403)
> Standard Output
>  Got Event: Type= org.apache.lens.server.api.session.SessionOpened obj = 
> SessionOpened(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=c05af6e3-4498-46fe-b83a-f1aab9499005), user=user)
>  Got Event: Type= org.apache.lens.server.api.session.SessionRestored obj 
> = SessionRestored(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=09e24c8b-10d5-4e01-815e-049d62e935ec))
>  Got Event: Type= org.apache.lens.server.query.TestEventService$1 obj = 
> org.apache.lens.server.query.TestEventService$1@45e0744
>  Got Event: Type= org.apache.lens.server.api.session.SessionClosed obj = 
> SessionClosed(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=2a4cc8cd-f025-434c-acf8-b9e7ed11872f))
>  Got Event: Type= org.apache.lens.server.api.session.SessionExpired obj = 
> SessionExpired(super=SessionClosed(super=SessionEvent(sessionHandle= version="1.0" encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=65ea3954-dfd9-435d-85aa-1fbe08db076a)))
> {noformat}
> Failure at 
> https://builds.apache.org/job/PreCommit-Lens-Build/431/testReport/junit/org.apache.lens.server.query/TestEventService/testSesionHandleEvent/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1042) TestEventService.testSesionHandleEvent fails intermittently

2016-06-06 Thread Raju Bairishetti (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raju Bairishetti updated LENS-1042:
---
Attachment: LENS-1042.patch

Session events are notified intermittently to event listener in 
testQueryStatusLogger. Event listener in testQueryStatusLogger listens for all 
kinds of LensEvents.

Right now, Precommit build logs are not available for the failed scenario.

> TestEventService.testSesionHandleEvent fails intermittently
> ---
>
> Key: LENS-1042
> URL: https://issues.apache.org/jira/browse/LENS-1042
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
> Attachments: LENS-1042.patch
>
>
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:403)
> Standard Output
>  Got Event: Type= org.apache.lens.server.api.session.SessionOpened obj = 
> SessionOpened(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=c05af6e3-4498-46fe-b83a-f1aab9499005), user=user)
>  Got Event: Type= org.apache.lens.server.api.session.SessionRestored obj 
> = SessionRestored(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=09e24c8b-10d5-4e01-815e-049d62e935ec))
>  Got Event: Type= org.apache.lens.server.query.TestEventService$1 obj = 
> org.apache.lens.server.query.TestEventService$1@45e0744
>  Got Event: Type= org.apache.lens.server.api.session.SessionClosed obj = 
> SessionClosed(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=2a4cc8cd-f025-434c-acf8-b9e7ed11872f))
>  Got Event: Type= org.apache.lens.server.api.session.SessionExpired obj = 
> SessionExpired(super=SessionClosed(super=SessionEvent(sessionHandle= version="1.0" encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=65ea3954-dfd9-435d-85aa-1fbe08db076a)))
> {noformat}
> Failure at 
> https://builds.apache.org/job/PreCommit-Lens-Build/431/testReport/junit/org.apache.lens.server.query/TestEventService/testSesionHandleEvent/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (LENS-1042) TestEventService.testSesionHandleEvent fails intermittently

2016-06-05 Thread Amareshwari Sriramadasu (JIRA)

 [ 
https://issues.apache.org/jira/browse/LENS-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated LENS-1042:
--
   Assignee: Raju Bairishetti
Component/s: test
 server

[~raju.bairishetti], Can you help fix this?

> TestEventService.testSesionHandleEvent fails intermittently
> ---
>
> Key: LENS-1042
> URL: https://issues.apache.org/jira/browse/LENS-1042
> Project: Apache Lens
>  Issue Type: Bug
>  Components: server, test
>Reporter: Amareshwari Sriramadasu
>Assignee: Raju Bairishetti
> Fix For: 2.6
>
>
> {noformat}
> Error Message
> expected [true] but found [false]
> Stacktrace
> java.lang.AssertionError: expected [true] but found [false]
>   at org.testng.Assert.fail(Assert.java:94)
>   at org.testng.Assert.failNotEquals(Assert.java:494)
>   at org.testng.Assert.assertTrue(Assert.java:42)
>   at org.testng.Assert.assertTrue(Assert.java:52)
>   at 
> org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:403)
> Standard Output
>  Got Event: Type= org.apache.lens.server.api.session.SessionOpened obj = 
> SessionOpened(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=c05af6e3-4498-46fe-b83a-f1aab9499005), user=user)
>  Got Event: Type= org.apache.lens.server.api.session.SessionRestored obj 
> = SessionRestored(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=09e24c8b-10d5-4e01-815e-049d62e935ec))
>  Got Event: Type= org.apache.lens.server.query.TestEventService$1 obj = 
> org.apache.lens.server.query.TestEventService$1@45e0744
>  Got Event: Type= org.apache.lens.server.api.session.SessionClosed obj = 
> SessionClosed(super=SessionEvent(sessionHandle= encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=2a4cc8cd-f025-434c-acf8-b9e7ed11872f))
>  Got Event: Type= org.apache.lens.server.api.session.SessionExpired obj = 
> SessionExpired(super=SessionClosed(super=SessionEvent(sessionHandle= version="1.0" encoding="UTF-8" 
> standalone="yes"?>b5528854-4452-496d-a97f-0772c5c0bcd81891cde4-90fb-414d-b162-0a0854b0a9ba,
>  id=65ea3954-dfd9-435d-85aa-1fbe08db076a)))
> {noformat}
> Failure at 
> https://builds.apache.org/job/PreCommit-Lens-Build/431/testReport/junit/org.apache.lens.server.query/TestEventService/testSesionHandleEvent/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)