| Summary: | Toaster does not collect image information | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Belen Barros Pena <belen.barros.pena> | ||||
| Component: | toaster | Assignee: | Alexandru Damian <alexandru.damian> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Ionut Chisanovici <ionutx.chisanovici> | ||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | alexandru.damian, belen.barros.pena, bluelightning, bogdanx.a.voiculescu, cristiana.voicu | ||||
| Version: | 1.7 | ||||||
| Target Milestone: | 1.8 M2 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
Patch for review on toaster/master I don't seem to be able to test this on toaster/master:
* When I create a project with release 'master' and I build something, the branch is switched to master during the build process and the bug is still there
* When I create a project with release 'local' and I build something, the build fails with this error
Error type <class 'bldcontrol.bbcontroller.BuildSetupException'>:
Existing git repository at /home/yocto/poky, but with different
remotes (not 'git://git.yoctoproject.org/poky.git'). Aborting.
DEBUG: giturl git://git.yoctoproject.org/poky.git checking out in
current directory /home/yocto/poky
EE Error executing shell command
Existing git repository at /home/yocto/poky, but with different
remotes (not 'git://git.yoctoproject.org/poky.git'). Aborting.
Traceback (most recent call last):
File "/home/yocto/poky/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py",
line 51, in schedule
bec.setLayers(br.brbitbake_set.all(), br.brlayer_set.all())
File "/home/yocto/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py",
line 162, in setLayers
raise BuildSetupException("Existing git repository at %s, but with
different remotes (not '%s'). Aborting." % (localdirname, giturl))
BuildSetupException: Existing git repository at /home/yocto/poky, but
with different remotes (not 'git://git.yoctoproject.org/poky.git').
Aborting.
If you have a workaround, let me know.
So workaround achieved. This seems to be working for me on toaster/master:24543729ce3689924e0b5090527c3c061ebdc6d5 The fix was merged in master as bitbake: toaster: fix loadconf path calculation Hi, This is verified in master, commit: 07f2eca7e9f9163ec48d3a417d8ba885a84762f3. Both the image packages page and directory structure page are populated. Cheers, Ionut C |
Created attachment 2256 [details] toaster_ui.log Found on master:49547a6d6dead6c9e9c8c209afacd9edc6a9bd5f Steps to reproduce: 1. Start Toaster in managed mode 2. Create a project with release 'master' 3. Build core-image-base 4. Select the build and click the 'core-image-base' link in the left navigation The build information page has no data: it says 0 packages included and the directory structure table shows empty. I've attached the toaster_ui.log file