It's all about the answers!

Ask a question

com.ibm.team.repository.common.PermissionDeniedException: CRJAZ1319E Read access is not permitted. The user X tried to read one or more items that have the following type: BaselineSet


Ian Pillion (258) | asked May 12 '15, 1:13 p.m.
Hi

We had an issue with the generic build account getting locked out so changed the build over to a developer user, giving him the same permissions and roles as build account.
The Jenkins build now passes but the promotion seems to fail at the final hurdle.. any ideas?

com.ibm.team.repository.common.PermissionDeniedException: CRJAZ1319E Read access is not permitted. The user, X, tried to read one or more items that have the following type: BaselineSet

One answer



permanent link
Arne Bister (2.6k12832) | answered May 12 '15, 3:48 p.m.
JAZZ DEVELOPER
Ian,

please try to write forum entries as questions. I assume your question is what this error message means and what you can do about it.

BaselineSet == Snapshot and "Read access not permitted" in the context of a build could indicate that the Build Workspace contains a SCM component with either private visibility or scoped to a team area in which the current user is not owner. When you say "promotion seems to fail" what build options have you switched on?

- Arne

Comments
Ian Pillion commented May 13 '15, 9:19 a.m.

Hi Arne,

- I have checked all the components in the Project Area and they are all Owned by and Visible to the PA.. so it should not be component related.
- Re the snapshots, the last passing build run as generic build account created a snapshot which perhaps the developer user could not read, so I have set the owner of that snapshot to the new build workspace, but no joy.

I should clarify that the Jenkins build itself is successfully returned and it is seems the promotion/delivery of the components to the integration / green-line stream where the error occurs.


Ian Pillion commented May 13 '15, 9:19 a.m.

Eg.
A Pass:
2015-05-08 16:05:54 [Jazz build engine] Invoking post-build participant "com.ibm.team.build.autoDeliver"
2015-05-08 16:06:17 [Jazz build engine] Delivering components...
2015-05-08 16:06:19 [Jazz build engine] Post-build deliver complete.
Summary of Post-build Deliver:
   Build Workspace:
      "PMMainDevBuilderWS" (EeSggtv7vZ9sQA)
   Deliver Target:
      "SC-Main-Integration" (_EeSQ9bWd6D62vw)
   Delivered Snapshot:
      "PM-Main-Int-Build
#729" (_EeSZkO0XA_GYTg)
   Added Components:
      <none>
   Replaced Components:
      "App" (_EeSDAb-4IvVliw)
   Removed Components:
      <none>


Ian Pillion commented May 13 '15, 9:20 a.m.

A Fail:
2015-05-13 14:31:49 [Jazz build engine] Invoking post-build participant "com.ibm.team.build.autoDeliver"
com.ibm.team.repository.common.PermissionDeniedException: CRJAZ1319E Read access is not permitted. The user, X, tried to read one or more items that have the following type: BaselineSet
    at com.ibm.team.repository.client.internal.ItemManager.internalFetchItem(ItemManager.java:1598)
    at com.ibm.team.repository.client.internal.ItemManager.access$1(ItemManager.java:1557)
    at com.ibm.team.repository.client.internal.ItemManager$AbstractStore.retrieveItem(ItemManager.java:194)
    at com.ibm.team.repository.client.internal.ItemManager$CurrentStore.fetchItem(ItemManager.java:319)
    at com.ibm.team.repository.client.internal.ItemManager.fetchCompleteItem(ItemManager.java:843)
    at com.ibm.team.build.internal.engine.AutoDeliverPostBuildParticipant.getSnapshotContribution(AutoDeliverPostBuildParticipant.java:343)

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.