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

[CLI] [.NET] Analysis on .NET applications gets stuck forever

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTA 7.1.0
    • MTA 7.1.0
    • MTA CLI
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      Analysis of .NET Hello World application using the attached rules gets stuck forever.

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

      How reproducible: Always  

      Steps to Reproduce:
      1. Execute the following command

       ./mta-cli analyze --input ~/apps/dotnet-HelloWorld/ --output ~/Desktop/report-hello --overwrite --rules ~/apps/dotnet-david-rules/ --provider dotnet

      Hello World example app

      rules

      Actual results:

      INFO[0000] running windup shim                           args="convert --outputdir=/opt/shimoutput /opt/xmlrules" output=/home/abrugaro/Desktop/report-hello volumes="{\"/home/abrugaro/apps/dotnet-david-rules/\":\"/opt/xmlrules/dotnet-david-rules\",\"/tmp/transform-output-1132913942\":\"/opt/shimoutput\"}"
      INFO[0000] generating shim log in file                   file=/home/abrugaro/Desktop/report-hello/shim.log
      /usr/bin/podman run --rm --name REUIEQAzLoOCZWou --entrypoint /usr/local/bin/windup-shim -v /tmp/transform-output-1132913942:/opt/shimoutput:z -v /home/abrugaro/apps/dotnet-david-rules:/opt/xmlrules/dotnet-david-rules:z registry.redhat.io/mta/mta-cli-rhel9:7.1.0 convert --outputdir=/opt/shimoutput /opt/xmlrulesVmYmZuvnprpUAzMX
      gkewLLxGqJobRnzO
      INFO[0000] starting first provider                       provider=dotnet
      /usr/bin/podman run -d --rm --name EptBOMCMXglOKXRu --network VmYmZuvnprpUAzMX -v gkewLLxGqJobRnzO:/opt/input/source:z quay.io/konveyor/dotnet-external-provider:latest --port=3545146bc4360ed76d29ef29927869fa31c7f4abb3d69f723484f5a6ae8fada8f8651
      INFO[0000] running source code analysis                  args="--provider-settings=/opt/input/config/settings.json --output-file=/opt/output/output.yaml --context-lines=100 --rules=/opt/input/rules/ --verbose=4" input=/home/abrugaro/apps/dotnet-HelloWorld log=/home/abrugaro/Desktop/report-hello/analysis.log output=/home/abrugaro/Desktop/report-hello volumes="{\"/home/abrugaro/Desktop/report-hello\":\"/opt/output\",\"/tmp/analyze-config-3168863350\":\"/opt/input/config\",\"/tmp/analyze-rules-1730125909\":\"/opt/input/rules/analyze-rules-1730125909\",\"/tmp/m2-repo-1803035733\":\"/root/.m2\",\"/tmp/transform-output-1132913942\":\"/opt/rulesets/convert\",\"gkewLLxGqJobRnzO\":\"/opt/input/source\"}"
      INFO[0000] generating analysis log in file               file=/home/abrugaro/Desktop/report-hello/analysis.log
      /usr/bin/podman run --rm --name ZAlMZTIuWnGDkExt --network container:EptBOMCMXglOKXRu --entrypoint /usr/local/bin/konveyor-analyzer -v gkewLLxGqJobRnzO:/opt/input/source:z -v /home/abrugaro/Desktop/report-hello:/opt/output:z -v /tmp/transform-output-1132913942:/opt/rulesets/convert:z -v /tmp/analyze-config-3168863350:/opt/input/config:z -v /tmp/m2-repo-1803035733:/root/.m2:z -v /tmp/analyze-rules-1730125909:/opt/input/rules/analyze-rules-1730125909:z registry.redhat.io/mta/mta-cli-rhel9:7.1.0 --provider-settings=/opt/input/config/settings.json --output-file=/opt/output/output.yaml --context-lines=100 --rules=/opt/input/rules/ --verbose=4

       

      Expected results:

      The analysis should complete successfully and the static report should be generated.

       

              rh-ee-dzager David Zager
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: