You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by "BAZLEY, Sebastian" <Se...@london.sema.slb.com> on 2004/02/20 14:38:43 UTC

Missing [GUMP] nags for Jmeter

Just to say that I've not seen any nags from Gump on LSD on the Jmeter
mailing lists, even though there are occasional test failures, and very
occasional build failures.

There may be something wrong with the JMeter descriptor, I suppose, or
perhaps Gump is trying to send the e-mail and failing.

Is there an easy way to test this out? Perhaps create a stand-alone dummy
project that is known to fail?

S.


___________________________________________________________________________

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. 
___________________________________________________________________________


Re: Missing [GUMP] nags for Jmeter

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 20 Feb 2004, Adam R. B. Jack <aj...@trysybase.com> wrote:

> [BTW: Ought Gumpy respect the regexp? Traditional ran perl on a log,
> Gumpy works of the exit code. I've been thinking not...]

Yes!

This feature has been used in the past to send nags about specific
failures to a different project for example.  I think it has been a
NPE in FOP that was caused by a bug in Xalan and we used a regexp to
nag xalan-dev instead of (or in addition to) fop-dev.

> BTW: There is one known error w/ Ceku Geki (sp?) 'cos of his
> character set, but I want to fix that & respect his choice.

I don't think it is his choice 8-)

Make that

=?iso-8859-1?Q?G=FClc=FC?= intstad of Gülcü

and it should work (quoted printable encoding for mail headers).

Stefan

Re: Missing [GUMP] nags for Jmeter

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
Sebastian wrote:

> Just to say that I've not seen any nags from Gump on LSD on the Jmeter
> mailing lists, even though there are occasional test failures, and very
> occasional build failures.


http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-gump/project/jakarta-jmeter.xml?content-type=text%2Fplain&rev=1.74

This is right for traditional Gump, and although Gumpy does not respect the
<regexp, I've tried to make it cope by sending to the mailing list if I
can't sent to somebody (if the to is on the <regexp.) [BTW: Ought Gumpy
respect the regexp? Traditional ran perl on a log, Gumpy works of the exit
code. I've been thinking not...]

- <nag from="Sebb <se...@apache.org>" to="jmeter-dev@jakarta.apache.org">
  <regexp pattern="/BUILD FAILED/" subject="JMeter CVS Build Failure" />
  </nag>

I see no reason this ought not work. Who moderates the list?

> There may be something wrong with the JMeter descriptor, I suppose, or
> perhaps Gump is trying to send the e-mail and failing.

The log file (e.g. http://lsd.student.utwente.nl/gump/gumpy.html) which is
normally far smaller than this --debug one, has info logs on what mails are
sent & logs errors. Since nagging is the one thing that occurs after

BTW: There is one known error w/ Ceku Geki (sp?) 'cos of his character set,
but I want to fix that & respect his choice.

Hmm, I didn't see a mail to the list from Gump, for unwanted nags. Let me
look into that.

See bottom for a snippet.

> Is there an easy way to test this out? Perhaps create a stand-alone dummy
> project that is known to fail?

I am looking forward to getting an install on moof, and bolting a www front
end on it, so folks can on-demand test things. Lots of reasons why this'd be
a good thing. Folks ought not have to install Gump to test descriptors.

regards,

Adam


-------------------------------------------
<!--StartFragment-->INFO:gump:Nag about failures...
INFO:gump:Nag for project: jakarta-tomcat-jk-native
INFO:gump:Nag for project: jakarta-tomcat-jk-native2
INFO:gump:Nag for project: jakarta-cactus-integration-ant-12
INFO:gump:Nag for project: jakarta-cactus-integration-ant-13
INFO:gump:Nag for project: xml-xmlbeans-v1
INFO:gump:Nag for project: avalon-cache
INFO:gump:Nag for project: jakarta-log4j-12
ERROR:gump:Failed to send e-mail: ASCII encoding error: ordinal not in
range(128)
Traceback (most recent call last):
  File "/data3/gump/gump/python/logging/__init__.py", line 657, in emit
    msg = self.format(record)
  File "/data3/gump/gump/python/logging/__init__.py", line 553, in format
    return fmt.format(record)
  File "/data3/gump/gump/python/logging/__init__.py", line 348, in format
    record.message = record.getMessage()
  File "/data3/gump/gump/python/logging/__init__.py", line 229, in
getMessage
    msg = str(self.msg)
UnicodeError: ASCII encoding error: ordinal not in range(128)
ERROR:gump:Failed to send nag e-mails for project jakarta-log4j-12 : ASCII
encoding error: ordinal not in range(128)
Traceback (most recent call last):
  File "/data3/gump/gump/python/gump/output/nag.py", line 146, in nag
    self.nagProject(project)
  File "/data3/gump/gump/python/gump/output/nag.py", line 245, in nagProject
    self.sendEmails(self.getAddressPairs(project),subject,content)
  File "/data3/gump/gump/python/gump/output/nag.py", line 271, in sendEmails
    subject, content)
  File "/data3/gump/gump/python/gump/output/nag.py", line 307, in sendEmail
    log.error('Failed to send nag e-mail ['+str(toaddr)+']
['+str(fromaddr)+']: ' + str(details), \
UnicodeError: ASCII encoding error: ordinal not in range(128)
INFO:gump:Nag for project: xml-security
INFO:gump:Nag for project: avalon
INFO:gump:Nag for project: dist-xerces
INFO:gump:Nag for project: jakarta-tapestry
INFO:gump:Nag for project: jakarta-poi
INFO:gump:Nag for project: checkstyle-test
INFO:gump:Nag for project: commons-jelly-tags-junit
INFO:gump:Nag for project: log4j-tests
ERROR:gump:Failed to send e-mail: ASCII encoding error: ordinal not in
range(128)
Traceback (most recent call last):
  File "/data3/gump/gump/python/logging/__init__.py", line 657, in emit
    msg = self.format(record)
  File "/data3/gump/gump/python/logging/__init__.py", line 553, in format
    return fmt.format(record)
  File "/data3/gump/gump/python/logging/__init__.py", line 348, in format
    record.message = record.getMessage()
  File "/data3/gump/gump/python/logging/__init__.py", line 229, in
getMessage
    msg = str(self.msg)
UnicodeError: ASCII encoding error: ordinal not in range(128)
ERROR:gump:Failed to send nag e-mails for project log4j-tests : ASCII
encoding error: ordinal not in range(128)
Traceback (most recent call last):
  File "/data3/gump/gump/python/gump/output/nag.py", line 146, in nag
    self.nagProject(project)
  File "/data3/gump/gump/python/gump/output/nag.py", line 245, in nagProject
    self.sendEmails(self.getAddressPairs(project),subject,content)
  File "/data3/gump/gump/python/gump/output/nag.py", line 271, in sendEmails
    subject, content)
  File "/data3/gump/gump/python/gump/output/nag.py", line 307, in sendEmail
    log.error('Failed to send nag e-mail ['+str(toaddr)+']
['+str(fromaddr)+']: ' + str(details), \
UnicodeError: ASCII encoding error: ordinal not in range(128)
INFO:gump:Nag for project: excalibur-sourceresolve
INFO:gump:Nag for project: excalibur-logger
INFO:gump:Nag for project: itext-xml
INFO:gump:Nag for project: itext
INFO:gump:Nag for project: chaperon
INFO:gump:Nag for project: eclipse-jtd
INFO:gump:Nag for project: rhino-cocoondev
INFO:gump:Nag for project: javasrc
INFO:gump:Nag for project: directory-naming
INFO:gump:Nag for project: jetty
INFO:gump:Nag for project: xml-xerces1
INFO:gump:Nag for project: smartfrog
INFO:gump:Nag for project: jakarta-turbine-tdk
INFO:gump:Nag for project: xml-forrest-scratchpad-forrestdoc-ws
INFO:gump:Nag for project: httpunit
INFO:gump:Nag for project: ws-wsif
INFO:gump:Nag for project: jakarta-poi-3
INFO:gump:Nag for project: test-ant
INFO:gump:Nag for project: mm.mysql
INFO:gump:Nag for project: dom4j
INFO:gump:Nag for project: depot-version-test
INFO:gump:Nag for project: depot-ruper
INFO:gump:Nag for project: jakarta-struts
INFO:gump:Nag for project: avalon-logkit-maven
INFO:gump:Nag for project: gump
INFO:gump:Nag for project: gump-test
INFO:gump:Nag for project: jcifs
INFO:gump:Nag for project: ws-xmlrpc
INFO:gump:Nag for project: ws-juddi
INFO:gump:Got some unwanted's to send to list...
INFO:gump:No unsent nags.
INFO:gump:Gump Integration complete. Exit code:0
Integration completed with exit code :  0