https://bugzilla.wikimedia.org/show_bug.cgi?id=44033

       Web browser: ---
            Bug ID: 44033
           Summary: [upstream] Jenkins violation plugin does not show per
                    file report
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Testing Infrastructure
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

The Violation plugin interprets the checkstyle XLM or pep8 output and generate
a report out of it. As an example, we run pep8 on operations/puppet.git using
the operations-puppet-pep8 job.  The build report is properly generated and
show the list of files having errors:

https://integration.mediawiki.org/ci/job/operations-puppet-pep8/541/violations/?

Each file has its own detailed report but it show an empty list:

https://integration.mediawiki.org/ci/job/operations-puppet-pep8/541/violations/file/files/ganglia/plugins/mysql.py/?
 /!\  files/ganglia/plugins/mysql.py
 No violations found


While accessing the per file report, I have ran strace to log Jenkins stat()
calls :

[pid  4220]
stat("/run/jenkins/war/job/operations-puppet-pep8/541/violations/file/files/ganglia/plugins/mysql.py",
0x7f4b3044edb0) = -1 ENOENT (No such file or directory)
[pid  4220]
stat("/run/jenkins/war/job/operations-puppet-pep8/541/violations/file/files/ganglia/plugins/mysql.py",
0x7f4b3044edb0) = -1 ENOENT (No such file or directory)


The XML output is in the build directory at:

/var/lib/jenkins/jobs/operations-puppet-pep8/builds/541/violations/file/files/ganglia/plugins/mysql.py.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to