From Fedora Project Wiki

mNo edit summary
(added --username argument for relval commands)
(48 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Beta|image-size-requirements}}
{{admon/note|Test with relval|You can run this test easily with the [https://www.happyassassin.net/wikitcms/ relval] tool. {{command|relval size-check --username (fas_user_name)}} will run the size checks for the 'current' compose, and report them to the wiki. To run the checks for a specific compose, you can run {{command|<nowiki>relval size-check --release=NN --milestone=(Alpha,Beta,Final) --compose=(T/RCN) --username (fas_user_name)</nowiki>}}.}}
{{QA/Test_Case
{{QA/Test_Case
|description=This test validates that ISO media is not too large so that it will not fit on common CD-RW and DVD-RW media. Media includes '''CD''', '''DVD''' and '''Live''' ISO images.
|description=All ISO images (i.e. {{filename|Server-netinst.iso}}, {{filename|Server-DVD.iso}}, {{filename|Live-Workstation.iso}} and {{filename|Live-KDE.iso}}) must be small enough to fit on the corresponding media. This test does not apply to disk image files (e.g. ARM and Cloud disk images): their compressed size is not relevant to their deployment, and restrictions on their uncompressed size are applied during the compose process.
|actions=
|actions=
# Inspect the size of CD, DVD and Live media. The {{command|ls -sh}} command can be used to display the size of the image.
<ol>
<li>If you have the image downloaded locally, view the size of the file in bytes like this:
<pre>$ du -b Fedora-Server-netinst-x86_64-21_Alpha.iso
419430400 Fedora-Server-netinst-x86_64-21_Alpha.iso</pre></li>
<li>If you don't have the image downloaded locally, query the size using HTTP headers like this:
<pre>$ curl -sI http://server/image.iso | grep Content-Length
Content-Length: 419430400</pre></li>
<li>Check all ISO files available for this specific compose.</li>
</ol>
|results=
|results=
# The installer '''CD''' images are of a size ''greater'' than 2 MiB, and ''smaller'' than '''700 MiB'''.  An example using the {{command|ls}} command:
# The size of '''netinst''' and '''Cloud ISO''' images is less than or equal to '''734,003,200 bytes''' <ref name="700MiB">700 MiB = 700 * 1024^2 bytes = 734003200 bytes (for more information, see [http://en.wikipedia.org/wiki/Mebibyte Mebibyte] and [http://en.wikipedia.org/wiki/CD-ROM#Capacity CD-ROM Capacity])</ref>
#: <pre># ls -sh Fedora-12-Beta-x86_64-disc*.iso
# The size of '''DVD''' / '''offline install''' images is less than or equal to '''4,700,000,000 bytes''' <ref name="4.7GB">4.7 GB = 4.7 * 1000^3
#: 694M Fedora-12-Beta-x86_64-disc1.iso  692M Fedora-12-Beta-x86_64-disc4.iso
bytes = 4700000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Gigabyte Gigabyte] and [http://en.wikipedia.org/wiki/DVD#Capacity DVD Capacity])</ref>
#: 694M Fedora-12-Beta-x86_64-disc2.iso  476M Fedora-12-Beta-x86_64-disc5.iso
# The size of '''Workstation Live''' images is less than or equal to '''2,000,000,000 bytes''' <ref name="2GB">2 GB = 2000^3 bytes = 2000000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Binary_prefixes#Flash_drives Binary prefixes for Flash drives])</ref>
#: 695M Fedora-12-Beta-x86_64-disc3.iso</pre>
# The size of '''KDE Live''' images is less than or equal to '''1,400,000,000 bytes''' <ref name="1.4GB">1.4 GB = 1400^3 bytes = 1400000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Binary_prefixes#Flash_drives Binary prefixes for Flash drives])</ref><ref>see [[Releases/21/Spins]] for ISO sizes for additional spins</ref>
# The installer '''Live image''' is of a size ''greater'' than 2 MiB, and ''smaller'' than '''700 MiB'''. An example using the {{command|ls}} command:
# The size of '''Multi-Desktop''' DVD images is less than or equal to '''8,500,000,000 bytes''' <ref name="8.5GB">8.5 GB = 8.5 * 1000^3 bytes = 8500000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Gigabyte Gigabyte] and [http://en.wikipedia.org/wiki/DVD#Capacity DVD Capacity])</ref> and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media
#: <pre># ls -sh F12-Beta-x86_64-Live.iso
# The size of '''Multi-Install''' DVD installation images is less than or equal to '''8,500,000,000 bytes''' <ref name="8.5GB" /> and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media
#: 666M F12-Beta-x86_64-Live.iso</pre>
# The installer '''DVD''' images are of a size ''greater'' than 2 MiB, and ''smaller'' than '''4.7 GB'''. An example using the {{command|ls}} command (showing sizes using powers of 1000 instead of 1024):
#: <pre># ls -sh --si Fedora-12-Beta-x86_64-DVD.iso
#: 3.5G Fedora-12-Beta-x86_64-DVD.iso</pre>
}}
}}
= References =
<references/>


[[Category:Installer_Image_Sanity_Test_Cases]]
[[Category:Installer_Image_Sanity_Test_Cases]]

Revision as of 00:34, 21 May 2015

Note.png
Associated release criterion
This test case is associated with the Fedora_41_Beta_Release_Criteria#image-size-requirements release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.
Note.png
Test with relval
You can run this test easily with the relval tool. relval size-check --username (fas_user_name) will run the size checks for the 'current' compose, and report them to the wiki. To run the checks for a specific compose, you can run relval size-check --release=NN --milestone=(Alpha,Beta,Final) --compose=(T/RCN) --username (fas_user_name).


Description

All ISO images (i.e. Server-netinst.iso, Server-DVD.iso, Live-Workstation.iso and Live-KDE.iso) must be small enough to fit on the corresponding media. This test does not apply to disk image files (e.g. ARM and Cloud disk images): their compressed size is not relevant to their deployment, and restrictions on their uncompressed size are applied during the compose process.


How to test

  1. If you have the image downloaded locally, view the size of the file in bytes like this:
    $ du -b Fedora-Server-netinst-x86_64-21_Alpha.iso
    419430400	Fedora-Server-netinst-x86_64-21_Alpha.iso
  2. If you don't have the image downloaded locally, query the size using HTTP headers like this:
    $ curl -sI http://server/image.iso | grep Content-Length
    Content-Length: 419430400
  3. Check all ISO files available for this specific compose.

Expected Results

  1. The size of netinst and Cloud ISO images is less than or equal to 734,003,200 bytes [1]
  2. The size of DVD / offline install images is less than or equal to 4,700,000,000 bytes [2]
  3. The size of Workstation Live images is less than or equal to 2,000,000,000 bytes [3]
  4. The size of KDE Live images is less than or equal to 1,400,000,000 bytes [4][5]
  5. The size of Multi-Desktop DVD images is less than or equal to 8,500,000,000 bytes [6] and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media
  6. The size of Multi-Install DVD installation images is less than or equal to 8,500,000,000 bytes [6] and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media



References

  1. 700 MiB = 700 * 1024^2 bytes = 734003200 bytes (for more information, see Mebibyte and CD-ROM Capacity)
  2. 4.7 GB = 4.7 * 1000^3 bytes = 4700000000 bytes (for more information, see Gigabyte and DVD Capacity)
  3. 2 GB = 2000^3 bytes = 2000000000 bytes (for more information, see Binary prefixes for Flash drives)
  4. 1.4 GB = 1400^3 bytes = 1400000000 bytes (for more information, see Binary prefixes for Flash drives)
  5. see Releases/21/Spins for ISO sizes for additional spins
  6. 6.0 6.1 8.5 GB = 8.5 * 1000^3 bytes = 8500000000 bytes (for more information, see Gigabyte and DVD Capacity)