-
Notifications
You must be signed in to change notification settings - Fork 201
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
Errors in running "E2E Testing with Kubernetes" #194
Comments
FYI: $ docker version Server: Docker Engine - Community ~$ minikube version $ helm version $ kubectl version --short ~$ go version |
It works after the following change:
The problem is using variable name "repository" will cause issue, maybe "repository" is a keyword or something. I need to change "repository" to "repositoryVal" ( "repository2" also works) |
must run ./scripts/build-docker.sh first to create local docker images , then run /scripts/test-e2e-minikube.sh |
Interesting. Needing to run |
sorry for the delay response. not sure what is special on my end. I suspect it is helm. I am using helm with Version:"v3.7.0". FYI: trader@trader-virtual-machine:~/Documents/code/opencbdc/opencbdc-tx-trunk$ docker image ls -a |
As it's working for me, several other people, and especially because it works in the github CI, I'm very hesitant to change this without knowing the actual cause (or at least knowing for sure that changing the name wouldn't break something else). |
Hi,
I tried to run "E2E Testing with Kubernetes" , but all test cases failed with the following error:
Events:
Type Reason Age From Message
Normal Scheduled 7m17s default-scheduler Successfully assigned opencbdc-tx-qg7ep1/shard-0-1-0 to opencbdc
Warning Failed 5m17s (x12 over 7m15s) kubelet Error: ErrImageNeverPull
Warning ErrImageNeverPull 2m6s (x27 over 7m15s) kubelet Container image "opencbdc-tx:latest" is not present with pull policy of Never
Not sure where to get the correct Image, would you please help when have time. thank you.
File "testrun.log" attached.
testrun.log
Yes, I have run the ./scripts/build-docker.sh
FYI:
OS: ubuntu 22.04
tried to run:
E2E Testing with Kubernetes
Requirements
Go (go test library used to run tests)
Minikube
Helm
Kubectl
Running tests
./scripts/test-e2e-minikube.sh
Review results and logs at testruns//
FYI:
./scripts/build-docker.sh
Sending build context to Docker daemon 106.7MB
Step 1/10 : ARG IMAGE_VERSION="ubuntu:20.04"
Step 2/10 : ARG BASE_IMAGE="ghcr.io/mit-dci/opencbdc-tx-base:latest"
Step 3/10 : FROM $IMAGE_VERSION AS base
20.04: Pulling from library/ubuntu
eaead16dc43b: Pull complete
Digest: sha256:450e066588f42ebe1551f3b1a535034b6aa46cd936fe7f2c6b0d72997ec61dbd
Status: Downloaded newer image for ubuntu:20.04
---> 680e5dfb52c7
Step 4/10 : ENV DEBIAN_FRONTEND noninteractive
.......
$ docker images -a --digests
REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE
f217f881db26 20 minutes ago 119MB
5c8c1273d9d3 20 minutes ago 94.7MB
opencbdc-tx-twophase latest b08cde7306d1 20 minutes ago 119MB
87c3318f7a11 20 minutes ago 117MB
d10a8be8a553 20 minutes ago 116MB
f5bef2400852 20 minutes ago 117MB
92f60702b416 20 minutes ago 1.81GB
202277689b37 20 minutes ago 73.6MB
94790781d5dc 20 minutes ago 72.8MB
6b14885d4292 21 minutes ago 1.64GB
opencbdc-tx-base latest 676b02da7baa 21 minutes ago 1.53GB
18a322dc3633 23 minutes ago 72.8MB
65fb0c173c7f 23 minutes ago 72.8MB
ac60d424e32b 23 minutes ago 72.8MB
1932112415d7 23 minutes ago 72.8MB
fea9d7cc6b92 23 minutes ago 72.8MB
1b2a63db5764 23 minutes ago 72.8MB
ubuntu 20.04 sha256:450e066588f42ebe1551f3b1a535034b6aa46cd936fe7f2c6b0d72997ec61dbd 680e5dfb52c7 8 days ago 72.8MB
ghcr.io/mit-dci/opencbdc-tx-base latest sha256:2076bdd505b9a003acebc733c1981ec4ef1ed3d3f2cdea1ba8abb3e1d2250720 49fc6337a4eb 13 days ago 1.54GB
ghcr.io/mit-dci/opencbdc-tx-base sha-16bd61a sha256:2076bdd505b9a003acebc733c1981ec4ef1ed3d3f2cdea1ba8abb3e1d2250720 49fc6337a4eb 13 days ago 1.54GB
opencbdc-tx latest 929938b6244b 2 weeks ago 2.88GB
gcr.io/k8s-minikube/kicbase v0.0.35 sha256:e6f9b2700841634f3b94907f9cfa6785ca4409ef8e428a0322c1781e809d311b 7fb60d0ea30e 4 weeks ago 1.12GB
The text was updated successfully, but these errors were encountered: