rtpsw commented on PR #14352:
URL: https://github.com/apache/arrow/pull/14352#issuecomment-1328903910

   > > [This CI job 
failure](https://github.com/apache/arrow/actions/runs/3508636996/jobs/5877179392)
 may be related to the recent commit, though I can't think of which change 
could have caused it. How to set up an environment to try to reproduce it? Or 
perhaps there is a way to grab the core dump or raw log file?
   > 
   > I see the [same 
failure](https://github.com/apache/arrow/actions/runs/3557952039/jobs/5976291103)
 for the latest commit, so same questions.
   
   I followed up on the [job's 
workflow](https://github.com/apache/arrow/actions/runs/3563106934/workflow) and 
found [the command `archery docker run 
java-jni-manylinux-2014`](https://github.com/apache/arrow/actions/runs/3563106934/workflow#L77)
  but on my machine this runs into errors I don't know how to deal with:
   ```
   (venv) tscontract@palm:/mnt/user1/tscontract/github/rtpsw/arrow$  archery 
docker run java-jni-manylinux-2014
   Traceback (most recent call last):
     File "/mnt/user1/tscontract/venv/bin/archery", line 33, in <module>
       sys.exit(load_entry_point('archery', 'console_scripts', 'archery')())
     File 
"/mnt/user1/tscontract/venv/lib/python3.10/site-packages/click/core.py", line 
1130, in __call__
       return self.main(*args, **kwargs)
     File 
"/mnt/user1/tscontract/venv/lib/python3.10/site-packages/click/core.py", line 
1055, in main
       rv = self.invoke(ctx)
     File 
"/mnt/user1/tscontract/venv/lib/python3.10/site-packages/click/core.py", line 
1657, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
     File 
"/mnt/user1/tscontract/venv/lib/python3.10/site-packages/click/core.py", line 
1654, in invoke
       super().invoke(ctx)
     File 
"/mnt/user1/tscontract/venv/lib/python3.10/site-packages/click/core.py", line 
1404, in invoke
       return ctx.invoke(self.callback, **ctx.params)
     File 
"/mnt/user1/tscontract/venv/lib/python3.10/site-packages/click/core.py", line 
760, in invoke
       return __callback(*args, **kwargs)
     File 
"/mnt/user1/tscontract/venv/lib/python3.10/site-packages/click/decorators.py", 
line 26, in new_func
       return f(get_current_context(), *args, **kwargs)
     File 
"/mnt/user1/tscontract/github/rtpsw/arrow/dev/archery/archery/docker/cli.py", 
line 67, in docker
       compose = DockerCompose(config_path, params=os.environ)
     File 
"/mnt/user1/tscontract/github/rtpsw/arrow/dev/archery/archery/docker/core.py", 
line 169, in __init__
       self.config = ComposeConfig(config_path, dotenv_path, compose_bin,
     File 
"/mnt/user1/tscontract/github/rtpsw/arrow/dev/archery/archery/docker/core.py", 
line 68, in __init__
       self._read_config(config_path, compose_bin)
     File 
"/mnt/user1/tscontract/github/rtpsw/arrow/dev/archery/archery/docker/core.py", 
line 136, in _read_config
       raise ValueError(
   ValueError: Found errors with docker-compose:
    - /snap/docker/2285/lib/python3.6/site-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python 
core team. Therefore, support for it is deprecated in cryptography and will be 
removed in a future release.
    -   from cryptography.hazmat.backends import default_backend
    - Traceback (most recent call last):
    -   File "/snap/docker/2285/bin/docker-compose", line 33, in <module>
    -     sys.exit(load_entry_point('docker-compose==1.29.2', 
'console_scripts', 'docker-compose')())
    -   File 
"/snap/docker/2285/lib/python3.6/site-packages/compose/cli/main.py", line 81, 
in main
    -     command_func()
    -   File 
"/snap/docker/2285/lib/python3.6/site-packages/compose/cli/main.py", line 197, 
in perform_command
    -     handler(command, command_options)
    -   File 
"/snap/docker/2285/lib/python3.6/site-packages/compose/metrics/decorator.py", 
line 18, in wrapper
    -     result = fn(*args, **kwargs)
    -   File 
"/snap/docker/2285/lib/python3.6/site-packages/compose/cli/main.py", line 404, 
in config
    -     compose_config = get_config_from_options('.', self.toplevel_options, 
additional_options)
    -   File 
"/snap/docker/2285/lib/python3.6/site-packages/compose/cli/command.py", line 
104, in get_config_from_options
    -     environment = Environment.from_env_file(override_dir or base_dir, 
environment_file)
    -   File 
"/snap/docker/2285/lib/python3.6/site-packages/compose/config/environment.py", 
line 67, in from_env_file
    -     instance = _initialize()
    -   File 
"/snap/docker/2285/lib/python3.6/site-packages/compose/config/environment.py", 
line 62, in _initialize
    -     return cls(env_vars_from_file(env_file_path))
    -   File 
"/snap/docker/2285/lib/python3.6/site-packages/compose/config/environment.py", 
line 38, in env_vars_from_file
    -     env = dotenv.dotenv_values(dotenv_path=filename, 
encoding='utf-8-sig', interpolate=interpolate)
    -   File "/snap/docker/2285/lib/python3.6/site-packages/dotenv/main.py", 
line 372, in dotenv_values
    -     encoding=encoding,
    -   File "/snap/docker/2285/lib/python3.6/site-packages/dotenv/main.py", 
line 74, in dict
    -     self._dict = OrderedDict(resolve_variables(raw_values, 
override=self.override))
    -   File "/snap/docker/2285/lib/python3.6/site-packages/dotenv/main.py", 
line 231, in resolve_variables
    -     for (name, value) in values:
    -   File "/snap/docker/2285/lib/python3.6/site-packages/dotenv/main.py", 
line 81, in parse
    -     with self._get_stream() as stream:
    -   File "/snap/docker/2285/usr/lib/python3.6/contextlib.py", line 81, in 
__enter__
    -     return next(self.gen)
    -   File "/snap/docker/2285/lib/python3.6/site-packages/dotenv/main.py", 
line 54, in _get_stream
    -     with io.open(self.dotenv_path, encoding=self.encoding) as stream:
    - PermissionError: [Errno 13] Permission denied: 
'/mnt/user1/tscontract/github/rtpsw/arrow/.env'
   ```


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