lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8818) smokeTestRelease.py encoding bug
Date Thu, 06 Jun 2019 19:47:00 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-8818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16858032#comment-16858032
] 

ASF subversion and git services commented on LUCENE-8818:
---------------------------------------------------------

Commit 8a488478f093e99a7168f30b56392ddef080b276 in lucene-solr's branch refs/heads/branch_8x
from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=8a48847 ]

LUCENE-8818: Fix smokeTestRelease.py encoding bug

(cherry picked from commit 8d6fd7298fe480a627db333eafeadc7b6a8fdcad)


> smokeTestRelease.py encoding bug
> --------------------------------
>
>                 Key: LUCENE-8818
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8818
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/tools
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Minor
>             Fix For: master (9.0), 8.2
>
>         Attachments: LUCENE-8818.patch
>
>
> Smoke tester may crash while parsing log file created from gpg stdout, but only in certain
conditions. Error trace is
> {code:java}
> Test Lucene...
>  test basics...
>  check changes HTML...
>  download lucene-7.7.2-src.tgz...
>    43.5 MB in 123.23 sec (0.4 MB/sec)
>    verify sha512 digest
>    verify sig
> Traceback (most recent call last):
>  File "dev-tools/scripts/smokeTestRelease.py", line 1518, in <module>
>    main()
>  File "dev-tools/scripts/smokeTestRelease.py", line 1448, in main
>    smokeTest(c.java, c.url, c.revision, c.version, c.tmp_dir, c.is_signed, c.local_keys,
' '.join(c.test_args))
>  File "dev-tools/scripts/smokeTestRelease.py", line 1497, in smokeTest
>    checkSigs('lucene', lucenePath, version, tmpDir, isSigned, keysFile)
>  File "dev-tools/scripts/smokeTestRelease.py", line 379, in checkSigs
>    for line in f.readlines():
>  File "/Users/ab/anaconda3/lib/python3.7/codecs.py", line 322, in decode
>    (result, consumed) = self._buffer_decode(data, self.errors, final)
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 180: invalid start
byte{code}
> The failing line is https://github.com/apache/lucene-solr/blob/faaee86efb01fa6e431fcb129cfb956c7d62d514/dev-tools/scripts/smokeTestRelease.py#L378

> Found by [~ab]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message