Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F1EEF200D2B for ; Thu, 19 Oct 2017 06:09:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ED140160BEB; Thu, 19 Oct 2017 04:09:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 15975160BEA for ; Thu, 19 Oct 2017 06:09:32 +0200 (CEST) Received: (qmail 302 invoked by uid 500); 19 Oct 2017 04:09:31 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 291 invoked by uid 99); 19 Oct 2017 04:09:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2017 04:09:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7C6D5CEE1B; Thu, 19 Oct 2017 04:09:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.25 X-Spam-Level: *** X-Spam-Status: No, score=3.25 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZZizr_45kj-0; Thu, 19 Oct 2017 04:09:26 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 583F85F3DE; Thu, 19 Oct 2017 04:09:26 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DD797E00B3; Thu, 19 Oct 2017 04:09:25 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 50473C406D0; Thu, 19 Oct 2017 04:09:23 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4447833607182658576==" MIME-Version: 1.0 Subject: Re: Review Request 63135: Refactor Job Page to make it more pluggable From: Aurora ReviewBot To: Santhosh Kumar Shanmugham , Kai Huang Cc: Aurora ReviewBot , Aurora , David McLaughlin Date: Thu, 19 Oct 2017 04:09:23 -0000 Message-ID: <20171019040923.63763.57328@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Aurora ReviewBot X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/63135/ X-Sender: Aurora ReviewBot References: <20171019040035.63799.16333@reviews-vm2.apache.org> In-Reply-To: <20171019040035.63799.16333@reviews-vm2.apache.org> X-ReviewBoard-Diff-For: ui/src/main/js/components/JobStatus.js X-ReviewBoard-Diff-For: ui/src/main/js/components/__tests__/JobHistory-test.js X-ReviewBoard-Diff-For: ui/src/main/js/components/JobOverview.js X-ReviewBoard-Diff-For: ui/src/main/js/components/JobHistory.js X-ReviewBoard-Diff-For: ui/src/main/js/components/__tests__/JobStatus-test.js Reply-To: Aurora ReviewBot X-ReviewRequest-Repository: aurora archived-at: Thu, 19 Oct 2017 04:09:34 -0000 --===============4447833607182658576== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63135/#review188636 ----------------------------------------------------------- Master (0622f34) is red with this patch. ./build-support/jenkins/build.sh org.apache.aurora.scheduler.events.WebhookTest > testTaskChangedWithOldStateError FAILED java.lang.AssertionError at WebhookTest.java:203 I1019 04:09:16.812 [ShutdownHook, SchedulerMain] Stopping scheduler services. 852 tests completed, 1 failed, 1 skipped :test FAILED :jacocoTestReport Coverage report generated: file:///home/jenkins/jenkins-slave/workspace/AuroraBot/dist/reports/jacoco/test/html/index.html :jacocoTestCoverageVerification[ant:jacocoReport] Rule violated for bundle aurora: instructions covered ratio is 0.77, but expected minimum is 0.87 [ant:jacocoReport] Rule violated for bundle aurora: branches covered ratio is 0.65, but expected minimum is 0.79 FAILED FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':test'. > Process 'Gradle Test Executor 6' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':jacocoTestCoverageVerification'. > Rule violated for bundle aurora: instructions covered ratio is 0.77, but expected minimum is 0.87 Rule violated for bundle aurora: branches covered ratio is 0.65, but expected minimum is 0.79 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ============================================================================== * Get more help at https://help.gradle.org BUILD FAILED in 8m 3s 48 actionable tasks: 39 executed, 9 up-to-date I will refresh this build result if you post a review containing "@ReviewBot retry" - Aurora ReviewBot On Oct. 19, 2017, 4 a.m., David McLaughlin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63135/ > ----------------------------------------------------------- > > (Updated Oct. 19, 2017, 4 a.m.) > > > Review request for Aurora, Kai Huang and Santhosh Kumar Shanmugham. > > > Repository: aurora > > > Description > ------- > > Refactor Job Page to create cleaner abstractions. Also refactors Tabs to make them easier to write tests for (using shallow from enzyme). > > Also improved Pagination code (was generating a warning) now that React can handle returning null from components (and doing the right thing). > > > Diffs > ----- > > ui/src/main/js/components/JobHistory.js PRE-CREATION > ui/src/main/js/components/JobOverview.js PRE-CREATION > ui/src/main/js/components/JobStatus.js PRE-CREATION > ui/src/main/js/components/Pagination.js 094ef2b248bd802ec63f562a978fd1b4d4bb5eb8 > ui/src/main/js/components/Tabs.js e382aa74e0f73e78c8092a58a605bffc54d15a81 > ui/src/main/js/components/__tests__/JobHistory-test.js PRE-CREATION > ui/src/main/js/components/__tests__/JobStatus-test.js PRE-CREATION > ui/src/main/js/components/__tests__/Tabs-test.js 252e5e001478b5a727e208b6b2d09d10128e83b9 > ui/src/main/js/pages/Job.js 070f1e43e4fe9c9eac688a9514c14e3296ef41af > ui/src/main/js/pages/__tests__/Job-test.js 03ef20ddefcc915ed4bd6242de3fe8686efdc202 > > > Diff: https://reviews.apache.org/r/63135/diff/1/ > > > Testing > ------- > > ./gradlew ui:lint > ./gradlew ui:test > > > Thanks, > > David McLaughlin > > --===============4447833607182658576==--