[jira] [Commented] (CASSANDRA-16781) Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)

2021-07-03 Thread Michael Semb Wever (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-16781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17373974#comment-17373974
 ] 

Michael Semb Wever commented on CASSANDRA-16781:


4.0.0 needed another fix… (CI above updated)

> Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)
> ---
>
> Key: CASSANDRA-16781
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16781
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0.x, 4.x
>
>
> {noformat}
> Regression
> dtest-upgrade.upgrade_tests.paging_test.TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x.test_static_columns_paging
>  (from Cassandra dtests)
> Failing for the past 1 build (Since Unstable#116 )
> Took 46 sec.
>  Failed 1 times in the last 29 runs. Flakiness: 3%, Stability: 96%
> Error Message
> TypeError: '<' not supported between instances of 'str' and 'int'
> Stacktrace
> self =  object at 0x7f5ff1817c10>
> @since('2.0.6')
> def test_static_columns_paging(self):
> """
> Exercises paging with static columns to detect bugs
> @jira_ticket CASSANDRA-8502.
> """
> cursor = self.prepare(row_factory=named_tuple_factory)
> cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int 
> static, s2 int static, PRIMARY KEY (a, b))")
> 
> for is_upgraded, cursor in self.do_upgrade(cursor, 
> row_factory=named_tuple_factory):
> >   min_version = min(self.get_node_versions())
> upgrade_tests/paging_test.py:661: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.8/distutils/version.py:52: in __lt__
> c = self._cmp(other)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = LooseVersion ('4.0-rc1'), other = LooseVersion ('4.0.1')
> def _cmp (self, other):
> if isinstance(other, str):
> other = LooseVersion(other)
> 
> if self.version == other.version:
> return 0
> >   if self.version < other.version:
> E   TypeError: '<' not supported between instances of 'str' and 'int'
> /usr/lib/python3.8/distutils/version.py:337: TypeError
> {noformat}
> from 
> https://ci-cassandra.apache.org/job/Cassandra-4.0/116/testReport/junit/dtest-upgrade.upgrade_tests.paging_test/TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x/test_static_columns_paging/
>  
> ref: https://the-asf.slack.com/archives/CK23JSY2K/p1625125464283300 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-16781) Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)

2021-07-02 Thread Berenguer Blasi (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-16781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17373432#comment-17373432
 ] 

Berenguer Blasi commented on CASSANDRA-16781:
-

Just checked and lgmt except for the fact the 4.0.0 CI run is unfortunately a 
4.0 in fact. So +1 assuming a successful and correct 4.0.0 run.

> Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)
> ---
>
> Key: CASSANDRA-16781
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16781
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0.x, 4.x
>
>
> {noformat}
> Regression
> dtest-upgrade.upgrade_tests.paging_test.TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x.test_static_columns_paging
>  (from Cassandra dtests)
> Failing for the past 1 build (Since Unstable#116 )
> Took 46 sec.
>  Failed 1 times in the last 29 runs. Flakiness: 3%, Stability: 96%
> Error Message
> TypeError: '<' not supported between instances of 'str' and 'int'
> Stacktrace
> self =  object at 0x7f5ff1817c10>
> @since('2.0.6')
> def test_static_columns_paging(self):
> """
> Exercises paging with static columns to detect bugs
> @jira_ticket CASSANDRA-8502.
> """
> cursor = self.prepare(row_factory=named_tuple_factory)
> cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int 
> static, s2 int static, PRIMARY KEY (a, b))")
> 
> for is_upgraded, cursor in self.do_upgrade(cursor, 
> row_factory=named_tuple_factory):
> >   min_version = min(self.get_node_versions())
> upgrade_tests/paging_test.py:661: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.8/distutils/version.py:52: in __lt__
> c = self._cmp(other)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = LooseVersion ('4.0-rc1'), other = LooseVersion ('4.0.1')
> def _cmp (self, other):
> if isinstance(other, str):
> other = LooseVersion(other)
> 
> if self.version == other.version:
> return 0
> >   if self.version < other.version:
> E   TypeError: '<' not supported between instances of 'str' and 'int'
> /usr/lib/python3.8/distutils/version.py:337: TypeError
> {noformat}
> from 
> https://ci-cassandra.apache.org/job/Cassandra-4.0/116/testReport/junit/dtest-upgrade.upgrade_tests.paging_test/TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x/test_static_columns_paging/
>  
> ref: https://the-asf.slack.com/archives/CK23JSY2K/p1625125464283300 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-16781) Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)

2021-07-02 Thread Michael Semb Wever (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-16781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17373307#comment-17373307
 ] 

Michael Semb Wever commented on CASSANDRA-16781:


bq. upgrade_tests/upgrade_through_versions_test.py broke a test in trunk. 
working on it…

Looks to be a flaky, ignoring it for now.

> Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)
> ---
>
> Key: CASSANDRA-16781
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16781
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0.x, 4.x
>
>
> {noformat}
> Regression
> dtest-upgrade.upgrade_tests.paging_test.TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x.test_static_columns_paging
>  (from Cassandra dtests)
> Failing for the past 1 build (Since Unstable#116 )
> Took 46 sec.
>  Failed 1 times in the last 29 runs. Flakiness: 3%, Stability: 96%
> Error Message
> TypeError: '<' not supported between instances of 'str' and 'int'
> Stacktrace
> self =  object at 0x7f5ff1817c10>
> @since('2.0.6')
> def test_static_columns_paging(self):
> """
> Exercises paging with static columns to detect bugs
> @jira_ticket CASSANDRA-8502.
> """
> cursor = self.prepare(row_factory=named_tuple_factory)
> cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int 
> static, s2 int static, PRIMARY KEY (a, b))")
> 
> for is_upgraded, cursor in self.do_upgrade(cursor, 
> row_factory=named_tuple_factory):
> >   min_version = min(self.get_node_versions())
> upgrade_tests/paging_test.py:661: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.8/distutils/version.py:52: in __lt__
> c = self._cmp(other)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = LooseVersion ('4.0-rc1'), other = LooseVersion ('4.0.1')
> def _cmp (self, other):
> if isinstance(other, str):
> other = LooseVersion(other)
> 
> if self.version == other.version:
> return 0
> >   if self.version < other.version:
> E   TypeError: '<' not supported between instances of 'str' and 'int'
> /usr/lib/python3.8/distutils/version.py:337: TypeError
> {noformat}
> from 
> https://ci-cassandra.apache.org/job/Cassandra-4.0/116/testReport/junit/dtest-upgrade.upgrade_tests.paging_test/TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x/test_static_columns_paging/
>  
> ref: https://the-asf.slack.com/archives/CK23JSY2K/p1625125464283300 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-16781) Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)

2021-07-01 Thread Michael Semb Wever (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-16781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17373066#comment-17373066
 ] 

Michael Semb Wever commented on CASSANDRA-16781:


{{upgrade_tests/upgrade_through_versions_test.py}} [broke a test in 
trunk|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest-upgrade/396/label=cassandra-dtest,split=1/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_rolling_upgrade/].
 working on it…

> Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)
> ---
>
> Key: CASSANDRA-16781
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16781
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0.x, 4.x
>
>
> {noformat}
> Regression
> dtest-upgrade.upgrade_tests.paging_test.TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x.test_static_columns_paging
>  (from Cassandra dtests)
> Failing for the past 1 build (Since Unstable#116 )
> Took 46 sec.
>  Failed 1 times in the last 29 runs. Flakiness: 3%, Stability: 96%
> Error Message
> TypeError: '<' not supported between instances of 'str' and 'int'
> Stacktrace
> self =  object at 0x7f5ff1817c10>
> @since('2.0.6')
> def test_static_columns_paging(self):
> """
> Exercises paging with static columns to detect bugs
> @jira_ticket CASSANDRA-8502.
> """
> cursor = self.prepare(row_factory=named_tuple_factory)
> cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int 
> static, s2 int static, PRIMARY KEY (a, b))")
> 
> for is_upgraded, cursor in self.do_upgrade(cursor, 
> row_factory=named_tuple_factory):
> >   min_version = min(self.get_node_versions())
> upgrade_tests/paging_test.py:661: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.8/distutils/version.py:52: in __lt__
> c = self._cmp(other)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = LooseVersion ('4.0-rc1'), other = LooseVersion ('4.0.1')
> def _cmp (self, other):
> if isinstance(other, str):
> other = LooseVersion(other)
> 
> if self.version == other.version:
> return 0
> >   if self.version < other.version:
> E   TypeError: '<' not supported between instances of 'str' and 'int'
> /usr/lib/python3.8/distutils/version.py:337: TypeError
> {noformat}
> from 
> https://ci-cassandra.apache.org/job/Cassandra-4.0/116/testReport/junit/dtest-upgrade.upgrade_tests.paging_test/TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x/test_static_columns_paging/
>  
> ref: https://the-asf.slack.com/archives/CK23JSY2K/p1625125464283300 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-16781) Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)

2021-07-01 Thread Michael Semb Wever (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-16781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17372865#comment-17372865
 ] 

Michael Semb Wever commented on CASSANDRA-16781:


A number of dtests do {{'…  >= CASSANDRA_4_0 '}} comparisons.

I've updated the patch so the cassandra-4.0.0 branch is the {{CASSANDRA_4_0}} 
version family, and the cassandra-4.0 branch is the {{CASSANDRA_4_0_X}} version 
family, so that {{'CASSANDRA_4_0_X  >= CASSANDRA_4_0 '}}.

CI
- 4.0.0 
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest-upgrade/391/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest-upgrade/391/]
- 4.0 
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest-upgrade/391/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest-upgrade/392/]
- trunk 
[!https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest-upgrade/391/badge/icon!|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest-upgrade/393/]

> Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)
> ---
>
> Key: CASSANDRA-16781
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16781
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0.x
>
>
> {noformat}
> Regression
> dtest-upgrade.upgrade_tests.paging_test.TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x.test_static_columns_paging
>  (from Cassandra dtests)
> Failing for the past 1 build (Since Unstable#116 )
> Took 46 sec.
>  Failed 1 times in the last 29 runs. Flakiness: 3%, Stability: 96%
> Error Message
> TypeError: '<' not supported between instances of 'str' and 'int'
> Stacktrace
> self =  object at 0x7f5ff1817c10>
> @since('2.0.6')
> def test_static_columns_paging(self):
> """
> Exercises paging with static columns to detect bugs
> @jira_ticket CASSANDRA-8502.
> """
> cursor = self.prepare(row_factory=named_tuple_factory)
> cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int 
> static, s2 int static, PRIMARY KEY (a, b))")
> 
> for is_upgraded, cursor in self.do_upgrade(cursor, 
> row_factory=named_tuple_factory):
> >   min_version = min(self.get_node_versions())
> upgrade_tests/paging_test.py:661: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.8/distutils/version.py:52: in __lt__
> c = self._cmp(other)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = LooseVersion ('4.0-rc1'), other = LooseVersion ('4.0.1')
> def _cmp (self, other):
> if isinstance(other, str):
> other = LooseVersion(other)
> 
> if self.version == other.version:
> return 0
> >   if self.version < other.version:
> E   TypeError: '<' not supported between instances of 'str' and 'int'
> /usr/lib/python3.8/distutils/version.py:337: TypeError
> {noformat}
> from 
> https://ci-cassandra.apache.org/job/Cassandra-4.0/116/testReport/junit/dtest-upgrade.upgrade_tests.paging_test/TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x/test_static_columns_paging/
>  
> ref: https://the-asf.slack.com/archives/CK23JSY2K/p1625125464283300 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-16781) Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)

2021-07-01 Thread Brandon Williams (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-16781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17372750#comment-17372750
 ] 

Brandon Williams commented on CASSANDRA-16781:
--

CI is looking good, +1 assuming it continues.

> Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)
> ---
>
> Key: CASSANDRA-16781
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16781
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0.x
>
>
> {noformat}
> Regression
> dtest-upgrade.upgrade_tests.paging_test.TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x.test_static_columns_paging
>  (from Cassandra dtests)
> Failing for the past 1 build (Since Unstable#116 )
> Took 46 sec.
>  Failed 1 times in the last 29 runs. Flakiness: 3%, Stability: 96%
> Error Message
> TypeError: '<' not supported between instances of 'str' and 'int'
> Stacktrace
> self =  object at 0x7f5ff1817c10>
> @since('2.0.6')
> def test_static_columns_paging(self):
> """
> Exercises paging with static columns to detect bugs
> @jira_ticket CASSANDRA-8502.
> """
> cursor = self.prepare(row_factory=named_tuple_factory)
> cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int 
> static, s2 int static, PRIMARY KEY (a, b))")
> 
> for is_upgraded, cursor in self.do_upgrade(cursor, 
> row_factory=named_tuple_factory):
> >   min_version = min(self.get_node_versions())
> upgrade_tests/paging_test.py:661: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.8/distutils/version.py:52: in __lt__
> c = self._cmp(other)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = LooseVersion ('4.0-rc1'), other = LooseVersion ('4.0.1')
> def _cmp (self, other):
> if isinstance(other, str):
> other = LooseVersion(other)
> 
> if self.version == other.version:
> return 0
> >   if self.version < other.version:
> E   TypeError: '<' not supported between instances of 'str' and 'int'
> /usr/lib/python3.8/distutils/version.py:337: TypeError
> {noformat}
> from 
> https://ci-cassandra.apache.org/job/Cassandra-4.0/116/testReport/junit/dtest-upgrade.upgrade_tests.paging_test/TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x/test_static_columns_paging/
>  
> ref: https://the-asf.slack.com/archives/CK23JSY2K/p1625125464283300 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-16781) Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)

2021-07-01 Thread Michael Semb Wever (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-16781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17372726#comment-17372726
 ] 

Michael Semb Wever commented on CASSANDRA-16781:


patch 
https://github.com/apache/cassandra-dtest/compare/trunk...thelastpickle:mck/16781
 

> Fix upgrade dtests (after cassandra-4.0 branch bumped to 4.0.1)
> ---
>
> Key: CASSANDRA-16781
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16781
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/dtest/python
>Reporter: Michael Semb Wever
>Assignee: Michael Semb Wever
>Priority: Normal
> Fix For: 4.0.x
>
>
> {noformat}
> Regression
> dtest-upgrade.upgrade_tests.paging_test.TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x.test_static_columns_paging
>  (from Cassandra dtests)
> Failing for the past 1 build (Since Unstable#116 )
> Took 46 sec.
>  Failed 1 times in the last 29 runs. Flakiness: 3%, Stability: 96%
> Error Message
> TypeError: '<' not supported between instances of 'str' and 'int'
> Stacktrace
> self =  object at 0x7f5ff1817c10>
> @since('2.0.6')
> def test_static_columns_paging(self):
> """
> Exercises paging with static columns to detect bugs
> @jira_ticket CASSANDRA-8502.
> """
> cursor = self.prepare(row_factory=named_tuple_factory)
> cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int 
> static, s2 int static, PRIMARY KEY (a, b))")
> 
> for is_upgraded, cursor in self.do_upgrade(cursor, 
> row_factory=named_tuple_factory):
> >   min_version = min(self.get_node_versions())
> upgrade_tests/paging_test.py:661: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.8/distutils/version.py:52: in __lt__
> c = self._cmp(other)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self = LooseVersion ('4.0-rc1'), other = LooseVersion ('4.0.1')
> def _cmp (self, other):
> if isinstance(other, str):
> other = LooseVersion(other)
> 
> if self.version == other.version:
> return 0
> >   if self.version < other.version:
> E   TypeError: '<' not supported between instances of 'str' and 'int'
> /usr/lib/python3.8/distutils/version.py:337: TypeError
> {noformat}
> from 
> https://ci-cassandra.apache.org/job/Cassandra-4.0/116/testReport/junit/dtest-upgrade.upgrade_tests.paging_test/TestPagingDataNodes2RF1_Upgrade_current_4_0_x_To_indev_4_0_x/test_static_columns_paging/
>  
> ref: https://the-asf.slack.com/archives/CK23JSY2K/p1625125464283300 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org