Bug 10492 - [Test Case 1398] Build log cannot be downloaded
Summary: [Test Case 1398] Build log cannot be downloaded
Status: VERIFIED INVALID
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3 M1
Assignee: David Reyna
QA Contact: David Lopez Barriba
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-10-24 17:34 UTC by David Lopez Barriba
Modified: 2017-04-28 18:27 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Build Fails due to missing layer (120.24 KB, image/png)
2016-10-26 15:51 UTC, brian avery
no flags Details
Build fails due to missing layer - the error (82.42 KB, image/png)
2016-10-26 15:51 UTC, brian avery
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Lopez Barriba 2016-10-24 17:34:07 UTC
STATUS: FAILED
BUILD: 2.2.rc4(M4): 4b94b498e21aeba945fe7e72a6b7c4bb0314fb83
ENVIRONMENT: Debian 4.3.0-0.bpo.1-amd64

Description: When I try to download the log with errors, the link doesn't appears

STEPS TO REPRODUCE: 
Start Toaster.
	2. Click on new project button.

	3. Enter a project name, select a release and click on create project.

	4. Click on Layers.

	5. Add a layer with multi-level dependencies. (ex: meta-acer)
		This layer depends on meta-networking, which in
turn depends on meta-android. 

	6. Check if meta-android appears in the dependencies list, and add the layers to project.

	7. Delete a dependency layer.

	8. Build a recipe (ex: core-image-minimal) and wait until build finish.

	9. Download build log.

EXPECTED OUTCOME: 
Toaster starts.	2. Open create a new project page.

	3. Project Created.

	4. Open compatible layers page.

	5. The selected layer and dependencies were added to project.

	6.


	7. Layer removed from project. 

	8. Build will fail with an error.

	9. You can download build log.
Comment 1 brian avery 2016-10-26 15:51:08 UTC
Created attachment 3499 [details]
Build Fails due to missing layer
Comment 2 brian avery 2016-10-26 15:51:46 UTC
Created attachment 3500 [details]
Build fails due to missing layer - the error
Comment 3 brian avery 2016-10-26 15:54:09 UTC
A couple of things:
1) please upload screenshots for toaster bugs. With a ui project, those are essential

2) I'd mark this as not a bug. What's happening is that since you have removed a dependent layer, bitbake fails in the parse stage. When bitbake fails this early, there is no cooker log created by bitbake (even in the command line case). Therefore there is no log available to download.  The intent is to click on the error to see it.
Comment 4 Michael Wood 2016-11-08 14:30:03 UTC
reset to default assignee so that we can look at this in triage
Comment 5 Sonia Delgado 2016-11-17 16:00:59 UTC
@David, please reopen it if you found it is not working as per Brian's comments. Thanks
Comment 6 David Lopez Barriba 2017-04-28 18:27:54 UTC
Verified in 7a0e795373653886452a7a2992ced10080711c26 
Not a bug