[FOLIO-3183] build-platform-complete-snapshot job failure Created: 01/Jun/21  Updated: 07/Jun/21  Resolved: 07/Jun/21

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P2
Reporter: John Malconian Assignee: John Malconian
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: File mod-audit.log.gz    
Issue links:
Blocks
is blocked by MODAUD-60 mod-audit: RMB Update Closed
Sprint: DevOps Sprint 116, DevOps Sprint 115
Development Team: FOLIO DevOps

 Description   

Jenkins job, 'build-platform-complete-snapshot', fails consecutively during tenant initialization



 Comments   
Comment by John Malconian [ 01/Jun/21 ]

Several modules remain uninitialized for tenant and the connection to Okapi eventually times out. The only backend module update that occurs between the last successful build and first build failure is mod-audit-2.1.0-SNAPSHOT.93 --> mod-audit-2.1.0-SNAPSHOT.94. Specifically, this commit: https://github.com/folio-org/mod-audit/pull/90 which includes an RMB update.

I've pinned mod-audit-2.1.0-SNAPSHOT.93 in install-extras.json on the snapshot branch and am now able to get a successful build. I will attach the mod-audit-2.1.0-SNAPSHOT.94 log from an unsuccessful build to this issue. Noticeable differences in mod-audit's SNAPSHOT.94 log file compared to mod-audit-2.1.0-SNAPSHOT.93:

Lines like those below are missing in mod-audit's SNAPSHOT.94 log file:

01:52:30 [] [] [] [] INFO  TenantAPI            job 0e5fbf7b-3a6e-43bc-b7d2-5c4f6036a6d1 completed
01:52:30 [] [] [] [] INFO  PubSubClientUtils    Registering module's publishers
01:52:30 [] [] [] [] INFO  PubSubClientUtils    Module's subscribers were successfully registered
01:52:30 [] [] [] [] INFO  LogUtil              org.folio.rest.RestVerticle start  invoking getTenantByOperationId
01:52:30 [] [] [] [] INFO  LogUtil              10.36.1.34:39764 GET /_/tenant/0e5fbf7b-3a6e-43bc-b7d2-5c4f6036a6d1 null HTTP_1_1 200 358 4 tid=diku OK 
01:52:30 [] [] [] [] INFO  LogUtil              org.folio.rest.RestVerticle start  invoking deleteTenantByOperationId
01:52:30 [] [] [] [] INFO  LogUtil              10.36.1.34:39764 DELETE /_/tenant/0e5fbf7b-3a6e-43bc-b7d2-5c4f6036a6d1 null HTTP_1_1 204 0 8 tid=diku No Content 

This seems to indicate the module is not fully initialized during tenant init.

I will pin mod-audit to mod-audit-2.1.0-SNAPSHOT.93 in folio-ansible for folio-testing builds as well.

Comment by Darcy Branchini [ 02/Jun/21 ]

Would this be causing loan policies settings - https://folio-snapshot.dev.folio.org/settings/circulation/loan-policies - to not load (see right pane)?

Comment by John Malconian [ 02/Jun/21 ]

I wouldn't think so Darcy Branchini

Comment by Darcy Branchini [ 02/Jun/21 ]

Okay, thanks John Malconian.

Comment by John Malconian [ 07/Jun/21 ]

mod-audit has been unpinned from the reference builds. Tenant initialization issue appears fixed.

Generated at Thu Feb 08 23:26:14 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.