Smoketest setup can OOM
See original GitHub issueI created some recordings with the web UI, then tested some queries with curl. The backend keeps terminating after the second or third graphql query. Are there any other logs I can check to find out what happened?
POST /api/beta/graphql HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 621
Content-Type: application/json
Host: localhost:8181
User-Agent: HTTPie/3.0.2
{
"query": "query {\n environmentNodes(filter: { name: \"JDP\" }) {\n name\n nodeType\n descendantTargets {\n recordings {\n active(filter: { continuous: true, templateLabel: \"template=Cryostat,type=TARGET\" }) {\n name\n state\n metadata {\n labels\n }\n }\n archived {\n name\n metadata {\n labels\n }\n }\n }\n }\n }\n}\n"
}
http: error: ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) while doing a POST request to URL: http://localhost:8181/api/beta/graphql
INFO: (10.0.2.100:51816): GET /api/v1/targets/service%3Ajmx%3Armi%3A%2F%2F%2Fjndi%2Frmi%3A%2F%2Fcryostat%3A9091%2Fjmxrmi/recordings 200 21ms
Mar 18, 2022 5:47:30 PM io.cryostat.core.log.Logger info
INFO: (10.0.2.100:51810): GET /api/v1/recordings 200 28ms
Mar 18, 2022 5:47:40 PM io.cryostat.core.log.Logger info
INFO: Removing cached connection for service:jmx:rmi:///jndi/rmi://cryostat:9091/jmxrmi: EXPIRED
Mar 18, 2022 5:47:40 PM io.cryostat.core.log.Logger info
INFO: Connection for service:jmx:rmi:///jndi/rmi://cryostat:9091/jmxrmi closed
Mar 18, 2022 5:48:45 PM io.cryostat.core.log.Logger info
INFO: Creating connection for service:jmx:rmi:///jndi/rmi://cryostat:10000/jmxrmi
+ cleanup
+ podman pod kill cryostat
cab957e3c614d9e0bafd13451c105f400dc7ffc19cf78aec08744ce478ec993a
+ podman pod rm cryostat
cab957e3c614d9e0bafd13451c105f400dc7ffc19cf78aec08744ce478ec993a
_Originally posted by @jan-law in https://github.com/cryostatio/cryostat/pull/868#discussion_r830231817_
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Easily Set Up Smoke Tests in Your Build Pipeline - Split
Smoke tests should be a combination of functional end-to-end tests, unit tests, integration tests, and API tests. Once you get the data you...
Read more >How to Use Smoke Tests to Validate Your Product or Feature ...
Before you launch your next product or feature idea, run a smoke test to validate it. Here's the step-by-step smoke test process.
Read more >Apex-PDP Smoke Test — onap master documentation
The apex-pdp smoke testing is executed against a default ONAP installation as per OOM charts. This test verifies the functionalities supported by apex-pdp ......
Read more >Smoke Tests - GitLab Docs
In short, smoke tests run quick end-to-end functional tests from GitLab QA and ... If you want help with something specific and could...
Read more >Building a Smoke Test Suite in Espresso for Native Android ...
UI tests take a long time to run, but we do want to run some of the most important tests at critical points....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay. Sounds like something for us to keep an eye on at least. It would also be good if we can spend a bit more time doing some heap analysis before release and make sure we aren’t leaking memory or doing anything silly that generates a lot of garbage.
Probably. That isn’t a very far-fetched scenario in a real deployment that actually sees some use. If that sequence can take it down then I’m sure there are many other similar sequences that can, too, with similar low traffic levels.