[
https://issues.apache.org/jira/browse/CASSANDRA-14298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16488331#comment-16488331
]
Patrick Bannister commented on CASSANDRA-14298:
-----------------------------------------------
I switched to CentOS instead of RHEL, since RHEL requires a license to get
access to the packages for many of the C* dependencies.
Things look okay for the dtests on CentOS for these modifications using
LC_CTYPE=en_US.utf8. That includes the cqlshlib port to Pyfhon 3 too.
There are some extensive failures for the cqlshlib unittests in CentOS.
cqlshlib/test/run_cqlsh.py::ProcRunner::read_until() can't handle ANSI control
characters for colors in the prompt. I was able to modify the regular
expression to handle the escape sequences, and with that change, the tests
pass. But I won't be happy with that solution until I figure out why these
escape characters are showing up in CentOS but not in my usual Ubuntu
environment. The inputrc and bashrc files are a bit different, but I haven't
figured out yet which difference, if any, is making the CentOS cqlsh prompt
include colors.
> cqlshlib tests broken on b.a.o
> ------------------------------
>
> Key: CASSANDRA-14298
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14298
> Project: Cassandra
> Issue Type: Bug
> Components: Build, Testing
> Reporter: Stefan Podkowinski
> Assignee: Patrick Bannister
> Priority: Major
> Labels: cqlsh, dtest
> Attachments: CASSANDRA-14298-old.txt, CASSANDRA-14298.txt,
> cqlsh_tests_notes.md
>
>
> It appears that cqlsh-tests on builds.apache.org on all branches stopped
> working since we removed nosetests from the system environment. See e.g.
> [here|https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-trunk-cqlsh-tests/458/cython=no,jdk=JDK%201.8%20(latest),label=cassandra/console].
> Looks like we either have to make nosetests available again or migrate to
> pytest as we did with dtests. Giving pytest a quick try resulted in many
> errors locally, but I haven't inspected them in detail yet.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]