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

[experiment] test code build runner #133912

Draft
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

MarcoIeni
Copy link
Member

@MarcoIeni MarcoIeni commented Dec 5, 2024

We are testing how AWS code build looks like for GH Actions.
DO NOT MERGE.

try-job: x86_64-gnu

@rustbot
Copy link
Collaborator

rustbot commented Dec 5, 2024

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Dec 5, 2024
@MarcoIeni
Copy link
Member Author

r? @ghost

@rustbot
Copy link
Collaborator

rustbot commented Dec 5, 2024

Failed to set assignee to ghost: invalid assignee

Note: Only org members with at least the repository "read" role, users with write permissions, or people who have commented on the PR may be assigned.

@MarcoIeni
Copy link
Member Author

Sorry for the ping Mark, you can unsubscribe

@MarcoIeni
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 5, 2024
…try>

[experiment] test code build runner

try-build: x86_64-gnu
@bors
Copy link
Contributor

bors commented Dec 5, 2024

⌛ Trying commit d0835dc with merge c4831b4...

@bors
Copy link
Contributor

bors commented Dec 5, 2024

☀️ Try build successful - checks-actions
Build commit: c4831b4 (c4831b43c02eef6fdb16701b7cd496b8f530aa3c)

@MarcoIeni
Copy link
Member Author

I did a mistake with the try build. It tried the wrong job.

@MarcoIeni
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 5, 2024
…try>

[experiment] test code build runner

try-job: x86_64-gnu
@bors
Copy link
Contributor

bors commented Dec 5, 2024

⌛ Trying commit d0835dc with merge c8846e2...

@bors
Copy link
Contributor

bors commented Dec 5, 2024

💔 Test failed - checks-actions

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 5, 2024
@MarcoIeni
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 5, 2024
…try>

[experiment] test code build runner

try-job: x86_64-gnu
@bors
Copy link
Contributor

bors commented Dec 5, 2024

⌛ Trying commit d0835dc with merge 95c9c14...

@MarcoIeni
Copy link
Member Author

the issue is that the job name is not expanded correctly.

in my test I repo have codebuild-ubuntu-small-12181534110-1 while here I have codebuild-ubuntu-24-4c-${{ github.run_id }}-${{ github.run_attempt }}

image

@bors
Copy link
Contributor

bors commented Dec 5, 2024

💔 Test failed - checks-actions

@MarcoIeni
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Dec 5, 2024

⌛ Trying commit efb9f71 with merge 96988fe...

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 5, 2024
…try>

[experiment] test code build runner

try-job: x86_64-gnu
@bors
Copy link
Contributor

bors commented Dec 18, 2024

⌛ Trying commit 1200473 with merge 056ace1...

@bors
Copy link
Contributor

bors commented Dec 18, 2024

💔 Test failed - checks-actions

@rust-log-analyzer

This comment has been minimized.

@MarcoIeni
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Dec 20, 2024

⌛ Trying commit a9b8ea4 with merge 9ae09f1126f7bf5fdb2a6ae906e058ac5e4e910f...

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 20, 2024
…try>

[experiment] test code build runner

try-job: x86_64-gnu
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Dec 20, 2024

💔 Test failed - checks-actions

@MarcoIeni
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Dec 20, 2024

⌛ Trying commit 5e3e5b9 with merge 252b8f6...

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 20, 2024
…try>

[experiment] test code build runner

try-job: x86_64-gnu
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Dec 20, 2024

💔 Test failed - checks-actions

@MarcoIeni
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 20, 2024
…try>

[experiment] test code build runner

try-job: x86_64-gnu
@bors
Copy link
Contributor

bors commented Dec 20, 2024

⌛ Trying commit 0954244 with merge 000a4c8...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Dec 20, 2024

💔 Test failed - checks-actions

@MarcoIeni
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 23, 2024
…try>

[experiment] test code build runner

try-job: x86_64-gnu
@bors
Copy link
Contributor

bors commented Dec 23, 2024

⌛ Trying commit 0b2fb0a with merge 8579ceb...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
  CACHE_DOMAIN: ci-caches.rust-lang.org
##[endgroup]
Syncing repository: rust-lang-ci/rust
##[group]Getting Git version info
Working directory is '/codebuild/output/src2718464534/src/actions-runner/_work/rust/rust'
---
Working directory is '/codebuild/output/src2718464534/src/actions-runner/_work/rust/rust'
[command]/usr/bin/git version
git version 2.45.2
##[endgroup]
Copying '/root/.gitconfig' to '/codebuild/output/src2718464534/src/actions-runner/_work/_temp/568f4c5d-5d48-4f54-b4a8-7d7ac9da31ed/.gitconfig'
Temporarily overriding HOME='/codebuild/output/src2718464534/src/actions-runner/_work/_temp/568f4c5d-5d48-4f54-b4a8-7d7ac9da31ed' before making global git config changes
---
  DIST_TRY_BUILD: 1
  TOOLSTATE_PUBLISH: 1
  IMAGE: x86_64-gnu
