Following is the stack trace observed in the above failing test:
INFO [org.wso2.carbon.automation.engine.testlisteners.TestManagerListener]
- Running the test method ---
org.wso2.carbon.registry.lifecycle.test.LCTransitionNotificationTestCase.testLCApprovalNeededNotification
----
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- [2015-09-30 18:52:38,551] ERROR
{org.wso2.carbon.humantask.core.api.client.TaskOperationsImpl} - The
user[testuser11] cannot perform loadTask() operation as either he is in
EXCLUDED_OWNERS role or he is not in task roles [[ACTUAL_OWNER,
BUSINESS_ADMINISTRATORS, NOTIFICATION_RECIPIENTS, POTENTIAL_OWNERS,
STAKEHOLDERS, TASK_INITIATOR]]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- [2015-09-30 18:52:38,552] ERROR
{org.wso2.carbon.humantask.core.api.client.TaskOperationsImpl} - Error
occurred while loading task: 101
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
-
org.wso2.carbon.humantask.core.engine.runtime.api.HumanTaskIllegalAccessException:
Access Denied. You are not authorized to perform this task
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.humantask.core.api.client.TaskOperationsImpl.authoriseToLoadTask(TaskOperationsImpl.java:568)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.humantask.core.api.client.TaskOperationsImpl.access$400(TaskOperationsImpl.java:92)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.humantask.core.api.client.TaskOperationsImpl$9.call(TaskOperationsImpl.java:529)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.humantask.core.api.client.TaskOperationsImpl$9.call(TaskOperationsImpl.java:523)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:879)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:828)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.humantask.core.api.client.TaskOperationsImpl.loadTask(TaskOperationsImpl.java:522)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.humantask.client.api.HumanTaskClientAPIAdminMessageReceiverInOut.invokeBusinessLogic(HumanTaskClientAPIAdminMessageReceiverInOut.java:605)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
On Thu, Oct 1, 2015 at 10:24 AM, Shazni Nazeer <[email protected]> wrote:
> Hi,
>
> We have a test case failure [1] which was passing with previous versions
> of business process. We updated the business process version to 4.4.3 as we
> needed to move to latest versions of some other repos for our release.
>
> This seems to be a permission issue.
>
> Any idea why could this happen?
>
> [1]
> https://wso2.org/jenkins/job/product-greg/org.wso2.greg$org.wso2.carbon.registry.test.lifecycle.service/844/testReport/org.wso2.carbon.registry.lifecycle.test/LCTransitionNotificationTestCase/testLCApprovalNeededNotification/
>
> Shazni Nazeer
> Mob : +94 777737331
> LinkedIn : http://lk.linkedin.com/in/shazninazeer
> Blog : http://shazninazeer.blogspot.com
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
--
Isuruwan Herath
Technical Lead
Contact: +94 776 273 296
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev