Kill leftover processes in konflux

Resolves: RHEL-173298
This commit is contained in:
Omair Majid 2026-05-04 11:42:40 -04:00
parent 3c3d8382a5
commit 8d6e3b3748

View File

@ -77,7 +77,7 @@
Name: dotnet%{dotnetver}
Version: %{sdk_rpm_version}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: .NET Runtime and SDK
License: 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
@ -158,6 +158,7 @@ BuildRequires: lttng-ust-devel
%endif
BuildRequires: make
BuildRequires: openssl-devel
BuildRequires: procps-ng
BuildRequires: python3
%if ! %{use_bundled_rapidjson}
BuildRequires: rapidjson-devel
@ -690,6 +691,10 @@ VERBOSE=1 retry_until_success $max_attempts \
timeout 5h \
./dotnet-rpm-build.sh
# Kill any leftover processes
pgrep -x dotnet -u "$UID" -a || true
pkill -x dotnet -u "$UID" || true
pkill -x VBCSCompiler -u "$UID" || true
sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE102} > dotnet.sh
@ -899,6 +904,10 @@ export COMPlus_LTTng=0
%changelog
* Mon May 04 2026 Omair Majid <omajid@redhat.com> - 10.0.106-3
- Clean up dotnet processes after build
- Resolves: RHEL-173298
* Fri Apr 17 2026 Omair Majid <omajid@redhat.com> - 10.0.106-2
- Update to .NET SDK 10.0.106 and Runtime 10.0.6
- Resolves: RHEL-163386