Skip to content

KYLIN-4864 Travis CI improvement for kylin4#1757

Merged
hit-lacus merged 3 commits intoapache:mainfrom
zhangayqian:travis-ci
Nov 5, 2021
Merged

KYLIN-4864 Travis CI improvement for kylin4#1757
hit-lacus merged 3 commits intoapache:mainfrom
zhangayqian:travis-ci

Conversation

@zhangayqian
Copy link
Copy Markdown
Contributor

Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

Github Branch

As most of the development works are on Kylin 4, we need to switch it as main branch. Apache Kylin community changes the branch settings on Github since 2021-08-04 :

  1. The original branch kylin-on-parquet-v2 for Kylin 4.X (Parquet Storage) has been renamed to branch main, and configured as the default branch;
  2. The original branch master for Kylin 3.X (HBase Storage) has been renamed to branch kylin3 ;

Please check Intro to Kylin 4 architecture and INFRA-22166 if you are interested.

Types of changes

What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have create an issue on Kylin's jira, and have described the bug/feature there in detail
  • Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
  • Compiling and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged

Further comments

If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

* [KYLIN-4864] Enable running Kylin tests on ARM64 platform

This change modify the Travis CI configurations to enable the Kylin testing on ARM64 server.

* Use openjdk11 for ARM64 test
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 3, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@5187aff). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1757   +/-   ##
=======================================
  Coverage        ?   24.58%           
  Complexity      ?     4416           
=======================================
  Files           ?     1090           
  Lines           ?    61699           
  Branches        ?     8856           
=======================================
  Hits            ?    15170           
  Misses          ?    44923           
  Partials        ?     1606           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5187aff...f834096. Read the comment docs.

* KYLIN-4864 Fix .travis.yml syntax

The commented line about `# mvn sonar:sonar -e -Dsonar.host.url=https://sonarcloud.io ...` has broken the YAML and because of this TravisCI didn't execute any jobs.
I wasn't able to find a way to preserve the commented line and fix the syntax, so I removed the line. Later it could be get from Git history to re-enable Sonar.

While here I've improved few more things:
- install OpenJDK and unzip for both AMD64 and ARM64. This way it uses latest JDK 8 (1.8.0_292) for both CPU architectures
- fix more YAML warnings

* KYLIN-4864 Use Graviton2 ARM64 node

There is some problem with resolving the local address on the arm64 node (non-graviton2) - https://travis-ci.community/t/sudo-unable-to-resolve-host/8841
@martin-g
Copy link
Copy Markdown
Member

martin-g commented Nov 4, 2021

Awesome!
The build passed: https://app.travis-ci.com/github/apache/kylin/builds/241166816

@zhangayqian
Copy link
Copy Markdown
Contributor Author

Awesome! The build passed: https://app.travis-ci.com/github/apache/kylin/builds/241166816

Your commit fixed this!Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants