apache / incubator-streampark

Make stream processing easier! Easy-to-use streaming application development framework and operation platform.
https://streampark.apache.org/
Apache License 2.0
3.91k stars 1.01k forks source link

[Bug]should setJarCheckSum when update application and JarCheckSum change #4059

Closed xieyi888 closed 2 months ago

xieyi888 commented 2 months ago

What changes were proposed in this pull request

Issue Number: close https://github.com/apache/incubator-streampark/issues/4058

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage. yes

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

xieyi888 commented 2 months ago
Error:  Tests run: 13, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 540.08 s <<< FAILURE! - in org.apache.streampark.e2e.cases.FlinkSQL116OnYarnTest
Error:  testStartFlinkApplicationOnYarnPerJobMode  Time elapsed: 1.245 s  <<< ERROR!
org.openqa.selenium.ElementClickInterceptedException: 
element click intercepted: Element <span class="ant-switch-inner">...</span> is not clickable at point (644, 241). Other element would receive the click: <span class="conf-switch">...</span>
  (Session info: chrome=117.0.5938.132)
Build info: version: '4.13.0', revision: 'ba948ece5b*'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-1025-azure', java.version: '11.0.24'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [d207bf68d728430666c30bc58a68f0b0, clickElement {id=D32189B3C2BC5277F688B801B422DEE2_element_629}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 117.0.5938.132, chrome: {chromedriverVersion: 117.0.5938.92 (67649b10b92b..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:35017}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.17.0.4:4444/sessio..., se:cdpVersion: 117.0.5938.132, se:vnc: ws://172.17.0.4:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.4:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Element: [[RemoteWebDriver: chrome on linux (d207bf68d728430666c30bc58a68f0b0)] -> xpath: //button[@id='startApplicationModal_restoreSavepoint']//span[contains(text(), 'ON')]]
Session ID: d207bf68d728430666c30bc58a68f0b0
    at org.apache.streampark.e2e.cases.FlinkSQL116OnYarnTest.testStartFlinkApplicationOnYarnPerJobMode(FlinkSQL116OnYarnTest.java:234)

Error:  testDeleteFlinkApplicationOnYarnPerJobMode  Time elapsed: 2.198 s  <<< ERROR!
org.openqa.selenium.NoSuchElementException: 
no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'ant-dropdown-content')]//span[contains(text(), 'Delete')]"}
  (Session info: chrome=117.0.5938.132)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.13.0', revision: 'ba948ece5b*'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-1025-azure', java.version: '11.0.24'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [d207bf68d728430666c30bc58a68f0b0, findElement {using=xpath, value=//div[contains(@class, 'ant-dropdown-content')]//span[contains(text(), 'Delete')]}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 117.0.5938.132, chrome: {chromedriverVersion: 117.0.5938.92 (67649b10b92b..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:35017}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.17.0.4:4444/sessio..., se:cdpVersion: 117.0.5938.132, se:vnc: ws://172.17.0.4:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.4:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: d207bf68d728430666c30bc58a68f0b0
    at org.apache.streampark.e2e.cases.FlinkSQL116OnYarnTest.testDeleteFlinkApplicationOnYarnPerJobMode(FlinkSQL116OnYarnTest.java:256)

it seems the failed E2E is not caused by changes in this pr