From Fedora Project Wiki

mNo edit summary
(throw in some ARM and cloud sizes)
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Beta|image-size-requirements}}
{{QA/Test_Case
{{QA/Test_Case
|description=This test can be used to validate that ISO images (e.g. {{filename|netinst.iso}}, {{filename|DVD.iso}} and Desktop Live Spins <ref>Fedora Desktop Spin images are ''desktop'' (aka GNOME), ''KDE'', ''XFCE'' and ''LXDE''.  For additional information on desktop spins, see http://fedoraproject.org/en/get-fedora-options#desktops.</ref>) are small enough to fit on the corresponding media.  Depending on the image being tested, there are different constraints for the maximum permitted size (refer to [[#Expected_Results]]).
|description=All ISO images (i.e. {{filename|netinst.iso}}, {{filename|DVD.iso}}, {{filename|Live-Desktop.iso}} and {{filename|Live-KDE.iso}}) must be small enough to fit on the corresponding media.
|actions=
|actions=
<ol>
<ol>
<li>Inspect the size of '''netinst''' install media.  Either the {{command|du -b}} or the {{command|ls -l}} command can be used to display the sizes of the images in bytes:
<li>If you have the image downloaded locally, view the size of the file in bytes like this:
<pre>$ du -b Fedora-14-Alpha-x86_64-netinst.iso
<pre>$ du -b Fedora-14-Alpha-x86_64-netinst.iso
230686720 Fedora-14-Alpha-x86_64-netinst.iso</pre></li>
230686720 Fedora-14-Alpha-x86_64-netinst.iso</pre></li>
<li>Repeat the same inspection, but for the '''Live''' media.</li>
<li>If you don't have the image downloaded locally, query the size using HTTP headers like this:
<li>Finally, inspect the size of the '''DVD''' media.</li>
<pre>$ curl -sI http://server/image.iso | grep Content-Length
{{admon/tip|Avoid downloading by inspecting HTTP headers|If you need to check ISO size without downloading the file, you can do that also remotely:
Content-Length: 230686720</pre></li>
<pre>$ curl -sI http://server/image.iso | grep Content-Length</pre>}}
<li>Check all ISO files available for this specific compose.</li>
</ol>
</ol>
|results=
|results=
# The size of '''netinst''' images is less than or equal to '''734003200 bytes''' <ref name="700MiB">700 MiB = 700 * 2^20 bytes = 734003200 bytes (for more information, see http://en.wikipedia.org/wiki/Mebibyte and http://en.wikipedia.org/wiki/CD-ROM#Capacity</ref>
# The size of '''netinst''', '''cloud''' and '''ARM minimal''' 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>
# The size of '''Live''' images ...
# The size of '''DVD''' images is less than or equal to '''4,700,000,000 bytes''' <ref name="4.7GB">4.7 GB = 4.7 * 1000^3
#* on ''Fedora 16'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/16/Spins]] for ISO sizes for additional spins)
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>
#* on ''Fedora 15'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/15/Spins]] for ISO sizes for additional spins)
# The size of '''Desktop Live''' and '''ARM desktop''' images is less than or equal to '''1,000,000,000 bytes''' <ref name="1GB">1 GB = 1000^3 bytes = 1000000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Binary_prefixes#Flash_drives Binary prefixes for Flash drives])</ref><ref>see [[Releases/20/Spins]] for ISO sizes for additional spins</ref>
#* on ''Fedora 14'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/> (see [[Releases/14/Spins]] for ISO sizes for additional spins)
# 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
#* on ''Fedora 13'', is less than or equal to '''734003200 bytes''' <ref name="700MiB"/>
# 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
# The size of '''DVD''' installation images is less than or equal to '''4700000000 bytes''' <ref name="4.7GB">4.7 GB = 4.7 * 1000^3 bytes = 4700000000 bytes (for more information, see http://en.wikipedia.org/wiki/Gigabyte and http://en.wikipedia.org/wiki/DVD#Capacity</ref>
<!-- '''734003200 bytes''' (700 MiB = 700 * 2^20 bytes) -->
<!-- '''1000000000 bytes''' (1 GB = 1000^3 bytes) -->
# The size of '''Multi-Desktop''' DVD images is less than or equal to '''8500000000 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 and http://en.wikipedia.org/wiki/DVD#Capacity</ref> and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media
# The size of '''Multi-Install''' DVD installation images is less than or equal to '''8500000000 bytes''' <ref name="8.5GB" /> and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media
}}
}}
= References =
= References =

Revision as of 01:00, 17 December 2013

Note.png
Associated release criterion
This test case is associated with the Fedora_40_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.


Description

All ISO images (i.e. netinst.iso, DVD.iso, Live-Desktop.iso and Live-KDE.iso) must be small enough to fit on the corresponding media.


How to test

  1. If you have the image downloaded locally, view the size of the file in bytes like this:
    $ du -b Fedora-14-Alpha-x86_64-netinst.iso
    230686720	Fedora-14-Alpha-x86_64-netinst.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: 230686720
  3. Check all ISO files available for this specific compose.

Expected Results

  1. The size of netinst, cloud and ARM minimal images is less than or equal to 734,003,200 bytes [1]
  2. The size of DVD images is less than or equal to 4,700,000,000 bytes [2]
  3. The size of Desktop Live and ARM desktop images is less than or equal to 1,000,000,000 bytes [3][4]
  4. The size of Multi-Desktop DVD images is less than or equal to 8,500,000,000 bytes [5] and is intended for DVD-9 Single-Side (SS) Dual-layer (DL) media
  5. The size of Multi-Install DVD installation images is less than or equal to 8,500,000,000 bytes [5] 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. 1 GB = 1000^3 bytes = 1000000000 bytes (for more information, see Binary prefixes for Flash drives)
  4. see Releases/20/Spins for ISO sizes for additional spins
  5. 5.0 5.1 8.5 GB = 8.5 * 1000^3 bytes = 8500000000 bytes (for more information, see Gigabyte and DVD Capacity)