public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Meet failure when running open ci env locally
@ 2020-08-07  8:26 Zhang, Shenglei
  2020-08-07 15:35 ` [edk2-devel] " Sean
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Shenglei @ 2020-08-07  8:26 UTC (permalink / raw)
  To: devel@edk2.groups.io, Sean Brogan, Bret Barkelew
  Cc: Kinney, Michael D, Gao, Liming, Zhang, Shenglei

[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]

Hi folks,

I met a failure when I tried running a ci plugin locally. Does anybody know how to deal with it?
Command and build log are listed below.

cmd: stuart_ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=NO-TARGET

build log:
SECTION - Init SDE
ERROR - Dependency 'mu_nasm' is not met!
ERROR - Dependency 'iasl' is not met!
Traceback (most recent call last):
  File "C:\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\code\AllPkg\pytool-ext-venv\Scripts\stuart_ci_build.exe\__main__.py", line 9, in <module>
  File "c:\code\allpkg\pytool-ext-venv\lib\site-packages\edk2toolext\invocables\edk2_ci_build.py", line 246, in main
    Edk2CiBuild().Invoke()
  File "c:\code\allpkg\pytool-ext-venv\lib\site-packages\edk2toolext\base_abstract_invocable.py", line 122, in Invoke
    raise RuntimeError("SDE is not current.  Please update your env before running this tool.")
RuntimeError: SDE is not current.  Please update your env before running this tool.

Thanks,
Shenglei

[-- Attachment #2: Type: text/html, Size: 3979 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] Meet failure when running open ci env locally
  2020-08-07  8:26 Meet failure when running open ci env locally Zhang, Shenglei
@ 2020-08-07 15:35 ` Sean
  2020-08-10  0:57   ` Zhang, Shenglei
  0 siblings, 1 reply; 3+ messages in thread
From: Sean @ 2020-08-07 15:35 UTC (permalink / raw)
  To: devel, shenglei.zhang, Sean Brogan, Bret Barkelew
  Cc: Kinney, Michael D, Gao, Liming

Two issues.

1. The tool is saying that your repository is out of date for 
dependencies and you must run stuart_update to pull the required 
dependencies.  To do an update you need to run stuart_update -c 
.pytool/CISettings.py <plus whatever options are you going to use to build>

2. You have TOOL_CHAIN_TAG=NO-TARGET.  NO-TARGET is the target which can 
be set by doing -t NO-TARGET.


Please look here for details.
https://github.com/tianocore/edk2/tree/master/.pytool#running-ci

Hope that helps.
Thanks
Sean



On 8/7/2020 1:26 AM, Zhang, Shenglei wrote:
> ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=NO-TARGET

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] Meet failure when running open ci env locally
  2020-08-07 15:35 ` [edk2-devel] " Sean
@ 2020-08-10  0:57   ` Zhang, Shenglei
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Shenglei @ 2020-08-10  0:57 UTC (permalink / raw)
  To: Sean Brogan, devel@edk2.groups.io, Sean Brogan
  Cc: Kinney, Michael D, Gao, Liming, Bret Barkelew

Thanks, Sean. That works.

> -----Original Message-----
> From: Sean Brogan <spbrogan@outlook.com>
> Sent: Friday, August 7, 2020 11:35 PM
> To: devel@edk2.groups.io; Zhang, Shenglei <shenglei.zhang@intel.com>;
> Sean Brogan <sean.brogan@microsoft.com>; Bret Barkelew
> <Bret.Barkelew@microsoft.com>
> Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
> <liming.gao@intel.com>
> Subject: Re: [edk2-devel] Meet failure when running open ci env locally
> 
> Two issues.
> 
> 1. The tool is saying that your repository is out of date for
> dependencies and you must run stuart_update to pull the required
> dependencies.  To do an update you need to run stuart_update -c
> .pytool/CISettings.py <plus whatever options are you going to use to build>
> 
> 2. You have TOOL_CHAIN_TAG=NO-TARGET.  NO-TARGET is the target which
> can
> be set by doing -t NO-TARGET.
> 
> 
> Please look here for details.
> https://github.com/tianocore/edk2/tree/master/.pytool#running-ci
> 
> Hope that helps.
> Thanks
> Sean
> 
> 
> 
> On 8/7/2020 1:26 AM, Zhang, Shenglei wrote:
> > ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=NO-TARGET

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-10  0:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-07  8:26 Meet failure when running open ci env locally Zhang, Shenglei
2020-08-07 15:35 ` [edk2-devel] " Sean
2020-08-10  0:57   ` Zhang, Shenglei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox