Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 591be50

Browse files
hseok-ohgkhanna79
authored andcommitted
Fix ARM32/Linux release CI test failure (#11008)
* Fix ARM32/Linux release CI test failure Fix ARM32/Linux release CI test failure by removing libcoreclrptprovider.so from CoreFX build results. * Fix typo Fix typo in netci.groovy
1 parent dd52e03 commit 591be50

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

netci.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,11 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
16401640
if (os != 'Tizen') {
16411641
buildCommands += "chmod a+x ./bin/CoreFxBinDir/corerun"
16421642
}
1643+
// Test environment emulation using docker and qemu has some problem to use lttng library.
1644+
// We should remove libcoreclrtraceptprovider.so to avoid test hang.
1645+
if (os == 'Ubuntu') {
1646+
buildCommands += "rm -f -v ./bin/CoreFxBinDir/libcoreclrtraceptprovider.so"
1647+
}
16431648

16441649
// Call the ARM CI script to cross build and test using docker
16451650
buildCommands += """./tests/scripts/arm32_ci_script.sh \\

tests/scripts/arm32_ci_test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ mount -o bind ${CORECLR_DIR} ${__ROOTFS_DIR}${ARM_CHROOT_HOME_DIR}
114114

115115
# Test environment emulation using docker and qemu has some problem to use lttng library.
116116
# We should remove libcoreclrtraceptprovider.so to avoid test hang.
117-
rm -f ${__ROOTFS_DIR}${ARM_CHROOT_HOME_DIR}/bin/Product/${__buildDirName}/libcoreclrtraceptprovider.so
117+
rm -f -v ${__ROOTFS_DIR}${ARM_CHROOT_HOME_DIR}/bin/Product/${__buildDirName}/libcoreclrtraceptprovider.so
118+
rm -f -v ${__ROOTFS_DIR}${ARM_CHROOT_HOME_DIR}/bin/CoreFxBinDir/libcoreclrtraceptprovider.so
118119

119120
chroot ${__ROOTFS_DIR} /bin/bash -x <<EOF
120121
cd ${ARM_CHROOT_HOME_DIR}

0 commit comments

Comments
 (0)