Hello,

We have a GoCD Pipeline that depends on a version-controlled zip archive as 
one of its materials. To mitigate space issues caused by versioning a large 
binary file, the zip archive is rotated monthly. The upstream process that 
commits the archive timestamps it with YYYY-MM and every month we update a 
Parameter on our GoCD Pipeline to ensure we pull the latest file.

This has been working fine for the past 2+ years but this month GoCD 
started throwing errors as soon as we update the Parameter to the current 
date. The error message we are seeing is:

No row with the given identifier exists: 
[com.thoughtworks.go.domain.MaterialInstance#124725]; nested exception is 
org.hibernate.ObjectNotFoundException: No row with the given identifier 
exists: [com.thoughtworks.go.domain.MaterialInstance#124725]

As a result of this error:

   - GoCD fails when checking for a modification to the Material (error as 
   above).
   - GoCD fails to schedule the Pipeline (error as above).
   - GoCD fails to display Pipeline History in the UI 
   (http://gocd:8153/go/pipelineHistory.json?pipelineName=<affectedPipeline> 
   returns HTTP 500).
   - GoCD succeeds to display Pipeline History in the API 
   (http://gocd:8153/go/api/pipelines/<affectedPipeline>/history works as 
   expected).

In case it is relevant, the source control system is TFS. The Parameter is 
used in the Material's Project Path ($/MyTeamProject/#{zipFile}) and 
Destination Directory (zipFile\#{zipFile}).

As noted above, the errors start as soon as we change the date pattern in 
the zipFile Parameter from 2019-11 to 2019-12. When we revert from 2019-12 
back to 2019-11 they clear again. We have a test server that is a clone of 
our production server and this Pipeline works fine in dev.

Any thoughts on what we can do to resolve this issue?

Any help is appreciated.

Thank you,
Jason

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/eb069d28-0871-42f5-8cd6-db8da0113a0d%40googlegroups.com.

Reply via email to