<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* Style Definitions */
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.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:2038383860;
        mso-list-type:hybrid;
        mso-list-template-ids:649641440 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<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">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>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Windows :<o:p></o:p></li></ul>
<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>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Linux:<o:p></o:p></li></ul>
<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">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></span></p>
<p class="MsoNormal"><span style="color:red">WARNING - [SDE] Failed to fetch NugetDependecy:
<a href="mailto:mu_nasm@2.15.05">mu_nasm@2.15.05</a>: [Nuget] We failed to install this version 2.15.05 of mu_nasm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">. Done<o:p></o:p></span></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">
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">
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><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: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>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</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/77233">View/Reply Online (#77233)</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>