[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Hudson (JIRA)

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

Hudson commented on LENS-955:
-

UNSTABLE: Integrated in Lens-Commit-Java8 #215 (See 
[https://builds.apache.org/job/Lens-Commit-Java8/215/])
LENS-955 : Fix test failure TestQueryEndEmailNotifier.testLaunchFailure 
(amareshwari: rev 1924bbb018cbb4aa7cf8c0b2cf11376a053e3b9d)
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Hudson (JIRA)

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

Hudson commented on LENS-955:
-

FAILURE: Integrated in Lens-Commit #1303 (See 
[https://builds.apache.org/job/Lens-Commit/1303/])
LENS-955 : Fix test failure TestQueryEndEmailNotifier.testLaunchFailure 
(amareshwari: rev 1924bbb018cbb4aa7cf8c0b2cf11376a053e3b9d)
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java


> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-955:


Applied patch: 
[LENS-955.patch|https://issues.apache.org/jira/secure/attachment/12820100/LENS-955.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/740/

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Puneet Gupta (JIRA)

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

Puneet Gupta commented on LENS-955:
---

+1 for the patch. Submit operation should be synchronizes and query launch 
should not be attempted while submit has still not finished

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on LENS-955:


Applied patch: 
[LENS-955.patch|https://issues.apache.org/jira/secure/attachment/12820100/LENS-955.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/736/

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: LENS-955.patch, test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-955:
--

Looking at the logs available at 
https://builds.apache.org/job/PreCommit-Lens-Build/724/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/
 : 

{noformat}
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[Event_Service_Thread-2] INFO  
org.apache.lens.server.query.QueryExecutionServiceImpl$QueryStatusLogger - 
QueryEvent: QueryFailed:{id: c5ba15e0-21fa-47b4-a120-5bad317f6f3c, 
query:0ae14ad4-f272-4687-b124-8cfd851827ad, change:[QUEUED -> FAILED]} 
cause:Launching query failed
 Reason:
Simulated Launch Failure
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: 
c5ba15e0-21fa-47b4-a120-5bad317f6f3c
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[GenericEventListener_AsyncThread-1] INFO  
org.apache.lens.server.query.TestEventService - LensEvent: 
queryExecutionStatistics
25 Jul 2016 10:39:54 [0ae14ad4-f272-4687-b124-8cfd851827ad] 
[QueryEndNotifier_AsyncThread-3] INFO  
org.apache.lens.server.query.QueryEndNotifier - Sending completion email for 
query handle: 0ae14ad4-f272-4687-b124-8cfd851827ad
25 Jul 2016 10:39:54 [326b8ed8-c4d9-4044-9541-86db58eefef1] 
[LogStatisticsStore_AsyncThread-1] INFO  
org.apache.lens.server.stats.event.query.QueryExecutionStatistics - 
{"eventTime":1469443194994,"handle":"0ae14ad4-f272-4687-b124-8cfd851827ad","userQuery":"select
 fail from 
non_exist","submitter":"foo","clusterUser":"testlensuser","sessionId":"dee4686f-852e-488e-a646-fd2243c95151","submissionTime":1469443194936,"startTime":0,"endTime":1469443194993,"status":{"fieldsToAppend":[{"name":"Progress","value":0.0},{"name":"Queue
 Number"},{"name":"Status","value":"FAILED"},{"name":"Status 
Message","value":"Launching query failed"},{"name":"Is Result Set 
Available","value":false},{"name":"Progress Message"},{"name":"Error 
Message","value":"Simulated Launch 
Failure"}],"progress":0.0,"status":"FAILED","statusMessage":"Launching query 
failed","errorMessage":"Simulated Launch 
Failure","resultSetAvailable":false,"errorCode":1001,"lensErrorTOErrorMsg":"Internal
 Server Error."},"cause":"Launching query failed\n Reason:\nSimulated Launch 
Failure","driverStats":{"driverQuery":"select fail from 
non_exist","startTime":0,"endTime":0},"eventId":"queryExecutionStatistics"}
25 Jul 2016 10:39:54 [0ae14ad4-f272-4687-b124-8cfd851827ad] 
[dee4686f-852e-488e-a646-fd2243c95151 grizzly-http-server-0] INFO  
org.apache.lens.server.session.LensSessionImpl - Adding 
0ae14ad4-f272-4687-b124-8cfd851827ad to active queries for session 
dee4686f-852e-488e-a646-fd2243c95151
25 Jul 2016 10:39:54 [0ae14ad4-f272-4687-b124-8cfd851827ad] 
[dee4686f-852e-488e-a646-fd2243c95151 grizzly-http-server-0] INFO  
org.apache.lens.server.query.QueryExecutionServiceImpl - Returning handle 
0ae14ad4-f272-4687-b124-8cfd851827ad
25 Jul 2016 10:39:54 [0ae14ad4-f272-4687-b124-8cfd851827ad] 
[dee4686f-852e-488e-a646-fd2243c95151 grizzly-http-server-0] INFO  
org.apache.hadoop.hive.conf.HiveConf - Using the default value passed in for 
log id: dee4686f-852e-488e-a646-fd2243c95151
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[Event_Service_Thread-3] INFO  org.apache.lens.server.query.TestEventService - 
Query Failed event: QueryEvent: QueryFailed:{id: 
84089920-3f31-468c-a1d4-03eea0fdf38f, 
query:0ae14ad4-f272-4687-b124-8cfd851827ad, change:[NEW -> FAILED]} 
cause:Launching query failed
 Reason:
Simulated Launch Failure
{noformat}

The order of execution in querysubmitter and grizzly thread returning handle 
are mixed up.

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-07-25 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on LENS-955:
--

Seeing two events are getting raised for same failure, thus sending email 
notification twice :
25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[Event_Service_Thread-2] INFO  org.apache.lens.server.query.TestEventService - 
Query Failed event: QueryEvent: QueryFailed:{id: 
c5ba15e0-21fa-47b4-a120-5bad317f6f3c, 
query:0ae14ad4-f272-4687-b124-8cfd851827ad, change:[QUEUED -> FAILED]} 
cause:Launching query failed

25 Jul 2016 10:39:54 [52bb64a8-7494-437b-b247-2fc6383573a2] 
[Event_Service_Thread-3] INFO  org.apache.lens.server.query.TestEventService - 
Query Failed event: QueryEvent: QueryFailed:{id: 
84089920-3f31-468c-a1d4-03eea0fdf38f, 
query:0ae14ad4-f272-4687-b124-8cfd851827ad, change:[NEW -> FAILED]} 
cause:Launching query failed


> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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


[jira] [Commented] (LENS-955) Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure

2016-04-27 Thread Puneet Gupta (JIRA)

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

Puneet Gupta commented on LENS-955:
---

seeing this again 

Tests run: 280, Failures: 1, Errors: 0, Skipped: 8, Time elapsed: 2,115.636 sec 
<<< FAILURE! - in TestSuite
testLaunchFailure(org.apache.lens.server.query.TestQueryEndEmailNotifier)  Time 
elapsed: 0.388 sec  <<< FAILURE!
java.lang.AssertionError: expected [4] but found [8]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:370)
at org.testng.Assert.assertEquals(Assert.java:380)
at 
org.apache.lens.server.query.TestQueryEndEmailNotifier.getMessage(TestQueryEndEmailNotifier.java:182)
at 
org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure(TestQueryEndEmailNotifier.java:206)

Results :

Failed tests: 
 TestQueryEndEmailNotifier.testLaunchFailure:206->getMessage:182 expected [4] 
but found [8]

> Seeing intermittent failure TestQueryEndEmailNotifier.testLaunchFailure
> ---
>
> Key: LENS-955
> URL: https://issues.apache.org/jira/browse/LENS-955
> Project: Apache Lens
>  Issue Type: Bug
>  Components: test
>Reporter: Amareshwari Sriramadasu
> Fix For: 2.6
>
> Attachments: test.log
>
>
> One such failure : 
> https://builds.apache.org/job/PreCommit-Lens-Build/278/testReport/junit/org.apache.lens.server.query/TestQueryEndEmailNotifier/testLaunchFailure/



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