-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to minimize concurrency problems (#2617)
Try to minimize concurrency problems Related to #2604 We have concurrency issues. This change does not solve them but could minimize them. Here an example log of the concurrency issue before my change: worker1 11/5/24 11:47:31.688 AM 2024-11-05T11:47:31.688406049+00:00 stderr F [2024-11-05 11:47:31,688: DEBUG/MainProcess] task.run_copr_build_end_handler[8d4413e0-ba73-4f78-a14f-487b824a1b0f] Searching for base build for 7c08e96170470eb6e3cb99fbf8b705862a1e0a58 commit in @teemtee/tmt Copr project in our DB. [...] 11/5/24 11:47:32.592 AM 2024-11-05T11:47:32.592982751+00:00 stderr F [2024-11-05 11:47:32,592: DEBUG/MainProcess] task.run_copr_build_end_handler[8d4413e0-ba73-4f78-a14f-487b824a1b0f] Command: osh-cli version-diff-build --srpm=/tmp/tmp27a0u3z_/tmt-1.39.dev888-1.20241105114529529022.pr3342.18.g3fc4607c.src.rpm --base-srpm=/tmp/tmp27a0u3z_/tmt-1.39.dev17+g7c08e961-main.src.rpm --config=fedora-rawhide-x86_64 --nowait --json --comment=Submitted via Packit Service for https://dashboard.packit.dev/results/copr-builds/1994869 11/5/24 11:47:39.070 AM 2024-11-05T11:47:39.070934307+00:00 stderr F [2024-11-05 11:47:39,070: INFO/MainProcess] task.run_copr_build_end_handler[8d4413e0-ba73-4f78-a14f-487b824a1b0f] Scan submitted successfully. worker2 11/5/24 11:47:30.159 AM 2024-11-05T11:47:30.159087194+00:00 stderr F [2024-11-05 11:47:30,158: DEBUG/ForkPoolWorker-1] task.babysit_copr_build[fd022210-82ed-43ff-9494-18705b393847] Searching for base build for 7c08e96170470eb6e3cb99fbf8b705862a1e0a58 commit in @teemtee/tmt Copr project in our DB. [...] 11/5/24 11:47:30.795 AM 2024-11-05T11:47:30.795838802+00:00 stderr F [2024-11-05 11:47:30,795: DEBUG/ForkPoolWorker-1] task.babysit_copr_build[fd022210-82ed-43ff-9494-18705b393847] Command: osh-cli version-diff-build --srpm=/tmp/tmpg70py27t/tmt-1.39.dev888-1.20241105114529529022.pr3342.18.g3fc4607c.src.rpm --base-srpm=/tmp/tmpg70py27t/tmt-1.39.dev17+g7c08e961-main.src.rpm --config=fedora-rawhide-x86_64 --nowait --json --comment=Submitted via Packit Service for https://dashboard.packit.dev/results/copr-builds/1994869 11/5/24 11:47:32.774 AM 2024-11-05T11:47:32.774600167+00:00 stderr F [2024-11-05 11:47:32,774: INFO/ForkPoolWorker-1] task.babysit_copr_build[fd022210-82ed-43ff-9494-18705b393847] Scan submitted successfully. Reviewed-by: Matej Focko Reviewed-by: Nikola Forró Reviewed-by: Maja Massarini
- Loading branch information
Showing
4 changed files
with
106 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters