public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: Ard Biesheuvel <ard.biesheuvel@arm.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>,
	Sean Brogan <spbrogan@outlook.com>,
	"lersek@redhat.com" <lersek@redhat.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] ci problems again
Date: Fri, 12 Jun 2020 16:49:02 +0000	[thread overview]
Message-ID: <MN2PR11MB4461F6CFBD42A863D2E87256D2810@MN2PR11MB4461.namprd11.prod.outlook.com> (raw)
In-Reply-To: <f62fac12-f3ac-81fc-d572-6b0878be3823@arm.com>

Hi Ard,

The general instructions to setup env are in the repo here:

    https://github.com/tianocore/edk2/tree/master/.pytool

I did this and pulled PR 689 and ran the command from the 
Azure pipelines log and reproduced the same failure on my
laptop.  Here is the log from my laptop.  I will debug a 
bit more to see what the issue is.  This command passes
with edk2/master.  It fails with my pr_689 branch.


(env) c:\work\GitHub\tianocore\edk2>git checkout pr_689
Switched to branch 'pr_689'

(env) c:\work\GitHub\tianocore\edk2>stuart_pr_eval -c OvmfPkg/PlatformCI/PlatformBuild.py -t DEBUG -a IA32 --pr-target origin/master
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
ERROR - Failed to get package for file ArmVirtPkg/Include/Platform/Hidden.h.  Exception [WinError 3] The system cannot find the path specified: 'c:\\work\\GitHub\\tianocore\\edk2\\ArmVirtPkg\\Include\\Platform'
ERROR - Failed to get package for file ArmVirtPkg/PrePi/Scripts/PrePi-PIE.lds.  Exception [WinError 3] The system cannot find the path specified: 'c:\\work\\GitHub\\tianocore\\edk2\\ArmVirtPkg\\PrePi\\Scripts'
ERROR - Failed to get package for file ArmVirtPkg/Include/Platform/Hidden.h.  Exception [WinError 3] The system cannot find the path specified: 'c:\\work\\GitHub\\tianocore\\edk2\\ArmVirtPkg\\Include\\Platform'
ERROR - Failed to get package for file ArmVirtPkg/PrePi/Scripts/PrePi-PIE.lds.  Exception [WinError 3] The system cannot find the path specified: 'c:\\work\\GitHub\\tianocore\\edk2\\ArmVirtPkg\\PrePi\\Scripts'
Traceback (most recent call last):
  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "c:\work\GitHub\tianocore\edk2\env\Scripts\stuart_pr_eval.exe\__main__.py", line 7, in <module>
  File "c:\work\github\tianocore\edk2\env\lib\site-packages\edk2toolext\invocables\edk2_pr_eval.py", line 389, in main
    Edk2PrEval().Invoke()
  File "c:\work\github\tianocore\edk2\env\lib\site-packages\edk2toolext\base_abstract_invocable.py", line 141, in Invoke
    retcode = self.Go()
  File "c:\work\github\tianocore\edk2\env\lib\site-packages\edk2toolext\invocables\edk2_pr_eval.py", line 82, in Go
    actualPackagesDict = self.get_packages_to_build(self.requested_package_list)
  File "c:\work\github\tianocore\edk2\env\lib\site-packages\edk2toolext\invocables\edk2_pr_eval.py", line 202, in get_packages_to_build
    changed_modules = self._get_unique_module_infs_changed(files)
  File "c:\work\github\tianocore\edk2\env\lib\site-packages\edk2toolext\invocables\edk2_pr_eval.py", line 235, in _get_unique_module_infs_changed
    infs = self.edk2_path_obj.GetContainingModules(os.path.abspath(f))
  File "c:\work\github\tianocore\edk2\env\lib\site-packages\edk2toollib\uefi\edk2\path_utilities.py", line 211, in GetContainingModules
    for f in os.listdir(dirpath):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'c:\\work\\GitHub\\tianocore\\edk2\\ArmVirtPkg\\Include\\Platform'

