You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/06/30 08:28:38 UTC

[GitHub] [flink] autophagy opened a new pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

autophagy opened a new pull request #16332:
URL: https://github.com/apache/flink/pull/16332


   ## What is the purpose of the change
   
   There has been a lot of flakiness in the testing infrastructure around the use of docker containers, specifically testcontainers. We think this might be due to the introduction of pull rate-limits on Dockerhub docker images back in November 2020.
   
   This PR caches dockerfiles pulled during the testing in order to reduce the number of pull requests made against Dockerhub, and each testing module maintains its own cache, as different testing modules may rely on different containers. With this caching strategy, the connectors test module caches the following docker images:
   
   - debian:10
   - node:10-alpine
   - node:10
   - rmetzger/flink-ci:ubuntu-amd64-7ac4e28
   - testcontainers/ryuk:0.3.1
   - rabbitmq:3.7.25-management-alpine
   - ubuntu:16.04
   - ubuntu:18.04
   - buildpack-deps:stretch
   - docker.elastic.co/elasticsearch/elasticsearch-oss:6.3.1
   - node:14
   - node:14-alpine
   - ubuntu:20.04
   - node:12-alpine
   - alpine:3.11
   - mysql:8.0.23
   - instructure/kinesalite:latest
   - debian:9
   - alpine:3.12
   - alpine:3.13
   - testcontainers/ryuk:0.3.0
   - docker.elastic.co/elasticsearch/elasticsearch-oss:7.5.1
   - postgres:9.6.12
   - node:12
   - buildpack-deps:buster
   
   Perhaps a subset of these would be more appropriate, such as the non-base images. I was also unsure as to what the appropriate cache key would be for this, or whether a dynamic cache key would make much sense at all.
   
   ## Brief change log
   
    - *A cache for Docker images used during CI testing has been introduced*
   
   ## Verifying this change
   
   This change is already covered by existing tests, such as *(please describe tests)*.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (not applicable)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 118de16a5a386817bdcd65e0343e5a1d0fab1c2e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251) 
   * 648bc137586f47cbf3d3a1b82ce8bb5500abf075 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 648bc137586f47cbf3d3a1b82ce8bb5500abf075 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311) 
   * cbb17291f08bb58c8c42476bce764d13a21ded59 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663043530



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       That's the thing - once an entry for a cache key already exists, the contents are not updated on subsequent cache hits. So when we extend the list, the new images won't be persisted to the already existing cache entry. See: https://github.com/microsoft/azure-pipelines-tasks/issues/11600




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 71e3588993a5aa55fef8fba2e1c5c2d294eb928c Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388) 
   * 0c12a59c8e4166df410a712446f11d226f3955b0 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r668928010



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,21 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Cache Maven local repo
 
+  - task: Cache@2
+    inputs:
+      key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+      path: $(TESTCONTAINER_CACHE_FOLDER)
+      cacheHitVar: TESTCONTAINER_CACHE_HIT
+    continueOnError: true
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Cache Testcontainer docker images

Review comment:
       Why not "Docker images"?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-872867181


   @zentol I have a question about the caching steps: the maven cache has a condition of only running when the test pool definition's name is not 'Default'. Do you know why that is? Would that make sense as a condition for the docker cache too?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662939007



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       can we move this into a script file? It's likely that the set of cached images will increase of timer, and having to adjust it in 2 places is a recipe for inconsistencies.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r668517696



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,21 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Cache Maven local repo
 
+  - task: Cache@2
+    inputs:
+      key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+      path: $(TESTCONTAINER_CACHE_FOLDER)
+      cacheHitVar: TESTCONTAINER_CACHE_HIT
+    continueOnError: true
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Cache Testcontainer docker images

Review comment:
       nit: Its not just Testcontainer images, so the name of this task and other variables is ever-so-slightly misleading; this also applies to `TestContainerVersions.java`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] rmetzger commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
rmetzger commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r667665228



##########
File path: tools/azure-pipelines/build-apache-repo.yml
##########
@@ -47,6 +47,8 @@ variables:
   MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
   CACHE_KEY: maven | $(Agent.OS) | **/pom.xml, !**/target/**
   CACHE_FALLBACK_KEY: maven | $(Agent.OS)
+  TESTCONTAINER_CACHE_KEY: testcontainer-cache | $(Agent.OS) | **/cache_docker_images.sh

Review comment:
       don't we have to reference `flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestContainerVersions.java` here? or am I missing something?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846) 
   * 2221bb12ad60d7566534b3ed14364bc1e7b69b5b Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871204584


   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit 27200fb45f3c4d9adb3e4c4f1778c374831427e2 (Wed Jun 30 08:32:16 UTC 2021)
   
   **Warnings:**
    * No documentation files were touched! Remember to keep the Flink docs up to date!
    * **This pull request references an unassigned [Jira ticket](https://issues.apache.org/jira/browse/FLINK-22386).** According to the [code contribution guide](https://flink.apache.org/contributing/contribute-code.html), tickets need to be assigned before starting with the implementation work.
   
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27200fb45f3c4d9adb3e4c4f1778c374831427e2 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487",
       "triggerID" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20559",
       "triggerID" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0fadf7d17e721375e1d554033c050a0f4e1b2ccc",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20570",
       "triggerID" : "0fadf7d17e721375e1d554033c050a0f4e1b2ccc",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5c0030f5868f8c18390ca9db4af7defa03631dc4 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20559) 
   * 0fadf7d17e721375e1d554033c050a0f4e1b2ccc Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20570) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 657e8de8be44a93b5bec2ac43863064d62955b27 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768) 
   * 0ff177795d6fb3b36e514d0102df23fe61093180 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662939007



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       can we move this into a script? It's likely that the set of cached images will increase of timer, and having to adjust it in 2 places is a recipe for inconsistencies.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 0ff177795d6fb3b36e514d0102df23fe61093180 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828) 
   * 964ffaaef082ffc00b971c41c53623824ba7c140 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833) 
   * 718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662983199



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       @zentol I was thinking: perhaps the set of cached images could be part of the cache key? Since if we change that, we'll want to invalidate the cache in any case.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 964ffaaef082ffc00b971c41c53623824ba7c140 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833) 
   * 718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846) 
   * 2221bb12ad60d7566534b3ed14364bc1e7b69b5b UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 118de16a5a386817bdcd65e0343e5a1d0fab1c2e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251) 
   * 648bc137586f47cbf3d3a1b82ce8bb5500abf075 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663036039



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       That said, we do need some mechanism to eventually invalidate (at least part of) the cache, otherwise it should keep accumulating various versions of the same image (e.g., all tags for a particular image released over time)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 648bc137586f47cbf3d3a1b82ce8bb5500abf075 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311) 
   * cbb17291f08bb58c8c42476bce764d13a21ded59 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387) 
   * 71e3588993a5aa55fef8fba2e1c5c2d294eb928c UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r668515796



##########
File path: flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestContainerVersions.java
##########
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.test.util;
+
+/**
+ * Utility class for defining the image names and versions of Docker containers used during the Java
+ * tests. The names/versions are centralised here in order to make testing version updates easier,
+ * as well as to provide a central file to use as a key when caching testing Docker files.
+ */
+public class TestContainerVersions {
+    public static final String ELASTICSEARCH_7 =
+            "docker.elastic.co/elasticsearch/elasticsearch-oss:7.5.1";
+
+    public static final String ELASTICSEARCH_6 =

Review comment:
       consider moving this file to flink-test-utils-junit; then you can side-step all the convergence issues.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662836499



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -160,6 +176,13 @@ jobs:
       targetPath: $(DEBUG_FILES_OUTPUT_DIR)
       artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
 
+  - script: |
+      mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+      docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       Yeah, I think the generalised cache is also catching a lot of base images that just come with the build environment. We could limit this to testcontainers/*, elasticsearch, kafka, rabbitmq, mysql and postgres.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 0ff177795d6fb3b36e514d0102df23fe61093180 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828) 
   * 964ffaaef082ffc00b971c41c53623824ba7c140 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833) 
   * 718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27200fb45f3c4d9adb3e4c4f1778c374831427e2 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663920010



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       @zentol Yeah, this is why I thought maybe matching on pom.xml might be a good idea since we specify the version of the testcontainers to use within them, for example with elasticsearch 7.5.1: https://github.com/apache/flink/blob/1c67df838ad045484f96a5839c324771285d9cf7/flink-connectors/flink-connector-elasticsearch7/pom.xml#L40




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2221bb12ad60d7566534b3ed14364bc1e7b69b5b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cbb17291f08bb58c8c42476bce764d13a21ded59 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387) 
   * 71e3588993a5aa55fef8fba2e1c5c2d294eb928c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487",
       "triggerID" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 0c12a59c8e4166df410a712446f11d226f3955b0 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487) 
   * 5c0030f5868f8c18390ca9db4af7defa03631dc4 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 657e8de8be44a93b5bec2ac43863064d62955b27 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768) 
   * 0ff177795d6fb3b36e514d0102df23fe61093180 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828) 
   * 964ffaaef082ffc00b971c41c53623824ba7c140 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27200fb45f3c4d9adb3e4c4f1778c374831427e2 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730) 
   * 657e8de8be44a93b5bec2ac43863064d62955b27 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 546eb9257a0b64a4d965b457173b3c08cde58251 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224) 
   * 118de16a5a386817bdcd65e0343e5a1d0fab1c2e Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 648bc137586f47cbf3d3a1b82ce8bb5500abf075 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311) 
   * cbb17291f08bb58c8c42476bce764d13a21ded59 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387) 
   * 71e3588993a5aa55fef8fba2e1c5c2d294eb928c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2221bb12ad60d7566534b3ed14364bc1e7b69b5b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852) 
   * 6fbeae06b2487f2c26d447dd2fc11f545c7c30c3 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 648bc137586f47cbf3d3a1b82ce8bb5500abf075 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311) 
   * cbb17291f08bb58c8c42476bce764d13a21ded59 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663964704



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       I won't object to using the pom files, but it's not a long-term solution.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6fbeae06b2487f2c26d447dd2fc11f545c7c30c3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 118de16a5a386817bdcd65e0343e5a1d0fab1c2e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487",
       "triggerID" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 0c12a59c8e4166df410a712446f11d226f3955b0 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663962444



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       that's not necessarily the case for other tests though.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662842662



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,22 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Cache Maven local repo
 
+  - task: Cache@2
+    inputs:
+      key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+      restoreKeys: '"$(module)" | $(TESTCONTAINER_CACHE_FALLBACK_KEY)'
+      path: $(TESTCONTAINER_CACHE_FOLDER)
+      cacheHitVar: TESTCONTAINER_CACHE_HIT
+    continueOnError: true
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Cache Testcontainer docker images
+
+  - script: |
+      docker load -i $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true
+    displayName: Restore Testcontainer docker images
+    condition: and(not(canceled()), eq(variables.TESTCONTAINER_CACHE_HIT, 'true'))
+    continueOnError: true

Review comment:
       Ah, I think I understand: there wasnt a cache hit for the key, so it fell to the fallback cache which populates `TEST_CONTAINER_CACHE_HIT` with `inexact` rather than `true`. Switching to a static cache key and removing the fallback key will mean this won't occur again. Thanks for pointing it out :sweat_smile: 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487",
       "triggerID" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20559",
       "triggerID" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5c0030f5868f8c18390ca9db4af7defa03631dc4 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20559) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r668703697



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,21 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Cache Maven local repo
 
+  - task: Cache@2
+    inputs:
+      key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+      path: $(TESTCONTAINER_CACHE_FOLDER)
+      cacheHitVar: TESTCONTAINER_CACHE_HIT
+    continueOnError: true
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Cache Testcontainer docker images

Review comment:
       I'm not sure what would be more discriptive :sweat_smile: Perhaps "Testing Containers"?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663918205



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       Yeah - this is why I thought maybe caching based on the contents of pom.xml might be a good fit, since the specific testcontainer container versions are defined in there, for example with elasticsearch 7.5.1 https://github.com/apache/flink/blob/1c67df838ad045484f96a5839c324771285d9cf7/flink-connectors/flink-connector-elasticsearch7/pom.xml#L92




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-874528369


   you can add a `<dependencyManagement>` entry tor jna to flink-test-utils to resolve that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-874317870


   @zentol I centralised the docker image names/versions into a `TestContainerVersions` class for the tests and the end-to-end tests respectively, and used that as the cache key. I wanted to have each one be a `public static final DockerImageName` to simplify things for the tests that need them, but adding the `testcontainers` dependency to `flink-test-utils` resulted in a build failure:
   
   ```
   Dependency convergence error for net.java.dev.jna:jna:5.2.0 paths to dependency are:
   +-org.apache.flink:flink-test-utils_2.11:1.14-SNAPSHOT
     +-org.testcontainers:testcontainers:1.15.1
       +-org.rnorth.visible-assertions:visible-assertions:2.1.2
         +-net.java.dev.jna:jna:5.2.0
   and
   +-org.apache.flink:flink-test-utils_2.11:1.14-SNAPSHOT
     +-org.testcontainers:testcontainers:1.15.1
       +-com.github.docker-java:docker-java-transport-zerodep:3.2.7
         +-net.java.dev.jna:jna:5.5.0
   ```
   
   Which I'm not entirely sure how best to solve.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-874528369


   you can add a `<dependencyManagement>` entry tor jna to flink-test-utils to resolve that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 648bc137586f47cbf3d3a1b82ce8bb5500abf075 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 71e3588993a5aa55fef8fba2e1c5c2d294eb928c Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662835880



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,22 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Cache Maven local repo
 
+  - task: Cache@2
+    inputs:
+      key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+      restoreKeys: '"$(module)" | $(TESTCONTAINER_CACHE_FALLBACK_KEY)'
+      path: $(TESTCONTAINER_CACHE_FOLDER)
+      cacheHitVar: TESTCONTAINER_CACHE_HIT
+    continueOnError: true
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Cache Testcontainer docker images
+
+  - script: |
+      docker load -i $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true
+    displayName: Restore Testcontainer docker images
+    condition: and(not(canceled()), eq(variables.TESTCONTAINER_CACHE_HIT, 'true'))
+    continueOnError: true

Review comment:
       In that build it was also skipped for `core`, but it worked for the python one. That is indeed weird. https://dev.azure.com/Autophagy/Flink-CI/_build/results?buildId=78&view=logs&j=9dc1b5dc-bcfa-5f83-eaa7-0cb181ddc267&t=b1670b3c-3f19-5f34-3e91-67ac7d80384f




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27200fb45f3c4d9adb3e4c4f1778c374831427e2 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 546eb9257a0b64a4d965b457173b3c08cde58251 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224) 
   * 118de16a5a386817bdcd65e0343e5a1d0fab1c2e UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662803072



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -160,6 +176,13 @@ jobs:
       targetPath: $(DEBUG_FILES_OUTPUT_DIR)
       artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
 
+  - script: |
+      mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+      docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       I'm wondering if we'd should filter some of these out. Even the [core stage](https://dev.azure.com/Autophagy/Flink-CI/_build/results?buildId=80&view=logs&j=9dc1b5dc-bcfa-5f83-eaa7-0cb181ddc267&t=95a75a7f-839b-5434-cae3-c0698e9852d8), which doesn't use test containers at all still caches 4-5gigs. (consuming 8 minutes in the process)

##########
File path: tools/azure-pipelines/build-apache-repo.yml
##########
@@ -47,6 +47,9 @@ variables:
   MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
   CACHE_KEY: maven | $(Agent.OS) | **/pom.xml, !**/target/**
   CACHE_FALLBACK_KEY: maven | $(Agent.OS)
+  TESTCONTAINER_CACHE_KEY: testcontainer-cache | $(Agent.OS) | **/pom.xml, !**/target/**

Review comment:
       ```suggestion
     TESTCONTAINER_CACHE_KEY: testcontainer-cache | $(Agent.OS)
   ```
   The used images are usually unrelated to the poms, so I'm not sure whether using the poms as a key makes sense.

##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,22 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Cache Maven local repo
 
+  - task: Cache@2
+    inputs:
+      key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+      restoreKeys: '"$(module)" | $(TESTCONTAINER_CACHE_FALLBACK_KEY)'
+      path: $(TESTCONTAINER_CACHE_FOLDER)
+      cacheHitVar: TESTCONTAINER_CACHE_HIT
+    continueOnError: true
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Cache Testcontainer docker images
+
+  - script: |
+      docker load -i $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true
+    displayName: Restore Testcontainer docker images
+    condition: and(not(canceled()), eq(variables.TESTCONTAINER_CACHE_HIT, 'true'))
+    continueOnError: true

Review comment:
       Based on [this build](https://dev.azure.com/Autophagy/Flink-CI/_build/results?buildId=80&view=logs&j=9dc1b5dc-bcfa-5f83-eaa7-0cb181ddc267&t=b1670b3c-3f19-5f34-3e91-67ac7d80384f) this doesn't seem to work.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r668517696



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,21 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Cache Maven local repo
 
+  - task: Cache@2
+    inputs:
+      key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+      path: $(TESTCONTAINER_CACHE_FOLDER)
+      cacheHitVar: TESTCONTAINER_CACHE_HIT
+    continueOnError: true
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Cache Testcontainer docker images

Review comment:
       nit: Its not just Testcontainer images, so the name of this task and other variables is ever-so-slightly misleading




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 0ff177795d6fb3b36e514d0102df23fe61093180 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828) 
   * 964ffaaef082ffc00b971c41c53623824ba7c140 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2221bb12ad60d7566534b3ed14364bc1e7b69b5b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852) 
   * 6fbeae06b2487f2c26d447dd2fc11f545c7c30c3 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6fbeae06b2487f2c26d447dd2fc11f545c7c30c3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946) 
   * 546eb9257a0b64a4d965b457173b3c08cde58251 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] rmetzger commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
rmetzger commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-878014400


   > But it would be good for @rmetzger to confirm if (eventually).
   
   Yes, on the Alibaba Machines ("Default" queue), we don't need docker image caching.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r667684796



##########
File path: tools/azure-pipelines/build-apache-repo.yml
##########
@@ -47,6 +47,8 @@ variables:
   MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
   CACHE_KEY: maven | $(Agent.OS) | **/pom.xml, !**/target/**
   CACHE_FALLBACK_KEY: maven | $(Agent.OS)
+  TESTCONTAINER_CACHE_KEY: testcontainer-cache | $(Agent.OS) | **/cache_docker_images.sh

Review comment:
       Ah, no, we do - I just missed updating the build-apache-repo yml. :facepalm: 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663141052



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       hmm...yes then it makes sense to have it as part of the key. But this does also mean that if we fetch an image a _different_  elasticsearch version that it will never be cached.
   Maybe we have to setup a convention such that all images we use must be listed in a specific .java file (/.sh file for the e2e tests), which we then use as a cache key.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-874528369


   you can add a `<dependencyManagement>` entry tor jna to flink-test-utils to resolve that (pick the higher version).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487",
       "triggerID" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20559",
       "triggerID" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0fadf7d17e721375e1d554033c050a0f4e1b2ccc",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20570",
       "triggerID" : "0fadf7d17e721375e1d554033c050a0f4e1b2ccc",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 0fadf7d17e721375e1d554033c050a0f4e1b2ccc Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20570) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r662833013



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -129,6 +129,22 @@ jobs:
     condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
     displayName: Cache Maven local repo
 
+  - task: Cache@2
+    inputs:
+      key: '"$(module)" | $(TESTCONTAINER_CACHE_KEY)'
+      restoreKeys: '"$(module)" | $(TESTCONTAINER_CACHE_FALLBACK_KEY)'
+      path: $(TESTCONTAINER_CACHE_FOLDER)
+      cacheHitVar: TESTCONTAINER_CACHE_HIT
+    continueOnError: true
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Cache Testcontainer docker images
+
+  - script: |
+      docker load -i $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true
+    displayName: Restore Testcontainer docker images
+    condition: and(not(canceled()), eq(variables.TESTCONTAINER_CACHE_HIT, 'true'))
+    continueOnError: true

Review comment:
       Huh, curious. Previous tests worked fine: https://dev.azure.com/Autophagy/Flink-CI/_build/results?buildId=78&view=logs&j=fba17979-6d2e-591d-72f1-97cf42797c11&t=f19988ba-dc4e-5334-707d-a0c139178ea5
   
   I'll recheck the condition.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r668519686



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -205,6 +225,19 @@ jobs:
       displayName: Cache E2E artifacts
       continueOnError: true
       condition: not(eq(variables['SKIP'], '1'))
+    - task: Cache@2
+      inputs:
+        key: 'e2e | $(TESTCONTAINER_CACHE_KEY)'
+        path: $(TESTCONTAINER_CACHE_FOLDER)
+        cacheHitVar: TESTCONTAINER_CACHE_HIT
+      continueOnError: true
+      condition: not(eq(variables['SKIP'], '1'))
+      displayName: Cache Testcontainer docker images
+    - script: |
+        docker load -i $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       nit: to deduplicate the name of the tar file this could be moved into a script. maybe we could unify this in `cache_docker_images.sh`, by having it accept `cache/load` as an argument to control what it should do.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487",
       "triggerID" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20559",
       "triggerID" : "5c0030f5868f8c18390ca9db4af7defa03631dc4",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0fadf7d17e721375e1d554033c050a0f4e1b2ccc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0fadf7d17e721375e1d554033c050a0f4e1b2ccc",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5c0030f5868f8c18390ca9db4af7defa03631dc4 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20559) 
   * 0fadf7d17e721375e1d554033c050a0f4e1b2ccc UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 546eb9257a0b64a4d965b457173b3c08cde58251 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663918205



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       Yeah - this is why I thought maybe caching based on the contents of pom.xml might be a good fit, since the specific testcontainer container versions are defined in there, for example with elasticsearch 7.5.1 https://github.com/apache/flink/blob/1c67df838ad045484f96a5839c324771285d9cf7/flink-connectors/flink-connector-elasticsearch7/pom.xml#L92

