[ 
https://issues.apache.org/jira/browse/BEAM-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold updated BEAM-4866:
----------------------------------------
    Description: 
$ ./gradlew check
 ...
 4: Task failed with an exception.
 -----------
 * What went wrong:
 Execution failed for task ':rat'.
 > Found 5 files with unapproved/unknown licenses. See 
 > [file:/Users/elharo/beam/build/reports/rat/rat-report.txt|file:///Users/elharo/beam/build/reports/rat/rat-report.txt]
 ```

I don't think these are likely to be real issues. Likely the tool just needs to 
be configured a little differently:

 


 $ more /Users/elharo/beam/build/reports/rat/rat-report.txt

*****************************************************
 Summary
 -------
 Generated at: 2018-07-25T12:52:35-04:00

Notes: 4
 Binaries: 119
 Archives: 4
 Standards: 3935

Apache Licensed: 3930
 Generated Documents: 0

JavaDocs are generated, thus a license header is optional.
 Generated files do not require license headers.

5 Unknown Licenses

*****************************************************

Files with unapproved licenses:

/Users/elharo/beam/.test-infra/dockerized-jenkins/basic-security.groovy
 /Users/elharo/beam/.test-infra/dockerized-jenkins/config.xml
 
/Users/elharo/beam/.test-infra/dockerized-jenkins/javaposse.jobdsl.plugin.GlobalJobDslSecurityConfiguration.xml
 /Users/elharo/beam/.test-infra/dockerized-jenkins/plugins.txt
 /Users/elharo/beam/.test-infra/dockerized-jenkins/seedjobconfig.xml

*****************************************************
 ```

  was:
```shell
$ ./gradlew check
...
4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':rat'.
> Found 5 files with unapproved/unknown licenses. See 
> file:/Users/elharo/beam/build/reports/rat/rat-report.txt
```


I don't think these are likely to be real issues. Likely the tool just needs to 
be configured a little differently:

```
$ more /Users/elharo/beam/build/reports/rat/rat-report.txt

*****************************************************
Summary
-------
Generated at: 2018-07-25T12:52:35-04:00

Notes: 4
Binaries: 119
Archives: 4
Standards: 3935

Apache Licensed: 3930
Generated Documents: 0

JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.

5 Unknown Licenses

*****************************************************

Files with unapproved licenses:

/Users/elharo/beam/.test-infra/dockerized-jenkins/basic-security.groovy
 /Users/elharo/beam/.test-infra/dockerized-jenkins/config.xml
 
/Users/elharo/beam/.test-infra/dockerized-jenkins/javaposse.jobdsl.plugin.GlobalJobDslSecurityConfiguration.xml
 /Users/elharo/beam/.test-infra/dockerized-jenkins/plugins.txt
 /Users/elharo/beam/.test-infra/dockerized-jenkins/seedjobconfig.xml

*****************************************************
```


> RAT tests fail
> --------------
>
>                 Key: BEAM-4866
>                 URL: https://issues.apache.org/jira/browse/BEAM-4866
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>         Environment: Mac
>            Reporter: Elliotte Rusty Harold
>            Assignee: Luke Cwik
>            Priority: Major
>
> $ ./gradlew check
>  ...
>  4: Task failed with an exception.
>  -----------
>  * What went wrong:
>  Execution failed for task ':rat'.
>  > Found 5 files with unapproved/unknown licenses. See 
> [file:/Users/elharo/beam/build/reports/rat/rat-report.txt|file:///Users/elharo/beam/build/reports/rat/rat-report.txt]
>  ```
> I don't think these are likely to be real issues. Likely the tool just needs 
> to be configured a little differently:
>  
>  $ more /Users/elharo/beam/build/reports/rat/rat-report.txt
> *****************************************************
>  Summary
>  -------
>  Generated at: 2018-07-25T12:52:35-04:00
> Notes: 4
>  Binaries: 119
>  Archives: 4
>  Standards: 3935
> Apache Licensed: 3930
>  Generated Documents: 0
> JavaDocs are generated, thus a license header is optional.
>  Generated files do not require license headers.
> 5 Unknown Licenses
> *****************************************************
> Files with unapproved licenses:
> /Users/elharo/beam/.test-infra/dockerized-jenkins/basic-security.groovy
>  /Users/elharo/beam/.test-infra/dockerized-jenkins/config.xml
>  
> /Users/elharo/beam/.test-infra/dockerized-jenkins/javaposse.jobdsl.plugin.GlobalJobDslSecurityConfiguration.xml
>  /Users/elharo/beam/.test-infra/dockerized-jenkins/plugins.txt
>  /Users/elharo/beam/.test-infra/dockerized-jenkins/seedjobconfig.xml
> *****************************************************
>  ```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to