[BUILD-791] Investigate failure of some VariantCaching ITs on EE 5.7.x branch Created: 12/May/22  Updated: 27/Nov/23  Resolved: 27/Nov/23

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Federico Grilli Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to BUILD-789 Update dependency net.sourceforge.htm... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Team: Foundation

 Description   

Started to fail after update of htmlunit dependency, no functional change involved apparently. 
Tests were temporarily ignored.

 

[ERROR] VariantCachingTest.pageVariantCaching:58 

[|https://jenkins.magnolia-cms.com/blue/organizations/jenkins/platform%2Fee/detail/PR-149/3/pipeline/#step-99-log-230]Expected: (a string containing "ftl-sample-site" and a string containing "behaviour=store" and a string containing "info.magnolia.advancedcache.personalization.cache.PersonalizedCacheEntry") 
[|https://jenkins.magnolia-cms.com/blue/organizations/jenkins/platform%2Fee/detail/PR-149/3/pipeline/#step-99-log-231] 

but: a string containing "ftl-sample-site" was "CachePolicyResult\{behaviour=store, cacheKey=DefaultCacheKey{uri='/.resources/samples/webresources/css/samples.css', serverName='localhost', locale='en', channel='all', params={}', secure='false', method='get', additionalAttributes='{}'}, cachedEntry=info.magnolia.module.cache.filter.InMemoryCachedEntry@85e7446[gzippedContent=743 bytes,plainContent=2155 bytes,contentType=text/css,characterEncoding=UTF-8,statusCode=200,serializableHeadersBackingList=\{Last-Modified=[1513859260000], Content-Type=[text/css]},lastModificationTime=1513859260000,originalUrl=[http://localhost:8080/magnoliaPublic/.resources/samples/webresources/css/samples.css,timeToLiveInSeconds=-1]]}" 
[ERROR] VariantCachingTest.pageWithComponentVariantsCaching:122 
 
[|https://jenkins.magnolia-cms.com/blue/organizations/jenkins/platform%2Fee/detail/PR-149/3/pipeline/#step-99-log-233]Expected: (a string containing "ftl-sample-site" and a string containing "behaviour=store" and a string containing "info.magnolia.advancedcache.personalization.cache.PersonalizedCacheEntry") 
 [|https://jenkins.magnolia-cms.com/blue/organizations/jenkins/platform%2Fee/detail/PR-149/3/pipeline/#step-99-log-234] 

but: a string containing "ftl-sample-site" was "CachePolicyResult\{behaviour=store, cacheKey=DefaultCacheKey{uri='/.resources/samples/webresources/css/samples.css', serverName='localhost', locale='en', channel='all', params={}', secure='false', method='get', additionalAttributes='{}'}, cachedEntry=info.magnolia.module.cache.filter.InMemoryCachedEntry@15eb9717[gzippedContent=743 bytes,plainContent=2155 bytes,contentType=text/css,characterEncoding=UTF-8,statusCode=200,serializableHeadersBackingList=\{Last-Modified=[1513859260000], Content-Type=[text/css]},lastModificationTime=1513859260000,originalUrl=[http://localhost:8080/magnoliaPublic/.resources/samples/webresources/css/samples.css,timeToLiveInSeconds=-1]]}"

Generated at Sun Feb 11 23:45:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.