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

Jark Wu commented on FLINK-14960:
---------------------------------

Hi [~dwysakowicz], I looked into this issue. I think the reason is the 
{{DummyStreamExecutionEnvironment}} we introduced in FLINK-13708 has 
{{com.esotericsoftware.kryo.Serializer}} dependency in imports. However, 
{{test_table_shaded_dependencies.sh}} will check the code dependcies and think 
kryo is not in the allowed list.

One solution is add kryo to the {{grep -v}} list of jdeps, because it is 
flink-core dependency.

> Dependency shading of table modules test fails on Travis
> --------------------------------------------------------
>
>                 Key: FLINK-14960
>                 URL: https://issues.apache.org/jira/browse/FLINK-14960
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner, Tests
>    Affects Versions: 1.10.0, 1.9.1
>            Reporter: Caizhi Weng
>            Priority: Blocker
>              Labels: test-stability
>             Fix For: 1.10.0, 1.9.2
>
>
> e2e - misc cron job fails on Travis. The messages are as follows:
> {code}
> ==============================================================================
> Running 'Dependency shading of table modules test'
> ==============================================================================
> TEST_DATA_DIR: 
> /home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/temp-test-directory-41270732894
> Flink dist directory: 
> /home/travis/build/apache/flink/flink-dist/target/flink-1.10-SNAPSHOT-bin/flink-1.10-SNAPSHOT
> Success: There are no unwanted dependencies in the 
> /home/travis/build/apache/flink/flink-end-to-end-tests/../flink-table/flink-table-api-java/target/flink-table-api-java-1.10-SNAPSHOT.jar
>  jar.
> Success: There are no unwanted dependencies in the 
> /home/travis/build/apache/flink/flink-end-to-end-tests/../flink-table/flink-table-api-scala/target/flink-table-api-scala_2.11-1.10-SNAPSHOT.jar
>  jar.
> Success: There are no unwanted dependencies in the 
> /home/travis/build/apache/flink/flink-end-to-end-tests/../flink-table/flink-table-api-java-bridge/target/flink-table-api-java-bridge_2.11-1.10-SNAPSHOT.jar
>  jar.
> Success: There are no unwanted dependencies in the 
> /home/travis/build/apache/flink/flink-end-to-end-tests/../flink-table/flink-table-api-scala-bridge/target/flink-table-api-scala-bridge_2.11-1.10-SNAPSHOT.jar
>  jar.
> Success: There are no unwanted dependencies in the 
> /home/travis/build/apache/flink/flink-end-to-end-tests/../flink-table/flink-table-planner/target/flink-table-planner_2.11-1.10-SNAPSHOT.jar
>  jar.
> Failure: There are unwanted dependencies in the 
> /home/travis/build/apache/flink/flink-end-to-end-tests/../flink-table/flink-table-planner-blink/target/flink-table-planner-blink_2.11-1.10-SNAPSHOT.jar
>  jar:       -> com.esotericsoftware.kryo                          not found
> [FAIL] Test script contains errors.
> Checking for errors...
> No errors in log files.
> Checking for exceptions...
> No exceptions in log files.
> Checking for non-empty .out files...
> grep: 
> /home/travis/build/apache/flink/flink-dist/target/flink-1.10-SNAPSHOT-bin/flink-1.10-SNAPSHOT/log/*.out:
>  No such file or directory
> No non-empty .out files.
> [FAIL] 'Dependency shading of table modules test' failed after 0 minutes and 
> 30 seconds! Test exited with exit code 1
> {code}
> See https://api.travis-ci.org/v3/job/617187809/log.txt for full message



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to