datastrato / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://datastrato.ai/docs/
Apache License 2.0
621 stars 193 forks source link

[Bug report] Build using Gradle fails when running ./gradlew build locally on Ubuntu #879

Closed lisancao closed 6 months ago

lisancao commented 6 months ago

Describe what's wrong

When trying the gradlew builds and instructions on https://github.com/datastrato/gravitino/blob/main/docs/how-to-build.md, both times failed on the integration tests. MiniGravitino (./gradlew build -x test) builds successfully.

Error message and/or stacktrace

First failed build: https://pastebin.com/8ZdbGxwZ Second failed build: https://pastebin.com/ZztkiWkq

How to reproduce

  1. Clone the Gravitino project.

git clone git@github.com:datastrato/gravitino.git

  1. Build the Gravitino project.
cd gravitino
./gradlew build

I also ran ./gradlew clean build and ./gradlew build --scan --warning-mode all which is why the outputs in my pastebin files may look different.

Additional context

Neofetch output:

OS: Ubuntu 22.04.3 LTS x86_64 
Kernel: 5.15.0-89-generic 
Shell: bash 5.1.16 
Resolution: 1920x1080, 2560x1080 
Terminal: gnome-terminal 
CPU: Intel i5-7300HQ (4) @ 3.500GHz 
GPU: NVIDIA GeForce GTX 1050 Mobile 
GPU: Intel HD Graphics 630 
Memory: 7930MiB / 11842MiB 

java -version:

openjdk version "11.0.21" 2023-10-17
OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu122.04, mixed mode, sharing)
yuqi1129 commented 6 months ago

@lisancao , This is a compilation bug related to Ubuntu. We haven't fully tested Gravitino on Ubuntu yet.

yuqi1129 commented 6 months ago

@xunliu root cause

Could not find a valid Docker environment. Please see logs and check configuration.

We need to execute the following command on Ubuntu to solve docker permission problem

sudo groupadd docker
sudo gpasswd -a $USER docker
newgrp docker
justinmclean commented 6 months ago

I am able to build and run Gravitino on Ubuntu. Part of your issue, I believe, is that you need to use OpenJDK 1.8.

xunliu commented 6 months ago

hi @lisancao

I saw this error info

TrinoConnectorIT > initializationError FAILED
    org.testcontainers.containers.ContainerLaunchException at TrinoConnectorIT.java:109
        Caused by: org.rnorth.ducttape.RetryCountExceededException at TrinoConnectorIT.java:109
            Caused by: org.testcontainers.containers.ContainerLaunchException at TrinoConnectorIT.java:109
                Caused by: com.github.dockerjava.api.exception.DockerException at TrinoConnectorIT.java:109

I think this should be a problem with docker, please run the following command and let me know the return result.

docker info
docker pull datastrato/gravitino-ci-hive:0.1.6
docker pull datastrato/gravitino-ci-trino:0.1.0
lisancao commented 6 months ago

Hi @xunliu, this is my output:

