You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2020/02/15 22:01:00 UTC

[jira] [Reopened] (FLINK-15982) 'Quickstarts Java nightly end-to-end test' is failed on travis

     [ https://issues.apache.org/jira/browse/FLINK-15982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Metzger reopened FLINK-15982:
------------------------------------

I need to reopen this ticket. The test is still failing in the latest master: https://travis-ci.org/apache/flink/jobs/650817656

I forgot to export the FLINK_VERSION.
This will be fixed in this PR:  https://github.com/apache/flink/pull/10976/

> 'Quickstarts Java nightly end-to-end test' is failed on travis
> --------------------------------------------------------------
>
>                 Key: FLINK-15982
>                 URL: https://issues.apache.org/jira/browse/FLINK-15982
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.11.0
>            Reporter: Jark Wu
>            Assignee: Robert Metzger
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:java}
> ==============================================================================
> Running 'Quickstarts Java nightly end-to-end test'
> ==============================================================================
> TEST_DATA_DIR: /home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/temp-test-directory-42718423491
> Flink dist directory: /home/travis/build/apache/flink/flink-dist/target/flink-1.11-SNAPSHOT-bin/flink-1.11-SNAPSHOT
> 22:16:44.021 [INFO] Scanning for projects...
> 22:16:44.095 [INFO] ------------------------------------------------------------------------
> 22:16:44.095 [INFO] BUILD FAILURE
> 22:16:44.095 [INFO] ------------------------------------------------------------------------
> 22:16:44.098 [INFO] Total time: 0.095 s
> 22:16:44.099 [INFO] Finished at: 2020-02-10T22:16:44+00:00
> 22:16:44.143 [INFO] Final Memory: 5M/153M
> 22:16:44.143 [INFO] ------------------------------------------------------------------------
> 22:16:44.144 [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/temp-test-directory-42718423491). Please verify you invoked Maven from the correct directory. -> [Help 1]
> 22:16:44.144 [ERROR] 
> 22:16:44.145 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> 22:16:44.145 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> 22:16:44.145 [ERROR] 
> 22:16:44.145 [ERROR] For more information about the errors and possible solutions, please read the following articles:
> 22:16:44.145 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
> /home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/test_quickstarts.sh: line 57: cd: flink-quickstart-java: No such file or directory
> cp: cannot create regular file '/home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/temp-test-directory-42718423491/flink-quickstart-java/src/main/java/org/apache/flink/quickstart/Elasticsearch5SinkExample.java': No such file or directory
> sed: can't read /home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/temp-test-directory-42718423491/flink-quickstart-java/src/main/java/org/apache/flink/quickstart/Elasticsearch5SinkExample.java: No such file or directory
> awk: fatal: cannot open file `pom.xml' for reading (No such file or directory)
> sed: can't read pom.xml: No such file or directory
> sed: can't read pom.xml: No such file or directory
> 22:16:45.312 [INFO] Scanning for projects...
> 22:16:45.386 [INFO] ------------------------------------------------------------------------
> 22:16:45.386 [INFO] BUILD FAILURE
> 22:16:45.386 [INFO] ------------------------------------------------------------------------
> 22:16:45.391 [INFO] Total time: 0.097 s
> 22:16:45.391 [INFO] Finished at: 2020-02-10T22:16:45+00:00
> 22:16:45.438 [INFO] Final Memory: 5M/153M
> 22:16:45.438 [INFO] ------------------------------------------------------------------------
> 22:16:45.440 [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/temp-test-directory-42718423491). Please verify you invoked Maven from the correct directory. -> [Help 1]
> 22:16:45.440 [ERROR] 
> 22:16:45.440 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> 22:16:45.440 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> 22:16:45.440 [ERROR] 
> 22:16:45.440 [ERROR] For more information about the errors and possible solutions, please read the following articles:
> 22:16:45.440 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
> /home/travis/build/apache/flink/flink-end-to-end-tests/test-scripts/test_quickstarts.sh: line 73: cd: target: No such file or directory
> java.io.FileNotFoundException: flink-quickstart-java-0.1.jar (No such file or directory)
> 	at java.util.zip.ZipFile.open(Native Method)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:225)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:155)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:126)
> 	at sun.tools.jar.Main.list(Main.java:1115)
> 	at sun.tools.jar.Main.run(Main.java:293)
> 	at sun.tools.jar.Main.main(Main.java:1288)
> Success: There are no flink core classes are contained in the jar.
> Failure: Since Elasticsearch5SinkExample.class and other user classes are not included in the jar. 
> [FAIL] Test script contains errors.
> {code}
> Here are some instances:
> - https://api.travis-ci.org/v3/job/648404584/log.txt
> - https://api.travis-ci.org/v3/job/648404591/log.txt
> - https://api.travis-ci.org/v3/job/648404598/log.txt



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