##[endgroup]
##[group]Run chmod +x src/ci/scripts/ubuntu-codebuild.sh && ./src/ci/scripts/ubuntu-codebuild.sh
chmod +x src/ci/scripts/ubuntu-codebuild.sh && ./src/ci/scripts/ubuntu-codebuild.sh
---
file:.git/config remote.origin.url=https://github.com/rust-lang-ci/rust
file:.git/config remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
file:.git/config gc.auto=0
file:.git/config http.https://github.com/.extraheader=AUTHORIZATION: basic ***
file:.git/config branch.try.remote=origin
file:.git/config branch.try.merge=refs/heads/try
file:.git/config remote.upstream.fetch=+refs/heads/*:refs/remotes/upstream/*
file:.git/config submodule.library/backtrace.active=true
file:.git/config submodule.library/backtrace.url=https://github.com/rust-lang/backtrace-rs.git
file:.git/config submodule.library/stdarch.active=true
---

Login Succeeded
vibrant_curran
Building Docker image with cache
Attempting with retry: docker buildx build --rm -t rust-ci -f /codebuild/output/src2718464534/src/actions-runner/_work/rust/rust/src/ci/docker/host-x86_64/x86_64-gnu/Dockerfile /codebuild/output/src2718464534/src/actions-runner/_work/rust/rust/src/ci/docker --cache-from type=registry,ref=ghcr.io/rust-lang-ci/rust-ci-cache:173b071b0e77b973e4452fb1679f9ffc96f48800f83081764e3a0853601ebec2203ed3855d0965b3a55cca2f8ec9861d25968c5772bd46a56228c658dcc61e65 --cache-to type=registry,ref=ghcr.io/rust-lang-ci/rust-ci-cache:173b071b0e77b973e4452fb1679f9ffc96f48800f83081764e3a0853601ebec2203ed3855d0965b3a55cca2f8ec9861d25968c5772bd46a56228c658dcc61e65,compression=zstd --output=type=docker

#1 [internal] booting buildkit
#1 pulling image moby/buildkit:buildx-stable-1
#1 pulling image moby/buildkit:buildx-stable-1 3.3s done
---
ghcr.io/rust-lang-ci/rust-ci:173b071b0e77b973e4452fb1679f9ffc96f48800f83081764e3a0853601ebec2203ed3855d0965b3a55cca2f8ec9861d25968c5772bd46a56228c658dcc61e65
To download the image, run docker pull ghcr.io/rust-lang-ci/rust-ci:173b071b0e77b973e4452fb1679f9ffc96f48800f83081764e3a0853601ebec2203ed3855d0965b3a55cca2f8ec9861d25968c5772bd46a56228c658dcc61e65
##[endgroup]
Creating directories
Dockerenv detected. We are in docker-in-docker scenario.
Unable to find image 'alpine:3.4' locally
3.4: Pulling from library/alpine
c1e54eec4b57: Download complete
c1e54eec4b57: Pull complete
Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
Status: Downloaded newer image for alpine:3.4
Status: Downloaded newer image for alpine:3.4
8cd540f9590fb7fae3a895c48cba784933dc7aca2ab0c40acfa08e50cd776aba
Running in docker as root. Using id 1001.
Running inside src/ci/run.sh script
[CI_JOB_NAME=x86_64-gnu]
whoami: root. Home: /root
--- current directory ---
total 0
drwxr-xr-x 3 root root 18 Dec 23 07:12 build
drwxr-xr-x 2 root root  6 Dec 23 07:12 cores
drwxr-xr-x 2 root root  6 Dec 23 07:12 tmp
drwxr-xr-x 2 root root  6 Dec 23 07:12 tmp
-------------------------
NO_CHANGE_USER=. LOCAL_USER_ID=1001
can change user
Starting with UID: 1001
Switching to user
Running inside src/ci/run.sh script
[CI_JOB_NAME=x86_64-gnu]
whoami: user. Home: /home/user
--- current directory ---
total 0
drwxr-xr-x 3 user user 18 Dec 23 07:12 build
drwxr-xr-x 2 user user  6 Dec 23 07:12 cores
drwxr-xr-x 2 user user  6 Dec 23 07:12 tmp

@bors
Copy link
Contributor

bors commented Dec 23, 2024

💔 Test failed - checks-actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants