shunping commented on issue #28339:
URL: https://github.com/apache/beam/issues/28339#issuecomment-3582571987

   The error messages are as follows:
   
   ```
   Error response from daemon: No such image: apache/beam_java11_sdk:2.70.0.dev
   
   > Task :runners:google-cloud-dataflow-java:buildAndPushDockerJavaContainer 
FAILED
   ...
   Error response from daemon: No such image: 
apache/beam_python3.10_sdk:2.70.0.dev
   
   > Task :runners:google-cloud-dataflow-java:buildAndPushDockerPythonContainer 
FAILED
   ...
   
   ```
   Inspired by the comment from @aIbrahiim 
(https://github.com/apache/beam/issues/30519#issuecomment-3410418854), I 
checked one of the logs  
(https://github.com/apache/beam/actions/runs/19256233324/job/55051214218) and 
saw the warning message below before both python and java docker tasks failed. 
I suspect it could be the reason:
   
   ```
   WARNING: No output specified with docker-container driver. Build result will 
only remain in the build cache. To push result image into registry use --push 
or to load image into docker use --load
   ```
   
   It seems that we haven't specified load or push in our docker command, aka, 
the python and java docker container settings in the following places are false.
   
   
https://github.com/apache/beam/blob/2ffd443b98689f4d7aac05a5173f3d24a3b6b9fd/sdks/java/container/common.gradle#L116-L119
   
   
https://github.com/apache/beam/blob/2ffd443b98689f4d7aac05a5173f3d24a3b6b9fd/sdks/python/container/common.gradle#L125-L128
   
   
   I put up PR #36909 to test the theory and the test seems to get past the 
docker building/pushing step and start to run: 
https://github.com/apache/beam/actions/runs/19711905625/job/56474515774?pr=36909


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to