[
https://issues.apache.org/jira/browse/CASSANDRA-20478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953444#comment-17953444
]
Stefan Miklosovic commented on CASSANDRA-20478:
-----------------------------------------------
Since this is Python-related change, j17 pre-commits are just enough.
[CASSANDRA-20478|https://github.com/instaclustr/cassandra/tree/CASSANDRA-20478]
{noformat}
java17_pre-commit_tests
✓ j17_build 9m 17s
✓ j17_cqlsh_dtests_py311 7m 20s
✓ j17_cqlsh_dtests_py311_vnode 7m 20s
✓ j17_cqlsh_dtests_py38 8m 13s
✓ j17_cqlsh_dtests_py38_vnode 7m 22s
✓ j17_cqlshlib_cython_tests 9m 47s
✓ j17_cqlshlib_tests 11m 50s
✓ j17_dtests_latest 43m 25s
✓ j17_dtests_vnode 42m 59s
✕ j17_dtests 1h 1m 29s
refresh_test.TestRefresh test_refresh_deadlock_startup
pushed_notifications_test.TestPushedNotifications
test_move_single_node_localhost
✕ j17_jvm_dtests 33m 0s
org.apache.cassandra.distributed.test.accord.AccordIncrementalRepairTest
onlyAccordWithForceTest
org.apache.cassandra.fuzz.sai.MultiNodeSAITest indexOnlySaiTest TIMEOUTED
✕ j17_jvm_dtests_latest_vnode 33m 12s
junit.framework.TestSuite
org.apache.cassandra.distributed.test.accord.MigrationFromAccordReadRaceTest
junit.framework.TestSuite
org.apache.cassandra.distributed.test.accord.MigrationFromAccordReadRaceTest
junit.framework.TestSuite
org.apache.cassandra.distributed.test.accord.MigrationFromAccordWriteRaceTest
junit.framework.TestSuite
org.apache.cassandra.distributed.test.accord.MigrationFromAccordWriteRaceTest
org.apache.cassandra.distributed.test.accord.AccordHostReplacementTest
hostReplace
junit.framework.TestSuite
org.apache.cassandra.distributed.test.accord.MigrationToAccordWriteRaceTest
junit.framework.TestSuite
org.apache.cassandra.distributed.test.accord.MigrationToAccordWriteRaceTest
junit.framework.TestSuite
org.apache.cassandra.distributed.test.accord.AccordMigrationTest
junit.framework.TestSuite
org.apache.cassandra.distributed.test.accord.AccordMigrationTest
org.apache.cassandra.fuzz.sai.MultiNodeSAITest indexOnlySaiTest TIMEOUTED
org.apache.cassandra.distributed.test.cql3.MultiNodeTableWalkWithoutReadRepairTest
test
✕ j17_unit_tests 19m 51s
org.apache.cassandra.io.sstable.SSTableReaderTest
testSpannedIndexPositions TIMEOUTED
✕ j17_utests_latest 16m 44s
org.apache.cassandra.db.lifecycle.LogTransactionTest
testStatsTSMismatchDuringStart
org.apache.cassandra.db.lifecycle.LogTransactionTest
testWrongTimestampInTxnFile
org.apache.cassandra.db.lifecycle.LogTransactionTest
testStatsTSMismatchDuringList
✕ j17_utests_oa 19m 39s
org.apache.cassandra.io.sstable.SSTableReaderTest
testSpannedIndexPositions TIMEOUTED
{noformat}
[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/5807/workflows/a695dc28-185f-42ee-81ab-8405e7e6861e]
Failures similar to CASSANDRA-20490
+1
> CQLSH throws an exception loading .cqlshrc on Windows
> -----------------------------------------------------
>
> Key: CASSANDRA-20478
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20478
> Project: Apache Cassandra
> Issue Type: Bug
> Components: CQL/Interpreter
> Reporter: Brad Schoening
> Assignee: Brad Schoening
> Priority: Low
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {quote} File
> "C:\JPMC\DEV\TMP\ds\tools\python3.11\latest\Lib\site-packages\cqlshlib\util.py",
> line 125, in is_file_secure
> uid = os.getuid()
> ^^^^^^^^^
> AttributeError: module 'os' has no attribute 'getuid'. Did you mean: 'getpid'?
> {quote}
> The utility function is_file_secure() calls the function os.getuid() which is
> only implemented on Unix/Linux. See
> [https://docs.python.org/3/library/os.html#os.getuid].
> This can be reproduced by:
> * First, create an empty file on Windows 'foo'
> {quote}python
> >>> from cqlshlib.util import is_file_secure
> >>> is_file_secure('foo')
> {quote}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]