kaxil commented on PR #43331:
URL: https://github.com/apache/airflow/pull/43331#issuecomment-2433584404

   > Strange but prod image verification failed - could be because of some uv 
problem. I re-run it.
   
   Yeah:
   
   ```
   =================================== FAILURES 
===================================
     ___________ TestPythonPackages.test_required_providers_are_installed 
___________
     [gw2] linux -- Python 3.9.20 /tmp/tmplx3z9mmg/.venv/bin/python
     
     self = <docker_tests.test_prod_image.TestPythonPackages object at 
0x7f7ce56bbc70>
     default_docker_image = 
'ghcr.io/apache/airflow/main/prod/python3.9:b4a37f531cf739f8850e9795bab1473ebef212fd'
     
         def test_required_providers_are_installed(self, default_docker_image):
             if os.environ.get("TEST_SLIM_IMAGE"):
                 packages_to_install = set(SLIM_IMAGE_PROVIDERS)
                 package_file = "hatch_build.py"
             else:
                 packages_to_install = set(REGULAR_IMAGE_PROVIDERS)
                 package_file = PROD_IMAGE_PROVIDERS_FILE_PATH
             assert len(packages_to_install) != 0
             output = run_bash_in_docker("airflow providers list --output 
json", image=default_docker_image)
     >       providers = json.loads(output)
     
     docker_tests/test_prod_image.py:94: 
     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
     /opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/json/__init__.py:346: 
in loads
         return _default_decoder.decode(s)
     /opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/json/decoder.py:337: 
in decode
         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
     
     self = <json.decoder.JSONDecoder object at 0x7f7ce715b6d0>
     s = '[2024-10-23T21:52:00.010+0000] {configuration.py:994} WARNING - 
section/key [core/asset_manager_kwargs] not found in ...kage_name": 
"apache-airflow-providers-standard", "description": "Airflow Standard 
Provider", "version": "1.0.0.dev0"}]'
     idx = 0
     
         def raw_decode(self, s, idx=0):
             """Decode a JSON document from ``s`` (a ``str`` beginning with
             a JSON document) and return a 2-tuple of the Python
             representation and the index in ``s`` where the document ended.
         
             This can be used to decode a JSON document from a string that may
             have extraneous data at the end.
         
             """
             try:
     >           obj, end = self.scan_once(s, idx)
     E           json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 
column 6 (char 5)
     
     /opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/json/decoder.py:353: 
JSONDecodeError
     =========================== short test summary info 
============================
     FAILED 
docker_tests/test_prod_image.py::TestPythonPackages::test_required_providers_are_installed
 - json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 6 (char 
5)
   ```


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