-
Notifications
You must be signed in to change notification settings - Fork 820
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
Adds the first e2e test #303
Conversation
Build Failed 😱 Build Id: 491a4517-7338-4a92-b516-d94ae23a48df Build Logs
|
Build Failed 😱 Build Id: 42278d1d-c01e-4add-8fea-87ca93698719 Build Logs
|
I can confirm there is something weird with gcloud toolchain, if I use kubectl with my machine, it doesn't work anymore in the container.(MacOS) doing another |
Build Failed 😱 Build Id: 1f37a404-6e32-4aeb-b079-06bf5aa5f08b Build Logs
|
Build Failed 😱 Build Id: a65e448b-7e33-4b16-b583-fd850c04bec0 Build Logs
|
Build Failed 😱 Build Id: be1ce339-fb02-4ebe-a071-70057e3f5288 Build Logs
|
e9a722f
to
4f2890e
Compare
Build Failed 😱 Build Id: 22ecbbed-22a1-4527-a177-32ed6bf6a349 Build Logs
|
4f2890e
to
987bb48
Compare
Build Succeeded 👏 Build Id: 91ffde32-6999-4ffe-a06c-ce6a2714d008 The following development artifacts have been built, and will exist for the next 30 days:
|
Swamped with Cloud NEXT - so will likely take a look once things are done / calmed down a bit, so I may not respond until next week. |
sleep 5 | ||
echo "Starting e2e tests" | ||
consul lock -timeout 5m -try 5m -verbose LockE2E /root/e2e.sh | ||
killall -q kubectl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might need to add a newline here
Build Failed 😱 Build Id: e2afce36-2427-4458-aa05-506f337f7ad6 Build Logs
|
Build Failed 😱 Build Id: 76ef7f7c-ade5-411c-9905-c94a8cca8893 Build Logs
|
7fe9fb5
to
493e6e2
Compare
Build Failed 😱 Build Id: 8e94cc93-321e-4597-8b10-63a090806c28 Build Logs
|
Build Failed 😱 Build Id: 295f55d8-6527-451d-ac3a-6d208e109888 Build Logs
|
Build Failed 😱 Build Id: 6025e10e-04c0-4ca2-97f9-2c79817d7853 Build Logs
|
cc839ea
to
493e6e2
Compare
Build Failed 😱 Build Id: d48c10a3-2aa8-4606-b5d5-1e24aa751d8c Build Logs
|
Build Failed 😱 Build Id: 749b8d5e-10b1-4d46-af7b-ed846f83eeba Build Logs
|
Build Failed 😱 Build Id: fac658b4-d90d-4fc9-b478-4deaf479b297 Build Logs
|
Build Failed 😱 Build Id: 54a9750c-b767-453b-ac0f-d7209bcf0d7b Build Logs
|
Build Failed 😱 Build Id: b8e77313-436d-4728-8451-91501816664e Build Logs
|
Build Failed 😱 Build Id: 3526c173-4461-4bb4-9df3-b93ad8c3e43e Build Logs
|
Build Failed 😱 Build Id: 39b19306-25c8-4074-997d-6c6f4307091c Build Logs
|
Build Failed 😱 Build Id: d4a1fc63-b8a4-4fb1-bff2-105ef7c7c530 Build Logs
|
Build Failed 😱 Build Id: 8c28a37d-bc0d-4680-92c2-ee2410cb71ce Build Logs
|
Build Failed 😱 Build Id: 2c6fa58e-8292-4c90-838b-1dd5f9a30efc Build Logs
|
Build Failed 😱 Build Id: 245dc6ad-4d62-4bf5-bb0a-544022cc3a84 Build Logs
|
Build Failed 😱 Build Id: bd4c5201-f235-47c5-8764-7081769d6cd7 Build Logs
|
Build Failed 😱 Build Id: 162c58a1-9ce4-4161-9a3a-a449459d129e Build Logs
|
Build Failed 😱 Build Id: 88f814b3-cb8f-4d77-aec6-b2faf1cf4dfa Build Logs
|
Build Failed 😱 Build Id: 49d3b917-3df1-4a8f-b58c-9038d45368d8 Build Logs
|
Build Failed 😱 Build Id: e6bf08ab-5568-4872-8c6c-465205711ac6 Build Logs
|
Build Failed 😱 Build Id: 6e55cb05-0812-4825-896b-15b9626faf3f Build Logs
|
Build Failed 😱 Build Id: 6af1477c-9b91-4fa0-aad4-eb2a85243f3f Build Logs
|
Build Failed 😱 Build Id: ae19bfc1-f473-4931-9b07-85f6457c6fcc Build Logs
|
Build Failed 😱 Build Id: d851261c-18f9-444d-bbc4-60e860ea99e7 Build Logs
|
Build Failed 😱 Build Id: f5455b48-4d02-4645-9f16-7541f285ba0b Build Logs
|
Build Failed 😱 Build Id: 8c662094-c528-49b8-b43a-273f4ca7e274 Build Logs
|
Build Failed 😱 Build Id: ff26c7cd-0568-41ba-9423-70b25932e892 Build Logs
|
Build Failed 😱 Build Id: ea289044-77c5-4de1-9c1f-fab82a95886f Build Logs
|
Build Failed 😱 Build Id: 6232b890-50b9-4c58-adf6-ca3a6afdf370 Build Logs
|
Build Failed 😱 Build Id: c22a3309-9604-4dc9-b035-65853f805633 Build Logs
|
Build Succeeded 👏 Build Id: e808c692-79f3-4709-8076-487826bb279b The following development artifacts have been built, and will exist for the next 30 days:
|
Build Failed 😱 Build Id: 594f4707-8bbf-4da8-8557-02b2bb7e9515 Build Logs
|
Build Failed 😱 Build Id: 447aee69-f184-4a42-9bbe-4931c4dab6eb Build Logs
|
73ce828
to
9e1598b
Compare
this also add the gcloud builder step to test it in a special e2e cluster
9e1598b
to
e4f921d
Compare
I'll open a new one for cleaner review ! |
Build Succeeded 👏 Build Id: ae5315e2-ca2b-4067-bb74-04a977e25983 The following development artifacts have been built, and will exist for the next 30 days:
|
Build Succeeded 👏 Build Id: feae16b6-c03e-408a-a196-3660042272f8 The following development artifacts have been built, and will exist for the next 30 days:
|
This is a sample of one e2e tests for #37 . This first test create a gameserver, waits for readiness, assert some values then finally ping it (send/receive).
The idea of this PR is to see if the direction is correct, but also I'd like to plug it to cloud builder to see if we can make it works @markmandel I'll need your help on this. ( Can we use your account to provision a cluster for e2e ? How should we proceed ?)
I would like that we list all tests for gameservers/fleets/allocation, so I can tackled them one by one. (Let's use the ticket #37 )
Locally with a GKE cluster it works.
(I'm having sometimes some timeout with the k8s api, might be from my connection
Post https://35.185.224.168/apis/stable.agones.dev/v1alpha1/namespaces/default/gameservers: dial tcp 35.185.224.168:443: i/o timeout
)Have a spin, I hope you like it.