You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Task :distribution:packages:no-jdk-rpm:checkLicenseMetadata FAILED
Output for rpm:
error: /var/jenkins/workspace/gradle_check/search/distribution/packages/rpm/build/distributions/opensearch-min-2.0.2-SNAPSHOT.x86_64.rpm: rpmReadSignature failed: sigh load: BAD
error: /var/jenkins/workspace/gradle_check/search/distribution/packages/rpm/build/distributions/opensearch-min-2.0.2-SNAPSHOT.x86_64.rpm: not an rpm package (or package manifest)
* What went wrong:
Execution failed for task ':distribution:packages:no-jdk-rpm:checkLicenseMetadata'.
> Process 'rpm [-qp, --queryformat, %{License}, /var/jenkins/workspace/gradle_check/search/distribution/packages/rpm/build/distributions/opensearch-min-2.0.2-SNAPSHOT.x86_64.rpm]' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
When checking the rpm file directly on the server:
# rpm -qip opensearch-min-2.0.2-SNAPSHOT.x86_64.rpm
Name : opensearch
Epoch : 0
Version : 2.0.2~SNAPSHOT
Release : 1
Architecture: x86_64
Install Date: (not installed)
Group : Application/Internet
Size : 401576620
License : ASL-2.0
Signature : (none)
Source RPM : opensearch-2.0.2~SNAPSHOT-1-src.rpm
Build Date : Fri 24 Jun 2022 12:25:38 AM UTC
Build Host : ip-10-0-27-209.ec2.internal
Relocations : /usr
Packager : OpenSearch
Vendor : OpenSearch
URL : https://github.com/opensearch-project/OpenSearch
Summary : Distributed RESTful search engine built for the cloud
Description :
Reference documentation can be found at
https://github.com/opensearch-project/OpenSearch
# file opensearch-min-2.0.2-SNAPSHOT.x86_64.rpm
opensearch-min-2.0.2-SNAPSHOT.x86_64.rpm: RPM v3.0 bin opensearch-2.0.2~SNAPSHOT-1
There should not be any license here as core doesnt sign rpms to start with.
I wonder why gradle check is trying to check the license.
Thanks.
The text was updated successfully, but these errors were encountered:
2.0 branch, 2502198
./gradlew check -Dtests.coverage=true --no-daemon --no-scan
When checking the rpm file directly on the server:
There should not be any license here as core doesnt sign rpms to start with.
I wonder why gradle check is trying to check the license.
Thanks.
The text was updated successfully, but these errors were encountered: