Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - Do not merge. Run tests without LC_ALL. #58427

Open
wants to merge 3 commits into
base: devel
from

Conversation

Projects
None yet
2 participants
@mattclay
Copy link
Member

commented Jun 26, 2019

SUMMARY

Run tests without LC_ALL.

Do NOT merge.

ISSUE TYPE

Feature Pull Request

COMPONENT NAME

ansible-test

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jun 26, 2019

The test ansible-test sanity --test boilerplate [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/boilerplate.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/boilerplate.py", line 72, in <module>
    main()
  File "test/sanity/code-smell/boilerplate.py", line 48, in main
    lines = path_fd.read().splitlines()
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 143: ordinal not in range(128)

click here for bot help

@ansibot ansibot added the stale_ci label Jul 4, 2019

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jul 8, 2019

The test ansible-test sanity --test no-assert [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/no-assert.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/no-assert.py", line 33, in <module>
    main()
  File "test/sanity/code-smell/no-assert.py", line 23, in main
    for i, line in enumerate(f.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 49: ordinal not in range(128)

The test ansible-test sanity --test no-basestring [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/no-basestring.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/no-basestring.py", line 28, in <module>
    main()
  File "test/sanity/code-smell/no-basestring.py", line 19, in main
    for line, text in enumerate(path_fd.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)

The test ansible-test sanity --test no-dict-iteritems [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/no-dict-iteritems.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/no-dict-iteritems.py", line 28, in <module>
    main()
  File "test/sanity/code-smell/no-dict-iteritems.py", line 19, in main
    for line, text in enumerate(path_fd.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)

The test ansible-test sanity --test no-dict-iterkeys [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/no-dict-iterkeys.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/no-dict-iterkeys.py", line 28, in <module>
    main()
  File "test/sanity/code-smell/no-dict-iterkeys.py", line 19, in main
    for line, text in enumerate(path_fd.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)

The test ansible-test sanity --test no-dict-itervalues [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/no-dict-itervalues.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/no-dict-itervalues.py", line 28, in <module>
    main()
  File "test/sanity/code-smell/no-dict-itervalues.py", line 19, in main
    for line, text in enumerate(path_fd.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)

The test ansible-test sanity --test no-get-exception [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/no-get-exception.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/no-get-exception.py", line 35, in <module>
    main()
  File "test/sanity/code-smell/no-get-exception.py", line 21, in main
    for line, text in enumerate(path_fd.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)

The test ansible-test sanity --test no-main-display [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/no-main-display.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/no-main-display.py", line 27, in <module>
    main()
  File "test/sanity/code-smell/no-main-display.py", line 19, in main
    for i, line in enumerate(f.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 49: ordinal not in range(128)

The test ansible-test sanity --test no-unicode-literals [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/no-unicode-literals.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/no-unicode-literals.py", line 28, in <module>
    main()
  File "test/sanity/code-smell/no-unicode-literals.py", line 19, in main
    for line, text in enumerate(path_fd.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)

The test ansible-test sanity --test replace-urlopen [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/replace-urlopen.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/replace-urlopen.py", line 31, in <module>
    main()
  File "test/sanity/code-smell/replace-urlopen.py", line 22, in main
    for line, text in enumerate(path_fd.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 84: ordinal not in range(128)

The test ansible-test sanity --test required-and-default-attributes [explain] failed with the error:

Command "/usr/bin/python3.6 test/sanity/code-smell/required-and-default-attributes.py" returned exit status 1.
>>> Standard Error
Traceback (most recent call last):
  File "test/sanity/code-smell/required-and-default-attributes.py", line 27, in <module>
    main()
  File "test/sanity/code-smell/required-and-default-attributes.py", line 18, in main
    for line, text in enumerate(path_fd.readlines()):
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 49: ordinal not in range(128)

click here for bot help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.