Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build: always fail on LUCI linux-loong64 builder #66759

Open
abner-chenc opened this issue Apr 10, 2024 · 1 comment
Open

x/build: always fail on LUCI linux-loong64 builder #66759

abner-chenc opened this issue Apr 10, 2024 · 1 comment
Assignees
Labels
arch-loong64 Issues solely affecting the loongson architecture. Builders x/build issues (builders, bots, dashboards)
Milestone

Comments

@abner-chenc
Copy link
Contributor

Building on LUCI linux-long64 builder always fails, and all errors are similar to the particles shown below. For more error information, please see here.

[I2024-04-05T01:27:55.433137Z 134148 0 cipd.go:209] Installing cipd packages into /home/swarming/.swarming/w/ir
[I2024-04-05T01:27:55.433192Z 134148 0 cipd.go:254] ===ensure file===
$ServiceURL https://chrome-infra-packages.appspot.com/
$ParanoidMode CheckPresence
infra/tools/luci/bbagent/linux-loong64 Ei0Jv2deHDZimgTOsgC2LsMgpovs3GPrPXowJhRdxxgC
@Subdir bbagent_utility_packages
infra/tools/luci/cas/${platform} git_revision:623f8d17a069eaea6d0fca13147888284ec76ff1
@Subdir kitchen-checkout
infra/experimental/golangbuild/${platform} latest
@Subdir cipd_bin_packages
infra/tools/git/${platform} git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4
infra/tools/luci/git-credential-luci/${platform} git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4
infra/tools/luci/docker-credential-luci/${platform} git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4
infra/tools/luci/vpython3/${platform} git_revision:af9140e6917fb97bf808d8a8962dd4a898065432
infra/tools/luci/lucicfg/${platform} git_revision:6a4656842fbff0654cb743b53ac95a9b5986509f
infra/tools/luci-auth/${platform} git_revision:02ffe6e2b222aa1f56776b8e5385f49687451bb2
infra/tools/bb/${platform} git_revision:b1ef34e3c86269b1261ccbc039ff2cfe3baaa961
infra/tools/cloudtail/${platform} git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4
infra/tools/prpc/${platform} git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4
infra/tools/rdb/${platform} git_revision:46f8acdac2ab013fdeb87c9d539fb94e3290a178

=========
[I2024-04-05T01:27:55.433216Z 134148 0 cipd.go:260] Setting $CIPD_CACHE_DIR to "/home/swarming/.swarming/w/ir/cache/cipd_cache"
[I2024-04-05T01:27:55.433298Z 134148 0 cipd.go:268] Running command: /home/swarming/.swarming/w/ir/cache/cipd_client/cipd ensure -root /home/swarming/.swarming/w/ir -ensure-file - -json-output /home/swarming/.swarming/w/ith720l52_/cipd_ensure_results.json
Errors:
  failed to resolve infra/tools/git/linux-loong64@git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4 (line 9): no such tag
  failed to resolve infra/tools/luci/git-credential-luci/linux-loong64@git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4 (line 10): no such tag
  failed to resolve infra/tools/luci/docker-credential-luci/linux-loong64@git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4 (line 11): no such tag
  failed to resolve infra/tools/cloudtail/linux-loong64@git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4 (line 16): no such tag
  failed to resolve infra/tools/prpc/linux-loong64@git_revision:ec494f363fdfd8cdd5926baad4508d562b7353d4 (line 17): no such tag
[E2024-04-05T01:27:56.471080Z 134148 0 main.go:392] Failure in installing user packages: Failed to run cipd ensure command: exit status 1
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Apr 10, 2024
@gopherbot gopherbot added this to the Unreleased milestone Apr 10, 2024
@abner-chenc abner-chenc added the arch-loong64 Issues solely affecting the loongson architecture. label Apr 10, 2024
@thanm
Copy link
Contributor

thanm commented Apr 15, 2024

Hi @abner-chenc, you may already know this, but just in case:

The model we used for builders under the old system (coordinator) was that we would be that any dependencies needed for all.bash runs (C compiler, git, etc) would be effectively "baked into" the VM image used for builder runs.

LUCI operates differently; it uses a system called cipd (https://chromium.googlesource.com/infra/luci/luci-go/+/master/cipd/) that downloads deps on the fly. When LUCI runs "cipd ensure" it is trying to download a set of dependencies needed to do a builder run. That seems to be what's happening here (at least that would be my guess), I think someone on the release team will need to help add the proper entries to the cipd database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-loong64 Issues solely affecting the loongson architecture. Builders x/build issues (builders, bots, dashboards)
Projects
None yet
Development

No branches or pull requests

3 participants