openSUSE / open-build-service

Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs
https://openbuildservice.org
GNU General Public License v2.0
939 stars 441 forks source link

Ask for help: OBS package always trigger badhost event #15410

Closed lfeng14 closed 11 months ago

lfeng14 commented 11 months ago

hi, everyone, my obs x86 worker always trigger badhost event , this causes my package always be built repeatedly.

package building --> trigger badhost event --> package rebuilding --> loop.

backgroud: for my obs project, I've config the project with:

Constraint: hardware:jobs 32

and I remove it, but badhost event Still exists, this is dispatcher log:

2023-12-22 03:13:29: [822758] assignjob aarch64/EulerOS:AdvBat::standard_aarch64::scipy-be584759b0bea74ee7284e8b534768ba -> aarch64:armbuild10b44b138b114:1
2023-12-22 03:23:18: [822758] assignjob x86_64/EulerOS:AdvBat-LLVM::standard_x86_64::scipy-0f9fb379a1458ba2a24e75a2b06eb48c -> x86_64:build10b175b100b177:5
2023-12-22 03:34:13: [822758] assignjob aarch64/EulerOS:AdvBat::standard_aarch64::scipy-be584759b0bea74ee7284e8b534768ba -> aarch64:armbuild10b90b54b63:3
2023-12-22 03:34:13: [822758] badhost event: EulerOS:AdvBat/scipy/aarch64/aarch64:armbuild10b44b138b114:1
2023-12-22 03:43:08: [822758] badhost event: EulerOS:AdvBat-LLVM/scipy/x86_64/x86_64:build10b175b100b177:5
2023-12-22 03:43:50: [822758] assignjob x86_64/EulerOS:AdvBat-LLVM::standard_x86_64::scipy-0f9fb379a1458ba2a24e75a2b06eb48c -> x86_64:build10b175b100b177:3
2023-12-22 04:04:14: [822758] badhost event: EulerOS:AdvBat-LLVM/scipy/x86_64/x86_64:build10b175b100b177:3
2023-12-22 04:05:28: [822758] checkconstraints x86_64/EulerOS:AdvBat-LLVM::standard_x86_64::scipy-0f9fb379a1458ba2a24e75a2b06eb48c
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:28: [822758] badhost: EulerOS:AdvBat-LLVM, scipy, standard_x86_64
2023-12-22 04:05:48: [822758] assignjob x86_64/EulerOS:AdvBat-LLVM::standard_x86_64::scipy-0f9fb379a1458ba2a24e75a2b06eb48c -> x86_64:build10b175b100b177:2
2023-12-22 04:25:28: [822758] badhost event: EulerOS:AdvBat-LLVM/scipy/x86_64/x86_64:build10b175b100b177:2
2023-12-22 04:26:26: [822758] assignjob x86_64/EulerOS:AdvBat-LLVM::standard_x86_64::scipy-0f9fb379a1458ba2a24e75a2b06eb48c -> x86_64:build10b175b100b177:8
2023-12-22 04:48:32: [822758] badhost event: EulerOS:AdvBat-LLVM/scipy/x86_64/x86_64:build10b175b100b177:8
2023-12-22 04:48:34: [822758] assignjob x86_64/EulerOS:AdvBat-LLVM::standard_x86_64::scipy-0f9fb379a1458ba2a24e75a2b06eb48c -> x86_64:build10b175b100b177:1

i want to know when or why trigger badhost event i try to fix it by reading the source, also ask help, thank you ~

lfeng14 commented 11 months ago

i fixed it,because of Clocks out of sync bwt worker and server

saraycp commented 11 months ago

I'm glad you fixed it.

I will close this issue but don't forget you can send this type of question to buildservice@lists.opensuse.org or our IRC channel #opensuse-buildservice on Libera.Chat.