Best regards,

Mike

> -----Original Message-----
> From: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Sent: Friday, June 12, 2020 9:16 AM
> To: Kinney, Michael D <michael.d.kinney@intel.com>;
> devel@edk2.groups.io; Sean Brogan
> <spbrogan@outlook.com>; lersek@redhat.com
> Subject: Re: [edk2-devel] ci problems again
> 
> On 6/12/20 6:12 PM, Kinney, Michael D wrote:
> > Hi Ard,
> >
> > The CI agents are stateless, so it can not be stale
> > content.
> >
> 
> So why is it looking for ArmVirtPkg/PrePi/Scripts/PrePi-
> PIE.lds even
> though not a single reference to it remains anywhere in
> the tree?
> 
> (grep'ing for PrePi-PIE.lds in the edk2 tree gives 0
> hits)
> 
> 
> > Have you tried the pytools command that is being used
> > locally for this patch series?
> >
> 
> No. Are there any instructions on how to use that?
> 
> 
> 
> >
> >> -----Original Message-----
> >> From: devel@edk2.groups.io <devel@edk2.groups.io> On
> >> Behalf Of Ard Biesheuvel
> >> Sent: Friday, June 12, 2020 8:47 AM
> >> To: Kinney, Michael D <michael.d.kinney@intel.com>;
> >> devel@edk2.groups.io; Sean Brogan
> >> <spbrogan@outlook.com>; lersek@redhat.com
> >> Subject: Re: [edk2-devel] ci problems again
> >>
> >> On 6/12/20 5:36 PM, Kinney, Michael D wrote:
> >>> Hi Ard,
> >>>
> >>> Please look at this more detailed log from Azure.
> >>>
> >>> https://dev.azure.com/tianocore/edk2-
> >>
> ci/_build/results?buildId=8170&view=logs&jobId=680b79ca-
> >> 2ce9-56d4-127b-ee6e95685750&j=680b79ca-2ce9-56d4-
> 127b-
> >> ee6e95685750&t=1e12dbf9-b3ef-52bb-1019-4c2f443aef72
> >>>
> >>> It says it can not find some paths in ArmVirtPkg.
> >>>
> >>
> >> It is complaining about files that are being removed
> by
> >> the series:
> >>
> >> Failed to get package for file
> >> ArmVirtPkg/Include/Platform/Hidden.h.
> >> Failed to get package for file
> >> ArmVirtPkg/PrePi/Scripts/PrePi-PIE.lds.
> >>
> >> but I cannot find any remaining references to those
> >> files in anywhere in
> >> the tree, so it seems the CI has remembered the
> >> existence of those files
> >> in some way, and is now expecting them to be still
> >> there.
> >>
> >> So I don't think there is any way I can fix this
> myself.
> >> Someone needs
> >> to wipe the build directory for these CI jobs.
> >>
> >> 
> >


  reply	other threads:[~2020-06-12 16:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12  9:54 ci problems again Ard Biesheuvel
2020-06-12 15:36 ` [edk2-devel] " Michael D Kinney
2020-06-12 15:46   ` Ard Biesheuvel
2020-06-12 16:12     ` Michael D Kinney
2020-06-12 16:15       ` Ard Biesheuvel
2020-06-12 16:49         ` Michael D Kinney [this message]
2020-06-12 18:19           ` Michael D Kinney
2020-06-12 18:43             ` Andrew Fish
2020-06-12 19:25               ` Michael D Kinney
2020-06-12 19:27                 ` Andrew Fish
2020-06-12 19:59                   ` Sean
     [not found]                   ` <1617E440CF758AC6.1224@groups.io>
2020-06-12 21:45                     ` Sean
2020-06-12 22:03                       ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MN2PR11MB4461F6CFBD42A863D2E87256D2810@MN2PR11MB4461.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox