AnsweredAssumed Answered

DevTest Integration with Jenkins using lisa invoke

Question asked by Naqeeb on Aug 8, 2017
Latest reply on Aug 9, 2017 by Naqeeb

I am trying the cURL to run my build remotely. Here is the URL

curl --user 'admin:admin' -F file={filepath}/sample.mar 
http://{registry_url}/api/Dcm/VSEs/vse_name/actions/deployMar

getting the below error message,

 

<Error xmlns="http://www.ca.com/lisa/invoke/v2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.ca.com/lisa/invoke/v2.0 Error.xsd" type="application/vnd.ca.lisaInvoke.error+xml">
<Id>1003</Id><Message>Our audit file is either missing or we are not a model archive or are corrupt.</Message>
<AdditionalInformation>&#xD; java.lang.IllegalArgumentException: Our audit file is either missing or we are not
a model archive or are corrupt.      at com.itko.lisa.model.mar.ModelArchive.init(ModelArchive.java:258)      
at com.itko.lisa.model.mar.ModelArchive.&lt;init&gt;(ModelArchive.java:242)
     at com.itko.lisa.invoke.internal.VseRetriever.deployService(VseRetriever.java:1162)      
at com.itko.lisa.invoke.resource.VseResource.deployService(VseResource.java:1040)      
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)      
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)      
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      
at java.lang.reflect.Method.invoke(Method.java:498)      
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)      
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)      at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)      at com.codahale.metrics.jersey.InstrumentedResourceMethodDispatchProvider$TimedRequestDispatcher.dispatch(InstrumentedResourceMethodDispatchProvider.java:30)      at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)      at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)      at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)      at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)      at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)      at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)      at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)      at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)      at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)      at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)      at com.itko.lisa.invoke.AuthenFilter.doFilter(AuthenFilter.java:254)      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)

 

Thanks in advance!!

Outcomes