Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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

0 votes



One answer

Permanent link
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

0 votes

Comments

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.

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>

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 35

Question asked: May 12 '15, 1:13 p.m.

Question was seen: 4,086 times

Last updated: May 13 '15, 9:20 a.m.

Confirmation Cancel Confirm