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

Robert Muir commented on LUCENE-10579:
--------------------------------------

I attached compressed file of what the smoketester is parsing with regexps 
today. I guarantee it is wilder than you would imagine looking at the code.

I simply added this patch to log it:
{noformat}
   stdout = stdout.decode('utf-8',errors='replace').replace('\r\n','\n')
+  with open('%s/backwards.log' % unpackPath, 'w') as logfile:
+    logfile.write(stdout)
{noformat}

And now you can look at the 28.4MB of output that it parses.

> fix smoketester backwards-check to not parse stdout
> ---------------------------------------------------
>
>                 Key: LUCENE-10579
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10579
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Major
>         Attachments: backwards.log.gz
>
>
> The smoketester parses the output of TestBackwardsCompatibility -verbose 
> looking for certain prints for each index release. 
> But I think this is a noisier channel than you might expect. I added a hack 
> to log the stuff its trying to parse... it is legit crazy. See attachment
> Let's rethink, maybe we should just examine the zip files?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to