llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

changes in lnt.cfg file

Open llvmbot opened this issue 9 years ago • 4 comments

Bugzilla Link 33872
Resolution FIXED
Resolved on Oct 18, 2018 14:22
Version unspecified
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @cmatthew

Extended Description

Are there any changes introduced lnt.cfg file? My existing lnt setup was all working, but now, with all the latest trunk updates, i get following error

UnicodeEncodeError: 'ascii' codec can't encode character u'\u0394' in position 5262: ordinal not in range(128)

For the below line in lnt.cfg:

'to' : [('.*', '[email protected]')],

Disabling an email, that is, setting nt_emailer member "'enabled' : False," works file. But no mail is generated.

llvmbot avatar Jul 21 '17 05:07 llvmbot

The exception you mention at the top was probably fixed in: r331968.

The 404 could be caused by an incorrectly configured apache proxy.

An example of how I do it:

<Location /perf> Proxypass http://backend_server_name:8000/perf ProxyPassReverse http:/backend_server_name:8000/perf

RequestHeader set X-FORWARDED-SSL "on"
    RequestHeader set X-FORWARDED_PROTO "https"
    RequestHeader set SCRIPT_NAME "/perf"

cmatthew avatar Oct 18 '18 21:10 cmatthew

Following patch fixes my issue:

--- /usr/lib/python2.7/email/message.py 2017-07-27 06:30:20.123600654 -0400 +++ message.py 2017-07-27 09:16:24.609498297 -0400 @@ -259,9 +259,8 @@ else: self.set_param('charset', charset.get_output_charset()) if isinstance(self._payload, unicode):

  •        #print (self._payload)
    
  •        self._payload = self._payload.encode('utf-8')
    
  •        #self._payload = self._payload.encode(charset.output_charset)
    
  •        print (self._payload)
    
  •        self._payload = self._payload.encode(charset.output_charset)
       if str(charset) != charset.get_output_charset():
           self._payload = charset.body_encode(self._payload)
       if 'Content-Transfer-Encoding' not in self:
    

llvmbot avatar Jul 27 '17 13:07 llvmbot

lnt submit --commit http://lntserver/perf/submitRun path/report.json error:

404 Not Found

Not Found

The requested URL /perf/submitRun was not found on this server.


Apache/2.4.7 (Ubuntu) Server at lntserver Port 80

could this be the reason for the error?

llvmbot avatar Jul 25 '17 14:07 llvmbot

assigned to @cmatthew

llvmbot avatar Jul 21 '17 05:07 llvmbot