##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       Yeah - this is why I thought maybe caching based on the contents of pom.xml might be a good fit, since the specific testcontainer container versions are defined in there: https://github.com/apache/flink/blob/1c67df838ad045484f96a5839c324771285d9cf7/flink-connectors/flink-connector-elasticsearch7/pom.xml#L92

##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       @zentol Yeah, this is why I thought maybe matching on pom.xml might be a good idea since we specify the version of the testcontainers to use within them, for example with elasticsearch 7.5.1: https://github.com/apache/flink/blob/1c67df838ad045484f96a5839c324771285d9cf7/flink-connectors/flink-connector-elasticsearch7/pom.xml#L40




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 657e8de8be44a93b5bec2ac43863064d62955b27 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768) 
   * 0ff177795d6fb3b36e514d0102df23fe61093180 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828) 
   * 964ffaaef082ffc00b971c41c53623824ba7c140 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-874317870


   @zentol I centralised the docker image names/versions into a `TestContainerVersions` class for the tests and the end-to-end tests respectively, and used that as the cache key. I wanted to have each one be a `public static final DockerImageName` to simplify things for the tests that need them, but adding the `testcontainers` dependency to `flink-test-utils` resulted in a build failure:
   
   ```
   Dependency convergence error for net.java.dev.jna:jna:5.2.0 paths to dependency are:
   +-org.apache.flink:flink-test-utils_2.11:1.14-SNAPSHOT
     +-org.testcontainers:testcontainers:1.15.1
       +-org.rnorth.visible-assertions:visible-assertions:2.1.2
         +-net.java.dev.jna:jna:5.2.0
   and
   +-org.apache.flink:flink-test-utils_2.11:1.14-SNAPSHOT
     +-org.testcontainers:testcontainers:1.15.1
       +-com.github.docker-java:docker-java-transport-zerodep:3.2.7
         +-net.java.dev.jna:jna:5.5.0
   ```
   
   Which I'm not entirely sure how best to solve.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20224",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     }, {
       "hash" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20251",
       "triggerID" : "118de16a5a386817bdcd65e0343e5a1d0fab1c2e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20311",
       "triggerID" : "648bc137586f47cbf3d3a1b82ce8bb5500abf075",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20387",
       "triggerID" : "cbb17291f08bb58c8c42476bce764d13a21ded59",
       "triggerType" : "PUSH"
     }, {
       "hash" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388",
       "triggerID" : "71e3588993a5aa55fef8fba2e1c5c2d294eb928c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487",
       "triggerID" : "0c12a59c8e4166df410a712446f11d226f3955b0",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 71e3588993a5aa55fef8fba2e1c5c2d294eb928c Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20388) 
   * 0c12a59c8e4166df410a712446f11d226f3955b0 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=20487) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 964ffaaef082ffc00b971c41c53623824ba7c140 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833) 
   * 718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663032962



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       _Do_ we want to invalidate it? We are likely just extending the list, so anything in the cache at that time is probably still relevant. We'd just extend it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 964ffaaef082ffc00b971c41c53623824ba7c140 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833) 
   * 718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846) 
   * 2221bb12ad60d7566534b3ed14364bc1e7b69b5b Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27200fb45f3c4d9adb3e4c4f1778c374831427e2 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730) 
   * 657e8de8be44a93b5bec2ac43863064d62955b27 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] dawidwys commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
dawidwys commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871213791


   I am sorry I won't be able to review it. However, I wanted to say I am really excited seeing it picked up! Thank you! :partying_face: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol merged pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol merged pull request #16332:
URL: https://github.com/apache/flink/pull/16332


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 657e8de8be44a93b5bec2ac43863064d62955b27 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     }, {
       "hash" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19833",
       "triggerID" : "964ffaaef082ffc00b971c41c53623824ba7c140",
       "triggerType" : "PUSH"
     }, {
       "hash" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19846",
       "triggerID" : "718d13ecfaabf072ef2f7fe9c13a5cf4ef3645ff",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19852",
       "triggerID" : "2221bb12ad60d7566534b3ed14364bc1e7b69b5b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946",
       "triggerID" : "6fbeae06b2487f2c26d447dd2fc11f545c7c30c3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "546eb9257a0b64a4d965b457173b3c08cde58251",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6fbeae06b2487f2c26d447dd2fc11f545c7c30c3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19946) 
   * 546eb9257a0b64a4d965b457173b3c08cde58251 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r668516619



##########
File path: tools/azure-pipelines/cache_docker_images.sh
##########
@@ -0,0 +1,56 @@
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+#
+# To reduce the number of pull requests we make against dockerhub, this script
+# saves the docker images we typically pull during a testing cycle. This typically
+# includes testcontainer images, kafka, elasticearch, etc.
+#
+echo "=============================================================================="
+echo "Caching Testing Docker Images"
+echo "=============================================================================="
+echo ""
+
+if [ -z "$TESTCONTAINER_CACHE_FOLDER" ]
+then
+      echo "\$TESTCONTAINER_CACHE_FOLDER must be set to cache the testing docker images. Exiting"
+      exit 1
+fi
+
+mkdir -p "${TESTCONTAINER_CACHE_FOLDER}"
+
+# This is the pattern that determines which containers we save.
+DOCKER_IMAGE_CACHE_PATTERN="testcontainers|kafka|elasticsearch|postgres|mysql"

Review comment:
       Nothing we need to fix now, but long-term it could be neat to derive this from `TestContainerVersions.java`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-874528369


   you can add a `<dependencyManagement>` entry tor jna to flink-test-utils to resolve that (pick the higher version).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-872884072


   > Do you know why that is?
   
   IIRC we don't want to cache on the alibaba machines because we have a local maven mirror running on them (so it would just waste time).
   
   > Would that make sense as a condition for the docker cache too?
   
   Yes; because the downloaded images should stick around anyway.
   
   But it would be good for @rmetzger to confirm if (eventually).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r664312785



##########
File path: flink-test-utils-parent/flink-test-utils/pom.xml
##########
@@ -116,7 +116,7 @@ under the License.
 			</exclusions>
 		</dependency>
 
-	</dependencies>
+    </dependencies>

Review comment:
       this doesnt seem right

##########
File path: flink-end-to-end-tests/flink-end-to-end-tests-common/src/main/java/org/apache/flink/tests/util/TestContainerVersions.java
##########
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.tests.util;
+
+import org.testcontainers.utility.DockerImageName;
+
+/**
+ * Utility class for defining the image names and versions of Docker containers used during the
+ * end-to-end Java tests. The names/versions are centralised here in order to make testing version
+ * updates easier, as well as to provide a central file to use as a key when caching testing Docker
+ * files.
+ */
+public class TestContainerVersions {
+    public static final DockerImageName KAFKA =

Review comment:
       Why is this using `DockerImageName` while the other class uses plain `String`s?

##########
File path: flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestContainerVersions.java
##########
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.test.util;
+
+/**
+ * Utility class for defining the image names and versions of Docker containers used during the Java
+ * tests. The names/versions are centralised here in order to make testing version updates easier,
+ * as well as to provide a central file to use as a key when caching testing Docker files.
+ */
+public class TestContainerVersions {

Review comment:
       I'd think that this separation into ITCases/E2E tests will be broken pretty quickly; not sure how much we'll really benefit from it.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16332:
URL: https://github.com/apache/flink/pull/16332#issuecomment-871230385


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19730",
       "triggerID" : "27200fb45f3c4d9adb3e4c4f1778c374831427e2",
       "triggerType" : "PUSH"
     }, {
       "hash" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768",
       "triggerID" : "657e8de8be44a93b5bec2ac43863064d62955b27",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828",
       "triggerID" : "0ff177795d6fb3b36e514d0102df23fe61093180",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 657e8de8be44a93b5bec2ac43863064d62955b27 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19768) 
   * 0ff177795d6fb3b36e514d0102df23fe61093180 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=19828) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] zentol commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
zentol commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663962444



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       that's not necessarily the case for other tests though.

##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       I won't object to using the pom files, but it's not a long-term solution.

##########
File path: flink-test-utils-parent/flink-test-utils/pom.xml
##########
@@ -116,7 +116,7 @@ under the License.
 			</exclusions>
 		</dependency>
 
-	</dependencies>
+    </dependencies>

Review comment:
       this doesnt seem right

##########
File path: flink-end-to-end-tests/flink-end-to-end-tests-common/src/main/java/org/apache/flink/tests/util/TestContainerVersions.java
##########
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.tests.util;
+
+import org.testcontainers.utility.DockerImageName;
+
+/**
+ * Utility class for defining the image names and versions of Docker containers used during the
+ * end-to-end Java tests. The names/versions are centralised here in order to make testing version
+ * updates easier, as well as to provide a central file to use as a key when caching testing Docker
+ * files.
+ */
+public class TestContainerVersions {
+    public static final DockerImageName KAFKA =

Review comment:
       Why is this using `DockerImageName` while the other class uses plain `String`s?

##########
File path: flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestContainerVersions.java
##########
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.test.util;
+
+/**
+ * Utility class for defining the image names and versions of Docker containers used during the Java
+ * tests. The names/versions are centralised here in order to make testing version updates easier,
+ * as well as to provide a central file to use as a key when caching testing Docker files.
+ */
+public class TestContainerVersions {

Review comment:
       I'd think that this separation into ITCases/E2E tests will be broken pretty quickly; not sure how much we'll really benefit from it.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] autophagy commented on a change in pull request #16332: [FLINK-22386] Introduce cache for docker images used during testing

Posted by GitBox <gi...@apache.org>.
autophagy commented on a change in pull request #16332:
URL: https://github.com/apache/flink/pull/16332#discussion_r663918205



##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -243,3 +278,9 @@ jobs:
       inputs:
         targetPath: $(DEBUG_FILES_OUTPUT_DIR)
         artifact: logs-${{parameters.stage_name}}-$(DEBUG_FILES_NAME)
+    - script: |
+        mkdir -p $(TESTCONTAINER_CACHE_FOLDER)
+        docker save $(docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -E -- "testcontainers|kafka|elasticsearch|postgres|mysql") -o $(TESTCONTAINER_CACHE_FOLDER)/cache.tar || true

Review comment:
       Yeah - this is why I thought maybe caching based on the contents of pom.xml might be a good fit, since the specific testcontainer container versions are defined in there: https://github.com/apache/flink/blob/1c67df838ad045484f96a5839c324771285d9cf7/flink-connectors/flink-connector-elasticsearch7/pom.xml#L92




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org