<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p><font face="monospace">Your Linux distribution should have a
        nuget package available (e.g.
        <a class="moz-txt-link-freetext" href="https://packages.ubuntu.com/hirsute/nuget">https://packages.ubuntu.com/hirsute/nuget</a>) but the EDK2 CI is
        designed to use the copy of nuget installed with the edk2toolext
        package. <br>
      </font></p>
    <p><font face="monospace"><br>
      </font></p>
    <p><font face="monospace">-- <br>
        Rebecca Cran</font></p>
    <p><font face="monospace"></font><br>
    </p>
    <div class="moz-cite-prefix">On 6/29/21 9:44 AM, Steven Shi wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DM4PR11MB5549061F57A9DD34BEDD60378C029@DM4PR11MB5549.namprd11.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}ol
        {margin-bottom:0in;}ul
        {margin-bottom:0in;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Cran, Thanks. I’m curious whether the
          .pytool has native Linux executable binary to run? It looks
          the edk2 CI framework has more dependency in Linux than
          Windows.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal">Thanks<o:p></o:p></p>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal"><b><span
                style="font-size:10.0pt;font-family:"Arial",sans-serif">Steven
                Shi</span></b><b><span
                style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></b></p>
          <p class="MsoNormal"><b><span
                style="font-size:10.0pt;font-family:"Arial",sans-serif">Intel\IAGS\SFP\FIA
                (Firmware Infrastructure Automation)</span></b><b><span
style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></b></p>
          <p class="MsoNormal"><b><span
                style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></b></p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b>From:</b> <a class="moz-txt-link-abbreviated" href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>
              <a class="moz-txt-link-rfc2396E" href="mailto:devel@edk2.groups.io"><devel@edk2.groups.io></a> <b>
                On Behalf Of </b>Rebecca Cran<br>
              <b>Sent:</b> Tuesday, June 29, 2021 8:13 PM<br>
              <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>; Shi, Steven
              <a class="moz-txt-link-rfc2396E" href="mailto:steven.shi@intel.com"><steven.shi@intel.com></a><br>
              <b>Subject:</b> Re: [edk2-devel] Do the edk2 CI unit tests
              work in Linux?<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p><span style="font-family:"Courier New"">NuGet.exe
            is a .NET assembly/executable,
          </span>so on Linux you'll need to install Mono (<a
            href="https://www.mono-project.com/" moz-do-not-send="true">https://www.mono-project.com/</a>).<o:p></o:p></p>
        <p><o:p> </o:p></p>
        <p>-- <o:p></o:p></p>
        <p>Rebecca Cran<o:p></o:p></p>
        <p><o:p> </o:p></p>
        <p><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">On 6/28/21 7:45 PM, Steven Shi wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal">Hello,<o:p></o:p></p>
          <p class="MsoNormal">I’m interested in the edk2 CI unit tests(<a
href="https://github.com/tianocore/edk2/tree/master/.pytool"
              moz-do-not-send="true">https://github.com/tianocore/edk2/tree/master/.pytool</a>).
            I tested it in my local. It works well in Windows but does
            not work in Linux. It looks the NuGet in pytool only has
            windows version
            (C:\steven\unit_test_env\Lib\site-packages\edk2toolext\bin\NuGet.exe)
            but not support the Linux. Below is my detail test steps. Do
            the edk2 CI unit tests work in Linux?<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <ol style="margin-top:0in" type="1" start="1">
            <li class="MsoListParagraph"
              style="margin-left:0in;mso-list:l2 level1 lfo3">Windows :<o:p></o:p></li>
          </ol>
          <p style="margin:0in">c:\steven>py -m venv unit_test_env<o:p></o:p></p>
          <p style="margin:0in">c:\steven>cd  c:\steven\edk2<o:p></o:p></p>
          <p style="margin:0in">c:\steven\edk2>c:\steven\unit_test_env\Scripts\activate.bat<o:p></o:p></p>
          <p style="margin:0in">(unit_test_env) c:\steven\edk2>pip
            install --upgrade -r pip-requirements.txt<o:p></o:p></p>
          <p style="margin:0in">(unit_test_env)
            c:\steven\edk2>stuart_setup -c .pytool/CISettings.py
            TOOL_CHAIN_TAG=VS2019<o:p></o:p></p>
          <p style="margin:0in">(unit_test_env)
            c:\steven\edk2>stuart_update -c .pytool/CISettings.py
            TOOL_CHAIN_TAG=VS2019<o:p></o:p></p>
          <p style="margin:0in">(unit_test_env)
            c:\steven\edk2>edksetup.bat <o:p></o:p></p>
          <p style="margin:0in">(unit_test_env)
            c:\steven\edk2>edksetup.bat Rebuild <o:p></o:p></p>
          <p style="margin:0in">(unit_test_env)
            c:\steven\edk2>stuart_ci_build -c .pytool/CISettings.py
            TOOL_CHAIN_TAG=VS2019 -a X64,IA32 -t DEBUG --verbose<o:p></o:p></p>
          <p style="margin:0in">…<o:p></o:p></p>
          <p style="margin:0in">PROGRESS - Overall Build Status: Success<o:p></o:p></p>
          <p style="margin:0in">SECTION - Summary<o:p></o:p></p>
          <p style="margin:0in">PROGRESS - Success<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <ol style="margin-top:0in" type="1" start="2">
            <li class="MsoListParagraph"
              style="margin-left:0in;mso-list:l2 level1 lfo3">Linux:<o:p></o:p></li>
          </ol>
          <p class="MsoNormal">jshi19@ub2-uefi-b01:~/wksp_efi$ python3
            -m venv unit_test_env<o:p></o:p></p>
          <p class="MsoNormal">jshi19@ub2-uefi-b01:~/wksp_efi$ source
            unit_test_env/bin/activate<o:p></o:p></p>
          <p class="MsoNormal">(unit_test_env)
            jshi19@ub2-uefi-b01:~/wksp_efi/edk2-2$ pip install --upgrade
            -r pip-requirements.txt<o:p></o:p></p>
          <p class="MsoNormal">(unit_test_env)
            jshi19@ub2-uefi-b01:~/wksp_efi/edk2-2$ make -C BaseTools/<o:p></o:p></p>
          <p class="MsoNormal">(unit_test_env)
            jshi19@ub2-uefi-b01:~/wksp_efi/edk2-2$ stuart_setup -c
            .pytool/CISettings.py TOOL_CHAIN_TAG=GCC5<o:p></o:p></p>
          <p class="MsoNormal">(unit_test_env)
            jshi19@ub2-uefi-b01:~/wksp_efi/edk2-2$ stuart_update -c
            .pytool/CISettings.py TOOL_CHAIN_TAG=GCC5<o:p></o:p></p>
          <p class="MsoNormal">SECTION - Init SDE<o:p></o:p></p>
          <p class="MsoNormal">WARNING - Using Pip Tools based BaseTools<o:p></o:p></p>
          <p class="MsoNormal">SECTION - Loading Plugins<o:p></o:p></p>
          <p class="MsoNormal">SECTION - Start Invocable Tool<o:p></o:p></p>
          <p class="MsoNormal">SECTION - Initial update of environment<o:p></o:p></p>
          <p class="MsoNormal"><span style="color:red">UpdatingWARNING -
              [SDE] Failed to fetch NugetDependecy:
              <a href="mailto:edk2-acpica-iasl@20200717.0.0"
                moz-do-not-send="true">edk2-acpica-iasl@20200717.0.0</a>:
              [Nuget] We failed to install this version 20200717.0.0 of
              edk2-acpica-iasl</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:red">WARNING - [SDE]
              Failed to fetch NugetDependecy:
              <a href="mailto:mu_nasm@2.15.05" moz-do-not-send="true">mu_nasm@2.15.05</a>:
              [Nuget] We failed to install this version 2.15.05 of
              mu_nasm</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:red">. Done</span><o:p></o:p></p>
          <p class="MsoNormal">SECTION -       Updated/Verified 3
            dependencies<o:p></o:p></p>
          <p class="MsoNormal">SECTION - Second pass update of
            environment<o:p></o:p></p>
          <p class="MsoNormal">UpdatingWARNING - [SDE] Failed to fetch
            NugetDependecy: <a
              href="mailto:edk2-acpica-iasl@20200717.0.0"
              moz-do-not-send="true">
              edk2-acpica-iasl@20200717.0.0</a>: [Nuget] We failed to
            install this version 20200717.0.0 of edk2-acpica-iasl<o:p></o:p></p>
          <p class="MsoNormal">WARNING - [SDE] Failed to fetch
            NugetDependecy: <a href="mailto:mu_nasm@2.15.05"
              moz-do-not-send="true">
              mu_nasm@2.15.05</a>: [Nuget] We failed to install this
            version 2.15.05 of mu_nasm<o:p></o:p></p>
          <p class="MsoNormal">. Done<o:p></o:p></p>
          <p class="MsoNormal">SECTION -       Updated/Verified 3
            dependencies<o:p></o:p></p>
          <p class="MsoNormal">ERROR - We were unable to successfully
            update 2 dependencies in environment<o:p></o:p></p>
          <p class="MsoNormal">SECTION - Summary<o:p></o:p></p>
          <p class="MsoNormal">ERROR - Error<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Thanks<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><b><span
                style="font-size:10.0pt;font-family:"Arial",sans-serif">Steven
                Shi</span></b><o:p></o:p></p>
          <p class="MsoNormal"><b><span
                style="font-size:12.0pt;font-family:"Arial",sans-serif"> </span></b><o:p></o:p></p>
          <p class="MsoNormal"><b><span
                style="font-size:12.0pt;font-family:"Arial",sans-serif"> </span></b><o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
        </blockquote>
        <div>
        </div>
      </div>
      
    </blockquote>
  </body>
</html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/77293">View/Reply Online (#77293)</a> |    |  <a target="_blank" href="https://groups.io/mt/83860276/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>