Mailinglist Archive: opensuse-factory (396 mails)

< Previous Next >
[opensuse-factory] Query about using the using the test harness
Hello Bernhard
First thanks for the qa test harness that checks iso installs of factory.

I am writing so see if this is is possible with the qa system.
Thanks for advice on this.
The qa system would prove good value for testing the following.
Cheers Glenn

The request involves testing a built kernel {Im in the process of building
the kernel}.
The steps would be something like this sequence of steps.
The check would run say 2 times a day.
- Check the Kernel built ok [1] by searching for the string in the log
"build: extracting built packages..."
- If search {"build: extracting built packages..."} found
continue,else stop.
- copy the built kernel from obs project to qa test area.
- Boot the built kernel - Check booted ok

- Next open a terminal session - Check terminal session opened ok and run
a sequence of commands at a prompt
# modprobe -v reiser4 see output[2]
# echo next allocate some unused disk to reiser4 partition
# mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/sdb -fy
# echo check the super block see output[3]
# fsck.reiser4 --fix /dev/sdb -y
# echo mount reiser4 partition on /media/disk
# mkdir /media
# mkdir /media/disk
# mount -t reiser4 /dev/sdb /media/disk
# cd /media/disk
# echo untar a sample kernel
# time tar -jxvf /tmp/linux-
# echo remove unpacked files
# time rm -rf linux-
# echo unmount reiser4 partition
# cd /
# unmount /media/disk
# echo "*finished*"
# exit

Example of build kernel location it will change at a future date.

insmod /lib/modules/
insmod /lib/modules/

This is an EXPERIMENTAL version of fsck.reiser4. Read README first.

Fscking the /dev/sdb block device.

Will fix minor corruptions of the Reiser4 SuperBlock.

Will fix minor corruptions of the Reiser4 FileSystem.

***** fsck.reiser4 started at Mon Dec 27 16:04:57 2010
Reiser4 fs was detected on /dev/sdb.

Master super block (16):
magic: ReIsEr4
blksize: 4096
format: 0x0 (format40)
uuid: 5602fc26-41a7-4361-b3a7-39a673679f80
label: <none>

Format super block (17):
plugin: format40
description: Disk-format plugin.
version: 0
magic: ReIsEr40FoRmAt
mkfs id: 0x62e55157
flushes: 0
blocks: 244190640
free blocks: 244183135
root block: 23
tail policy: 0x2 (smart)
next oid: 0x10000
file count: 1
tree height: 2
key policy: LARGE


Read nodes 2

Nodes left in the tree 2
Leaves of them 1, Twigs of them 1
Time interval: Mon Dec 27 16:05:52 2010 - Mon Dec 27 16:05:52 2010


Read twigs 1

Time interval: Mon Dec 27 16:05:52 2010 - Mon Dec 27 16:05:53 2010


Found 1 objects (some could be encountered more then once).

Time interval: Mon Dec 27 16:05:53 2010 - Mon Dec 27 16:05:53 2010

***** fsck.reiser4 finished at Mon Dec 27 16:05:53 2010
Closing fs...done

FS is consistent.

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >