Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] tests run under cloverage on 2gb heap size JVM fail with issues in the mock ES node #664

Open
1 task
konstan opened this issue Mar 8, 2022 · 1 comment
Assignees

Comments

@konstan
Copy link
Contributor

konstan commented Mar 8, 2022

sixsq.nuvla.server.resources.common.std-crud - unexpected status code (500) when creating configuration/nuvla resource: 
{:status 500, :headers {"Content-Type" "application/json"}, :body {:status 500, :message "unexpected error occurred: 
unexpected exception: {:root_cause [{:type \"circuit_breaking_exception\", :reason \"[parent] Data too large, data for 
[<http_request>] would be [1736238200/1.6gb], which is larger than the limit of [1731303833/1.6gb], real usage: 
[1736237568/1.6gb], new bytes reserved: [632/632b]\", :bytes_wanted 1736238200, :bytes_limit 1731303833, :durability 
\"TRANSIENT\"}], :type \"circuit_breaking_exception\", :reason \"[parent] Data too large, data for [<http_request>] would be 
[1736238200/1.6gb], which is larger than the limit of [1731303833/1.6gb], real usage: [1736237568/1.6gb], new bytes 
reserved: [632/632b]\", :bytes_wanted 1736238200, :bytes_limit 1731303833, :durability \"TRANSIENT\"}"}}

The current workaround in GHA is to set

          export JAVA_OPTS="-Xms6g -Xmx6g"
          export ES_JAVA_OPTS="-Xms6g -Xmx6g"

before running sonar-scanner.

  • Note: With the config above, the time taken by the sonar-scanner increased twice. For the builds, the GHA runner used is ubuntu-latest which is 2CPU/7GBRAM and 4GB of swap. There might be swapping happing that slows down the build. This needs to be investigated
@konstan konstan added the CI label Mar 8, 2022
@konstan konstan self-assigned this Mar 8, 2022
@konstan
Copy link
Contributor Author

konstan commented Mar 8, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant