[ 
https://issues.apache.org/jira/browse/FLINK-35002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838541#comment-17838541
 ] 

Ryan Skraba edited comment on FLINK-35002 at 4/18/24 8:55 AM:
--------------------------------------------------------------

I changed the title; requests to the artifact service can timeout during other 
stages of the build than just uploading, and it seems like the same network 
issue.

1.19 Java 17 / E2E (group 2) 
https://github.com/apache/flink/commit/a2c3d27f5dced2ba73307e8230cd07a11b26c401/checks/23956874905/logs
 

During **Download build artifacts from compile job**:

{code:java}
2024-04-18T02:20:57.1951531Z ##[group]Run actions/download-artifact@v4
2024-04-18T02:20:57.1952046Z with:
2024-04-18T02:20:57.1952529Z   name: build-artifacts-nightly-beta-java17-229
2024-04-18T02:20:57.1953033Z   path: /home/runner/work/flink/flink
2024-04-18T02:20:57.1953552Z   merge-multiple: false
2024-04-18T02:20:57.1953902Z   repository: apache/flink
2024-04-18T02:20:57.1954306Z   run-id: 8731358696
2024-04-18T02:20:57.1954704Z env:
2024-04-18T02:20:57.1955038Z   MOUNTED_WORKING_DIR: /__w/flink/flink
2024-04-18T02:20:57.1955517Z   CONTAINER_LOCAL_WORKING_DIR: /root/flink
2024-04-18T02:20:57.1956053Z   FLINK_ARTIFACT_DIR: /home/runner/work/flink/flink
2024-04-18T02:20:57.1956590Z   FLINK_ARTIFACT_FILENAME: flink_artifacts.tar.gz
2024-04-18T02:20:57.1957184Z   MAVEN_REPO_FOLDER: 
/home/runner/work/flink/flink/.m2/repository
2024-04-18T02:20:57.1957943Z   MAVEN_ARGS: 
-Dmaven.repo.local=/home/runner/work/flink/flink/.m2/repository
2024-04-18T02:20:57.1958748Z   DOCKER_IMAGES_CACHE_FOLDER: 
/home/runner/work/flink/flink/.docker-cache
2024-04-18T02:20:57.1959387Z   GHA_JOB_TIMEOUT: 310
2024-04-18T02:20:57.1959867Z   E2E_CACHE_FOLDER: 
/home/runner/work/flink/flink/.e2e-cache
2024-04-18T02:20:57.1960480Z   E2E_TARBALL_CACHE: 
/home/runner/work/flink/flink/.e2e-tar-cache
2024-04-18T02:20:57.1961116Z   GHA_PIPELINE_START_TIME: 2024-04-18 
02:19:06+00:00
2024-04-18T02:20:57.1961649Z   JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64
2024-04-18T02:20:57.1963231Z   PATH: 
/usr/lib/jvm/temurin-17-jdk-amd64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
2024-04-18T02:20:57.1964849Z ##[endgroup]
2024-04-18T02:20:57.3842499Z Downloading single artifact
2024-04-18T02:21:02.4187408Z Attempt 1 of 5 failed with error: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying 
request in 3000 ms...
2024-04-18T02:21:10.4281352Z Attempt 2 of 5 failed with error: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying 
request in 4605 ms...
2024-04-18T02:21:20.0388024Z Attempt 3 of 5 failed with error: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying 
request in 8717 ms...
2024-04-18T02:21:33.7715121Z Attempt 4 of 5 failed with error: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying 
request in 12219 ms...
2024-04-18T02:21:51.0125881Z ##[error]Unable to download artifact(s): Failed to 
ListArtifacts: Failed to make request after 5 attempts: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts
{code}
 


was (Author: ryanskraba):
I changed the title; requests to the artifact service can timeout during other 
stages of the build than just uploading, and it seems like the same network 
issue.

During **Download build artifacts from compile job**:

{code:java}
2024-04-18T02:20:57.1951531Z ##[group]Run actions/download-artifact@v4
2024-04-18T02:20:57.1952046Z with:
2024-04-18T02:20:57.1952529Z   name: build-artifacts-nightly-beta-java17-229
2024-04-18T02:20:57.1953033Z   path: /home/runner/work/flink/flink
2024-04-18T02:20:57.1953552Z   merge-multiple: false
2024-04-18T02:20:57.1953902Z   repository: apache/flink
2024-04-18T02:20:57.1954306Z   run-id: 8731358696
2024-04-18T02:20:57.1954704Z env:
2024-04-18T02:20:57.1955038Z   MOUNTED_WORKING_DIR: /__w/flink/flink
2024-04-18T02:20:57.1955517Z   CONTAINER_LOCAL_WORKING_DIR: /root/flink
2024-04-18T02:20:57.1956053Z   FLINK_ARTIFACT_DIR: /home/runner/work/flink/flink
2024-04-18T02:20:57.1956590Z   FLINK_ARTIFACT_FILENAME: flink_artifacts.tar.gz
2024-04-18T02:20:57.1957184Z   MAVEN_REPO_FOLDER: 
/home/runner/work/flink/flink/.m2/repository
2024-04-18T02:20:57.1957943Z   MAVEN_ARGS: 
-Dmaven.repo.local=/home/runner/work/flink/flink/.m2/repository
2024-04-18T02:20:57.1958748Z   DOCKER_IMAGES_CACHE_FOLDER: 
/home/runner/work/flink/flink/.docker-cache
2024-04-18T02:20:57.1959387Z   GHA_JOB_TIMEOUT: 310
2024-04-18T02:20:57.1959867Z   E2E_CACHE_FOLDER: 
/home/runner/work/flink/flink/.e2e-cache
2024-04-18T02:20:57.1960480Z   E2E_TARBALL_CACHE: 
/home/runner/work/flink/flink/.e2e-tar-cache
2024-04-18T02:20:57.1961116Z   GHA_PIPELINE_START_TIME: 2024-04-18 
02:19:06+00:00
2024-04-18T02:20:57.1961649Z   JAVA_HOME: /usr/lib/jvm/temurin-17-jdk-amd64
2024-04-18T02:20:57.1963231Z   PATH: 
/usr/lib/jvm/temurin-17-jdk-amd64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
2024-04-18T02:20:57.1964849Z ##[endgroup]
2024-04-18T02:20:57.3842499Z Downloading single artifact
2024-04-18T02:21:02.4187408Z Attempt 1 of 5 failed with error: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying 
request in 3000 ms...
2024-04-18T02:21:10.4281352Z Attempt 2 of 5 failed with error: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying 
request in 4605 ms...
2024-04-18T02:21:20.0388024Z Attempt 3 of 5 failed with error: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying 
request in 8717 ms...
2024-04-18T02:21:33.7715121Z Attempt 4 of 5 failed with error: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying 
request in 12219 ms...
2024-04-18T02:21:51.0125881Z ##[error]Unable to download artifact(s): Failed to 
ListArtifacts: Failed to make request after 5 attempts: Request timeout: 
/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts
{code}
 

> GitHub action request timeout  to ArtifactService
> -------------------------------------------------
>
>                 Key: FLINK-35002
>                 URL: https://issues.apache.org/jira/browse/FLINK-35002
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>            Reporter: Ryan Skraba
>            Priority: Major
>              Labels: github-actions, test-stability
>
> A timeout can occur when uploading a successfully built artifact:
>  * [https://github.com/apache/flink/actions/runs/8516411871/job/23325392650]
> {code:java}
> 2024-04-02T02:20:15.6355368Z With the provided path, there will be 1 file 
> uploaded
> 2024-04-02T02:20:15.6360133Z Artifact name is valid!
> 2024-04-02T02:20:15.6362872Z Root directory input is valid!
> 2024-04-02T02:20:20.6975036Z Attempt 1 of 5 failed with error: Request 
> timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. 
> Retrying request in 3000 ms...
> 2024-04-02T02:20:28.7084937Z Attempt 2 of 5 failed with error: Request 
> timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. 
> Retrying request in 4785 ms...
> 2024-04-02T02:20:38.5015936Z Attempt 3 of 5 failed with error: Request 
> timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. 
> Retrying request in 7375 ms...
> 2024-04-02T02:20:50.8901508Z Attempt 4 of 5 failed with error: Request 
> timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. 
> Retrying request in 14988 ms...
> 2024-04-02T02:21:10.9028438Z ##[error]Failed to CreateArtifact: Failed to 
> make request after 5 attempts: Request timeout: 
> /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact
> 2024-04-02T02:22:59.9893296Z Post job cleanup.
> 2024-04-02T02:22:59.9958844Z Post job cleanup. {code}
> (This is unlikely to be something we can fix, but we can track it.)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to