Brian,

This generally happens when you force-push or rebase (aka rewrite git
history) on a branch. You can fix this, if would make another commit on the
respective branch of the repo.


On Fri, Sep 23, 2016 at 12:12 AM, Brian Beggs <bbe...@edx.org> wrote:

> I should also mention that we are running gocd 16.5.0. (and fix up the
> subject line)
>
> On Thursday, September 22, 2016 at 2:32:21 PM UTC-4, Brian Beggs wrote:
>>
>> Hello,
>>
>>
>> I am seeing some strange behavior with GoCD. We are trying to run a
>> pipeline with a specific git revision 
>> (7bf17ab3ff980fa691d946cacf7f4fdb09a90809),
>> though when I go to the UI and search for this sha for the material,
>> nothing comes up. I did some digging and it looks like other than the last
>> 15ish commits (about 10 days worth of work) no longer show up in the UI and
>> we are unable to build with them even when entering the exact sha.
>>
>>
>> I have pulled the following out of the logs:
>>
>> 2016-09-22 18:19:39,307 ERROR [59@MessageListener for
>> MaterialUpdateStatusNotifier] BuildCauseProducerService:248 - Error while
>> scheduling pipeline: loadtest-edx-ecommerce
>>
>> java.lang.RuntimeException: Unable to find revision
>> [7bf17ab3ff980fa691d946cacf7f4fdb09a90809] for material [GitMaterial{url=
>> https://github.com/edx/ecommerce.git, branch='master',
>> submoduleFolder='null', shallowClone=false}]
>>
>>         at com.thoughtworks.go.server.materials.MaterialChecker.findSpe
>> cificRevision(MaterialChecker.java:52)
>>
>>         at com.thoughtworks.go.server.materials.SpecificMaterialRevisio
>> nFactory.create(SpecificMaterialRevisionFactory.java:53)
>>
>>         at com.thoughtworks.go.server.scheduling.BuildCauseProducerServ
>> ice.newProduceBuildCause(BuildCauseProducerService.java:177)
>>
>>         at com.thoughtworks.go.server.scheduling.BuildCauseProducerServ
>> ice$WaitForPipelineMaterialUpdate.onMaterialUpdate(BuildCaus
>> eProducerService.java:416)
>>
>>         at com.thoughtworks.go.server.materials.MaterialUpdateStatusNot
>> ifier.onMessage(MaterialUpdateStatusNotifier.java:55)
>>
>>         at com.thoughtworks.go.server.materials.MaterialUpdateStatusNot
>> ifier.onMessage(MaterialUpdateStatusNotifier.java:29)
>>
>>         at com.thoughtworks.go.server.messaging.activemq.JMSMessageList
>> enerAdapter.runImpl(JMSMessageListenerAdapter.java:65)
>>
>>         at com.thoughtworks.go.server.messaging.activemq.JMSMessageList
>> enerAdapter.run(JMSMessageListenerAdapter.java:50)
>>
>>         at java.lang.Thread.run(Thread.java:745)
>>
>>
>> And here is a link to the commit history of the project:
>> https://github.com/edx/ecommerce/commits/master
>>
>>
>> Any Idea what is going on here? Should I expect to see this sha in the
>> list?
>>
>>
>> Thanks,
>>
>>
>> Brian
>>
>>
>> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Ashwanth Kumar / ashwanthkumar.in

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to