(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ docker info
Client:
 Version:    24.0.5
 Context:    default
 Debug Mode: false

Server:
 Containers: 33
  Running: 0
  Paused: 0
  Stopped: 33
 Images: 32
 Server Version: 24.0.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 
 runc version: 
 init version: 
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.0-89-generic
 Operating System: Ubuntu 22.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 11.57GiB
 Name: LNC-ASUS-GL553VD
 ID: f676a61a-3317-42f7-8e3f-3ef106c85829
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ docker pull datastrato/gravitino-ci-hive:0.1.6
0.1.6: Pulling from datastrato/gravitino-ci-hive
Digest: sha256:2fa34b8df66e4bf23ac19227c05912b2ea73be7bb1d80676fe566058a7000f02
Status: Image is up to date for datastrato/gravitino-ci-hive:0.1.6
docker.io/datastrato/gravitino-ci-hive:0.1.6
(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ docker pull datastrato/gravitino-ci-trino:0.1.0
0.1.0: Pulling from datastrato/gravitino-ci-trino
44ba2882f8eb: Pull complete 
2cabec57fa36: Pull complete 
c4e554d59e12: Pull complete 
111cbdbeed15: Pull complete 
ebe3e1fbfc69: Pull complete 
244678053477: Pull complete 
a841e0094597: Pull complete 
273c0e0cada6: Pull complete 
a0ae3cdb04b4: Pull complete 
3387b16f01f0: Pull complete 
5a9a9537cec6: Pull complete 
8c8dd89098d4: Pull complete 
c2f5bd948671: Pull complete 
79193939491a: Pull complete 
2a168d8b1125: Pull complete 
e3dd196a790b: Pull complete 
dcddbffc8273: Pull complete 
4f7d451d81aa: Pull complete 
95b55c86450e: Pull complete 
dd50377ff54f: Pull complete 
9ed397a47956: Pull complete 
fa5ec800651e: Pull complete 
062eed0f3166: Pull complete 
854d3066de19: Pull complete 
f5b212b9da5b: Pull complete 
2797f290ab7f: Pull complete 
9bf62660d578: Pull complete 
0781b585500c: Pull complete 
bf5e787672e9: Pull complete 
d4bb739590ec: Pull complete 
f2d5c1cfa3e5: Pull complete 
7b44b2b9cf15: Pull complete 
9efe1e31033d: Pull complete 
be5e4c57aabd: Pull complete 
f5c8fe474032: Pull complete 
f966e72cb3dc: Pull complete 
9593a0288526: Pull complete 
daadc547613e: Pull complete 
318d145d694b: Pull complete 
cb7b07aa477b: Pull complete 
8e0ccca32a92: Pull complete 
85d90d6fd44a: Pull complete 
01f0fde477cb: Pull complete 
7310067b3351: Pull complete 
71d94881c100: Pull complete 
5c90461312ef: Pull complete 
69cb90da81a6: Pull complete 
7a787e603367: Pull complete 
ac240aaa7b48: Pull complete 
Digest: sha256:f3a80a5ca813dff4c929c31697825321335827b63d5205b6a841cc8da89b8de0
Status: Downloaded newer image for datastrato/gravitino-ci-trino:0.1.0
docker.io/datastrato/gravitino-ci-trino:0.1.0
lisancao commented 6 months ago

I am able to build and run Gravitino on Ubuntu. Part of your issue, I believe, is that you need to use OpenJDK 1.8.

I will give this a shot. Thanks!

justinmclean commented 6 months ago

Looks like this issue has been introduced recently (last day or two). I can no longer compile Gravitino on AWS and get the same error.

xunliu commented 6 months ago

Hi @xunliu, this is my output:

(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ docker info
Client:
 Version:    24.0.5
 Context:    default
 Debug Mode: false

Server:
 Containers: 33
  Running: 0
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ docker pull datastrato/gravitino-ci-hive:0.1.6
0.1.6: Pulling from datastrato/gravitino-ci-hive
Digest: sha256:2fa34b8df66e4bf23ac19227c05912b2ea73be7bb1d80676fe566058a7000f02
Status: Image is up to date for datastrato/gravitino-ci-hive:0.1.6
docker.io/datastrato/gravitino-ci-hive:0.1.6
(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ docker pull datastrato/gravitino-ci-trino:0.1.0
0.1.0: Pulling from datastrato/gravitino-ci-trino
44ba2882f8eb: Pull complete 
2cabec57fa36: Pull complete 
c4e554d59e12: Pull complete 
111cbdbeed15: Pull complete 
7a787e603367: Pull complete 
ac240aaa7b48: Pull complete 
Digest: sha256:f3a80a5ca813dff4c929c31697825321335827b63d5205b6a841cc8da89b8de0
Status: Downloaded newer image for datastrato/gravitino-ci-trino:0.1.0
docker.io/datastrato/gravitino-ci-trino:0.1.0

hi @lisancao No problem with Docker.

Please attach ~/gravitino/integration-test/build/integration-test.log file, let me see.

When you execute ./gradlew client build, will generate integration-test.log.

lisancao commented 6 months ago

Hi, see here @xunliu integration-test.log

xunliu commented 6 months ago

I found the failed reason of Docker Pool overlaps with other one on this address space, Let me think how to fix is.

2023-11-30 15:06:43 INFO  5:75 - Pulling docker image: datastrato/gravitino-ci-hive:0.1.5. Please be patient; this may take some time but only needs to be done once.
2023-11-30 15:06:44 INFO  5:47 - Starting to pull image
2023-11-30 15:06:44 INFO  5:93 - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 bytes/0 bytes)
2023-11-30 15:06:44 INFO  5:388 - Creating container for image: datastrato/gravitino-ci-hive:0.1.5
2023-11-30 15:06:44 ERROR 5:552 - Could not start container

com.github.dockerjava.api.exception.DockerException: Status 403: {"message":"Pool overlaps with other one on this address space"}

at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:249) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.post(DefaultInvocationBuilder.java:124) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.shaded.com.github.dockerjava.core.exec.CreateNetworkCmdExec.execute(CreateNetworkCmdExec.java:27) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.shaded.com.github.dockerjava.core.exec.CreateNetworkCmdExec.execute(CreateNetworkCmdExec.java:12) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.shaded.com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.shaded.com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.containers.Network$NetworkImpl.create(Network.java:100) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.containers.Network$NetworkImpl.getId(Network.java:64) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.containers.GenericContainer.applyConfiguration(GenericContainer.java:891) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:390) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:356) ~[testcontainers-1.19.0.jar:1.19.0]
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ~[duct-tape-1.0.8.jar:?]
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346) ~[testcontainers-1.19.0.jar:1.19.0]
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:334) ~[testcontainers-1.19.0.jar:1.19.0]
at com.datastrato.gravitino.integration.test.util.BaseContainer.start(BaseContainer.java:127) ~[test/:?]
at com.datastrato.gravitino.integration.test.util.HiveContainer.start(HiveContainer.java:57) ~[test/:?]
at com.datastrato.gravitino.integration.test.trino.TrinoConnectorIT.startDockerContainer(TrinoConnectorIT.java:109) ~[test/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_392]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_392]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_392]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_392]
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725) ~[junit-platform-commons-1.8.1.jar:1.8.1]
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:126) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeAllMethod(TimeoutExtension.java:68) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllMethods$11(ClassBasedTestDescriptor.java:397) ~[junit-jupiter-engine-5.8.1.jar:5.8.1]
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.8.1.jar:1.8.1]
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) [gradle-worker-processes-8.2.jar:8.2]
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) [gradle-worker-processes-8.2.jar:8.2]
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) [gradle-worker.jar:?]
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) [gradle-worker.jar:?]
justinmclean commented 6 months ago

This is also causing builds to fail on Google Cloud Platform.

xunliu commented 6 months ago

Hi @lisancao Please execute this command in your terminal.

docker network prune

and

cd ~/gravitino
./gradlew clean build 

Please tell me executed result.

lisancao commented 6 months ago

Hi @xunliu - I just did a complete reinstall of docker (sudo apt-get install --reinstall docker,sudo apt-get purge docker engine (did nothing),sudo apt-get autoremove --purge docker-engine (did nothing), rm -rf /var/lib/docker (deletes all images/containers/volumes). Also verified docker0 was unmanaged in nmcli device and ran sudo systemctl restart NetworkManager.service.

On Ubuntu EC2 instance build works at a certain commit (see hash), but not on current main. On the commit verified to work on EC2, it still fails on my machine even after complete Docker reinstall, switch to OpenJDK8, and completely cloning repo into a new directory.

(base) lnc@LNC-ASUS-GL553VD:~$ nmcli device
DEVICE   TYPE      STATE        CONNECTION         
enp3s0   ethernet  connected    Wired connection 1 
wlp2s0   wifi      unavailable  --                 
docker0  bridge    unmanaged    --                 
lo       loopback  unmanaged    --                 
ham0     tun       unmanaged    --                 
(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
(base) lnc@LNC-ASUS-GL553VD:~$ docker network ls
NETWORK ID     NAME      DRIVER    SCOPE
6ed3ad3a0e47   bridge    bridge    local
aeaec062b50e   host      host      local
b112b2538f4f   none      null      local
(base) lnc@LNC-ASUS-GL553VD:~$ docker network prune
WARNING! This will remove all custom networks not used by at least one container.
Are you sure you want to continue? [y/N] y
(base) lnc@LNC-ASUS-GL553VD:~$ docker network ls
NETWORK ID     NAME      DRIVER    SCOPE
6ed3ad3a0e47   bridge    bridge    local
aeaec062b50e   host      host      local
b112b2538f4f   none      null      local
(base) lnc@LNC-ASUS-GL553VD:~$ cd ~/Documents/repos/gravitino
(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ git status
HEAD detached at 48971b3
nothing to commit, working tree clean
(base) lnc@LNC-ASUS-GL553VD:~/Documents/repos/gravitino$ ./gradlew clean build

> Configure project :web
Kotlin DSL property assignment is an incubating feature.

> Task :integration-test:checkDockerRunning
------------------ Check Docker environment ---------------------
Docker server status ............................................ [running]
Gravitino IT Docker container is already running ................ [no]
Run test cases without `gravitino-docker-it` tag ................ [embedded test]
-----------------------------------------------------------------

> Task :web:yarnInstall
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.82s.

> Task :web:lintCheck
yarn run v1.22.19
$ eslint --fix "src/**/*.{js,jsx}"
Done in 3.74s.

> Task :integration-test:test
Gravitino-docker is not running locally, all integration test cases tagged with 'gravitino-docker-it' will be excluded.

> Task :web:prettierCheck
yarn run v1.22.19
$ prettier --check "src/**/*.{js,jsx}"
Checking formatting...
All matched files use Prettier code style!
Done in 2.94s.

> Task :web:webpack
yarn run v1.22.19
$ env-cmd -f .env.static yarn build
$ yarn pre:build && next build
$ yarn build:icons && yarn format
$ node src/iconify-bundle/bundle-icons-react.js
Bundled icons from /home/lnc/Documents/repos/gravitino/web/node_modules/@iconify/json/json/mdi.json
Bundled icons from /home/lnc/Documents/repos/gravitino/web/node_modules/@iconify/json/json/bx.json
Bundled icons from /home/lnc/Documents/repos/gravitino/web/node_modules/@iconify/json/json/tabler.json
Saved src/iconify-bundle/icons-bundle-react.js (6208 bytes)
$ prettier --write "src/**/*.{js,jsx}"
src/@core/api/index.js 66ms (unchanged)
src/@core/api/metalakes/index.js 12ms (unchanged)
src/@core/components/custom-checkbox/basic/index.js 43ms (unchanged)
src/@core/components/custom-checkbox/icons/index.js 35ms (unchanged)
src/@core/components/custom-checkbox/image/index.js 17ms (unchanged)
src/@core/components/custom-dialog/ConfirmDeleteDialog.js 34ms (unchanged)
src/@core/components/custom-radio/basic/index.js 47ms (unchanged)
src/@core/components/custom-radio/icons/index.js 17ms (unchanged)
src/@core/components/custom-radio/image/index.js 12ms (unchanged)
src/@core/components/icon/index.js 2ms (unchanged)
src/@core/components/mui/avatar/index.js 8ms (unchanged)
src/@core/components/mui/badge/index.js 9ms (unchanged)
src/@core/components/mui/chip/index.js 4ms (unchanged)
src/@core/components/page-header/index.js 3ms (unchanged)
src/@core/components/scroll-to-top/index.js 6ms (unchanged)
src/@core/context/settingsContext.js 18ms (unchanged)
src/@core/enums/apiEnum.js 3ms (unchanged)
src/@core/enums/httpEnum.js 3ms (unchanged)
src/@core/hooks/useBgColor.js 9ms (unchanged)
src/@core/hooks/useSettings.js 2ms (unchanged)
src/@core/layouts/BlankLayout.js 6ms (unchanged)
src/@core/layouts/components/horizontal/app-bar-content/index.js 11ms (unchanged)
src/@core/layouts/components/horizontal/navigation/HorizontalNavGroup.js 27ms (unchanged)
src/@core/layouts/components/horizontal/navigation/HorizontalNavItems.js 5ms (unchanged)
src/@core/layouts/components/horizontal/navigation/HorizontalNavLink.js 28ms (unchanged)
src/@core/layouts/components/horizontal/navigation/index.js 11ms (unchanged)
src/@core/layouts/components/shared-components/footer/FooterContent.js 16ms (unchanged)
src/@core/layouts/components/shared-components/footer/index.js 16ms (unchanged)
src/@core/layouts/HorizontalLayout.js 26ms (unchanged)
src/@core/layouts/Layout.js 3ms (unchanged)
src/@core/layouts/utils.js 9ms (unchanged)
src/@core/styles/libs/react-hot-toast/index.js 10ms (unchanged)
src/@core/theme/breakpoints/index.js 2ms (unchanged)
src/@core/theme/globalStyles.js 7ms (unchanged)
src/@core/theme/overrides/accordion.js 21ms (unchanged)
src/@core/theme/overrides/alerts.js 22ms (unchanged)
src/@core/theme/overrides/autocomplete.js 8ms (unchanged)
src/@core/theme/overrides/avatars.js 3ms (unchanged)
src/@core/theme/overrides/backdrop.js 2ms (unchanged)
src/@core/theme/overrides/breadcrumbs.js 2ms (unchanged)
src/@core/theme/overrides/button.js 19ms (unchanged)
src/@core/theme/overrides/card.js 14ms (unchanged)
src/@core/theme/overrides/checkbox.js 9ms (unchanged)
src/@core/theme/overrides/chip.js 11ms (unchanged)
src/@core/theme/overrides/dataGrid.js 14ms (unchanged)
src/@core/theme/overrides/dialog.js 4ms (unchanged)
src/@core/theme/overrides/divider.js 3ms (unchanged)
src/@core/theme/overrides/index.js 6ms (unchanged)
src/@core/theme/overrides/input.js 8ms (unchanged)
src/@core/theme/overrides/link.js 1ms (unchanged)
src/@core/theme/overrides/list.js 6ms (unchanged)
src/@core/theme/overrides/menu.js 11ms (unchanged)
src/@core/theme/overrides/pagination.js 20ms (unchanged)
src/@core/theme/overrides/paper.js 1ms (unchanged)
src/@core/theme/overrides/popover.js 2ms (unchanged)
src/@core/theme/overrides/progress.js 2ms (unchanged)
src/@core/theme/overrides/radio.js 7ms (unchanged)
src/@core/theme/overrides/rating.js 1ms (unchanged)
src/@core/theme/overrides/select.js 1ms (unchanged)
src/@core/theme/overrides/slider.js 5ms (unchanged)
src/@core/theme/overrides/snackbar.js 2ms (unchanged)
src/@core/theme/overrides/switches.js 16ms (unchanged)
src/@core/theme/overrides/table.js 4ms (unchanged)
src/@core/theme/overrides/tabs.js 5ms (unchanged)
src/@core/theme/overrides/timeline.js 12ms (unchanged)
src/@core/theme/overrides/toggleButton.js 2ms (unchanged)
src/@core/theme/overrides/tooltip.js 5ms (unchanged)
src/@core/theme/overrides/typography.js 10ms (unchanged)
src/@core/theme/palette/index.js 7ms (unchanged)
src/@core/theme/shadows/index.js 2ms (unchanged)
src/@core/theme/spacing/index.js 2ms (unchanged)
src/@core/theme/ThemeComponent.js 3ms (unchanged)
src/@core/theme/ThemeOptions.js 16ms (unchanged)
src/@core/theme/typography/index.js 3ms (unchanged)
src/@core/utils/create-emotion-cache.js 3ms (unchanged)
src/@core/utils/dateUtil.js 6ms (unchanged)
src/@core/utils/func.js 10ms (unchanged)
src/@core/utils/hex-to-rgba.js 3ms (unchanged)
src/@core/utils/is.js 5ms (unchanged)
src/@fake-db/index.js 6ms (unchanged)
src/@fake-db/metalakeList.js 9ms (unchanged)
src/@fake-db/mock.js 1ms (unchanged)
src/configs/themeConfig.js 1ms (unchanged)
src/iconify-bundle/bundle-icons-react.js 45ms (unchanged)
src/iconify-bundle/icons-bundle-react.js 13ms
src/layouts/components/horizontal/AppBarContent.js 2ms (unchanged)
src/layouts/components/Translations.js 3ms (unchanged)
src/layouts/components/UserIcon.js 2ms (unchanged)
src/layouts/components/VersionView.js 3ms (unchanged)
src/layouts/UserLayout.js 15ms (unchanged)
src/navigation/horizontal/index.js 1ms (unchanged)
src/pages/_app.js 14ms (unchanged)
src/pages/_document.js 21ms (unchanged)
src/pages/401.js 4ms (unchanged)
src/pages/404.js 10ms (unchanged)
src/pages/500.js 12ms (unchanged)
src/pages/index.js 4ms (unchanged)
src/store/index.js 2ms (unchanged)
src/store/metalakes/index.js 16ms (unchanged)
src/store/version/index.js 4ms (unchanged)
src/views/home/CreateMetalakeDialog.js 37ms (unchanged)
src/views/home/DetailsDrawer.js 35ms (unchanged)
src/views/home/MetalakeList.js 30ms (unchanged)
src/views/home/TableHeader.js 8ms (unchanged)
   Linting and checking validity of types ...
   ▲ Next.js 14.0.2
   - Environments: .env

   Creating an optimized production build ...
 ✓ Compiled successfully
   Collecting page data ...
   Generating static pages (0/4) ...
   Generating static pages (1/4) 
   Generating static pages (2/4) 
   Generating static pages (3/4) 
 ✓ Generating static pages (4/4) 
   Finalizing page optimization ...
   Collecting build traces ...

Route (pages)                              Size     First Load JS
┌ ○ /                                      169 kB          359 kB
├   /_app                                  0 B             190 kB
├ ○ /401                                   2.67 kB         193 kB
├ ○ /404 (358 ms)                          2.66 kB         193 kB
└ ○ /500                                   2.67 kB         193 kB
+ First Load JS shared by all              191 kB
  ├ chunks/framework-66d32731bdd20e83.js   45.2 kB
  ├ chunks/main-bbfae950d91550b1.js        31.7 kB
  ├ chunks/pages/_app-91666fb24b52950e.js  112 kB
  ├ chunks/webpack-6ef43a8d4a395f49.js     999 B
  └ css/680e6ae5dc70320d.css               789 B

○  (Static)  prerendered as static content

Done in 36.00s.

> Task :integration-test:test

TrinoConnectorIT > initializationError FAILED
    java.lang.IllegalArgumentException at TrinoConnectorIT.java:148

31 tests completed, 1 failed, 1 skipped

> Task :integration-test:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':integration-test:test'.
> There were failing tests. See the report at: file:///home/lnc/Documents/repos/gravitino/integration-test/build/reports/tests/test/index.html

* Try:
> Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 3m 45s
134 actionable tasks: 61 executed, 58 from cache, 15 up-to-date
lisancao commented 6 months ago

Hi @xunliu - I just wanted to confirm that current main branch builds successfully on AWS ubuntu ec2 instance, but still doesn't work on my machine. You can close this issue or update the title if need be and we can continue in another issue.