[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public

Conversation

Copy link
Contributor

miss-islington commented May 10, 2019

Extended attributes can only be set on user-writeable files, but shutil previously
first chmod()ed the destination file to the source's permissions and then tried to
copy xattrs. This will cause failures if attempting to copy read-only files with
xattrs, as occurs with Git clones on Lustre FS.
(cherry picked from commit 79efbb7)

Co-authored-by: Olexa Bilaniuk obilaniu@users.noreply.github.com

https://bugs.python.org/issue24538

…only files. (PR-13212)

Extended attributes can only be set on user-writeable files, but shutil previously
first chmod()ed the destination file to the source's permissions and then tried to
copy xattrs. This will cause failures if attempting to copy read-only files with
xattrs, as occurs with Git clones on Lustre FS.
(cherry picked from commit 79efbb7)

Co-authored-by: Olexa Bilaniuk <obilaniu@users.noreply.github.com>
Copy link
Contributor Author

@obilaniu and @giampaolo: Status check is done, and it's a failure ❌ .

1 similar comment
Copy link
Contributor Author

@obilaniu and @giampaolo: Status check is done, and it's a failure ❌ .

Copy link
Contributor

Looks like a flaky test

======================================================================
ERROR: test_drain_raises (test.test_asyncio.test_streams.StreamTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\1\s\lib\test\test_asyncio\test_streams.py", line 820, in test_drain_raises
    self.loop.run_until_complete(client(*addr))
  File "D:\a\1\s\lib\asyncio\base_events.py", line 584, in run_until_complete
    return future.result()
  File "D:\a\1\s\lib\test\test_asyncio\test_streams.py", line 810, in client
    await writer.drain()
  File "D:\a\1\s\lib\asyncio\streams.py", line 351, in drain
    await fut
  File "D:\a\1\s\lib\asyncio\selector_events.py", line 860, in write
    n = self._sock.send(data)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

Copy link

@giampaolo: Please replace # with GH- in the commit message next time. Thanks!

miss-islington deleted the backport-79efbb7-3.7 branch May 14, 2019 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants