Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-2518

[CLI] Failing analysis on MAC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Blocker Blocker
    • MTA 7.0.3
    • MTA 7.0.3
    • MTA CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      One of analysis commands is failing on MAC, both AMD64 and ARM64

      Version-Release number of selected component (if applicable):

      bundle 7.0.3-10, image 7.0.3-5

      How reproducible:

      100%

      Steps to Reproduce:
      1. run command on MAC:
      /Users/ec2-user/darwin-mta-cli analyze --overwrite --input /Users/ec2-user/kantra-cli-tests/data/applications/kafka-clients-sb-sample.jar --output /Users/ec2-user/kantra-cli-tests/reports --target quarkus

      Actual results:

      Analysis is failing by timeout with errors in the log

      Expected results:

      Analysis should succeed

      Additional info:
      Error in the analysis.log:

      time="2024-04-02T13:09:50Z" level=error msg="grpc unable to get info" error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp [::1]:34161: connect: connection refused\"" logger=go provider=grpc
      time="2024-04-02T13:09:53Z" level=error msg="unable to parse all the rules for ruleset" error="unable to find ruleset.yaml\nunable to find ruleset.yaml\nunable to find ruleset.yaml\neither message or tag must be set\neither message or tag must be set\nunable to find ruleset.yaml" fileName=/opt/rulesets/
      time="2024-04-02T13:09:54Z" level=error msg="failed to add dep" error="failed to construct artifact from pom properties" file=/tmp/source-code/kafka-clients-sb-sample-jar-exploded/BOOT-INF/lib/commons-logging-api-1.0.4.jar provider=java
      time="2024-04-02T13:10:23Z" level=error msg="failed to move decompiled file" error="open /root/.m2/repository/logging/commons-logging-api/1.0.4/decompiled/commons-logging-api-1.0.4.jar: no such file or directory" file=/root/.m2/repository/logging/commons-logging-api/1.0.4/decompiled/commons-logging-api-1.0.4.jar provider=java
      time="2024-04-02T13:10:23Z" level=error msg="failed to move decompiled file" error="open /root/.m2/repository/com/google/guava/listenablefuture/9999.0/decompiled/listenablefuture-9999.0.jar: no such file or directory" file=/root/.m2/repository/com/google/guava/listenablefuture/9999.0/decompiled/listenablefuture-9999.0.jar provider=java
      time="2024-04-02T13:10:53Z" level=error msg="failed to get location for dependency" dep=org.springframework.spring-beans error="unable to get location for dep org.springframework.spring-beans, dep.Extras not set"
      time="2024-04-02T13:10:53Z" level=error msg="failed to get location for dependency" dep=io.micrometer.micrometer-core error="unable to get location for dep io.micrometer.micrometer-core, dep.Extras not set"
      time="2024-04-02T13:10:53Z" level=error msg="failed to get location for dependency" dep=org.springframework.spring-web error="unable to get location for dep org.springframework.spring-web, dep.Extras not set"
      time="2024-04-02T13:10:53Z" level=error msg="failed to get location for dependency" dep=org.springframework.boot.spring-boot-starter-web error="unable to get location for dep org.springframework.boot.spring-boot-starter-web, dep.Extras not set"
      time="2024-04-02T13:10:53Z" level=error msg="failed to get location for dependency" dep=org.springframework.spring-web error="unable to get location for dep org.springframework.spring-web due to a previous error"
      

            pgaikwad1@redhat.com Pranav Gaikwad
            ibragins@redhat.com Igor Braginsky
            Igor Braginsky Igor Braginsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: