You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "javeme (via GitHub)" <gi...@apache.org> on 2023/02/12 14:04:38 UTC

[GitHub] [incubator-hugegraph] javeme opened a new issue, #2110: [Bug] validate-release.sh improvement on Mac

javeme opened a new issue, #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110

   ### Bug Type (问题类型)
   
   others (please edit later)
   
   ### Before submit
   
   - [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
   
   ### Environment (环境信息)
   
   - apache 1.0.0-rc2
   - mac m1
   
   ### Expected & Actual behavior (期望与实际表现)
   
   1. should echo which package name:
   `The package name 'xx' should include incubating`
   
   2. error of `cd ./*toolchain*`:
   `./validate-release.sh: line 45: cd: ./*toolchain*: No such file or directory`
   
   3. not stop with compile errors:
   `mvn package -DskipTests -ntp && ls -lh`
   
   4. need to check `wget` command:
   ```java
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (download-swagger-ui) on project hugegraph-dist: An Ant BuildException has occured: exec returned: 1
   
   [INFO] --- maven-antrun-plugin:1.8:run (download-swagger-ui) @ hugegraph-dist ---
   [WARNING] Parameter tasks is deprecated, use target instead
   [INFO] Executing tasks
   
   main:
        [exec] ./dist.sh: line 1: wget: command not found
        [exec] tar: Error opening archive: Failed to open 'v4.15.5.tar.gz'
        [exec] ./dist.sh: line 6: swagger-ui-4.15.5/dist/swagger-initializer.js: No such file or directory
        [exec] cp: swagger-ui-4.15.5/dist: No such file or directory
   ```
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph] imbajin commented on issue #2110: [Bug] validate-release.sh improvement on Mac

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1427802022

   fixed some of them in https://github.com/apache/incubator-hugegraph-doc/pull/197/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph] imbajin closed issue #2110: [Bug] validate-release.sh improvement on Mac

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin closed issue #2110: [Bug] validate-release.sh improvement on Mac
URL: https://github.com/apache/incubator-hugegraph/issues/2110


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph] imbajin commented on issue #2110: [Bug] validate-release.sh improvement on Mac

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1428088112

   > I guess the lack of yarn, can we check and install it automatically?
   
   Indeed, it should be checked in the `pom.xml`'s config (before generate `dist.sh`) in toolchain-repo, and also include check `wget` command, because users will build from the source there but not in the release-check script/action.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph] javeme commented on issue #2110: [Bug] validate-release.sh improvement on Mac

Posted by "javeme (via GitHub)" <gi...@apache.org>.
javeme commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1428072427

   I guess the lack of yarn, can we check and install it automatically?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph] javeme commented on issue #2110: [Bug] validate-release.sh improvement on Mac

Posted by "javeme (via GitHub)" <gi...@apache.org>.
javeme commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1427063927

   hubble-dist build error:
   ```java
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary for hugegraph-toolchain 1.0.0:
   [INFO] 
   [INFO] hugegraph-toolchain ................................ SUCCESS [  1.135 s]
   [INFO] hugegraph-client ................................... SUCCESS [  1.148 s]
   [INFO] hugegraph-loader ................................... SUCCESS [06:38 min]
   [INFO] hugegraph-tools .................................... SUCCESS [03:10 min]
   [INFO] hugegraph-hubble ................................... SUCCESS [  0.034 s]
   [INFO] hubble-be .......................................... SUCCESS [22:00 min]
   [INFO] hubble-dist ........................................ FAILURE [  3.214 s]
   [INFO] hugegraph-dist ..................................... SKIPPED
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  31:55 min
   [INFO] Finished at: 2023-02-12T23:33:49+08:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project hubble-dist: An Ant BuildException has occured: exec returned: 1
   [ERROR] around Ant part ...<exec failonerror="true" dir="hg/apache-hugegraph-toolchain-incubating-1.0.0-src/hugegraph-hubble/hubble-dist/.." executable="bash">... @ 18:158 in hg/apache-hugegraph-toolchain-incubating-1.0.0-src/hugegraph-hubble/hubble-dist/target/antrun/build-main.xml
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the command
   [ERROR]   mvn <args> -rf :hubble-dist
   total 1382600
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph] imbajin commented on issue #2110: [Bug] validate-release.sh improvement on Mac

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1428016292

   > @imbajin issue 2 is related to zsh, we can fixed by `cd $(echo ./*toolchain*-1.0.0)`:
   > 
   > ```shell
   > zsh $ echo ./*toolchain*
   > ./apache-hugegraph-toolchain-incubating-1.0.0 ./apache-hugegraph-toolchain-incubating-1.0.0.tar.gz
   > 
   > zsh $ echo ./*toolchain*-1.0.0
   > ./apache-hugegraph-toolchain-incubating-1.0.0
   > 
   > zsh $ cd ./*toolchain*          
   > cd: string not in pwd: ./apache-hugegraph-toolchain-incubating-1.0.0
   > 
   > zsh $ cd $(echo ./*toolchain*-1.0.0)
   > apache-hugegraph-toolchain-incubating-1.0.0
   > ```
   
   `validate-release.sh` in server is **outdated** and won't be maintained in future,  the lastest action contains the suffix already
   https://github.com/apache/incubator-hugegraph-doc/blob/cd5952554bd2a14a0910d916e65b21b28b89de4a/.github/workflows/validate-release.yml#L149
   
   The problem 5 also can't be reproduced, maybe it depends on the network status


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] validate-release.sh improvement on Mac [incubator-hugegraph]

Posted by "javeme (via GitHub)" <gi...@apache.org>.
javeme commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1962837847

   seems have not addressed all the issues: https://github.com/apache/incubator-hugegraph-doc/blob/master/dist/validate-release.sh


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph] javeme commented on issue #2110: [Bug] validate-release.sh improvement on Mac

Posted by "javeme (via GitHub)" <gi...@apache.org>.
javeme commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1427047577

   hugegraph-loader WARNING
   ```
   [INFO] Building hugegraph-loader 1.0.0                                    [3/8]
   [INFO] --------------------------------[ jar ]---------------------------------
   [WARNING] Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): transfer failed for http://0.0.0.0/net/minidev/json-smart/maven-metadata.xml
   [WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT is missing, no dependency information available
   [WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b07-SNAPSHOT is missing, no dependency information available
   [WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b08-SNAPSHOT is missing, no dependency information available
   [WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b11-SNAPSHOT is missing, no dependency information available
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph] javeme commented on issue #2110: [Bug] validate-release.sh improvement on Mac

Posted by "javeme (via GitHub)" <gi...@apache.org>.
javeme commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1427989042

   @imbajin issue 2 is related to zsh:
   ```bash
   zsh $ echo ./*toolchain*
   ./apache-hugegraph-toolchain-incubating-1.0.0 ./apache-hugegraph-toolchain-incubating-1.0.0.tar.gz
   
   zsh $ echo ./*toolchain*-1.0.0
   ./apache-hugegraph-toolchain-incubating-1.0.0
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] validate-release.sh improvement on Mac [incubator-hugegraph]

Posted by "liuxiaocs7 (via GitHub)" <gi...@apache.org>.
liuxiaocs7 commented on issue #2110:
URL: https://github.com/apache/incubator-hugegraph/issues/2110#issuecomment-1963741286

   > I guess the lack of yarn, can we check and install it automatically?
   
   yarn will be automatically installed after the maven-front-plugin is introduced by 
   
   1. https://github.com/apache/incubator-hugegraph-toolchain/pull/543
   2. https://github.com/apache/incubator-hugegraph-toolchain/pull/558
   3. https://github.com/apache/incubator-hugegraph-toolchain/pull/568
   
   cc: @javeme and @imbajin 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org