Hi
We need to look into this issue in advance since this is working on jenkins
server and mac OS as well. Only problem in Ubuntu. Will check and update.

Thanks,
Nuwanw

On Mon, Jun 15, 2015 at 9:41 AM, Niranjan Karunanandham <[email protected]>
wrote:

> Hi Nuwan,
>
> When I tried to build AS pack from Github (master branch) [1], it failed
>> with error in [2], but this is *passing in Jenkins*. Had an offline
>> discussion with Nuwan and found out that in my machine "*sign-packs.sh*"
>> which is used to sign the jar files in the pack for testing is not executed
>> as it does *not have execute permission*. When I check the original
>> location of the file and it has the permission - 775, but when it is copied
>> the permission is lost.
>>
> Kind reminder.
>
> Regards,
> Nira
>
>
>
> On Fri, Jun 12, 2015 at 5:18 PM, Niranjan Karunanandham <[email protected]
> > wrote:
>
>> Hi,
>>
>> When I tried to build AS pack from Github (master branch) [1], it failed
>> with error in [2], but this is *passing in Jenkins*. Had an offline
>> discussion with Nuwan and found out that in my machine "*sign-packs.sh*"
>> which is used to sign the jar files in the pack for testing is not executed
>> as it does *not have execute permission*. When I check the original
>> location of the file and it has the permission - 775, but when it is copied
>> the permission is lost.
>>
>> After I changed the original file permission to 755  and ran the test
>> case, it failed when it tried to execute sign-packs.sh with a different
>> error (error: that a newline is present (^M)). This is happened because the
>> sign-packs.sh file has the Line Separator as *CRLF*. After changing it
>> to *LF*, I was able to run the tests-security-manager. Why is this
>> happening?
>>
>>
>> [1] - https://github.com/wso2/product-as/
>> [2] -
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil]
>> - Port 9763 is closed and available for use
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil]
>> - Port 9443 is closed and available for use
>> INFO
>>  
>> [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager]
>> - Starting carbon server.............
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> JAVA_HOME environment variable is set to /usr/local/java/jdk1.7.0_51
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> CARBON_HOME environment variable is set to
>> /home/nira/git/Nira/product-as/modules/integration/tests-integration/tests-security-manager/target/carbontmp1434108379893/wso2as-6.0.0-SNAPSHOT
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> Property pattern javax.net.ssl.trustStore is restricted for tenant code.
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> Property pattern javax.net.ssl.trustStorePassword is restricted for tenant
>> code.
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> Property pattern denied.system.properties is restricted for tenant code.
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>> java.security.AccessControlException
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -  -
>> klass: 'java/security/AccessControlException'
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> A fatal error has been detected by the Java Runtime Environment:
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>>  Internal Error (exceptions.cpp:424), pid=20621, tid=139773740406528
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>>  fatal error: ExceptionMark destructor expects no pending exceptions
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build
>> 1.7.0_51-b13)
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode
>> linux-amd64 compressed oops)
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> Failed to write core dump. Core dumps have been disabled. To enable core
>> dumping, try "ulimit -c unlimited" before starting Java again
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> An error report file with more information is saved as:
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> /home/nira/git/Nira/product-as/modules/integration/tests-integration/tests-security-manager/target/carbontmp1434108379893/wso2as-6.0.0-SNAPSHOT/hs_err_pid20621.log
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> If you would like to submit a bug report, please visit:
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>>   http://bugreport.sun.com/bugreport/crash.jsp
>> INFO
>>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - #
>> ERROR
>> [org.wso2.carbon.automation.extensions.servers.utils.InputStreamHandler] -
>> Aborted (core dumped)
>>
>>
>> Regards,
>> Nira
>>
>> --
>>
>> *Niranjan Karunanandham*
>> Senior Software Engineer - WSO2 Inc.
>> WSO2 Inc.: http://www.wso2.com
>>
>
>
>
> --
>
> *Niranjan Karunanandham*
> Senior Software Engineer - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>



-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to