[ https://issues.apache.org/jira/browse/CASSANDRA-17730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17565105#comment-17565105 ]
Brandon Williams commented on CASSANDRA-17730: ---------------------------------------------- Our use of disutils to copy the tree here is probably because shutil's copytree doesn't allow directories to exist until python [3.8|https://docs.python.org/3/whatsnew/3.8.html#shutil], and we aren't controlling the disutils version so it's likely different on Circle. [Here|https://github.com/driftx/cassandra-dtest/tree/CASSANDRA-17730]'s a patch to use our own copytree instead (with shutil under the hood) and it passes [100 runs on circle|https://app.circleci.com/pipelines/github/driftx/cassandra/541/workflows/ceb21b73-91fc-42ce-81fc-8bfc76e33b75/jobs/6509]. > ttl_test.py::TestRecoverNegativeExpirationDate::test_recover_negative_expiration_date_sstables_with_scrub > failing on CircleCI > ----------------------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-17730 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17730 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest/python > Reporter: Caleb Rackliffe > Assignee: Brandon Williams > Priority: Normal > Fix For: 4.0.x, 4.1-rc, 4.x > > > It doesn’t appear on Butler, but on 4.0, 4.1, and trunk, > {{ttl_test.py::TestRecoverNegativeExpirationDate.test_recover_negative_expiration_date_sstables_with_scrub}} > is failing in {{copy_tree}} w/ a {{DistutilsFileError}}. > {noformat} > if not dry_run and not os.path.isdir(src): > raise DistutilsFileError( > > "cannot copy tree '%s': not a directory" % src) > E distutils.errors.DistutilsFileError: cannot copy tree > 'sstables/ttl_test/3.11': not a directory > /usr/lib/python3.6/distutils/dir_util.py:127: DistutilsFileError > {noformat} > See > https://app.circleci.com/pipelines/github/maedhroz/cassandra?branch=CASSANDRA-17706-4.0-CircleCI&filter=all > (This is just vanilla cassandra-4.0 w/ HIGHRES CircleCI settings.) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org