Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-3542 [CLI] Listing targets and sources fails on Windows with docker windows containers mode
  3. MTA-3557

[QE] Verify for ( [CLI] Listing targets and sources fails on Windows with docker windows containers mode)

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • MTA 7.2.0
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

       Listing targets and sources fails on Windows

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

      How reproducible: Always 

      Steps to Reproduce:
      1. Set the RUNNER_IMG Env variable to quay.io/konveyor/kantra:v0.5.0-beta.3 

      2. Run `windows-mta-cli-710-22.exe analyze --list-targets`

      Actual results:

       

      D:\redhat>windows-mta-cli-710-22.exe analyze --list-targets
      C:\Program Files\Docker\Docker\resources\bin\docker.exe run --rm --name SFheBGvgrcTnxBxX --entrypoint /usr/local/bin/mta-cli --env RUN_MODE=container quay.io/konveyor/kantra:v0.5.0-beta.3 analyze --list-targetsdocker: Error response from daemon: container 6a14a7ed4a8019d9d8f67869767b532524a10e4335f71a9d2173f1b77d592bf8 encountered an error during hcs::System::CreateProcess: /usr/local/bin/mta-cli analyze --list-targets: failure in a Windows system call: The system cannot find the file specified. (0x2)
      [Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
      [Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
      [Event Detail: onecore\vm\compute\management\orchestration\vmhostedcontainer\processmanagement.cpp(173)\vmcomputeagent.exe!00007FF67D5DFECD: (caller: 00007FF67D584C97) Exception(2) tid(3dc) 80070002 The system cannot find the file specified.
          CallContext:[\Bridge_ProcessMessage\VmHostedContainer_ExecuteProcess]
       Provider: 00000000-0000-0000-0000-000000000000].
      time="2024-07-31T16:44:50+02:00" level=error msg="container run error" error="exit status 127"
      time="2024-07-31T16:44:50+02:00" level=error msg="failed listing labels" error="docker: Error response from daemon: container 6a14a7ed4a8019d9d8f67869767b532524a10e4335f71a9d2173f1b77d592bf8 encountered an error during hcs::System::CreateProcess: /usr/local/bin/mta-cli analyze --list-targets: failure in a Windows system call: The system cannot find the file specified. (0x2)\n[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]\n[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]\n[Event Detail: onecore\\vm\\compute\\management\\orchestration\\vmhostedcontainer\\processmanagement.cpp(173)\\vmcomputeagent.exe!00007FF67D5DFECD: (caller: 00007FF67D584C97) Exception(2) tid(3dc) 80070002 The system cannot find the file specified.\r\n    CallContext:[\\Bridge_ProcessMessage\\VmHostedContainer_ExecuteProcess] \n Provider: 00000000-0000-0000-0000-000000000000].\n"
      time="2024-07-31T16:44:50+02:00" level=error msg="failed to list rule labels" error="docker: Error response from daemon: container 6a14a7ed4a8019d9d8f67869767b532524a10e4335f71a9d2173f1b77d592bf8 encountered an error during hcs::System::CreateProcess: /usr/local/bin/mta-cli analyze --list-targets: failure in a Windows system call: The system cannot find the file specified. (0x2)\n[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]\n[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]\n[Event Detail: onecore\\vm\\compute\\management\\orchestration\\vmhostedcontainer\\processmanagement.cpp(173)\\vmcomputeagent.exe!00007FF67D5DFECD: (caller: 00007FF67D584C97) Exception(2) tid(3dc) 80070002 The system cannot find the file specified.\r\n    CallContext:[\\Bridge_ProcessMessage\\VmHostedContainer_ExecuteProcess] \n Provider: 00000000-0000-0000-0000-000000000000].\n"
      Error: docker: Error response from daemon: container 6a14a7ed4a8019d9d8f67869767b532524a10e4335f71a9d2173f1b77d592bf8 encountered an error during hcs::System::CreateProcess: /usr/local/bin/mta-cli analyze --list-targets: failure in a Windows system call: The system cannot find the file specified. (0x2)
      [Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
      [Event Detail:  Provider: 00000000-0000-0000-0000-000000000000]
      [Event Detail: onecore\vm\compute\management\orchestration\vmhostedcontainer\processmanagement.cpp(173)\vmcomputeagent.exe!00007FF67D5DFECD: (caller: 00007FF67D584C97) Exception(2) tid(3dc) 80070002 The system cannot find the file specified.
          CallContext:[\Bridge_ProcessMessage\VmHostedContainer_ExecuteProcess]
       Provider: 00000000-0000-0000-0000-000000000000].
      
       

       

      Expected results:

      The commands to list sources and targets should work as expected. 

       

            rh-ee-abrugaro Alejandro Brugarolas
            istein@redhat.com Ilanit Stein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: