Hi all,

As suggested by Darshana, this issue happens when the certificates are not
trusted by the Oracle VM as mentioned in [1]. This can happen if the tycho
certificate has been removed from the Oracle VM.

[1] - Mail subject: "[Dev] Cannot generate P2 metadata: P2 publisher return
code was 13"

Regards,
Nira

On Tue, Aug 1, 2017 at 6:00 PM, Ramith Jayasinghe <[email protected]> wrote:

> could this be a problem with tycho version?
> similar problem seems to have resolved in :
>
> "[Builder] Build failed in Jenkins: carbon-kernel__openjdk8 ยป WSO2
> Carbon Kernel - Distribution #190"
>
> On Tue, Aug 1, 2017 at 5:54 PM, Darshana Gunawardana <[email protected]>
> wrote:
> > Hi Ramith,
> >
> > As mentioned above, we were not able to narrow down the exact signed jar
> > which caused this issue. That's why we sought the help of the dev list.
> >
> > Without pin point the which cert that missed in the java8 cacert, I would
> > say copying the java7 cacert is a workaround.
> >
> > Thanks,
> >
> > On Tue, Aug 1, 2017 at 5:44 PM, Ramith Jayasinghe <[email protected]>
> wrote:
> >>
> >> is this a workaround ? or a the correct fix?
> >> I came up with the same problem when trying to build project-ei in a
> >> another environment?
> >>
> >> On Thu, Jul 20, 2017 at 4:49 PM, Piraveena Paralogarajah
> >> <[email protected]> wrote:
> >>>
> >>> [+Darshana, Maduranga]
> >>>
> >>> We found a workaround solution for this issue.
> >>>
> >>> We used -X flag to get more debug logs.
> >>> org.eclipse.osgi_3.8.0.v20110726-1606.jar  was the final jar installed
> >>> during the execution. So we assumed the issue was in this file. Even
> though
> >>> we  imported the certificates of the jar file to the cacert store, It
> didn't
> >>> work.
> >>>
> >>> When we tested with java7, it worked fine. So we copied the contents of
> >>> cacert store of java 7 and pasted in the cacert store of java 8. Now it
> >>> works fine.
> >>>
> >>> Thanks Maduranga and Darshana
> >>>
> >>> Regards,
> >>> Piraveena
> >>>
> >>>
> >>> Piraveena Paralogarajah
> >>> Intern- Software Engineering | WSO2
> >>> Email : [email protected]
> >>> Mobile : +94776099594
> >>>
> >>>
> >>> On Thu, Jul 20, 2017 at 3:42 PM, Piraveena Paralogarajah
> >>> <[email protected]> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> I tried to build the product-is. When building product-is using java
> >>>> 1.8, the build was failed due to error - one or more certificates
> rejected.
> >>>>
> >>>> Error log:
> >>>>
> >>>> [INFO] Command line:
> >>>> /bin/sh -c cd
> >>>> /home/piraveena/Documents/wso2/product_is/product-is/
> modules/p2-profile-gen
> >>>> && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar
> >>>> /home/piraveena/.m2/repository/org/eclipse/tycho/
> tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.
> equinox.launcher_1.2.0.v20110725-1610.jar
> >>>> -nosplash -application org.eclipse.equinox.p2.director
> -metadataRepository
> >>>> file:/home/piraveena/Documents/wso2/product_is/
> product-is/modules/p2-profile-gen/target/p2-repo
> >>>> -artifactRepository
> >>>> file:/home/piraveena/Documents/wso2/product_is/
> product-is/modules/p2-profile-gen/target/p2-repo
> >>>> -installIU carbon.product.id -profileProperties
> >>>> org.eclipse.update.install.features=true -profile is -bundlepool
> >>>> file:/home/piraveena/Documents/wso2/product_is/
> product-is/modules/p2-profile-gen/target/wso2carbon-core-4.
> 4.16/repository/components
> >>>> -shared
> >>>> file:/home/piraveena/Documents/wso2/product_is/
> product-is/modules/p2-profile-gen/target/wso2carbon-core-4.
> 4.16/repository/components/p2
> >>>> -destination
> >>>> file:/home/piraveena/Documents/wso2/product_is/
> product-is/modules/p2-profile-gen/target/wso2carbon-core-4.
> 4.16/repository/components/is
> >>>> -p2.os linux -p2.ws gtk -p2.arch x86 -roaming
> >>>> Installing carbon.product.id 5.4.0.SNAPSHOT.
> >>>> Installation failed.
> >>>> One or more certificates rejected. Cannot proceed with installation.
> >>>> Application failed, log file location:
> >>>> /home/piraveena/.m2/repository/org/eclipse/tycho/
> tycho-p2-runtime/0.13.0/eclipse/configuration/1500539238509.log
> >>>>
> >>>> [INFO]
> >>>> ------------------------------------------------------------
> ------------
> >>>> [INFO] Reactor Summary:
> >>>> [INFO]
> >>>> [INFO] WSO2 Identity Server ............................... SUCCESS [
> >>>> 1.448 s]
> >>>> [INFO] org.wso2.carbon.is.migrate.client .................. SUCCESS [
> >>>> 31.276 s]
> >>>> [INFO] WSO2 Identity Server Styles Parent ................. SUCCESS [
> >>>> 0.069 s]
> >>>> [INFO] Identity Server: UI styles ......................... SUCCESS [
> >>>> 1.592 s]
> >>>> [INFO] WSO2 IS - Features Aggregator Module ............... SUCCESS [
> >>>> 0.046 s]
> >>>> [INFO] WSO2 IS - Style Features ........................... SUCCESS [
> >>>> 1.635 s]
> >>>> [INFO] WSO2 IS - Utils Features ........................... SUCCESS [
> >>>> 1.138 s]
> >>>> [INFO] WSO2 Carbon - Identity UI Feature .................. SUCCESS [
> >>>> 1.054 s]
> >>>> [INFO] WSO2 IS - IS Profile Generation .................... FAILURE
> >>>> [03:44 min]
> >>>> [INFO] Identity Server : Connector ........................ SKIPPED
> >>>> [INFO] Identity Server : identity-authenticators .......... SKIPPED
> >>>> [INFO] Identity Server : Social-authenticators ............ SKIPPED
> >>>> [INFO] Identity Server : Provisioning Connectors .......... SKIPPED
> >>>> [INFO] Identity Server : identity-local-authenticators .... SKIPPED
> >>>> [INFO] Identity Server : oauth2-grant-types ............... SKIPPED
> >>>> [INFO] Identity Server .................................... SKIPPED
> >>>> [INFO] Identity Server : Samples .......................... SKIPPED
> >>>> [INFO] Identity Server : User Mgt Samples ................. SKIPPED
> >>>> [INFO] Samples/Remote User Management ..................... SKIPPED
> >>>> [INFO] Identity Server : SCIM Samples ..................... SKIPPED
> >>>> [INFO] scim-provisioning .................................. SKIPPED
> >>>> [INFO] Identity Server : OAuth 1.0a samples with Identity Server
> SKIPPED
> >>>> [INFO] WSO2 Carbon - OAuth10a Resource Owner Equivalent ... SKIPPED
> >>>> [INFO] Identity Server : OAuth2.0 Samples with Identity Server 5.2.0
> >>>> SKIPPED
> >>>> [INFO] OAuth 2.0 Playground App with WSO2 Identity Server 5.2.0
> SKIPPED
> >>>> [INFO] OAuth 2.0 Custom Grant ............................. SKIPPED
> >>>> [INFO] Identity Server : SSO Samples ...................... SKIPPED
> >>>> [INFO] Travelocity.COM ServiceProvider / RelyingParty Webapp SKIPPED
> >>>> [INFO] Identity Server : XACML Samples .................... SKIPPED
> >>>> [INFO] WSO2 Entitlement Sample Online Trading ............. SKIPPED
> >>>> [INFO] Identity Server : STS Samples ...................... SKIPPED
> >>>> [INFO] STS Client ......................................... SKIPPED
> >>>> [INFO] Identity Server : Passive STS Samples .............. SKIPPED
> >>>> [INFO] PassiveSTSSample ................................... SKIPPED
> >>>> [INFO] org.wso2.identity.passivests.filter ................ SKIPPED
> >>>> [INFO] PassiveSTSSampleApp ................................ SKIPPED
> >>>> [INFO] Identity Server : InfoRecoverySample Maven Webapp .. SKIPPED
> >>>> [INFO] InfoRecoverySample Maven Webapp .................... SKIPPED
> >>>> [INFO] Identity Server : Workflow Samples ................. SKIPPED
> >>>> [INFO] sample-handler ..................................... SKIPPED
> >>>> [INFO] Identity Server Integration Tests .................. SKIPPED
> >>>> [INFO] WSO2 IS - Integration Test Admin Clients Module .... SKIPPED
> >>>> [INFO] WSO2 IS - Integration UI Pages Module .............. SKIPPED
> >>>> [INFO] WSO2 IS - Integration Test Utils Module ............ SKIPPED
> >>>> [INFO] Custom Attribute Finder ............................ SKIPPED
> >>>> [INFO] WSO2 Identity Integration Test Common .............. SKIPPED
> >>>> [INFO] Identity Test Back-end Module ...................... SKIPPED
> >>>> [INFO] org.wso2.identity.integration.test ................. SKIPPED
> >>>> [INFO]
> >>>> ------------------------------------------------------------
> ------------
> >>>> [INFO] BUILD FAILURE
> >>>> [INFO]
> >>>> ------------------------------------------------------------
> ------------
> >>>> [INFO] Total time: 04:26 min
> >>>> [INFO] Finished at: 2017-07-20T13:57:21+05:30
> >>>> [INFO] Final Memory: 94M/783M
> >>>> [INFO] --------------------------------------------------------
> >>>> Please kindly help.
> >>>>
> >>>> Thanks,
> >>>> Piraveena
> >>>> Piraveena Paralogarajah
> >>>> Intern- Software Engineering | WSO2
> >>>> Email : [email protected]
> >>>> Mobile : +94776099594
> >>>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Dev mailing list
> >>> [email protected]
> >>> http://wso2.org/cgi-bin/mailman/listinfo/dev
> >>>
> >>
> >>
> >>
> >> --
> >> Ramith Jayasinghe
> >> Technical Lead
> >> WSO2 Inc., http://wso2.com
> >> lean.enterprise.middleware
> >>
> >> E: [email protected]
> >> P: +94 777542851
> >
> >
> >
> >
> > --
> > Regards,
> >
> > Darshana Gunawardana
> > Associate Technical Lead
> > WSO2 Inc.; http://wso2.com
> > E-mail: [email protected]
> > Mobile: +94718566859
> > Lean . Enterprise . Middleware
>
>
>
> --
> Ramith Jayasinghe
> Technical Lead
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: [email protected]
> P: +94 777542851
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 


*Niranjan Karunanandham*
Associate Technical Lead - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to