-
Notifications
You must be signed in to change notification settings - Fork 31
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
test(smoketest): add native image sample app #1525
Conversation
Test image available:
|
Test image available:
|
Test image available:
|
4faf6be
to
a12cfdf
Compare
Test image available:
|
Not sure if its just me but Cryostat can't seems to pull templates. SEVERE: HTTP 500: Could not get template models
io.vertx.ext.web.handler.HttpException: Internal Server Error
Caused by: io.cryostat.core.FlightRecorderException: Could not get template models
at io.cryostat.core.templates.LocalStorageTemplateService.getTemplateModels(LocalStorageTemplateService.java:276)
at io.cryostat.core.templates.AbstractTemplateService.getTemplates(AbstractTemplateService.java:53)
at io.cryostat.core.templates.LocalStorageTemplateService.getTemplates(LocalStorageTemplateService.java:73)
at io.cryostat.core.templates.MergedTemplateService.getTemplates(MergedTemplateService.java:70)
at io.cryostat.net.web.http.api.v1.TargetTemplatesGetHandler.lambda$handleAuthenticated$0(TargetTemplatesGetHandler.java:126)
at io.cryostat.net.TargetConnectionManager.executeConnectedTask(TargetConnectionManager.java:168)
at io.cryostat.net.web.http.api.v1.TargetTemplatesGetHandler.handleAuthenticated(TargetTemplatesGetHandler.java:122)
at io.cryostat.net.web.http.AbstractAuthenticatedRequestHandler.handle(AbstractAuthenticatedRequestHandler.java:102)
at io.cryostat.net.web.http.AbstractAuthenticatedRequestHandler.handle(AbstractAuthenticatedRequestHandler.java:72)
at io.vertx.ext.web.impl.BlockingHandlerDecorator.lambda$handle$0(BlockingHandlerDecorator.java:48)
at io.vertx.core.impl.ContextBase.lambda$null$0(ContextBase.java:137)
at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264)
at io.vertx.core.impl.ContextBase.lambda$executeBlocking$1(ContextBase.java:135)
at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.IOException: Is a directory
at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at java.base/sun.nio.ch.FileDispatcherImpl.read(FileDispatcherImpl.java:48)
at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:330)
at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:296)
at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:273)
at java.base/sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:232)
at java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65)
at java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:107)
at java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:101)
at java.base/java.io.InputStream.read(InputStream.java:218)
at java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:81)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.readAndBuffer(XMLEntityManager.java:3025)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:705)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:150)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:861)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
at org.openjdk.jmc.flightrecorder.controlpanel.ui.configuration.model.xml.XMLModel.create(XMLModel.java:160)
at org.openjdk.jmc.flightrecorder.controlpanel.ui.model.EventConfiguration.createModel(EventConfiguration.java:148)
at io.cryostat.core.templates.LocalStorageTemplateService.getTemplateModels(LocalStorageTemplateService.java:271)
... 17 more |
I saw that we can start recording with native image so not sure how we do that? Maybe not on UI? |
a12cfdf
to
2714488
Compare
Test image available:
|
Ahh thanks! Somehow that directory was containing helm charts dated back to May 18:)) Can't rmb what i did on that day haha... But anyways looks very good! Awesome!! |
2714488
to
549d5da
Compare
Test image available:
|
* feat(smoketest): add native image sample app * remove unnecessary publish * clean up port publications * bump -core version to one that can connect to native images (cherry picked from commit f0884a6) # Conflicts: # smoketest.sh
* feat(smoketest): add native image sample app * remove unnecessary publish * clean up port publications * bump -core version to one that can connect to native images (cherry picked from commit f0884a6) # Conflicts: # smoketest.sh
Welcome to Cryostat! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
git commit --amend --signoff
Related to cryostatio/cryostat-core#217
Description of the change:
Adds a Quarkus native image sample application to the smoketest.sh.
Motivation for the change:
This makes it visible and convenient to test Cryostat functionality against a native image target.
How to manually test: