Smoke test fails in TAS/EAR with memory quota_exceeded even if there is enough free memory
search cancel

Smoke test fails in TAS/EAR with memory quota_exceeded even if there is enough free memory

book

Article ID: 432167

calendar_today

Updated On:

Products

VMware Tanzu Platform - Cloud Foundry

Issue/Introduction

Running TAS/EAR Smoke test fails with the following error

CMD> cf scale SMOKES-APP-30b1ba44-66f6 -i 2  
            OUT: Scaling app SMOKES-APP-30b1ba44-66f6 in org system / space SMOKES-SPACE-78e4d197-bf43 as smoke_tests...  
            OUT:  
            ERR: memory quota_exceeded  
            OUT: FAILED  
            [FAILED] in [It] - /var/vcap/packages/smoke-tests/src/base_test.go:59 @ 03/06/26 05:41:31.457

 

But when you check memory used by all apps in system org you can see that it has enough memory. 

There is also a cf community plugin report-memory-usage to check app memory usage against memory allocated. 

This issue only affects the org system

 

Environment

TAS/EAR v10.3.0 and earlier

Resolution

This is a bug and it is included in tanzu-capi-release v4.0.6. As of writing there is no EAR version containing tanzu-capi-release v4.0.6.

This KB will be updated once a release is made available. 

A workaround on this issue to set runaway quota 

cf set-org-quota system runaway