Bug 10745

Summary: Add tests to verify the integrity of the compressed images
Product: [QA/Testing] Build Testing Reporter: Jose Perez C <jose.perez.carranza>
Component: generalAssignee: Apoorv <apoorv.sangal>
Status: RESOLVED OBSOLETE QA Contact:
Severity: enhancement    
Priority: Medium CC: benjamin.esquivel, leonardo.sandoval.gonzalez, tim.orling
Version: 2.3   
Target Milestone: 4.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 10998, 11163, 11589, 11590, 11760, 11767, 11819, 11967    
Bug Blocks:    

Description Jose Perez C 2016-11-30 14:56:06 UTC
Test cases should be created to verify the correct behavior of images compression. check below links to have a better reference

- http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#var-IMAGE_FSTYPES

- http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#var-IMAGE_TYPES
Comment 1 Francisco Pedraza 2017-01-31 21:07:09 UTC
Working on it.
Comment 2 Francisco Pedraza 2017-01-31 21:42:13 UTC
Working on this implementation, I found a bug "IMAGE_FSTYPES=btrfs requires udev-native to build" . Bitbake fails when trying to compile adding all the IMAGE_FSTYPES. Which blocks this one.

1. Edit conf/local.conf file, adding the following variable.
IMAGE_FSTYPES += "btrfs"
2. After compiling a minimal failed. Waiting for resolution for [1]
[1] - https://bugzilla.yoctoproject.org/show_bug.cgi?id=10998
Comment 3 Francisco Pedraza 2017-02-01 15:50:24 UTC
As "NEEDINFO” until https://bugzilla.yoctoproject.org/show_bug.cgi?id=10998 resolution
Comment 4 Francisco Pedraza 2017-02-21 04:48:06 UTC
Moved to 2.4 due https://bugzilla.yoctoproject.org/show_bug.cgi?id=10998 as a blocker.
Comment 5 Benjamin Esquivel 2017-02-21 13:27:27 UTC
Your comment says that this moved to 2.4 but the target milestone is set to M4, please clarify.
Comment 6 Francisco Pedraza 2017-02-22 04:42:03 UTC
(In reply to comment #5)
> Your comment says that this moved to 2.4 but the target milestone is set to
> M4, please clarify.

Sorry my bad.
Comment 8 Francisco Pedraza 2017-06-05 21:27:46 UTC
New version implemented:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=fjpedraz/Compressed_Images

Waiting for integration of anibal and leo work at: alimon/oeqa_integration

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=alimon/oeqa_integration
Comment 9 Francisco Pedraza 2017-06-05 21:55:51 UTC
(In reply to comment #8)
> New version implemented:
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=fjpedraz/
> Compressed_Images
> 
> Waiting for integration of anibal and leo work at: alimon/oeqa_integration
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=alimon/
> oeqa_integration

This implementation should fail when running due the following two bugs I raised:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11589
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11590
Comment 10 Francisco Pedraza 2017-06-08 19:01:35 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > New version implemented:
> > http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=fjpedraz/
> > Compressed_Images
> > 
> > Waiting for integration of anibal and leo work at: alimon/oeqa_integration
> > 
> > http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=alimon/
> > oeqa_integration
> 
> This implementation should fail when running due the following two bugs I
> raised:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=11589
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=11590

Patch version 3 sent [1].
Waiting for the fix of 10998 and 11590, moving to M2 until they get fixed.

[1] - http://lists.openembedded.org/pipermail/openembedded-core/2017-June/137613.html
Comment 11 Francisco Pedraza 2017-06-08 19:04:36 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > New version implemented:
> > > http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=fjpedraz/
> > > Compressed_Images
> > > 
> > > Waiting for integration of anibal and leo work at: alimon/oeqa_integration
> > > 
> > > http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=alimon/
> > > oeqa_integration
> > 
> > This implementation should fail when running due the following two bugs I
> > raised:
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=11589
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=11590
> 
> Patch version 3 sent [1].
> Waiting for the fix of 10998 and 11590, moving to M2 until they get fixed.
> 
> [1] -
> http://lists.openembedded.org/pipermail/openembedded-core/2017-June/137613.
> html

sorry my bad
s/Waiting for the fix of 10998 and 11590/Waiting for the fix of 11589 and 11590
Comment 12 Jose Perez C 2017-07-19 19:49:46 UTC
Move to M3 due dependevy bugs are not solved yet for M2
Comment 13 Jose Perez C 2017-08-30 15:46:44 UTC
Moved to 2.5 due resources constraint
Comment 14 Jose Perez C 2017-12-01 16:57:44 UTC
This bug has a dependency on bug 11967. 

Proposed patch is on http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=jperez/bug10745-full
Comment 15 Tim Orling 2020-05-28 08:08:45 UTC
It appears all the blocking bugs have been resolved. Apoorv do you have any thoughts about moving forward on this bug?
Comment 16 Tim Orling 2020-05-28 08:16:36 UTC
On further review during Bug Triage call, we have decided to close this bug. If it is still an issue, please reopen or file a new bug.