Commit Graph

288 Commits

Author SHA1 Message Date
Reid Chan af1fa22e4d
Revert "[Build] Pin rubocop version <= 0.81 (#1561)" (#1562)
This reverts commit c40b4781e4.
2020-04-22 12:57:58 +08:00
Reid Chan c40b4781e4
[Build] Pin rubocop version <= 0.81 (#1561) 2020-04-22 12:57:18 +08:00
Duo Zhang 74faa263bd HBASE-24218 Add hadoop 3.2.x in hadoop check (#1559)
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-22 10:53:14 +08:00
Duo Zhang 53d5f3cc70 HBASE-24213 Backport the pre commit changes for HBASE-24169 to all branches (#1548)
Signed-off-by: stack <stack@apache.org>
2020-04-22 10:37:56 +08:00
Minwoo Kang 776d75b9c0 HBASE-24130 rat plugin complains about having an unlicensed file (#1445)
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-04-07 09:19:53 -07:00
Nick Dimiduk dd7208c9d5 HBASE-24081 Provide documentation for running Yetus with HBase
Signed-off-by: stack <stack@apache.org>
2020-04-06 16:42:24 -07:00
Nick Dimiduk b1617df69c HBASE-24045 Support setting `-Dhadoop.profile` in adhoc_run_tests.sh ADDENDUM
* Correctly handle the hadoop2 profile.
* Create the output directory if it doesn't exist
2020-03-26 08:50:54 -07:00
Nick Dimiduk 759ad3a8cb HBASE-24045 Support setting `-Dhadoop.profile` in adhoc_run_tests.sh
Signed-off-by: stack <stack@apache.org>
2020-03-26 08:50:54 -07:00
Duo Zhang 789c7aefca HBASE-24009 Backport the personality changes in HBASE-23989 to all active branches (#1304)
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-03-20 14:23:05 +08:00
stack 6aa4a1cecc HBASE-24016 Change nightly poll from cron @daily to pollSCM @daily; i.e. run nightly if a change ONLY 2020-03-18 14:46:03 -07:00
Nick Dimiduk c45d03c021 HBASE-23874 Move Jira-attached file precommit definition from script in Jenkins config to dev-support (#1191)
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-02-26 17:01:09 -08:00
Nick Dimiduk 68912c6bac HBASE-23793 Increase maven heap allocation to 4G in Yetus personality (#1122)
I saw this over on
https://builds.apache.org/view/H-L/view/HBase/job/HBase%20Nightly/job/branch-2/2447/console. Looks
like we need to bump the memory allocation for maven. I wonder if this
is the underlying cause of HBASE-22470.

```
6:38:47  ============================================================================
16:38:47  ============================================================================
16:38:47                                Finished build.
16:38:47  ============================================================================
16:38:47  ============================================================================
16:38:47
16:38:47
Post stage
[Pipeline] stash
16:38:48  Warning: overwriting stash 'hadoop2-result'
16:38:48  Stashed 1 file(s)
[Pipeline] junit
16:38:48  Recording test results
16:38:54  Remote call on H2 failed
Error when executing always post condition:
java.io.IOException: Remote call on H2 failed
	at hudson.remoting.Channel.call(Channel.java:963)
	at hudson.FilePath.act(FilePath.java:1072)
	at hudson.FilePath.act(FilePath.java:1061)
	at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114)
	at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:137)
	at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:167)
	at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:52)
	at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:25)
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: Java heap space
	at com.sun.org.apache.xerces.internal.util.XMLStringBuffer.append(XMLStringBuffer.java:208)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XMLEntityScanner.java:1515)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(XMLDocumentFragmentScannerImpl.java:1654)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3014)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at org.dom4j.io.SAXReader.read(SAXReader.java:465)
	at org.dom4j.io.SAXReader.read(SAXReader.java:343)
	at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:178)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:348)
	at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:281)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:206)
	at hudson.tasks.junit.TestResult.parse(TestResult.java:178)
	at hudson.tasks.junit.TestResult.<init>(TestResult.java:143)
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:146)
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	... 4 more

[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
16:38:54  Failed in branch yetus jdk8 hadoop2 checks
```

Signed-off-by: stack <stack@apache.org>
2020-02-05 14:30:18 -08:00
Sean Busbey 72d622b7bf HBASE-23228 Allow for jdk8 specific modules on branch-1 in precommit/nightly testing (#804)
Signed-off-by: Josh Elser <elserj@apache.org>
2019-11-08 10:09:16 -06:00
Duo Zhang cf02e6f59a HBASE-23236 Upgrade to yetus 0.11.1
Signed-off-by: stack <stack@apache.org>
2019-11-08 13:48:26 +08:00
Peter Somogyi 558d835654 HBASE-23053 Disable concurrent nightly builds (#654)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-10-10 20:15:20 +02:00
Peter Somogyi 6c5df7a564 HBASE-23114 Use archiveArtifacts in Jenkinsfiles (#681)
Signed-off-by: Michael Stack <stack@apache.org>
2019-10-10 19:50:20 +02:00
Peter Somogyi daf1faabfd
HBASE-22653 Do not run errorProne on branch-1 PRs (#669)
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
2019-09-28 10:37:57 +02:00
Peter Somogyi 7239ccb433
HBASE-22653 Do not run errorProne on JDK7 (#651)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-09-22 20:35:50 +02:00
Sean Busbey 41990ba20a HBASE-22955 Properly set jdk7 as JAVA_HOME for branches-1 precommit and nightly. (#621)
* leave Zulu JDKs at their normal location
* set JAVA_HOME in the dockerfile
* work around yetus setting a different JAVA_HOME

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2019-09-16 22:22:36 -05:00
Sean Busbey 20d7da50e9
HBASE-23023 upgrade shellcheck used in dockerfile (#625)
Signed-off-by: stack <stack@apache.org>
2019-09-14 14:03:32 -05:00
Peter Somogyi 99e7f60c7d
HBASE-23019 Handle --skip-errorprone on branch-1 (#620)
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Xu Cang <xcang@salesforce.com>
2019-09-13 20:26:26 +02:00
Peter Somogyi 1c0ee31809 HBASE-22981 Remove unused flags for Yetus (#591)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-09-06 15:00:50 +02:00
Duo Zhang 157ffae07d HBASE-22724 Add a emoji on the vote table for pre commit result on github (#568)
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Stack <stack@apache.org>
2019-09-04 09:06:30 +08:00
Gav 9ae12f5d4b HBASE-22913 Use Hadoop label for nightly builds (#532)
HBase, a Hadoop related project, must use the Hadoop label please.
This build, and others are starving the 'ubuntu' label which other projects need to use.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-24 16:55:03 +08:00
Sean Busbey 81ee53efc0 HBASE-22911 reduce concurrent PR builds.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-08-24 16:31:14 +08:00
Artem Ervits 3b07221708 HBASE-22464 Improvements to hbase-vote script
* wget should use timestamps to avoid re-downloading RC artifacts we already have.
* allow changing to maven profiles other than runAllTests for test step

Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit 74fb2040ea)
2019-08-23 12:47:44 -05:00
Duo Zhang c066b06b7d HBASE-22891 Use HBaseQA in HBase-PreCommit-GitHub-PR job (#518)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-08-22 23:07:56 +08:00
Duo Zhang 21536f534b HBASE-22856 HBASE-Find-Flaky-Tests fails with pip error 2019-08-15 10:39:12 +08:00
Peter Somogyi e7114f7bec HBASE-22801 Maven build issue on Github PRs 2019-08-06 18:59:00 +02:00
Duo Zhang 28de85f364 HBASE-22719 Add debug support for github PR pre commit job 2019-07-22 13:49:48 +08:00
Josh Elser 3e779fcec3 HBASE-22563 Reduce old builds by half
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-06-10 19:18:04 -04:00
Sean Busbey 7611cc13dc HBASE-22518 yetus personality is treating branch-1.4 like earlier branches for hadoopcheck
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit b4d5a9a8e1)
2019-06-03 09:27:15 -05:00
zhangduo 8ef2fff2c1 HBASE-22506 Backport HBASE-22500 'Modify pom and jenkins jobs for hadoop versions' to branch-1
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-06-03 10:09:28 +08:00
Peter Somogyi 68a01606ac HBASE-22474 Add --mvn-custom-repo parameter to yetus calls 2019-05-26 18:13:44 +02:00
Guanghao Zhang ef4cd68aeb HBASE-22462 (addendum) Should run a 'mvn install' at the end of hadoop check in pre commit job 2019-05-24 12:13:36 +08:00
Guanghao Zhang e86576ef0a HBASE-22462 Should run a 'mvn install' at the end of hadoop check in pre commit job 2019-05-24 12:13:32 +08:00
Duo Zhang 4ab2e1c094 HBASE-22413 Backport 'HBASE-22399 Change default hadoop-two.version to 2.8.x and remove the 2.7.x hadoop checks' to branch-1
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-05-21 07:58:02 +08:00
Andrew Purtell 2a1b367845
HBASE-22430 hbase-vote should tee build and test output to console 2019-05-16 16:47:08 -07:00
Tak Lon (Stephen) Wu 4d577a0805
HBASE-22429 hbase-vote download step requires URL to end with '/' (#243) 2019-05-16 16:47:06 -07:00
Sean Busbey 58089be820 HBASE-22421 addendum remove bats
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-05-16 17:46:34 +02:00
Sean Busbey 1958b94f00 HBASE-22421 update ruby used to run rubocop on branch-1
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-05-15 08:35:27 +02:00
Sean Busbey 76858cf367 HBASE-22020 update nightly to yetus 0.9.0
Signed-off-by: stack <stack@apache.org>
2019-04-24 07:43:02 -05:00
Sean Busbey 3702e7f3de HBASE-19229 Nightly script to check source artifact should not do a destructive git operation without opt-in
Signed-off-by: Apekshit Sharma <appy@apache.org>
(cherry picked from commit 20ed78e6a4)
2019-04-06 00:46:51 -05:00
Andrew Purtell 817d341474
HBASE-20912 Add import order config in dev support for eclipse (Ankit Singhal and Tak Lon (Stephen) Wu)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-05 14:38:06 -07:00
Apache9 fc9e2787a5 HBASE-22152 Addendum use hbase account instead of hadoop (#112) 2019-04-05 22:20:45 +08:00
Duo Zhang aabcbbdef9 HBASE-22152 Create a jenkins file for yetus to processing GitHub PR 2019-04-04 22:15:53 +08:00
Andrew Purtell 5c32572a6e
HBASE-20911 correct Swtich/case indentation in formatter template for eclipse (Ankit Singhal)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-03 16:32:02 -07:00
Andrew Purtell 38116c20e0
HBASE-22125 Fix more instances in make_rc.sh where we need -Dhttps.protocols=TLSv1.2 2019-03-28 10:36:20 -07:00
TAK LON WU ee31b6a80b HBASE-21963 Add a script for building and verifying release candidate 2019-03-18 20:09:55 +01:00
Peter Somogyi cf87877fcf HBASE-21711 Remove references to git.apache.org/hbase.git 2019-01-16 10:05:15 +01:00