www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Kolinko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (INFRA-7807) Fix Buildot configuration for Tomcat (Upload goes to wrong directories)
Date Mon, 26 May 2014 11:56:01 GMT
Konstantin Kolinko created INFRA-7807:
-----------------------------------------

             Summary: Fix Buildot configuration for Tomcat (Upload goes to wrong directories)
                 Key: INFRA-7807
                 URL: https://issues.apache.org/jira/browse/INFRA-7807
             Project: Infrastructure
          Issue Type: Bug
          Components: Buildbot
            Reporter: Konstantin Kolinko


Thank you to everyone who recreated buildbot configuration for Tomcat after buildbot server
crash in April. It works, but not quite as expected.

Expected configuration:
[1] http://tomcat.apache.org/ci.html#Buildbot

There are the following builders, for Tomcat trunk, Tomcat 7 and Tomcat
6 respectively:
http://ci.apache.org/builders/tomcat-trunk
http://ci.apache.org/builders/tomcat-7-trunk
http://ci.apache.org/builders/tomcat-6-trunk

The "tomcat-trunk" builder publishes documentation, RAT report, JUnit logs and coverage report.
The "tomcat-7-trunk" builder does the same minus coverage.
The "tomcat-6-trunk" builder publishes documentation only.

They upload the files to
http://ci.apache.org/projects/tomcat/tomcat8/docs/
http://ci.apache.org/projects/tomcat/tomcat8/rat-output.html
http://ci.apache.org/projects/tomcat/tomcat8/logs/$SVNREVISION/
http://ci.apache.org/projects/tomcat/tomcat8/coverage/

http://ci.apache.org/projects/tomcat/tomcat7/docs/
http://ci.apache.org/projects/tomcat/tomcat7/rat-output.html
http://ci.apache.org/projects/tomcat/tomcat7/logs/$SVNREVISION/

http://ci.apache.org/projects/tomcat/tomcat6/docs/

That is how the things worked before April.

The actual current behaviour is that the files are uploaded to the same top directory. The
"/docs/", "/logs/" and "/coverage/" parts are missing from the URLs.

For example,
Build for revision 1597264:
http://ci.apache.org/builders/tomcat-trunk/builds/107

The logs are expected to be here:
http://ci.apache.org/projects/tomcat/tomcat8/logs/1597264/
They are actually here:
http://ci.apache.org/projects/tomcat/tomcat8/1597264/

This also means that Documentation and Coverage are uploaded into the same directory,
http://ci.apache.org/projects/tomcat/tomcat8/

The Documentation is uploaded before tests are run, Coverage report is uploaded after the
tests have finished, so there is a several hours gap when documentation is visible. After
that the coverage report overwrites it.

Second issue is that the RAT HTML reports (rat-output.html) are missing. Only "rat-output.xml"
files are available.

Looking at "MasterShellCommand" commands output in the build log,
http://ci.apache.org/builders/tomcat-trunk/builds/107/steps/MasterShellCommand/logs/stdio

1) Why does it use "cp" instead of "mv"?
2) Probably it needs "mkdir" command to create target directory.
3) There is no command to copy "rat-output.html" file.

Third issue, there shall be some procedure to purge old junit logs. In INFRA-3948 I asked
to keep the logs for 7 days. It was probably configured as a cron task.
I do not know whether it is actually configured currently.
As an alternative solution, maybe cleanup of old logs can be added as a step to the build
configuration.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message