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

[CLI] Analysis doesn't work on Mac arm64

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 doesn't work on Mac arm64

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

       Bundle 7.1.0-24

      How reproducible:

      100% 

      Steps to Reproduce:
      1. Run any analysis

      Actual results:

      Analysis is stuck and user gets error message

      Error: lchown /var/home/core/.local/share/containers/storage/volumes/FuOHNldbuFIIRysm/_data: operation not permitted
      

      Expected results:

      Analysis should complete without errors 

      Additional info:

      $ /Users/ec2-user/bin/darwin-mta-cli analyze --overwrite --input /Users/ec2-user/kantra-cli-tests/data/applications/jee-example-app-1.0.0.ear --output /Users/ec2-user/kantra-cli-tests/reports --source weblogic --target eap7 --skip-static-report
      /opt/homebrew/bin/podman run --rm --name qoSAPgHmHvrLfiXc --entrypoint /usr/local/bin/mta-cli --env RUN_MODE=container registry.redhat.io/mta/mta-cli-rhel9:7.1.0 analyze --list-sources/opt/homebrew/bin/podman run --rm --name HsDlDEcNDMbvpkOi --entrypoint /usr/local/bin/mta-cli --env RUN_MODE=container registry.redhat.io/mta/mta-cli-rhel9:7.1.0 analyze --list-targetsplNvysxayUNjWgGW
      rGyQfekdrKxbtYuZ
      INFO[0001] starting first provider                       provider=java
      /opt/homebrew/bin/podman run -d --rm --name hDqCGKAKgngcdMOy --network plNvysxayUNjWgGW -v rGyQfekdrKxbtYuZ:/opt/input/source/jee-example-app-1.0.0.ear registry.redhat.io/mta/mta-java-external-provider-rhel9:7.1.0 --port=49641Error: lchown /var/home/core/.local/share/containers/storage/volumes/rGyQfekdrKxbtYuZ/_data: operation not permitted
      ERRO[0001] container run error                           error="exit status 126"
      INFO[0001] starting first provider                       provider=java
      /opt/homebrew/bin/podman run -d --rm --name FebvxSkolIukILEe --network plNvysxayUNjWgGW -v rGyQfekdrKxbtYuZ:/opt/input/source/jee-example-app-1.0.0.ear registry.redhat.io/mta/mta-java-external-provider-rhel9:7.1.0 --port=4964152526305e20c10a47ebe591b6b8faa6aa04143bee3357a13ecc3287df8174767
      INFO[0002] running dependency retrieval during analysis 
      INFO[0002] running source code analysis                  args="--provider-settings=/opt/input/config/settings.json --output-file=/opt/output/output.yaml --context-lines=100 --rules=/opt/rulesets/ --verbose=4 --label-selector=((konveyor.io/target=eap7) && (konveyor.io/source=weblogic)) || (discovery) --dep-label-selector=(!konveyor.io/dep-source=open-source) --dep-output-file=/opt/output/dependencies.yaml" input=/Users/ec2-user/kantra-cli-tests/data/applications/jee-example-app-1.0.0.ear log=/Users/ec2-user/kantra-cli-tests/reports/analysis.log output=/Users/ec2-user/kantra-cli-tests/reports volumes="{\"/Users/ec2-user/kantra-cli-tests/reports\":\"/opt/output\",\"/var/folders/kp/jzx7nqd51ql2k7jwxqppn0v00000gn/T/analyze-config-3580572966\":\"/opt/input/config\",\"rGyQfekdrKxbtYuZ\":\"/opt/input/source/jee-example-app-1.0.0.ear\"}"
      INFO[0002] generating analysis log in file               file=/Users/ec2-user/kantra-cli-tests/reports/analysis.log
      /opt/homebrew/bin/podman run --rm --name mKiJLhiWgNzOiTug --network container:FebvxSkolIukILEe --entrypoint /usr/local/bin/konveyor-analyzer -v rGyQfekdrKxbtYuZ:/opt/input/source/jee-example-app-1.0.0.ear -v /Users/ec2-user/kantra-cli-tests/reports:/opt/output -v /var/folders/kp/jzx7nqd51ql2k7jwxqppn0v00000gn/T/analyze-config-3580572966:/opt/input/config 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/rulesets/ --verbose=4 --label-selector=((konveyor.io/target=eap7) && (konveyor.io/source=weblogic)) || (discovery) --dep-label-selector=(!konveyor.io/dep-source=open-source) --dep-output-file=/opt/output/dependencies.yaml
      

              emcmulla@redhat.com Emily McMullan
              ibragins@redhat.com Igor Braginsky
              Igor Braginsky Igor Braginsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: