Bowrna commented on pull request #21145:
URL: https://github.com/apache/airflow/pull/21145#issuecomment-1033478451


   @potiuk I tried running build-ci-image command with Breeze2 and I get the 
following error. Is there any change that I missed to incorporate ?
   
   ```
   (airflow-env) sathishkannan@Sathishs-MacBook-Air airflow % ./Breeze2 
build-ci-image
   [+] Building 0.8s (3/3) FINISHED
    => [internal] load build definition from Dockerfile.ci                      
                                                                                
                                          0.0s
    => => transferring dockerfile: 41B                                          
                                                                                
                                          0.0s
    => [internal] load .dockerignore                                            
                                                                                
                                          0.0s
    => => transferring context: 35B                                             
                                                                                
                                          0.0s
    => ERROR [internal] load metadata for 
ghcr.io/apache/airflow/main/python:3.7-slim-buster                              
                                                                                
0.7s
   ------
    > [internal] load metadata for 
ghcr.io/apache/airflow/main/python:3.7-slim-buster:
   ------
   failed to solve with frontend dockerfile.v0: failed to create LLB 
definition: failed to authorize: rpc error: code = Unknown desc = failed to 
fetch anonymous token: unexpected status: 403 Forbidden
   ========================= OUTPUT start ============================
   None
   None
   ========================= OUTPUT end ============================
   Traceback (most recent call last):
     File "/Users/sathishkannan/code/airflow/.build/breeze2/venv/bin/Breeze2", 
line 33, in <module>
       sys.exit(load_entry_point('apache-airflow-breeze', 'console_scripts', 
'Breeze2')())
     File 
"/Users/sathishkannan/code/airflow/.build/breeze2/venv/lib/python3.8/site-packages/click/core.py",
 line 1128, in __call__
       return self.main(*args, **kwargs)
     File 
"/Users/sathishkannan/code/airflow/.build/breeze2/venv/lib/python3.8/site-packages/click/core.py",
 line 1053, in main
       rv = self.invoke(ctx)
     File 
"/Users/sathishkannan/code/airflow/.build/breeze2/venv/lib/python3.8/site-packages/click/core.py",
 line 1659, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
     File 
"/Users/sathishkannan/code/airflow/.build/breeze2/venv/lib/python3.8/site-packages/click/core.py",
 line 1395, in invoke
       return ctx.invoke(self.callback, **ctx.params)
     File 
"/Users/sathishkannan/code/airflow/.build/breeze2/venv/lib/python3.8/site-packages/click/core.py",
 line 754, in invoke
       return __callback(*args, **kwargs)
     File 
"/Users/sathishkannan/code/airflow/dev/breeze/src/airflow_breeze/breeze.py", 
line 245, in build_ci_image
       build_image(
     File 
"/Users/sathishkannan/code/airflow/dev/breeze/src/airflow_breeze/ci/build_image.py",
 line 96, in build_image
       output = run_command(cmd, verbose=verbose, text=True)
     File 
"/Users/sathishkannan/code/airflow/dev/breeze/src/airflow_breeze/utils/run_utils.py",
 line 45, in run_command
       return subprocess.run(cmd, check=check, **kwargs)
     File 
"/Users/sathishkannan/.pyenv/versions/3.8.10/lib/python3.8/subprocess.py", line 
516, in run
       raise CalledProcessError(retcode, process.args,
   subprocess.CalledProcessError: Command '['docker', 'build', '--build-arg', 
'PYTHON_BASE_IMAGE=ghcr.io/apache/airflow/main/python:3.7-slim-buster', 
'--build-arg', 'AIRFLOW_VERSION=2.3.0.dev0', '--build-arg', 
'AIRFLOW_BRANCH=main', '--build-arg', 'AIRFLOW_EXTRAS=devel_ci', '--build-arg', 
'AIRFLOW_PRE_CACHED_PIP_PACKAGES=true', '--build-arg', 
'ADDITIONAL_AIRFLOW_EXTRAS=', '--build-arg', 'ADDITIONAL_PYTHON_DEPS=', 
'--build-arg', 'ADDITIONAL_DEV_APT_COMMAND=', '--build-arg', 
'ADDITIONAL_DEV_APT_DEPS=', '--build-arg', 'ADDITIONAL_DEV_APT_ENV=', 
'--build-arg', 'ADDITIONAL_RUNTIME_APT_COMMAND=', '--build-arg', 
'ADDITIONAL_RUNTIME_APT_DEPS=', '--build-arg', 'ADDITIONAL_RUNTIME_APT_ENV=', 
'--build-arg', 'UPGRADE_TO_NEWER_DEPENDENCIES=false', '--build-arg', 
'CONSTRAINTS_GITHUB_REPOSITORY=apache/airflow', '--build-arg', 
'AIRFLOW_CONSTRAINTS_REFERENCE=constraints-main', '--build-arg', 
'AIRFLOW_CONSTRAINTS=constraints-source-providers', '--build-arg', 
'AIRFLOW_IMAGE_REPOSITORY=https://github.co
 m/apache/airflow', '--build-arg', 
'AIRFLOW_IMAGE_DATE_CREATED=2022-02-09T13:50:13Z', '--build-arg', 'BUILD_ID=0', 
'--build-arg', 'COMMIT_SHA=ebf760871470446fb5e0cd58edf8fec32547e65e', 
'--cache-from', 'ghcr.io/apache/airflow/main/ci/python3.7:latest', '-t', 
'ghcr.io/apache/airflow/main/ci/python3.7:latest', '--target', 'main', '.', 
'-f', '/Users/sathishkannan/code/airflow/Dockerfile.ci']' returned non-zero 
exit status 1.
   (airflow-env) sathishkannan@Sathishs-MacBook-Air airflow %
   ```


-- 
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