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

Matthias Pohl edited comment on FLINK-33923 at 1/18/24 8:56 AM:
----------------------------------------------------------------

Here are a few test runs with different solutions:
 * Plain upgrade of the {{*-artifact}} actions to v4
 ** [https://github.com/XComp/flink/actions/runs/7556760147]
 ** Result: Failure due to missing clib versions (2.25, 2.27, 2.28) analogous 
to what was reported in FLINK-33277

{code:java}
##[debug]Running JavaScript Action with default external tool: node20
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not 
found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not 
found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not 
found (required by /__e/node20/bin/node) {code}

 * Tried installing Node 16 through a separate step as the default node version
 ** [https://github.com/XComp/flink/actions/runs/7557113216]
 ** Result: Still error due to missing GLIBC versions for node 20
 * Ubuntu 22.04 base image:
 ** [https://github.com/XComp/flink/actions/runs/7557690888]
 ** There was a problem with the missing caller ID which resulted in each job 
trying to publish its artifacts under the same name
 ** But the Hadoop 3.1.3 job succeeded and revealed issues with Ubuntu 22.04 
(SSL-related tests were failing in {{core}} and there was no {{python}} binary 
anymore (which made {{PythonEnvUtilsTest}} fail in {{misc}} stage)
 * Ubuntu 20.04 base image:
 ** [https://github.com/XComp/flink/actions/runs/7559103903]
 ** Revealed same issues with SSL-related tests (was cancelled early on)
 * Ubuntu 18.04 as a base image:
 ** [https://github.com/XComp/flink/actions/runs/7559619643]
 ** Compilation failed again but because of missing GLIBC version 2.28
 ** A local run in the Ubuntu 18.04 image revealed that the OpenSSL setup works 
with netty here

The conclusion is to either switch to a newer Ubuntu version 20.04+, fix the 
OpenSSL issue and hope that no additional error pop up or try to find a way to 
install newer GCLIB versions in the current image.


was (Author: mapohl):
Here are a few test runs with different solutions:
 * Plain upgrade of the {{*-artifact}} actions to v4
 ** [https://github.com/XComp/flink/actions/runs/7556760147]
 ** Result: Failure due to missing clib versions (2.25, 2.27, 2.28) analogous 
to what was reported in FLINK-33277
 * Tried installing Node 16 through a separate step as the default node version
 ** [https://github.com/XComp/flink/actions/runs/7557113216]
 ** Result: Still error due to missing GLIBC versions for node 20
 * Ubuntu 22.04 base image:
 ** [https://github.com/XComp/flink/actions/runs/7557690888]
 ** There was a problem with the missing caller ID which resulted in each job 
trying to publish its artifacts under the same name
 ** But the Hadoop 3.1.3 job succeeded and revealed issues with Ubuntu 22.04 
(SSL-related tests were failing in {{core}} and there was no {{python}} binary 
anymore (which made {{PythonEnvUtilsTest}} fail in {{misc}} stage)
 * Ubuntu 20.04 base image:
 ** [https://github.com/XComp/flink/actions/runs/7559103903]
 ** Revealed same issues with SSL-related tests (was cancelled early on)
 * Ubuntu 18.04 as a base image:
 ** [https://github.com/XComp/flink/actions/runs/7559619643]
 ** Compilation failed again but because of missing GLIBC version 2.28
 ** A local run in the Ubuntu 18.04 image revealed that the OpenSSL setup works 
with netty here

The conclusion is to either switch to a newer Ubuntu version 20.04+, fix the 
OpenSSL issue and hope that no additional error pop up or try to find a way to 
install newer GCLIB versions in the current image.

> Upgrade upload-artifacts and download-artifacts to version 4
> ------------------------------------------------------------
>
>                 Key: FLINK-33923
>                 URL: https://issues.apache.org/jira/browse/FLINK-33923
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Build System / CI
>    Affects Versions: 1.18.0, 1.19.0
>            Reporter: Matthias Pohl
>            Priority: Major
>              Labels: github-actions
>
> {{upload-artifacts}} and {{download-artifacts}} can be upgraded to v4. This 
> would bring us support for unique build artifact names (see 
> [https://github.com/actions/toolkit/tree/main/packages/artifact#breaking-changes])
>  and performance improvements 
> ([https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/|https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/)]).
> Such a change would require upgrading the node version as stated in 
> FLINK-33277



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

Reply via email to