trinodb / trino-admin

A tool to install, configure and manage Trino installations
Apache License 2.0
26 stars 17 forks source link

Error while building trino 367 #47

Closed brianyye closed 2 years ago

brianyye commented 2 years ago

Download and build trino 367 on Linux version 3.10.0-1160.45.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org), and failed to build "trino-docs". When I took a look in pom.xml, there is a "docs" but not "trino-docs". The directory structure also contains a "docs" but not "trino-docs". I am not sure if this is the cause. Error message (copied from typescript file):

[INFO] trino-accumulo-iterators ........................... SUCCESS [  2.597 s]
[INFO] trino-accumulo ..................................... SUCCESS [ 14.008 s]
[INFO] trino-oracle ....................................... SUCCESS [  5.893 s]
[INFO] trino-thrift-api ................................... SUCCESS [  3.251 s]
[INFO] trino-thrift-testing-server ........................ SUCCESS [ 19.717 s]
[INFO] trino-thrift ....................................... SUCCESS [  6.099 s]
[INFO] trino-clickhouse ................................... SUCCESS [  5.347 s]
[INFO] trino-atop ......................................... SUCCESS [  5.163 s]
[INFO] trino-memsql ....................................... SUCCESS [  4.998 s]
[INFO] trino-session-property-managers .................... SUCCESS [  9.610 s]
[INFO] trino-raptor-legacy ................................ SUCCESS [ 25.614 s]
[INFO] trino-server-main .................................. SUCCESS [  6.401 s]
[INFO] trino-resource-group-managers ...................... SUCCESS [  5.351 s]
[INFO] trino-mysql ........................................ SUCCESS [  5.862 s]
[INFO] trino-mongodb ...................................... SUCCESS [  5.100 s]
[INFO] trino-record-decoder ............................... SUCCESS [  3.035 s]
[INFO] trino-kinesis ...................................... SUCCESS [  6.569 s]
[INFO] trino-iceberg ...................................... SUCCESS [ 38.895 s]
[INFO] trino-jmx .......................................... SUCCESS [  4.972 s]
[INFO] trino-postgresql ................................... SUCCESS [  5.387 s]
[INFO] trino-teradata-functions ........................... SUCCESS [  2.586 s]
[INFO] trino-elasticsearch ................................ SUCCESS [  7.842 s]
[INFO] trino-ml ........................................... SUCCESS [  5.018 s]
[INFO] trino-local-file ................................... SUCCESS [  3.647 s]
[INFO] trino-kudu ......................................... SUCCESS [  5.981 s]
[INFO] trino-testing-kafka ................................ SUCCESS [  2.161 s]
[INFO] trino-pinot ........................................ SUCCESS [ 17.095 s]
[INFO] trino-tpcds ........................................ SUCCESS [  6.633 s]
[INFO] trino-phoenix ...................................... SUCCESS [ 20.989 s]
[INFO] trino-bigquery ..................................... SUCCESS [  8.470 s]
[INFO] trino-example-http ................................. SUCCESS [  3.263 s]
[INFO] trino-google-sheets ................................ SUCCESS [  4.191 s]
[INFO] trino-geospatial ................................... SUCCESS [ 11.512 s]
[INFO] trino-prometheus ................................... SUCCESS [  4.526 s]
[INFO] trino-cassandra .................................... SUCCESS [  6.743 s]
[INFO] trino-sqlserver .................................... SUCCESS [  4.491 s]
[INFO] trino-druid ........................................ SUCCESS [  4.189 s]
[INFO] trino-kafka ........................................ SUCCESS [  7.820 s]
[INFO] trino-redis ........................................ SUCCESS [  5.980 s]
[INFO] trino-server ....................................... SUCCESS [01:14 min]
[INFO] trino-server-rpm ................................... SUCCESS [01:07 min]
[INFO] trino-docs ......................................... FAILURE [  3.441 s]
[INFO] trino-proxy ........................................ SKIPPED
[INFO] trino-verifier ..................................... SKIPPED
[INFO] trino-benchto-benchmarks ........................... SKIPPED
[INFO] trino-product-tests ................................ SKIPPED
[INFO] trino-product-tests-launcher ....................... SKIPPED
[INFO] trino-server-dev ................................... SKIPPED
[INFO] trino-test-jdbc-compatibility-old-driver ........... SKIPPED
[INFO] trino-test-jdbc-compatibility-old-server ........... SKIPPED
[INFO] trino-tests ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14:16 min
[INFO] Finished at: 2022-01-03T10:53:41-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (run-sphinx) on project trino-docs: Command execution failed.: Process exited with an error: 125 (Exit value: 125) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (run-sphinx) on project trino-docs: Command execution failed.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
    at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
    at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:326)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
    at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
    at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
