Skip to content

[Bug] validate-release.sh improvement on Mac #2110

@javeme

Description

@javeme

Bug Type (问题类型)

others (please edit later)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题

Environment (环境信息)

  • apache 1.0.0-rc2
  • mac m1

Expected & Actual behavior (期望与实际表现)

  1. should echo which package name when check incubating name(fixed by: https://github.com/apache/incubator-hugegraph-doc/blame/release-1.2.0/dist/validate-release.sh#L89):
    The package name 'xx' should include incubating
    The package name *src.tar.gz should include incubating

  2. error of cd ./*toolchain*(fixed by: https://github.com/apache/incubator-hugegraph-doc/blame/release-1.2.0/dist/validate-release.sh#L179):
    ./validate-release.sh: line 45: cd: ./*toolchain*: No such file or directory

  3. not stop validate even if there are compile errors(fixed by: https://github.com/apache/incubator-hugegraph-doc/blame/release-1.2.0/dist/validate-release.sh#L154):
    mvn package -DskipTests -ntp && ls -lh

  4. need to stop the server after test(fixed by: https://github.com/apache/incubator-hugegraph-doc/blame/release-1.2.0/dist/validate-release.sh#L210):
    While lock file: rocksdb-data/m/LOCK: Resource temporarily unavailable

  5. need to check hubble-dist env dependency(to check):
    check or auto install yarm for hubble:
    [Bug] validate-release.sh improvement on Mac #2110 (comment)

  6. need to check wget command(to check):

[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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingshellIssues about shell script

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions