Endevor B4G: Invalid fingerprint detected for elements

book

Article ID: 224115

calendar_today

Updated On:

Products

CA Endevor Software Change Manager (SCM)

Issue/Introduction

Using Endevor Bridge for Git 2.8 with Endevor V18.1.

Edit element using visual Studio code, then did a push on Azure Devops, update failed. 

Bridge for Git log shows:

2021-09-10 17:37:22.903  INFO 2100 --- [http-nio-8443-exec-5] c.c.e.i.m.b.hook.api.result.HookResult   : PostReceiveHook - Hook result: ACCEPTED

2021-09-10 17:37:30.006  INFO 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.r.EndevorSyncJobRunner   : ============== SYNC - Branch: TFS_SANDBOX/ESES_MAINFRAME_SANDBOX/ORIGINE_EOCF1 (ORIGINE_EOCF1_SBI_COB) - Committer: BRLAU01 ==============

2021-09-10 17:37:55.144  INFO 2100 --- [http-nio-8443-exec-10] c.c.e.i.m.b.hook.api.result.HookResult   : PostReceiveHook - Hook result: ACCEPTED

2021-09-10 17:38:12.995  INFO 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.r.EndevorSyncJobRunner   : Fetching Git changes ...

2021-09-10 17:38:13.432 ERROR 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.h.i.v.CommitValidator        : Unexpected exception:




com.ca.endevor.integration.modules.background.task.exception.FingerprintValidationException: Invalid fingerprint detected for elements: ORIGINE/1/EOCF1/SBIBB/COB/BBB008.COB ()

                at com.ca.endevor.integration.modules.background.task.impl.helper.EndevorResponseParser.validateFingerprints(EndevorResponseParser.java:145)

                at com.ca.endevor.integration.modules.background.hook.impl.validation.CommitValidator.isFingerprintsValid(CommitValidator.java:123)

                at com.ca.endevor.integration.modules.background.hook.impl.validation.PushEventEndevorValidator.validate(PushEventEndevorValidator.java:38)

                at com.ca.endevor.integration.modules.background.hook.impl.validation.PushEventEndevorValidator.validateSquashedCommit(PushEventEndevorValidator.java:58)

                at com.ca.endevor.integration.modules.background.job.impl.runner.EndevorSyncJobRunner.processOperation(EndevorSyncJobRunner.java:113)

                at com.ca.endevor.integration.modules.background.job.impl.runner.EndevorSyncJobRunner.processOperation(EndevorSyncJobRunner.java:71)

                at com.ca.endevor.integration.modules.background.job.impl.runner.AbstractJobRunner.processOperations(AbstractJobRunner.java:150)

                at com.ca.endevor.integration.modules.background.job.impl.runner.AbstractJobRunner.runJob(AbstractJobRunner.java:89)

                at com.ca.endevor.boot.scheduler.QuartzJob.execute(QuartzJob.java:30)

                at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

                at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)




2021-09-10 17:38:13.437  WARN 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.hook.api.result.HookResult   : EndevorSyncJobRunner - Hook result: REJECTED - Invalid fingerprint detected for elements: ORIGINE/1/EOCF1/SBIBB/COB/BBB008.COB ()

2021-09-10 17:38:13.448  INFO 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.runner.RevertJobRunner   : ============== REVERT - Branch: TFS_SANDBOX/ESES_MAINFRAME_SANDBOX/ORIGINE_EOCF1 (ORIGINE_EOCF1_SBI_COB) ==============

2021-09-10 17:38:13.454  INFO 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.runner.RevertJobRunner   : Running Revert flow ...

2021-09-10 17:38:16.867  INFO 2100 --- [DefaultQuartzScheduler_Worker-9] .c.e.i.m.b.j.i.r.AbstractOperationResult :

[Bridge for Git] Revert commit - SUCCESS (TFS_SANDBOX/ESES_MAINFRAME_SANDBOX / ORIGINE_EOCF1)

Operation: Revert commit

Result: SUCCESS

Message: A new branch was created and it can be checked to recover the reverted changes.

                Revert branch: ORIGINE_EOCF1_SBI_COB-revert/BRLAU01/20210910/0f30d58

2021-09-10 17:38:16.881  WARN 2100 --- [DefaultQuartzScheduler_Worker-9] org.apache.velocity.deprecation          : configuration key 'classpath.resource.loader.class' has been deprecated in favor of 'resource.loader.classpath.class'

2021-09-10 17:38:16.881  WARN 2100 --- [DefaultQuartzScheduler_Worker-9] org.apache.velocity.deprecation          : configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'

2021-09-10 17:38:17.086 ERROR 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.r.SyncOperationResult    :

[Bridge for Git] Endevor synchronization - FAILED (TFS_SANDBOX/ESES_MAINFRAME_SANDBOX / ORIGINE_EOCF1)

Operation: Endevor synchronization

Result: FAILED


Environment

Release : 18.1

Component : BRIDGE FOR GIT 2.8

Resolution

Apply Endevor Web Service APAR LT02782 

Endevor web services send an empty fingerprint header during element retrieve (and add/update). The reason for this is that when Web services read the API execution report to find the fingerprint, the message is not in the expected format, since the French code page is used.