Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2023 20:49:05 +1000
From:      Michal Scigocki <michal.os@hotmail.com>
To:        dev-ci@freebsd.org
Subject:   FreeBSD-main-amd64-test_zfs CI job still required?
Message-ID:  <SI2PR03MB66387C75961A55D35B4C71C6FF9B9@SI2PR03MB6638.apcprd03.prod.outlook.com>
In-Reply-To: <SI2PR03MB6638BFEFF0CBB043E764B865FF9B9@SI2PR03MB6638.apcprd03.prod.outlook.com>
References:  <SI2PR03MB6638BFEFF0CBB043E764B865FF9B9@SI2PR03MB6638.apcprd03.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

The "FreeBSD-main-amd64-test_zfs" CI Jenkins job has been failing on
ci.freebsd.org for over a year now, is this CI job is still required?

Currently the job terminates before running any tests due to the
bhyve configuration in the CI job "build.sh" script.

The patch below should repair the CI job to enable the tests to start,
however in my local testing one zfs test causes a kernel panic and
kyua aborts the test run.

The kernel panic test case is "tests/zil/zil_test:zil_002_pos".

I was able to run the other remaining tests on my local setup.

Regards,
Michal Scigocki


--- freebsd-ci/jobs/FreeBSD-main-amd64-test_zfs/build.sh	2023-04-11 08:08:54.888912000 +1000
+++ freebsd-ci/jobs/FreeBSD-main-amd64-test_zfs/build.01.sh	2023-04-12 06:39:49.144240000 +1000
@@ -37,12 +37,12 @@
  
  for i in `jot ${EXTRA_DISK_NUM}`; do
  	truncate -s ${EXTRA_DISK_SIZE} disk${i}
-	BHYVE_EXTRA_DISK_PARAM="${BHYVE_EXTRA_DISK_PARAM} -s $((i + 3)):0,ahci-hd,disk${i}"
+	BHYVE_EXTRA_DISK_PARAM="${BHYVE_EXTRA_DISK_PARAM} -s $((i + 3)):0,virtio-blk,disk${i}"
  done
  
  DISK_TMP=disktmp
  truncate -s 32G ${DISK_TMP}
-BHYVE_EXTRA_DISK_PARAM="${BHYVE_EXTRA_DISK_PARAM} -s $((${EXTRA_DISK_NUM} + 4)):0,ahci-hd,${DISK_TMP}"
+BHYVE_EXTRA_DISK_PARAM="${BHYVE_EXTRA_DISK_PARAM} -s $((${EXTRA_DISK_NUM} + 4)):0,virtio-blk,${DISK_TMP}"
  
  # prepare meta disk to pass information to testvm
  rm -fr ${METADIR}
@@ -65,8 +65,8 @@
  	-c 2 -m ${TEST_VM_MEMORY} -A -H -P \
  	-s 0:0,hostbridge \
  	-s 1:0,lpc \
-	-s 2:0,ahci-hd,${IMG_NAME} \
-	-s 3:0,ahci-hd,meta.tar \
+	-s 2:0,virtio-blk,${IMG_NAME} \
+	-s 3:0,virtio-blk,meta.tar \
  	${BHYVE_EXTRA_DISK_PARAM} \
  	-l com1,stdio \
  	${TEST_VM_NAME}; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR03MB66387C75961A55D35B4C71C6FF9B9>