ebyhr commented 2 years ago

Please read README.

Trino-admin (formerly known as presto-admin) is deprecated and will not work with new versions of Trino (>350)

docs module requires docker. Could you make sure the requirement?

brianyye commented 2 years ago

Hi Trinodb/Trino-Admin,

Yes, I do have docker installed: the command: docker -v returns: Docker version 20.10.11, build dea9396

Also for your information, PrestoSql 337 has a directory named "presto-docs", but trino only has the directory "docs", no "trino-docs".

Thanks, Brian Ye

On Mon, Jan 3, 2022 at 5:15 PM Yuya Ebihara @.***> wrote:

Please read README.

Trino-admin (formerly known as presto-admin) is deprecated and will not work with new versions of Trino (>350)

docs module requires docker. Could you make sure the requirement?

— Reply to this email directly, view it on GitHub https://github.com/trinodb/trino-admin/issues/47#issuecomment-1004420022, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEOJ3WUULWOBV7X4G25MYDUUIU2LANCNFSM5LFYDXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

ebyhr commented 2 years ago

What command did you execute?

brianyye commented 2 years ago

I just followed the instructions in README.md and issue:

./mvnw clean install -DskipTests

Thanks, Brian Ye

On Mon, Jan 3, 2022 at 5:38 PM Yuya Ebihara @.***> wrote:

What command did you execute?

— Reply to this email directly, view it on GitHub https://github.com/trinodb/trino-admin/issues/47#issuecomment-1004429426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEOJ3RINQ3KEGCFNZUNGATUUIXNZANCNFSM5LFYDXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

ebyhr commented 2 years ago

How about the result of /mvnw -v? Also, please share the entire log of ./mvnw clean install -DskipTests -pl docs.

brianyye commented 2 years ago

Hi,

Here is the output:

./mvnw -v Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: /home/briany/.m2/wrapper/dists/apache-maven-3.8.4-bin/5sjqtqkfjmakil1qhdtgrnjjdc/apache-maven-3.8.4 Java version: 11.0.13, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-1.el7_9.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1160.45.1.el7.x86_64", arch: "amd64", family: "unix"

