Advertisement
alexander_bazhenov

Untitled

Feb 8th, 2024
749
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 14.44 KB | None | 0 0
  1. ------
  2. 2024-02-08 15:32:37 [INFO]  
  3. 2024-02-08 15:32:37 [INFO]   ----------------------------------------------
  4. 2024-02-08 15:32:37 [INFO]   ----------------------------------------------
  5. 2024-02-08 15:32:37 [INFO]   Linting [GROOVY] files...
  6. 2024-02-08 15:32:37 [INFO]   ----------------------------------------------
  7. 2024-02-08 15:32:37 [INFO]   ----------------------------------------------
  8. 2024-02-08 15:32:37 [INFO]   ---------------------------
  9. 2024-02-08 15:32:37 [INFO]   File:[/github/workspace/jenkins-universal-wrapper-pipeline.groovy]
  10. 2024-02-08 15:32:50 [INFO]    - File:[jenkins-universal-wrapper-pipeline.groovy] was linted with [npm-groovy-lint] successfully
  11. 2024-02-08 15:32:50 [INFO]      - Command output:
  12. ------
  13. CodeNarcServer unexpected error:
  14. {
  15.   "message": "Request failed with status code 500",
  16.   "name": "AxiosError",
  17.   "stack": "AxiosError: Request failed with status code 500
  18.    at settle (/node_modules/axios/dist/node/axios.cjs:1967:12)
  19.    at IncomingMessage.handleStreamEnd (/node_modules/axios/dist/node/axios.cjs:3062:11)
  20.    at IncomingMessage.emit (node:events:524:35)
  21.    at endReadableNT (node:internal/streams/readable:1359:12)
  22.    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)",
  23.   "config": {
  24.     "transitional": {
  25.       "silentJSONParsing": true,
  26.       "forcedJSONParsing": true,
  27.       "clarifyTimeoutError": false
  28.     },
  29.     "adapter": [
  30.       "xhr",
  31.       "http"
  32.     ],
  33.     "transformRequest": [
  34.       null
  35.     ],
  36.     "transformResponse": [
  37.       null
  38.     ],
  39.     "timeout": 600000,
  40.     "xsrfCookieName": "XSRF-TOKEN",
  41.     "xsrfHeaderName": "X-XSRF-TOKEN",
  42.     "maxContentLength": -1,
  43.     "maxBodyLength": -1,
  44.     "env": {},
  45.     "headers": {
  46.       "Accept": "application/json, text/plain, */*",
  47.       "Content-Type": "application/json",
  48.       "User-Agent": "axios/1.6.2",
  49.       "Content-Length": "15812",
  50.       "Accept-Encoding": "gzip, compress, deflate, br"
  51.     },
  52.     "httpAgent": {
  53.       "_events": {},
  54.       "_eventsCount": 2,
  55.       "defaultPort": 80,
  56.       "protocol": "http:",
  57.       "options": {
  58.         "family": 4,
  59.         "keepAlive": true,
  60.         "noDelay": true,
  61.         "path": null
  62.       },
  63.       "requests": {},
  64.       "sockets": {},
  65.       "freeSockets": {
  66.         "localhost:7484::4": [
  67.           {
  68.             "connecting": false,
  69.             "_hadError": false,
  70.             "_parent": null,
  71.             "_host": "localhost",
  72.             "_closeAfterHandlingError": false,
  73.             "_readableState": {
  74.               "objectMode": false,
  75.               "highWaterMark": 16384,
  76.               "buffer": {
  77.                 "head": null,
  78.                 "tail": null,
  79.                 "length": 0
  80.               },
  81.               "length": 0,
  82.               "pipes": [],
  83.               "flowing": true,
  84.               "ended": false,
  85.               "endEmitted": false,
  86.               "reading": true,
  87.               "constructed": true,
  88.               "sync": false,
  89.               "needReadable": true,
  90.               "emittedReadable": false,
  91.               "readableListening": false,
  92.               "resumeScheduled": false,
  93.               "errorEmitted": false,
  94.               "emitClose": false,
  95.               "autoDestroy": true,
  96.               "destroyed": false,
  97.               "errored": null,
  98.               "closed": false,
  99.               "closeEmitted": false,
  100.               "defaultEncoding": "utf8",
  101.               "awaitDrainWriters": null,
  102.               "multiAwaitDrain": false,
  103.               "readingMore": false,
  104.               "dataEmitted": true,
  105.               "decoder": null,
  106.               "encoding": null
  107.             },
  108.             "_events": {
  109.               "timeout": [
  110.                 null,
  111.                 null
  112.               ]
  113.             },
  114.             "_eventsCount": 6,
  115.             "_writableState": {
  116.               "objectMode": false,
  117.               "highWaterMark": 16384,
  118.               "finalCalled": false,
  119.               "needDrain": false,
  120.               "ending": false,
  121.               "ended": false,
  122.               "finished": false,
  123.               "destroyed": false,
  124.               "decodeStrings": false,
  125.               "defaultEncoding": "utf8",
  126.               "length": 0,
  127.               "writing": false,
  128.               "corked": 0,
  129.               "sync": false,
  130.               "bufferProcessing": false,
  131.               "writecb": null,
  132.               "writelen": 0,
  133.               "afterWriteTickInfo": null,
  134.               "buffered": [],
  135.               "bufferedIndex": 0,
  136.               "allBuffers": true,
  137.               "allNoop": true,
  138.               "pendingcb": 0,
  139.               "constructed": true,
  140.               "prefinished": false,
  141.               "errorEmitted": false,
  142.               "emitClose": false,
  143.               "autoDestroy": true,
  144.               "errored": null,
  145.               "closed": false,
  146.               "closeEmitted": false
  147.             },
  148.             "allowHalfOpen": false,
  149.             "_sockname": null,
  150.             "_pendingData": null,
  151.             "_pendingEncoding": "",
  152.             "server": null,
  153.             "_server": null,
  154.             "parser": null,
  155.             "_httpMessage": null,
  156.             "timeout": 0
  157.           }
  158.         ]
  159.       },
  160.       "keepAliveMsecs": 1000,
  161.       "keepAlive": true,
  162.       "maxSockets": null,
  163.       "maxFreeSockets": 256,
  164.       "scheduling": "lifo",
  165.       "maxTotalSockets": null,
  166.       "totalSocketCount": 1
  167.     },
  168.     "method": "post",
  169.     "url": "http://localhost:7484/request",
  170.     "data": "{\"codeNarcArgs\":[\"-basedir=/github/workspace\",\"-ruleset=%7B%22AbstractClassName%22%3A%7B%7D%2C%22AbstractClassWithoutAbstractMethod%22%3A%7B%7D%2C%22AbstractClassWithPublicConstructor%22%3A%7B%7D%2C%22AddEmptyString%22%3A%7B%7D%2C%22AssertWithinFinallyBlock%22%3A%7B%7D%2C%22AssignCollectionSort%22%3A%7B%7D%2C%22AssignCollectionUnique%22%3A%7B%7D%2C%22AssignmentInConditional%22%3A%7B%7D%2C%22AssignmentToStaticFieldFromInstanceMethod%22%3A%7B%7D%2C%22BigDecimalInstantiation%22%3A%7B%7D%2C%22BitwiseOperatorInConditional%22%3A%7B%7D%2C%22BlankLineBeforePackage%22%3A%7B%7D%2C%22BlockEndsWithBlankLine%22%3A%7B%7D%2C%22BlockStartsWithBlankLine%22%3A%7B%7D%2C%22BooleanGetBoolean%22%3A%7B%7D%2C%22BooleanMethodReturnsNull%22%3A%7B%7D%2C%22BracesForClass%22%3A%7B%22priority%22%3A3%7D%2C%22BracesForForLoop%22%3A%7B%22priority%22%3A3%7D%2C%22BracesForIfElse%22%3A%7B%22priority%22%3A3%7D%2C%22BracesForMethod%22%3A%7B%22priority%22%3A3%7D%2C%22BracesForTryCatchFinally%22%3A%7B%22priority%22%3A3%7D%2C%22Bro
  171.  },
  172.  "code": "ERR_BAD_RESPONSE",
  173.  "status": 500
  174. }
  175. "java.base/java.lang.Class.forName0(Native Method)
  176. java.base/java.lang.Class.forName(Class.java:375)
  177. groovy.grape.Grape.getInstance(Grape.java:126)
  178. groovy.grape.Grape$1.run(Grape.java:163)
  179. groovy.grape.Grape$1.run(Grape.java:160)
  180. java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
  181. groovy.grape.Grape.grab(Grape.java:160)
  182. groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.java:377)
  183. org.codehaus.groovy.transform.ASTTransformationVisitor.lambda$addPhaseOperationsForGlobalTransforms$4(ASTTransformationVisitor.java:337)
  184. org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:901)
  185. org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:671)
  186. org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:635)
  187. groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:389)
  188. groovy.lang.GroovyClassLoader.lambda$parseClass$3(GroovyClassLoader.java:332)
  189. org.codehaus.groovy.runtime.memoize.StampedCommonCache.compute(StampedCommonCache.java:163)
  190. org.codehaus.groovy.runtime.memoize.StampedCommonCache.getAndPut(StampedCommonCache.java:154)
  191. groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:330)
  192. groovy.lang.GroovyShell.parseClass(GroovyShell.java:526)
  193. groovy.lang.GroovyShell.parse(GroovyShell.java:538)
  194. groovy.lang.GroovyShell.parse(GroovyShell.java:547)
  195. groovy.lang.GroovyShell$parse.call(Unknown Source)
  196. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
  197. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
  198. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
  199. com.nvuillam.CodeNarcServer.parseFile(CodeNarcServer.groovy:422)
  200. java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  201. java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  202. java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  203. java.base/java.lang.reflect.Method.invoke(Method.java:568)
  204. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
  205. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
  206. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:362)
  207. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:61)
  208. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
  209. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
  210. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
  211. com.nvuillam.CodeNarcServer$_parseFiles_closure9.doCall(CodeNarcServer.groovy:412)
  212. java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  213. java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  214. java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  215. java.base/java.lang.reflect.Method.invoke(Method.java:568)
  216. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
  217. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
  218. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:274)
  219. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1035)
  220. groovy.lang.Closure.call(Closure.java:412)
  221. groovy.lang.Closure.call(Closure.java:428)
  222. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2358)
  223. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2343)
  224. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2384)
  225. org.codehaus.groovy.runtime.dgm$202.invoke(Unknown Source)
  226. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:247)
  227. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
  228. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
  229. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
  230. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
  231. com.nvuillam.CodeNarcServer.parseFiles(CodeNarcServer.groovy:411)
  232. java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  233. java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  234. java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  235. java.base/java.lang.reflect.Method.invoke(Method.java:568)
  236. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
  237. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
  238. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:362)
  239. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:61)
  240. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
  241. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
  242. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:194)
  243. com.nvuillam.CodeNarcServer$_request_closure5.doCall(CodeNarcServer.groovy:281)
  244. java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  245. java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  246. java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  247. java.base/java.lang.reflect.Method.invoke(Method.java:568)
  248. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
  249. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
  250. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:274)
  251. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1035)
  252. groovy.lang.Closure.call(Closure.java:412)
  253. org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50)
  254. org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:110)
  255. jdk.proxy3/jdk.proxy3.$Proxy12.handle(Unknown Source)
  256. jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:95)
  257. jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82)
  258. jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)
  259. jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:851)
  260. jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:95)
  261. com.sun.net.httpserver.Filter$Chain$doFilter.call(Unknown Source)
  262. com.nvuillam.CodeNarcServer$1.doFilter(CodeNarcServer.groovy:174)
  263. jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)
  264. com.sun.net.httpserver.Filter$Chain$doFilter.call(Unknown Source)
  265. com.nvuillam.CodeNarcServer$2.doFilter(CodeNarcServer.groovy:211)
  266. jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)
  267. jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:818)
  268. java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  269. java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  270. java.base/java.lang.Thread.run(Thread.java:840)"
  271. npm-groovy-lint results in 1 linted files:
  272. ┌─────────┬───────────┬─────────────┐
  273. │ (index) │ Severity  │ Total found │
  274. ├─────────┼───────────┼─────────────┤
  275. │    0    │  'Error'  │      0      │
  276. │    1    │ 'Warning' │      0      │
  277. │    2    │  'Info'   │      0      │
  278. └─────────┴───────────┴─────────────┘
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement