hboutemy opened a new issue, #1345:
URL: https://github.com/apache/tooling-trusted-releases/issues/1345
when doing Maven Parent POMs 49 release after Apache Parent 39, I got a 500
error because they both publish to the same "Download Path Suffix" (#1344 )
Sharing the same download path is a very common pattern in Maven: this is a
scenario we'll need to have support for (or know that we need to change our
whole downloads are structure)
cc @sjaranowski @cstamas
= `Request ID: 0dd279be-ccb7-4356-8f01-02d0ad4284bb`
```
Traceback (most recent call last):
File "/opt/atr/.venv/lib/python3.13/site-packages/quart/app.py", line
1500, in full_dispatch_request
result = await self.dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/atr/.venv/lib/python3.13/site-packages/quart/app.py", line
1597, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type:
ignore[return-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/atr/.venv/lib/python3.13/site-packages/asfquart/auth.py", line
143, in require_wrapper
return await original_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/atr/atr/blueprints/post.py", line 86, in wrapper
response = await func(enhanced_session, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/atr/atr/post/announce.py", line 107, in selected
await warm.announce.release(
...<11 lines>...
)
File "/opt/atr/atr/storage/writers/announce.py", line 278, in release
await self.__hard_link_downloads(
...<4 lines>...
)
File "/opt/atr/atr/storage/writers/announce.py", line 492, in
__hard_link_downloads
await util.create_hard_link_clone(
...<5 lines>...
)
File "/opt/atr/atr/util.py", line 452, in create_hard_link_clone
await _create_hard_link_clone_checks(source_dir, dest_dir,
do_not_create_dest_dir, exist_ok, dry_run)
File "/opt/atr/atr/util.py", line 1554, in _create_hard_link_clone_checks
await aiofiles.os.makedirs(dest_dir, exist_ok=exist_ok)
File "/opt/atr/.venv/lib/python3.13/site-packages/aiofiles/base.py", line
13, in run
return await loop.run_in_executor(executor, pfunc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in
run
result = self.fn(*self.args, **self.kwargs)
File "<frozen os>", line 228, in makedirs
FileExistsError: [Errno 17] File exists: '/opt/atr/state/downloads/maven/pom'
```
--
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]