build output: Script started on Wed 05 Jan 2022 10:26:49 AM CST @.:~/PreAlpha/ThirdParty/trino/master @. master]$ ./mvnw clean install -DskipTests -pl docs [ [1;34mINFO [m] Scanning for projects... [ [1;34mINFO [m] [ [1;34mINFO [m] [1m------------------------< [0;36mio.trino:trino-docs [0;1m >------------------------- [m [ [1;34mINFO [m] [1mBuilding trino-docs 367-SNAPSHOT [m [ [1;34mINFO [m] [1m--------------------------------[ pom ]--------------------------------- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-clean-plugin:3.0.0:clean [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Deleting /home/briany/PreAlpha/ThirdParty/trino/master/docs/target [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mdrift-maven-plugin:1.14:generate-thrift-idl [m m [m @ [36mtrino-docs [0;1m --- [m Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/io/trino/trino-thrift-api/367-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/io/trino/trino-root/367-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/io/trino/trino-spi/367-SNAPSHOT/maven-metadata.xml [ [1;34mINFO [m] Found Thrift service: TrinoThriftService [ [1;34mINFO [m] Wrote Thrift IDL to /home/briany/PreAlpha/ThirdParty/trino/master/docs/target/TrinoThriftService.thrift [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mexec-maven-plugin:1.6.0:java [m m [m @ [36mtrino-docs [0;1m --- [m Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/io/trino/trino-parser/367-SNAPSHOT/maven-metadata.xml Downloading from maven-default-http-blocker: http://0.0.0.0/io/trino/trino-parser/367-SNAPSHOT/maven-metadata.xml [ [1;33mWARNING [m] Could not transfer metadata io.trino:trino-parser:367-SNAPSHOT/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): transfer failed for http://0.0.0.0/io/trino/trino-parser/367-SNAPSHOT/maven-metadata.xml [ [1;33mWARNING [m] Failure to transfer io.trino:trino-parser:367-SNAPSHOT/maven-metadata.xml from http://0.0.0.0/ was cached in the local repository, resolution will not be reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer metadata io.trino:trino-parser:367-SNAPSHOT/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): transfer failed for http://0.0.0.0/io/trino/trino-parser/367-SNAPSHOT/maven-metadata.xml Validating /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/language/reserved.rst Validated 75 reserved identifiers [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mexec-maven-plugin:1.6.0:exec [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-enforcer-plugin:3.0.0-M3:enforce [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mdependency-scope-maven-plugin:0.10:check [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] No test dependency scope issues found [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mlicense-maven-plugin:3.0:check [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Checking licenses... [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/no-inequality-pushdown-text-type.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/jdbc-common-configurations.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/alter-table-limitation.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/no-pushdown-text-type.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/sql-delete-limitation.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/jdbc-case-insensitive-matching.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/non-transactional-insert.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/security/kerberos-configuration.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/security/kerberos-services.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/security/ktadd-note.fragment [ [1;33mWARNING [m] Unknown file extension: /home/briany/PreAlpha/ThirdParty/trino/master/docs/src/main/sphinx/connector/jdbc-type-mapping.fragment [ [1;33mWARNING [m] Unable to find a comment style definition for some files. You may want to add a custom mapping for the relevant file extensions. [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-checkstyle-plugin:3.1.2:check [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] You have 0 Checkstyle violations. [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mjacoco-maven-plugin:0.8.6:prepare-agent [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;33mWARNING [m] The artifact xml-apis:xml-apis:jar:2.0.2 has been relocated to xml-apis:xml-apis:jar:1.0.b2 [ [1;34mINFO [m] Skipping JaCoCo execution because property jacoco.skip is set. [ [1;34mINFO [m] argLine set to empty [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mgit-commit-id-plugin:4.0.3:revision [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-dependency-plugin:3.1.2:analyze-only [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Skipping pom project [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-dependency-plugin:3.1.2:analyze-duplicate [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] No duplicate dependencies found in or in

[ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mduplicate-finder-maven-plugin:1.5.0:check [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Ignoring POM project! [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmodernizer-maven-plugin:2.2.0:modernizer [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mjacoco-maven-plugin:0.8.6:report [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Skipping JaCoCo execution because property jacoco.skip is set. [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-jar-plugin:3.2.0:test-jar [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] Skipping packaging of the test-jar [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-source-plugin:3.2.0:jar-no-fork [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mmaven-source-plugin:3.2.0:test-jar-no-fork [m m [m @ [36mtrino-docs [0;1m --- [m [ [1;34mINFO [m] [ [1;34mINFO [m] [1m--- [0;32mexec-maven-plugin:1.6.0:exec [m [1m(run-sphinx) [m @ [36mtrino-docs [0;1m --- [m

  • cd /home/briany/PreAlpha/ThirdParty/trino/master/docs
  • test -t 1
  • OPTS=
  • SPHINX_IMAGE=ghcr.io/trinodb/build/sphinx:3 ++ id -u ++ id -g
  • docker run --rm -e TRINO_VERSION -u 518804226:518800513 -v /home/briany/PreAlpha/ThirdParty/trino/master/docs:/docs ghcr.io/trinodb/build/sphinx:3 sphinx-build -j auto -b html -W -d target/doctrees src/main/sphinx target/html docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. See 'docker run --help'. [ [1;31mERROR [m] Command execution failed. [1;31morg.apache.commons.exec.ExecuteException [m: [1;31mProcess exited with an error: 125 (Exit value: 125) [m [1mat [m org.apache.commons.exec.DefaultExecutor.executeInternal ( [1mDefaultExecutor.java:404 [m) [1mat [m org.apache.commons.exec.DefaultExecutor.execute ( [1mDefaultExecutor.java:166 [m) [1mat [m org.codehaus.mojo.exec.ExecMojo.executeCommandLine ( [1mExecMojo.java:804 [m) [1mat [m org.codehaus.mojo.exec.ExecMojo.executeCommandLine ( [1mExecMojo.java:751 [m) [1mat [m org.codehaus.mojo.exec.ExecMojo.execute ( [1mExecMojo.java:313 [m) [1mat [m org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo ( [1mDefaultBuildPluginManager.java:137 [m) [1mat [m org.apache.maven.lifecycle.internal.MojoExecutor.execute ( [1mMojoExecutor.java:210 [m) [1mat [m org.apache.maven.lifecycle.internal.MojoExecutor.execute ( [1mMojoExecutor.java:156 [m) [1mat [m org.apache.maven.lifecycle.internal.MojoExecutor.execute ( [1mMojoExecutor.java:148 [m) [1mat [m org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( [1mLifecycleModuleBuilder.java:117 [m) [1mat [m org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( [1mLifecycleModuleBuilder.java:81 [m) [1mat [m org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build ( [1mSingleThreadedBuilder.java:56 [m) [1mat [m org.apache.maven.lifecycle.internal.LifecycleStarter.execute ( [1mLifecycleStarter.java:128 [m) [1mat [m org.apache.maven.DefaultMaven.doExecute ( [1mDefaultMaven.java:305 [m) [1mat [m org.apache.maven.DefaultMaven.doExecute ( [1mDefaultMaven.java:192 [m) [1mat [m org.apache.maven.DefaultMaven.execute ( [1mDefaultMaven.java:105 [m) [1mat [m org.apache.maven.cli.MavenCli.execute ( [1mMavenCli.java:972 [m) [1mat [m org.apache.maven.cli.MavenCli.doMain ( [1mMavenCli.java:293 [m) [1mat [m org.apache.maven.cli.MavenCli.main ( [1mMavenCli.java:196 [m) [1mat [m jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 ( [1mNative Method [m) [1mat [m jdk.internal.reflect.NativeMethodAccessorImpl.invoke ( [1mNativeMethodAccessorImpl.java:62 [m) [1mat [m jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke ( [1mDelegatingMethodAccessorImpl.java:43 [m) [1mat [m java.lang.reflect.Method.invoke ( [1mMethod.java:566 [m) [1mat [m org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced ( [1mLauncher.java:282 [m) [1mat [m org.codehaus.plexus.classworlds.launcher.Launcher.launch ( [1mLauncher.java:225 [m) [1mat [m org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode ( [1mLauncher.java:406 [m) [1mat [m org.codehaus.plexus.classworlds.launcher.Launcher.main ( [1mLauncher.java:347 [m) [1mat [m jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 ( [1mNative Method [m) [1mat [m jdk.internal.reflect.NativeMethodAccessorImpl.invoke ( [1mNativeMethodAccessorImpl.java:62 [m) [1mat [m jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke ( [1mDelegatingMethodAccessorImpl.java:43 [m) [1mat [m java.lang.reflect.Method.invoke ( [1mMethod.java:566 [m) [1mat [m org.apache.maven.wrapper.BootstrapMainStarter.start ( [1mBootstrapMainStarter.java:39 [m) [1mat [m org.apache.maven.wrapper.WrapperExecutor.execute ( [1mWrapperExecutor.java:122 [m) [1mat [m org.apache.maven.wrapper.MavenWrapperMain.main ( [1mMavenWrapperMain.java:61 [m) [ [1;34mINFO [m] [1m------------------------------------------------------------------------ [m [ [1;34mINFO [m] [1;31mBUILD FAILURE [m [ [1;34mINFO [m] [1m------------------------------------------------------------------------ [m [ [1;34mINFO [m] Total time: 27.360 s [ [1;34mINFO [m] Finished at: 2022-01-05T10:27:27-06:00 [ [1;34mINFO [m] [1m------------------------------------------------------------------------ [m [ [1;31mERROR [m] Failed to execute goal [32morg.codehaus.mojo:exec-maven-plugin:1.6.0:exec [m [1m(run-sphinx) [m on project [36mtrino-docs [m: [1;31mCommand execution failed. [m: Process exited with an error: 125 (Exit value: 125) -> [1m[Help 1] [m [ [1;31mERROR [m] [ [1;31mERROR [m] To see the full stack trace of the errors, re-run Maven with the [1m-e [m switch. [ [1;31mERROR [m] Re-run Maven using the [1m-X [m switch to enable full debug logging. [ [1;31mERROR [m] [ [1;31mERROR [m] For more information about the errors and possible solutions, please read the following articles: [ [1;31mERROR [m] [1m[Help 1] [m http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [0m [0m @.:~/PreAlpha/ThirdParty/trino/master @. master]$ exit

Script done on Wed 05 Jan 2022 10:27:31 AM CST

Thanks, Brian Ye

On Wed, Jan 5, 2022 at 12:22 AM Yuya Ebihara @.***> wrote:

How about the result of /mvnw -v? Also, please share the entire log of ./mvnw clean install -DskipTests -pl docs.

— Reply to this email directly, view it on GitHub https://github.com/trinodb/trino-admin/issues/47#issuecomment-1005414572, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEOJ3SK6UDKUSZ27TLFZLTUUPPRPANCNFSM5LFYDXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

ebyhr commented 2 years ago

docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

Please see the error message. As I already mentioned before, docs module requires docker. You can skip by !:trino-docs if you don't want to build docs module.

brianyye commented 2 years ago

Thanks. I suggest that you add the following to the instructions:

  1. docker daemon be running
  2. /var/run/docker.sock be readable by the account building the project. Best regards, Brian Ye

On Wed, Jan 5, 2022 at 5:47 PM Yuya Ebihara @.***> wrote:

Closed #47 https://github.com/trinodb/trino-admin/issues/47.

— Reply to this email directly, view it on GitHub https://github.com/trinodb/trino-admin/issues/47#event-5849446147, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXEOJ3WCIPSL33UNJLOIXFDUUTKBJANCNFSM5LFYDXHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>