[
https://issues.apache.org/jira/browse/FLINK-31982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718790#comment-17718790
]
Gyula Fora commented on FLINK-31982:
------------------------------------
Strange error, haven’t seen this before. We did not add any new modules and
these tests were there in similar form in 1.4.0 also.[~mbalassi] do you have
any idea what’s going on here?
> Build image from source Dockerfile error in main
> ------------------------------------------------
>
> Key: FLINK-31982
> URL: https://issues.apache.org/jira/browse/FLINK-31982
> Project: Flink
> Issue Type: Bug
> Components: Kubernetes Operator
> Reporter: James Busche
> Priority: Major
>
> I'm noticing a problem trying to build the Debian Flink Operator image from
> the Dockerfile in the main branch.
>
> podman build -f Dockerfile -t debian-release:1.5.0-rc1
> ....
> [INFO] Compiling 9 source files to
> /app/flink-kubernetes-operator-autoscaler/target/test-classes
> ....
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /app/flink-kubernetes-operator-autoscaler/src/test/java/org/apache/flink/kubernetes/operator/autoscaler/ScalingMetricEvaluatorTest.java:[59,8]
> error while writing
> org.apache.flink.kubernetes.operator.autoscaler.ScalingMetricEvaluatorTest:
> /app/flink-kubernetes-operator-autoscaler/target/test-classes/org/apache/flink/kubernetes/operator/autoscaler/ScalingMetricEvaluatorTest.class:
> Too many open files
> [ERROR]
> /app/flink-kubernetes-operator-autoscaler/src/test/java/org/apache/flink/kubernetes/operator/autoscaler/JobVertexScalerTest.java:[78,29]
> cannot access org.apache.flink.kubernetes.operator.autoscaler.ScalingSummary
> bad class file:
> /app/flink-kubernetes-operator-autoscaler/target/classes/org/apache/flink/kubernetes/operator/autoscaler/ScalingSummary.class
> unable to access file: java.nio.file.FileSystemException:
> /app/flink-kubernetes-operator-autoscaler/target/classes/org/apache/flink/kubernetes/operator/autoscaler/ScalingSummary.class:
> Too many open files
> Please remove or make sure it appears in the correct subdirectory of the
> classpath.
> [ERROR]
> /app/flink-kubernetes-operator-autoscaler/src/test/java/org/apache/flink/kubernetes/operator/autoscaler/JobVertexScalerTest.java:[84,29]
> incompatible types: inferred type does not conform to equality constraint(s)
>
> I've tried increasing my nofiles to unlimited, but still see the error.
> I tried building the release 1.4.0 and it built fine, so not certain what's
> recently changed in 1.5.0. Maybe it builds fine in Docker instead of podman?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)