TheNeuralBit opened a new issue, #23259:
URL: https://github.com/apache/beam/issues/23259

   ### What needs to happen?
   
   The RAT check verifies that every file has an Apache license at the top, but 
when it fails the Jenkins log just contains the message: 
   
   ```
   08:22:05 FAILURE: Build failed with an exception.
   08:22:05 
   08:22:05 * What went wrong:
   08:22:05 Execution failed for task ':rat'.
   08:22:05 > A failure occurred while executing org.nosphere.apache.rat.RatWork
   08:22:05    > Apache Rat audit failure - 19 unapproved licenses
   08:22:05             See 
file:///home/jenkins/jenkins-slave/workspace/beam_PreCommit_RAT_Commit/src/build/reports/rat/index.html
   ```
   
   This is problematic for two reasons:
   - It's unclear to new contributors that this is complaining about license 
headers in newly added files.
   - The file outlining the issue is on a remote worker and inaccessible. 
Authors need to run the check locally so they can view the file with details.
   
   At the very least we should update the message to reference "license headers 
in files" or similar. It would also be nice if we could dump the contents of 
the file to the log, or somewhere else in the UI.
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: infrastructure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to