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

Workspace integration test TestBaseImageBuild and TestParallelBaseImageBuild failed again #9782

Closed
Tracked by #8799
jenting opened this issue May 5, 2022 · 3 comments · Fixed by #9783 or #10029
Closed
Tracked by #8799
Assignees

Comments

@jenting
Copy link
Contributor

jenting commented May 5, 2022

Bug description

The workspace integration tests TestBaseImageBuild and TestParallelBaseImageBuild failed again but with different error message

running test: /tests/image-builder.test
 === RUN   TestBaseImageBuild
 === RUN   TestBaseImageBuild/database
 === RUN   TestBaseImageBuild/database/it_should_build_a_base_image
     builder_test.go:86: build output: containers are being created
     builder_test.go:86: build output: containers are being created
     builder_test.go:84: image build failed: pod imagebuild-76d339cd-4f00-4ff1-9941-e450ce74a61e has no owner
 --- FAIL: TestBaseImageBuild (2.07s)
     --- FAIL: TestBaseImageBuild/database (2.07s)
         --- FAIL: TestBaseImageBuild/database/it_should_build_a_base_image (2.07s)
 === RUN   TestParallelBaseImageBuild
 === RUN   TestParallelBaseImageBuild/image-builder
 === RUN   TestParallelBaseImageBuild/image-builder/it_should_allow_parallel_build_of_images
     builder_test.go:194: image builder error: rpc error: code = DeadlineExceeded desc = context deadline exceeded
 --- FAIL: TestParallelBaseImageBuild (300.00s)
     --- FAIL: TestParallelBaseImageBuild/image-builder (300.00s)
         --- FAIL: TestParallelBaseImageBuild/image-builder/it_should_allow_parallel_build_of_images (300.00s)
 FAIL
 Test failed at Mon May  2 01:06:39 UTC 2022
 Test suite ended with failure at Mon May  2 01:06:39 UTC 2022

Steps to reproduce

./dev/preview/install-k3s-kubeconfig.sh
cd test
go test -v ./... \
  -kubeconfig=/home/gitpod/.kube/config \
  -namespace=default \
  -run=TestBaseImageBuild

go test -v ./... \
  -kubeconfig=/home/gitpod/.kube/config \
  -namespace=default \
  -run=TestParallelBaseImageBuild

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

@jenting jenting added the bug label May 5, 2022
@jenting jenting self-assigned this May 5, 2022
@jenting jenting changed the title Workspace integration test TestBaseImageBuild and TestParallelBaseImageBuild failed Workspace integration test TestBaseImageBuild and TestParallelBaseImageBuild failed again May 5, 2022
@princerachit
Copy link
Contributor

This error is probably due to this recent change of owner for image build pods

@jenting jenting assigned princerachit and unassigned jenting May 5, 2022
@jenting jenting moved this to In Progress in 🌌 Workspace Team May 5, 2022
Repository owner moved this from In Progress to Done in 🌌 Workspace Team May 5, 2022
@princerachit princerachit reopened this May 12, 2022
@jenting
Copy link
Contributor Author

jenting commented May 12, 2022

Reopen because the test TestParallelBaseImageBuild failed https://werft.gitpod-dev.com/job/gitpod-custom-jenting-change-workspace-nightly-9749.53#integration%20test:test-image-builder

./dev/preview/install-k3s-kubeconfig.sh
cd test

go test -v ./... \
  -kubeconfig=/home/gitpod/.kube/config \
  -namespace=default \
  -run=TestParallelBaseImageBuild

@jenting jenting reopened this May 12, 2022
@kylos101 kylos101 moved this from Done to In Progress in 🌌 Workspace Team May 12, 2022
@princerachit princerachit removed their assignment May 13, 2022
@princerachit princerachit moved this from In Progress to Scheduled in 🌌 Workspace Team May 13, 2022
@jenting
Copy link
Contributor Author

jenting commented May 13, 2022

Reopen because the test TestParallelBaseImageBuild failed https://werft.gitpod-dev.com/job/gitpod-custom-jenting-change-workspace-nightly-9749.53#integration%20test:test-image-builder

./dev/preview/install-k3s-kubeconfig.sh
cd test

go test -v ./... \
  -kubeconfig=/home/gitpod/.kube/config \
  -namespace=default \
  -run=TestParallelBaseImageBuild

It's only reproducible on the preview environment, but can't reproduce on core-dev.

@jenting jenting moved this from Scheduled to In Progress in 🌌 Workspace Team May 13, 2022
Repository owner moved this from In Progress to Done in 🌌 Workspace Team May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
2 participants