You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "simon824 (via GitHub)" <gi...@apache.org> on 2023/09/15 11:14:21 UTC

[GitHub] [incubator-hugegraph-toolchain] simon824 opened a new pull request, #519: fix yarn network connection on linux/arm64 arch

simon824 opened a new pull request, #519:
URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/519

   yarn may frequently cause network connection on `linux/arm64` arch
   
   ```
   #22 374.1 main:
   #22 379.0      [exec] yarn install v1.22.19
   #22 381.2      [exec] [1/4] Resolving packages...
   #22 391.1      [exec] [2/4] Fetching packages...
   #22 431.2      [exec] info There appears to be trouble with your network connection. Retrying...
   #22 459.7      [exec] info There appears to be trouble with your network connection. Retrying...
   #22 493.0      [exec] info There appears to be trouble with your network connection. Retrying...
   #22 526.6      [exec] info There appears to be trouble with your network connection. Retrying...
   #22 560.0      [exec] info There appears to be trouble with your network connection. Retrying...
   ```
   refer to https://github.com/hugegraph/actions/actions/runs/6194003062/job/16817665758
   
   Increasing the timeout can solve this problem, it has been verified on https://github.com/simon824/hugegraph-actions/actions/runs/6195873357/job/16821404664
   refer to https://github.com/docker/build-push-action/issues/471#issuecomment-928456949
   


-- 
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-toolchain] imbajin commented on a diff in pull request #519: fix yarn network connection on linux/arm64 arch

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on code in PR #519:
URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/519#discussion_r1328048449


##########
hugegraph-hubble/hubble-dist/pom.xml:
##########
@@ -81,7 +81,7 @@
                                 <echo file="${top.level.dir}/dist.sh">
                                     cd ${hubble-fe.dir} || exit 1
                                     export CI=false
-                                    yarn install &amp;&amp; yarn build || exit 1
+                                    yarn install --network-timeout 600000 &amp;&amp; yarn build || exit 1

Review Comment:
   10min? seems too long to exit?



##########
hugegraph-hubble/hubble-dist/pom.xml:
##########
@@ -81,7 +81,7 @@
                                 <echo file="${top.level.dir}/dist.sh">
                                     cd ${hubble-fe.dir} || exit 1
                                     export CI=false
-                                    yarn install &amp;&amp; yarn build || exit 1
+                                    yarn install --network-timeout 600000 &amp;&amp; yarn build || exit 1

Review Comment:
   10min? seems too long to exit?



-- 
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-toolchain] imbajin merged pull request #519: fix yarn network connection on linux/arm64 arch

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin merged PR #519:
URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/519


-- 
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-toolchain] aroundabout commented on a diff in pull request #519: fix yarn network connection on linux/arm64 arch

Posted by "aroundabout (via GitHub)" <gi...@apache.org>.
aroundabout commented on code in PR #519:
URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/519#discussion_r1328062265


##########
hugegraph-hubble/hubble-dist/pom.xml:
##########
@@ -81,7 +81,7 @@
                                 <echo file="${top.level.dir}/dist.sh">
                                     cd ${hubble-fe.dir} || exit 1
                                     export CI=false
-                                    yarn install &amp;&amp; yarn build || exit 1
+                                    yarn install --network-timeout 600000 &amp;&amp; yarn build || exit 1

Review Comment:
   My hubble build log:  https://github.com/aroundabout/action_demo/actions/runs/6198272025/job/16828396503#step:5:8724
   ```
   #25 329.5      [exec] [1/4] Resolving packages...
   #25 338.2      [exec] [2/4] Fetching packages...
   #25 401.9      [exec] info There appears to be trouble with your network connection. Retrying...
   #25 435.3      [exec] info There appears to be trouble with your network connection. Retrying...
   #25 468.8      [exec] info There appears to be trouble with your network connection. Retrying...
   #25 502.2      [exec] info There appears to be trouble with your network connection. Retrying...
   #25 599.9      [exec] [3/4] Linking dependencies...
   ```
   It takes nearly 5min to finish `yarn install`. Considering different network environment, 10min (two times as 5min) seems to be suitable.



-- 
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-toolchain] imbajin commented on a diff in pull request #519: fix yarn network connection on linux/arm64 arch

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on code in PR #519:
URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/519#discussion_r1328080419


##########
hugegraph-hubble/hubble-dist/pom.xml:
##########
@@ -81,7 +81,7 @@
                                 <echo file="${top.level.dir}/dist.sh">
                                     cd ${hubble-fe.dir} || exit 1
                                     export CI=false
-                                    yarn install &amp;&amp; yarn build || exit 1
+                                    yarn install --network-timeout 600000 &amp;&amp; yarn build || exit 1

Review Comment:
   > My hubble build log:  https://github.com/aroundabout/action_demo/actions/runs/6198272025/job/16828396503#step:5:8724
   > ```
   > #25 329.5      [exec] [1/4] Resolving packages...
   > #25 338.2      [exec] [2/4] Fetching packages...
   > #25 401.9      [exec] info There appears to be trouble with your network connection. Retrying...
   > #25 435.3      [exec] info There appears to be trouble with your network connection. Retrying...
   > #25 468.8      [exec] info There appears to be trouble with your network connection. Retrying...
   > #25 502.2      [exec] info There appears to be trouble with your network connection. Retrying...
   > #25 599.9      [exec] [3/4] Linking dependencies...
   > ```
   > It takes nearly 5min to finish `yarn install`. Considering different network environment, 10min (two times as 5min) seems to be suitable.
   
   fine,consider enhance it later



-- 
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